CMS 3D CMS Logo

TreeMatrixCalib.h
Go to the documentation of this file.
1 #ifndef TreeMatrixCalib_h
2 #define TreeMatrixCalib_h
3 
4 // includes
5 #include "TROOT.h"
6 #include "TSystem.h"
7 #include "TFile.h"
8 #include "TTree.h"
9 
10 class TFile;
11 class TTree;
12 
13 class G3EventProxy;
14 
16 public:
17  TreeMatrixCalib(const char * filename = "tb.root");
19 
20  void fillInfo( int run, int eve, int xnum, int maxX, int nomX, int nextX, int xeta, int xphi, int tbm, double xx, double yy, double ecalx, double ecaly, double sx, double sy, double qx, double qy, double tdcoff, int allm, double amp[], int cry[]);
21 
22  void store();
23 
24 
25  private:
26 
27  TFile* myFile;
28  TTree* myTree;
29 
30  // general info
31  int myEvent, myRun;
36 
37  // amplitude
38  double myAmplit[49];
39 
40  // crystals
41  int myCrystal[49];
42 
43  // hodoscope infos
44  double myHodoX, myHodoY;
47 
48  // ecal position
49  double myCaloX, myCaloY;
50 
51  // tdc info
52  double myTdcOffset;
53 
54  // all matrix
56 
57 };
58 
59 #endif
TreeMatrixCalib::myXtalSM
int myXtalSM
Definition: TreeMatrixCalib.h:32
TreeMatrixCalib::myHodoSlopeX
double myHodoSlopeX
Definition: TreeMatrixCalib.h:45
TreeMatrixCalib::myXtalEta
int myXtalEta
Definition: TreeMatrixCalib.h:32
TreeMatrixCalib::myCaloY
double myCaloY
Definition: TreeMatrixCalib.h:49
TreeMatrixCalib::myHodoX
double myHodoX
Definition: TreeMatrixCalib.h:44
TreeMatrixCalib::store
void store()
Definition: TreeMatrixCalib.cc:40
TreeMatrixCalib::myHodoQualityX
double myHodoQualityX
Definition: TreeMatrixCalib.h:46
TreeMatrixCalib::myRun
int myRun
Definition: TreeMatrixCalib.h:31
TreeMatrixCalib::myCrystal
int myCrystal[49]
Definition: TreeMatrixCalib.h:41
TreeMatrixCalib
Definition: TreeMatrixCalib.h:15
TreeMatrixCalib::myAmplit
double myAmplit[49]
Definition: TreeMatrixCalib.h:38
TreeMatrixCalib::myTree
TTree * myTree
Definition: TreeMatrixCalib.h:28
TreeMatrixCalib::myHodoY
double myHodoY
Definition: TreeMatrixCalib.h:44
TreeMatrixCalib::myEvent
int myEvent
Definition: TreeMatrixCalib.h:31
TreeMatrixCalib::myXtalPhi
int myXtalPhi
Definition: TreeMatrixCalib.h:32
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
TreeMatrixCalib::myMaxEneXtal
int myMaxEneXtal
Definition: TreeMatrixCalib.h:35
TreeMatrixCalib::myFile
TFile * myFile
Definition: TreeMatrixCalib.h:27
TreeMatrixCalib::myHodoQualityY
double myHodoQualityY
Definition: TreeMatrixCalib.h:46
TreeMatrixCalib::~TreeMatrixCalib
~TreeMatrixCalib()
Definition: TreeMatrixCalib.cc:32
TreeMatrixCalib::myTdcOffset
double myTdcOffset
Definition: TreeMatrixCalib.h:52
geometryCSVtoXML.yy
yy
Definition: geometryCSVtoXML.py:19
fftjetcommon_cfi.sy
sy
Definition: fftjetcommon_cfi.py:203
TreeMatrixCalib::myHodoSlopeY
double myHodoSlopeY
Definition: TreeMatrixCalib.h:45
TreeMatrixCalib::myTbMoving
int myTbMoving
Definition: TreeMatrixCalib.h:34
writedatasetfile.run
run
Definition: writedatasetfile.py:27
TreeMatrixCalib::myAllMatrix
int myAllMatrix
Definition: TreeMatrixCalib.h:55
TreeMatrixCalib::TreeMatrixCalib
TreeMatrixCalib(const char *filename="tb.root")
Definition: TreeMatrixCalib.cc:3
TreeMatrixCalib::myNextXtalSM
int myNextXtalSM
Definition: TreeMatrixCalib.h:33
TreeMatrixCalib::myNominalXtalSM
int myNominalXtalSM
Definition: TreeMatrixCalib.h:33
geometryCSVtoXML.xx
xx
Definition: geometryCSVtoXML.py:19
HGVHistoProducerAlgoBlock_cfi.maxX
maxX
Definition: HGVHistoProducerAlgoBlock_cfi.py:154
TreeMatrixCalib::myCaloX
double myCaloX
Definition: TreeMatrixCalib.h:49
TreeMatrixCalib::fillInfo
void fillInfo(int run, int eve, int xnum, int maxX, int nomX, int nextX, int xeta, int xphi, int tbm, double xx, double yy, double ecalx, double ecaly, double sx, double sy, double qx, double qy, double tdcoff, int allm, double amp[], int cry[])
Definition: TreeMatrixCalib.cc:45
fftjetcommon_cfi.sx
sx
Definition: fftjetcommon_cfi.py:202