StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StL3Trigger.h
1 
5 /***************************************************************************
6  *
7  * $Id: StL3Trigger.h,v 2.4 2002/02/22 22:56:49 jeromel Exp $
8  *
9  * Author: Thomas Ullrich, Apr 2000
10  ***************************************************************************
11  *
12  * Description:
13  *
14  ***************************************************************************
15  *
16  * $Log: StL3Trigger.h,v $
17  * Revision 2.4 2002/02/22 22:56:49 jeromel
18  * Doxygen basic documentation in all header files. None of this is required
19  * for QM production.
20  *
21  * Revision 2.3 2001/08/02 01:27:45 ullrich
22  * Added event summary and algorithms.
23  *
24  * Revision 2.2 2001/04/05 04:00:38 ullrich
25  * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs.
26  *
27  * Revision 2.1 2000/03/29 16:53:11 ullrich
28  * Initial Revision
29  *
30  **************************************************************************/
31 #ifndef StL3Trigger_hh
32 #define StL3Trigger_hh
33 #include "StContainers.h"
34 #include "TArrayL.h"
35 
36 class StTrackNode;
37 class StTpcHitCollection;
39 class StPrimaryVertex;
40 class StL3EventSummary;
41 
42 class StL3Trigger : public StObject {
43 public:
44  StL3Trigger();
45  ~StL3Trigger();
46 
47  StL3EventSummary* l3EventSummary();
48  const StL3EventSummary* l3EventSummary() const;
49 
50  StTpcHitCollection* tpcHitCollection();
51  const StTpcHitCollection* tpcHitCollection() const;
52 
53  StSPtrVecTrackDetectorInfo& trackDetectorInfo();
54  const StSPtrVecTrackDetectorInfo& trackDetectorInfo() const;
55 
56  StSPtrVecTrackNode& trackNodes();
57  const StSPtrVecTrackNode& trackNodes() const;
58 
59  unsigned int numberOfPrimaryVertices() const;
60  StPrimaryVertex* primaryVertex(unsigned int = 0);
61  const StPrimaryVertex* primaryVertex(unsigned int = 0) const;
62 
63  void setL3EventSummary(StL3EventSummary*);
64  void setTpcHitCollection(StTpcHitCollection*);
65  void addPrimaryVertex(StPrimaryVertex*);
66 
67 protected:
68  StL3EventSummary* mL3EventSummary;
69  StTpcHitCollection* mL3TpcHits;
70  StSPtrVecTrackDetectorInfo mL3TrackDetectorInfo;
71  StSPtrVecTrackNode mL3TrackNodes;
72  StSPtrVecPrimaryVertex mL3PrimaryVertices;
73  TArrayL mTriggerWords;
74 
75 private:
76  StL3Trigger(const StL3Trigger&);
77  StL3Trigger& operator=(const StL3Trigger&);
78 
79  ClassDef(StL3Trigger,1)
80 };
81 #endif