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
TB06Tree::store
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
MillePedeFileConverter_cfg.fileName
fileName
Definition: MillePedeFileConverter_cfg.py:32
TB06Tree::reset
void reset(float crystal[11][21])
Definition: TB06Tree.cc:114
TB06Tree
Definition: TB06Tree.h:14
TB06Tree::TB06Tree
TB06Tree(const std::string &fileName="TB06Tree.root", const std::string &treeName="Analysis")
ctor
Definition: TB06Tree.cc:8
TB06Tree::m_dataSize
int m_dataSize
Definition: TB06Tree.h:46
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TB06Tree::check
void check()
Definition: TB06Tree.cc:124
TB06Tree::m_tree
TTree * m_tree
Definition: TB06Tree.h:43
TB06Tree::m_data
TClonesArray * m_data
Definition: TB06Tree.h:45
writedatasetfile.run
run
Definition: writedatasetfile.py:27
TB06Tree::~TB06Tree
~TB06Tree()
dtor
Definition: TB06Tree.cc:28
TB06Tree::m_file
TFile * m_file
Definition: TB06Tree.h:42
ppsDBESSource_cfi.beamEnergy
beamEnergy
Definition: ppsDBESSource_cfi.py:5
event
Definition: event.py:1