CMS 3D CMS Logo

TB06TreeH2.h
Go to the documentation of this file.
1 #ifndef TB06TreeH2_h
2 #define TB06TreeH2_h
3 
4 // includes
5 #include <string>
6 
7 class TClonesArray;
8 class TFile;
9 class TTree;
10 
11 class G3EventProxy;
12 
13 class TB06TreeH2 {
14 public:
16  TB06TreeH2(const std::string &fileName = "TB06Tree.root", const std::string &treeName = "Analysis");
18  ~TB06TreeH2();
19 
20  void store(const int &tableIsMoving,
21  const int &run,
22  const int &event,
23  const int &S6adc,
24  const double &xhodo,
25  const double &yhodo,
26  const double &xslope,
27  const double &yslope,
28  const double &xquality,
29  const double &yquality,
30  const int &icMax,
31  const int &ietaMax,
32  const int &iphiMax,
33  const double &beamEnergy,
34  const double ampl[49],
35  const int &wcAXo,
36  const int &wcAYo,
37  const int &wcBXo,
38  const int &wcBYo,
39  const int &wcCXo,
40  const int &wcCYo,
41  const double &xwA,
42  const double &ywA,
43  const double &xwB,
44  const double &ywB,
45  const double &xwC,
46  const double &ywC,
47  const float &S1adc,
48  const float &S2adc,
49  const float &S3adc,
50  const float &S4adc,
51  const float &VM1,
52  const float &VM2,
53  const float &VM3,
54  const float &VM4,
55  const float &VM5,
56  const float &VM6,
57  const float &VM7,
58  const float &VM8,
59  const float &VMF,
60  const float &VMB,
61  const float &CK1,
62  const float &CK2,
63  const float &CK3,
64  const float &BH1,
65  const float &BH2,
66  const float &BH3,
67  const float &BH4,
68  const float &TOF1S,
69  const float &TOF2S,
70  const float &TOF1J,
71  const float &TOF2J);
72 
73  void reset(float crystal[11][21]);
74 
75  void check();
76 
77 private:
78  TFile *m_file;
79  TTree *m_tree;
80 
81  TClonesArray *m_data;
83 };
84 
85 #endif
TClonesArray * m_data
Definition: TB06TreeH2.h:81
void store(const int &tableIsMoving, const int &run, const int &event, const int &S6adc, const double &xhodo, const double &yhodo, const double &xslope, const double &yslope, const double &xquality, const double &yquality, const int &icMax, const int &ietaMax, const int &iphiMax, const double &beamEnergy, const double ampl[49], const int &wcAXo, const int &wcAYo, const int &wcBXo, const int &wcBYo, const int &wcCXo, const int &wcCYo, const double &xwA, const double &ywA, const double &xwB, const double &ywB, const double &xwC, const double &ywC, const float &S1adc, const float &S2adc, const float &S3adc, const float &S4adc, const float &VM1, const float &VM2, const float &VM3, const float &VM4, const float &VM5, const float &VM6, const float &VM7, const float &VM8, const float &VMF, const float &VMB, const float &CK1, const float &CK2, const float &CK3, const float &BH1, const float &BH2, const float &BH3, const float &BH4, const float &TOF1S, const float &TOF2S, const float &TOF1J, const float &TOF2J)
to be called at each loop
Definition: TB06TreeH2.cc:43
~TB06TreeH2()
dtor
Definition: TB06TreeH2.cc:29
TB06TreeH2(const std::string &fileName="TB06Tree.root", const std::string &treeName="Analysis")
ctor
Definition: TB06TreeH2.cc:9
int m_dataSize
Definition: TB06TreeH2.h:82
void reset(float crystal[11][21])
Definition: TB06TreeH2.cc:210
TTree * m_tree
Definition: TB06TreeH2.h:79
void check()
Definition: TB06TreeH2.cc:220
TFile * m_file
Definition: TB06TreeH2.h:78
Definition: event.py:1