src
SimG4Core
GFlash
TB
TreeMatrixCalib.h
Go to the documentation of this file.
1
#ifndef TreeMatrixCalib_h
2
#define TreeMatrixCalib_h
3
4
// includes
5
#include "
CommonTools/UtilAlgos/interface/TFileService.h
"
6
#include "
FWCore/ServiceRegistry/interface/Service.h
"
7
#include "TROOT.h"
8
#include "TSystem.h"
9
#include "TFile.h"
10
#include "TTree.h"
11
12
class
TFile;
13
class
TTree;
14
15
class
G3EventProxy;
16
17
class
TreeMatrixCalib
{
18
public
:
19
TreeMatrixCalib
(
const
char
*
filename
=
"tb.root"
);
20
~TreeMatrixCalib
() =
default
;
21
22
void
fillInfo
(
int
run
,
23
int
eve,
24
int
xnum,
25
int
maxX
,
26
int
nomX,
27
int
nextX,
28
int
xeta,
29
int
xphi,
30
int
tbm,
31
double
xx
,
32
double
yy
,
33
double
ecalx,
34
double
ecaly,
35
double
sx
,
36
double
sy
,
37
double
qx,
38
double
qy,
39
double
tdcoff,
40
int
allm,
41
double
amp[],
42
int
cry[]);
43
44
void
store
();
45
46
private
:
47
TTree*
myTree_
;
48
49
// general info
50
int
myEvent
,
myRun
;
51
int
myXtalSM
,
myXtalEta
,
myXtalPhi
;
52
int
myNominalXtalSM
,
myNextXtalSM
;
53
int
myTbMoving
;
54
int
myMaxEneXtal
;
55
56
// amplitude
57
double
myAmplit
[49];
58
59
// crystals
60
int
myCrystal
[49];
61
62
// hodoscope infos
63
double
myHodoX
,
myHodoY
;
64
double
myHodoSlopeX
,
myHodoSlopeY
;
65
double
myHodoQualityX
,
myHodoQualityY
;
66
67
// ecal position
68
double
myCaloX
,
myCaloY
;
69
70
// tdc info
71
double
myTdcOffset
;
72
73
// all matrix
74
int
myAllMatrix
;
75
};
76
77
#endif
TreeMatrixCalib::store
void store()
Definition:
TreeMatrixCalib.cc:31
TreeMatrixCalib::myHodoSlopeX
double myHodoSlopeX
Definition:
TreeMatrixCalib.h:64
TreeMatrixCalib::myAllMatrix
int myAllMatrix
Definition:
TreeMatrixCalib.h:74
TreeMatrixCalib::myTree_
TTree * myTree_
Definition:
TreeMatrixCalib.h:47
TreeMatrixCalib::myXtalEta
int myXtalEta
Definition:
TreeMatrixCalib.h:51
TreeMatrixCalib::myCaloX
double myCaloX
Definition:
TreeMatrixCalib.h:68
TreeMatrixCalib::~TreeMatrixCalib
~TreeMatrixCalib()=default
corrVsCorr.filename
filename
Definition:
corrVsCorr.py:123
TreeMatrixCalib::myHodoSlopeY
double myHodoSlopeY
Definition:
TreeMatrixCalib.h:64
TreeMatrixCalib
Definition:
TreeMatrixCalib.h:17
TreeMatrixCalib::myHodoQualityY
double myHodoQualityY
Definition:
TreeMatrixCalib.h:65
fftjetcommon_cfi.sy
sy
Definition:
fftjetcommon_cfi.py:203
TreeMatrixCalib::myNominalXtalSM
int myNominalXtalSM
Definition:
TreeMatrixCalib.h:52
TreeMatrixCalib::TreeMatrixCalib
TreeMatrixCalib(const char *filename="tb.root")
Definition:
TreeMatrixCalib.cc:3
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
TreeMatrixCalib::myHodoX
double myHodoX
Definition:
TreeMatrixCalib.h:63
TFileService.h
TreeMatrixCalib::myHodoQualityX
double myHodoQualityX
Definition:
TreeMatrixCalib.h:65
geometryCSVtoXML.yy
yy
Definition:
geometryCSVtoXML.py:19
TreeMatrixCalib::myXtalPhi
int myXtalPhi
Definition:
TreeMatrixCalib.h:51
TreeMatrixCalib::myHodoY
double myHodoY
Definition:
TreeMatrixCalib.h:63
TreeMatrixCalib::myNextXtalSM
int myNextXtalSM
Definition:
TreeMatrixCalib.h:52
TreeMatrixCalib::myAmplit
double myAmplit[49]
Definition:
TreeMatrixCalib.h:57
TreeMatrixCalib::myTbMoving
int myTbMoving
Definition:
TreeMatrixCalib.h:53
HGVHistoProducerAlgoBlock_cfi.maxX
maxX
Definition:
HGVHistoProducerAlgoBlock_cfi.py:169
Service.h
geometryCSVtoXML.xx
xx
Definition:
geometryCSVtoXML.py:19
TreeMatrixCalib::myMaxEneXtal
int myMaxEneXtal
Definition:
TreeMatrixCalib.h:54
TreeMatrixCalib::myXtalSM
int myXtalSM
Definition:
TreeMatrixCalib.h:51
TreeMatrixCalib::myEvent
int myEvent
Definition:
TreeMatrixCalib.h:50
fftjetcommon_cfi.sx
sx
Definition:
fftjetcommon_cfi.py:202
TreeMatrixCalib::myRun
int myRun
Definition:
TreeMatrixCalib.h:50
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:33
TreeMatrixCalib::myTdcOffset
double myTdcOffset
Definition:
TreeMatrixCalib.h:71
TreeMatrixCalib::myCrystal
int myCrystal[49]
Definition:
TreeMatrixCalib.h:60
TreeMatrixCalib::myCaloY
double myCaloY
Definition:
TreeMatrixCalib.h:68
Generated for CMSSW Reference Manual by
1.8.14