FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
macro
detectors
mvd
BonnTS
NEW
createCalib.C
Go to the documentation of this file.
1
{
2
3
// to reproduce the calib file of Juelich Feb 10 runs
4
5
const
Int_t nBoxes = 4;
6
7
const
Int_t
nFEBox
= 6;
8
9
const
Int_t
nChFE
= 128;
10
11
Double_t
val
[nBoxes][
nFEBox
];
12
13
val[0][0]=0.0468423;
14
val[0][1]=0.0486725;
15
val[0][2]=0.0468459;
16
val[0][3]=0.0522444;
17
val[0][4]=0.0482401;
18
val[0][5]=0.0499809;
19
val[1][0]=0.0461501;
20
val[1][1]=0.0466381;
21
val[1][2]=0.0462991;
22
val[1][3]=0.0447197;
23
val[1][4]=0.0456337;
24
val[1][5]=0.0443006;
25
val[2][0]=0.0438225;
26
val[2][1]=0.0442459;
27
val[2][2]=0.04436;
28
val[2][3]=0.0432845;
29
val[2][4]=0.0428239;
30
val[2][5]=0.0417876;
31
val[3][0]=0.0987825;
32
val[3][1]=0.0910402;
33
val[3][2]=0.101647;
34
val[3][3]=0.100106;
35
val[3][4]=0.0998894;
36
val[3][5]=0.0976565;
37
38
39
40
ofstream
out
(
"ExampleBox.calib"
);
41
42
for
(Int_t
b
= 0 ;
b
< nBoxes ;
b
++)
43
{
44
45
for
(Int_t
f
= 0 ;
f
<
nFEBox
;
f
++)
46
{
47
48
for
(Int_t
c
= 0 ;
c
<
nChFE
;
c
++)
49
{
50
51
out
<<
b
<<
" "
<< (nChFE*
f
)+
c
<<
" "
<< val[
b
][
f
] << endl;
52
53
}
54
}
55
56
}
57
58
out
.close();
59
60
}
b
TTree * b
Definition:
GammaSpectraAnalysis.C:24
val
Double_t val[nBoxes][nFEBox]
Definition:
createCalib.C:11
Double_t
Double_t
Definition:
SimCompleteLinkDef.h:6
f
TFile * f
Definition:
bump_analys.C:12
nChFE
const Int_t nChFE
Definition:
createCalib.C:9
out
TFile * out
Definition:
reco_muo.C:20
c
GeV c
Definition:
ReadMesDecCorrRes_PiT.C:28
nFEBox
const Int_t nFEBox
Definition:
createCalib.C:7
Generated on Wed Apr 3 2019 08:43:49 for FairRoot/PandaRoot by
1.8.5