StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEEmcDisplayMaker.h
1 #ifndef __StEEmcDisplayMaker_h__
2 #define __StEEmcDisplayMaker_h__
3 
4 #include "StMaker.h"
5 #include "StEEmcDisplay.h"
6 
7 #include <vector>
8 
9 class TTree;
10 class TFile;
11 
12 class StEEmcA2EMaker;
15 class StEEmcPi0Maker;
16 
18 {
19 
20  public:
21  StEEmcDisplayMaker( const Char_t *name="eeDisp" );
22  ~StEEmcDisplayMaker(){ /* nada */ }
23 
24  Int_t Init();
25  Int_t Make();
26  void Clear(Option_t *opts="");
27 
28  TTree *tree(){ return mTree; }
29  TFile *file(){ return mFile; }
31  TFile *setFile( TFile *file );
32  TFile *setFile( const Char_t *name, const Option_t *opt="RECREATE");
37  void pi0s( StEEmcPi0Maker *p ){ mEEpairs = p; }
39  void addTrigger( Int_t t ){ mTriggerList.push_back(t); }
40  void setCheckTrigger( Bool_t c=true ){ mCheckTrigger=c; }
42  private:
43  protected:
44 
45  TFile *mFile;
46  Bool_t mFileLocal;
47  TTree *mTree;
48 
56  std::vector<Int_t> mTriggerList;
57  Int_t checkTrigger();
58  const Char_t *triggerList();
59  Bool_t mCheckTrigger;
60 
61  ClassDef(StEEmcDisplayMaker,1);
62 
63 };
64 
65 #endif
void pi0s(StEEmcPi0Maker *p)
TFile * setFile(TFile *file)
EEmc ADC –&gt; energy maker.
void adc2energy(StEEmcA2EMaker *a)
StEEmcDisplay * mDisplay
StEEmcGenericPointMaker * mEEpoints
const Char_t * triggerList()
void Clear(Option_t *opts="")
User defined functions.
std::vector< Int_t > mTriggerList
StEEmcA2EMaker * mEEanalysis
StEEmcGenericClusterMaker * mEEclusters
StEEmcPi0Maker * mEEpairs
void clusters(StEEmcGenericClusterMaker *c)
void points(StEEmcGenericPointMaker *p)
void setCheckTrigger(Bool_t c=true)
void addTrigger(Int_t t)