00001 00005 /*************************************************************************** 00006 * 00007 * $Id: StL3Trigger.h,v 2.4 2002/02/22 22:56:49 jeromel Exp $ 00008 * 00009 * Author: Thomas Ullrich, Apr 2000 00010 *************************************************************************** 00011 * 00012 * Description: 00013 * 00014 *************************************************************************** 00015 * 00016 * $Log: StL3Trigger.h,v $ 00017 * Revision 2.4 2002/02/22 22:56:49 jeromel 00018 * Doxygen basic documentation in all header files. None of this is required 00019 * for QM production. 00020 * 00021 * Revision 2.3 2001/08/02 01:27:45 ullrich 00022 * Added event summary and algorithms. 00023 * 00024 * Revision 2.2 2001/04/05 04:00:38 ullrich 00025 * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs. 00026 * 00027 * Revision 2.1 2000/03/29 16:53:11 ullrich 00028 * Initial Revision 00029 * 00030 **************************************************************************/ 00031 #ifndef StL3Trigger_hh 00032 #define StL3Trigger_hh 00033 #include "StContainers.h" 00034 #include "TArrayL.h" 00035 00036 class StTrackNode; 00037 class StTpcHitCollection; 00038 class StTrackDetectorInfo; 00039 class StPrimaryVertex; 00040 class StL3EventSummary; 00041 00042 class StL3Trigger : public StObject { 00043 public: 00044 StL3Trigger(); 00045 ~StL3Trigger(); 00046 00047 StL3EventSummary* l3EventSummary(); 00048 const StL3EventSummary* l3EventSummary() const; 00049 00050 StTpcHitCollection* tpcHitCollection(); 00051 const StTpcHitCollection* tpcHitCollection() const; 00052 00053 StSPtrVecTrackDetectorInfo& trackDetectorInfo(); 00054 const StSPtrVecTrackDetectorInfo& trackDetectorInfo() const; 00055 00056 StSPtrVecTrackNode& trackNodes(); 00057 const StSPtrVecTrackNode& trackNodes() const; 00058 00059 unsigned int numberOfPrimaryVertices() const; 00060 StPrimaryVertex* primaryVertex(unsigned int = 0); 00061 const StPrimaryVertex* primaryVertex(unsigned int = 0) const; 00062 00063 void setL3EventSummary(StL3EventSummary*); 00064 void setTpcHitCollection(StTpcHitCollection*); 00065 void addPrimaryVertex(StPrimaryVertex*); 00066 00067 protected: 00068 StL3EventSummary* mL3EventSummary; 00069 StTpcHitCollection* mL3TpcHits; 00070 StSPtrVecTrackDetectorInfo mL3TrackDetectorInfo; 00071 StSPtrVecTrackNode mL3TrackNodes; 00072 StSPtrVecPrimaryVertex mL3PrimaryVertices; 00073 TArrayL mTriggerWords; 00074 00075 private: 00076 StL3Trigger(const StL3Trigger&); 00077 StL3Trigger& operator=(const StL3Trigger&); 00078 00079 ClassDef(StL3Trigger,1) 00080 }; 00081 #endif
1.5.9