CMS 3D CMS Logo

TB06Tree.h
Go to the documentation of this file.
1 #ifndef TB06Tree_h
2 #define TB06Tree_h
3 
4 // includes
5 #include <string>
6 
7 #include "TClonesArray.h"
8 
9 class TFile;
10 class TTree;
11 
12 class G3EventProxy;
13 
14 class TB06Tree {
15 public:
17  TB06Tree(const std::string &fileName = "TB06Tree.root", const std::string &treeName = "Analysis");
19  ~TB06Tree();
20 
21  void store(const int &tableIsMoving,
22  const int &run,
23  const int &event,
24  const int &S6adc,
25  const double &xhodo,
26  const double &yhodo,
27  const double &xslope,
28  const double &yslope,
29  const double &xquality,
30  const double &yquality,
31  const int &icMax,
32  const int &ietaMax,
33  const int &iphiMax,
34  const double &beamEnergy,
35  const double ampl[49]);
36 
37  void reset(float crystal[11][21]);
38 
39  void check();
40 
41 private:
42  TFile *m_file;
43  TTree *m_tree;
44 
45  TClonesArray *m_data;
47 };
48 
49 #endif
void reset(float crystal[11][21])
Definition: TB06Tree.cc:114
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])
to be called at each loop
Definition: TB06Tree.cc:42
void check()
Definition: TB06Tree.cc:124
TB06Tree(const std::string &fileName="TB06Tree.root", const std::string &treeName="Analysis")
ctor
Definition: TB06Tree.cc:8
int m_dataSize
Definition: TB06Tree.h:46
TFile * m_file
Definition: TB06Tree.h:42
TTree * m_tree
Definition: TB06Tree.h:43
TClonesArray * m_data
Definition: TB06Tree.h:45
~TB06Tree()
dtor
Definition: TB06Tree.cc:28
Definition: event.py:1