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",
18  const std::string & treeName = "Analysis") ;
20  ~TB06Tree () ;
21 
22  void store (const int & tableIsMoving,
23  const int & run, const int & event,
24  const int & S6adc ,
25  const double & xhodo, const double & yhodo,
26  const double & xslope, const double & yslope,
27  const double & xquality, const double & yquality,
28  const int & icMax,
29  const int & ietaMax, const int & iphiMax,
30  const double & beamEnergy,
31  const double ampl[49]) ;
32 
33  void reset (float crystal[11][21]) ;
34 
35  void check () ;
36 
37  private:
38 
39  TFile * m_file ;
40  TTree * m_tree ;
41 
42  TClonesArray * m_data ;
43  int m_dataSize ;
44 
45 } ;
46 
47 #endif
void reset(float crystal[11][21])
Definition: TB06Tree.cc:122
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:50
void check()
Definition: TB06Tree.cc:137
TB06Tree(const std::string &fileName="TB06Tree.root", const std::string &treeName="Analysis")
ctor
Definition: TB06Tree.cc:9
int m_dataSize
Definition: TB06Tree.h:43
TFile * m_file
Definition: TB06Tree.h:39
TTree * m_tree
Definition: TB06Tree.h:40
TClonesArray * m_data
Definition: TB06Tree.h:42
~TB06Tree()
dtor
Definition: TB06Tree.cc:33
Definition: event.py:1