StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMuTriggerIdCollection.h
1 /***************************************************************************
2  *
3  * $Id: StMuTriggerIdCollection.h,v 1.4 2006/05/04 21:04:35 mvl Exp $
4  *
5  * Author: Frank Laue
6  ***************************************************************************
7  *
8  * Description:
9  * Wrapper around the StEvent/StTriggerIdCollection to be able to read it
10  * in the muDst without loading of the libraries
11  *
12  ***************************************************************************/
13 
26 #ifndef StMuTriggerIdCollection_hh
27 #define StMuTriggerIdCollection_hh
28 #include "StEvent/StTriggerId.h"
29 #include "StEvent/StTriggerIdCollection.h"
30 
32 public:
36 
37 
38  const StTriggerId& nominal() const;
39  const StTriggerId& l1() const;
40  const StTriggerId& l2() const;
41  const StTriggerId& l3() const;
42  const StTriggerId& l3Expanded() const;
43 
44  void fill(const StTriggerIdCollection*);
45  void setL1(const StTriggerId);
46  void setL2(const StTriggerId);
47  void setL3(const StTriggerId);
48  void setL3Expanded(const StTriggerId);
49  void setNominal(const StTriggerId);
50 
51  static bool isEmpty(const StTriggerId&);
52 protected:
53  StTriggerId mL1TriggerId;
54  StTriggerId mL2TriggerId;
55  StTriggerId mL3TriggerId;
56  StTriggerId mNTriggerId; // When unrolling the TBranch, it's name exceeds the maximum. So we changed mNominalTriggerId to mNTriggerId
57  StTriggerId mLETriggerId; // When unrolling the TBranch, it's name exceeds the maximum. So we changed mL3ExpandedTriggerId to mLETriggerId
58 
59  ClassDef(StMuTriggerIdCollection,2)
60 };
61 
62 #endif
63 
64 /**************************************************************************
65  *
66  * $Log: StMuTriggerIdCollection.h,v $
67  * Revision 1.4 2006/05/04 21:04:35 mvl
68  * Additions for extra L3 information (from Jamie)
69  *
70  * Revision 1.3 2004/05/02 04:10:14 perev
71  * private => protected
72  *
73  * Revision 1.2 2003/03/19 18:58:05 laue
74  * StMuChainMaker: updates for moved file catalog
75  * StTriggerIdCollection added to the createStEvent function in StMuDst.cxx
76  *
77  * Revision 1.1 2003/02/20 15:50:30 laue
78  * New. Wrapper around StEVent/StStriggerIdCollection
79  *
80  *
81  **************************************************************************/
Collection of trigger ids as stored in StEvent.
Collection of trigger ids as stored in MuDst.