Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AnaRealDst.h
Go to the documentation of this file.
1 #ifndef _ANA_REAL_DST__H_
2 #define _ANA_REAL_DST__H_
3 #include <fun4all/SubsysReco.h>
4 class TFile;
5 class TTree;
6 class TH1;
7 class TH2;
8 
10 class AnaRealDst: public SubsysReco {
11  static const std::vector<std::string> list_det_name;
12  std::vector<int> list_det_id;
13 
14  TFile* f_out;
15  TTree* tree;
16  char b_det_name[16];
17  int b_det;
18  int b_ele;
19  double b_time;
20  TH1* h1_ele[99];
21  TH1* h1_nhit[99];
22 
23  public:
24  AnaRealDst() {;}
25  virtual ~AnaRealDst() {;}
26  int Init(PHCompositeNode *topNode);
27  int InitRun(PHCompositeNode *topNode);
28  int process_event(PHCompositeNode *topNode);
29  int End(PHCompositeNode *topNode);
30 };
31 
32 #endif /* _ANA_REAL_DST__H_ */
int End(PHCompositeNode *topNode)
Called at the end of all processing.
Definition: AnaRealDst.cc:113
int Init(PHCompositeNode *topNode)
Definition: AnaRealDst.cc:20
int InitRun(PHCompositeNode *topNode)
Definition: AnaRealDst.cc:25
An example class to analyze the E1039 DST file.
Definition: AnaRealDst.h:10
int process_event(PHCompositeNode *topNode)
Definition: AnaRealDst.cc:65
virtual ~AnaRealDst()
Definition: AnaRealDst.h:25