StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StTriggerSimuPlayMaker.h
1 //
3 //
4 // StTriggerSimuPlayMaker R.Fatemi, Adam Kocoloski , Jan Balewski (Fall, 2007)
5 //
6 // Goal: exercise L0,L2 trigger simulator, lot of examples, change as needed
7 //
9 
10 #ifndef STAR_StTriggerSimuPlayMaker
11 #define STAR_StTriggerSimuPlayMaker
12 
13 
14 #ifndef StMaker_H
15 #include "StMaker.h"
16 #endif
17 class StTriggerSimuMaker;
18 
20 private:
21  StTriggerSimuMaker *L0trgSim;
22  int mConfig;
23  enum {mxAH=16};
24  TH1* hA[mxAH];
25 
26  void janTest100();
27  void initHistoA(TString core);
28 
29 public:
30  StTriggerSimuPlayMaker(const char *name="TrigSimuPlay");
31  virtual ~StTriggerSimuPlayMaker();
32  void setConfig(int x) {mConfig=x;}
33 
34  virtual Int_t Init();
35  virtual Int_t Make();
36  virtual Int_t Finish();
37  virtual void Clear(const Option_t* = "");
38 
39  TObjArray *mHList; // output histo access point
40  void setHList(TObjArray * x){mHList=x;}
41 
42  ClassDef(StTriggerSimuPlayMaker,0)
43 };
44 
45 #endif
46 
47 // $Id: StTriggerSimuPlayMaker.h,v 1.1 2007/10/12 20:10:24 balewski Exp $
48 //