StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StL2TriggerSimu.h
1 //
2 // StL2TriggerSimu.h,v 0.01
3 // very light intervace from L2Emulator to StTriggerSimuMaker
4 //
5 #ifndef STAR_StL2TriggerSimu
6 #define STAR_StL2TriggerSimu
7 
8 #include <TObject.h>
9 #include <vector>
10 
11 #include "StTriggerUtilities/StVirtualTriggerSimu.h"
14 
16 private:
17  StGenericL2Emulator *mL2maker;
18  StGenericL2Emulator2009 *mL2maker2009;
19 
20 public:
21  StL2TriggerSimu() : mL2maker(0), mL2maker2009(0) {}
22  StL2TriggerSimu(StGenericL2Emulator *x) : mL2maker(x), mL2maker2009(0) {}
23  StL2TriggerSimu(StGenericL2Emulator2009 *x) : mL2maker(0), mL2maker2009(x) {}
24  void Init();
25  void InitRun(int runnumber);
26  void Clear(){};
27  void Make(){};
28 
29  StTriggerSimuDecision triggerDecision(int trigId);
30 
32  const unsigned int* result() const;
33 
34  ClassDef(StL2TriggerSimu, 1)
35 };
36 
37 
38 #endif
39 
40 //
41 // $Log: StL2TriggerSimu.h,v $
42 // Revision 1.10 2011/03/17 15:51:47 pibero
43 // Fixed nontrivial constructors. Thanks, Mike.
44 //
45 // Revision 1.9 2010/04/17 16:41:51 pibero
46 // *** empty log message ***
47 //
48 // Revision 1.8 2008/01/17 01:56:52 kocolosk
49 // export 128-byte emulated L2Result
50 //
51 // Revision 1.7 2007/11/18 21:58:54 balewski
52 // L2algos triggerId list fixed
53 //
54 // Revision 1.6 2007/11/08 20:59:58 kocolosk
55 // subdet isTrigger returns a bool
56 // triggerDecision returns enumerator including kDoNotCare
57 //
58 // Revision 1.5 2007/10/23 13:26:40 balewski
59 // more cleanup
60 //
61 // Revision 1.4 2007/10/23 03:43:06 balewski
62 // clenup
63 //
64 // Revision 1.3 2007/10/22 23:09:59 balewski
65 // split L2 to generic and year specific, not finished
66 //
67 // Revision 1.2 2007/10/12 17:12:48 kocolosk
68 // rename ABC class for subdetector trigger simulators
69 // StTriggerSimu => StVirtualTriggerSimu
70 //
71 // Revision 1.1 2007/10/11 21:22:57 balewski
72 // added L2-->L0 interface class
73 //
const unsigned int * result() const
bag of 64 bytes whose interpretation changes year-by-year
StTriggerSimuDecision triggerDecision(int trigId)
like isTrigger(), but returns kDoNotCare if detector isn&#39;t a part of the given trigId ...