13 tali =
new TChain(
"InfoTuple");
20 char theNameOfTheFile[150];
21 sprintf(theNameOfTheFile,
"%sMyNtupleResidual_Craft09_%d.root",
ntuplePath.c_str(), n_file);
22 tali->Add(theNameOfTheFile);
35 tali->SetBranchAddress(
"p", &
p);
36 tali->SetBranchAddress(
"pt", &
pt);
37 tali->SetBranchAddress(
"eta", &
eta);
38 tali->SetBranchAddress(
"phi", &
phi);
40 tali->SetBranchAddress(
"nseg", &
nseg);
44 tali->SetBranchAddress(
"xSl",
xSl);
46 tali->SetBranchAddress(
"exSl",
exSl);
49 tali->SetBranchAddress(
"ySl",
ySl);
51 tali->SetBranchAddress(
"eySl",
eySl);
64 tali->SetBranchAddress(
"xc",
xc);
65 tali->SetBranchAddress(
"yc",
yc);
66 tali->SetBranchAddress(
"zc",
zc);
67 tali->SetBranchAddress(
"ex",
ex);
68 tali->SetBranchAddress(
"xcp",
xcp);
69 tali->SetBranchAddress(
"ycp",
ycp);
70 tali->SetBranchAddress(
"excp",
excp);
71 tali->SetBranchAddress(
"eycp",
eycp);
72 tali->SetBranchAddress(
"wh",
wh);
73 tali->SetBranchAddress(
"st",
st);
74 tali->SetBranchAddress(
"sr",
sr);
75 tali->SetBranchAddress(
"sl",
sl);
76 tali->SetBranchAddress(
"la",
la);
float dxdzSlSL3[MAX_SEGMENT]
float xSL3SL1[MAX_SEGMENT]
float exSlSL3[MAX_SEGMENT]
float edxdzSlSL3[MAX_SEGMENT]
float ycp[MAX_SEGMENT][MAX_HIT_CHAM]
float dxdzSlSL1[MAX_SEGMENT]
float dydzSl[MAX_SEGMENT]
float ex[MAX_SEGMENT][MAX_HIT_CHAM]
float dxdzSl[MAX_SEGMENT]
float yc[MAX_SEGMENT][MAX_HIT_CHAM]
void setBranchAddressTree()
float eydydzSl[MAX_SEGMENT]
float edxdzSlSL1[MAX_SEGMENT]
float xSL1SL3[MAX_SEGMENT]
int sl[MAX_SEGMENT][MAX_HIT_CHAM]
float excp[MAX_SEGMENT][MAX_HIT_CHAM]
int nphihits[MAX_SEGMENT]
int nthetahits[MAX_SEGMENT]
float xc[MAX_SEGMENT][MAX_HIT_CHAM]
float xcp[MAX_SEGMENT][MAX_HIT_CHAM]
float xSlSL1[MAX_SEGMENT]
float exSlSL1[MAX_SEGMENT]
float edydzSl[MAX_SEGMENT]
float zc[MAX_SEGMENT][MAX_HIT_CHAM]
float xSlSL3[MAX_SEGMENT]
int la[MAX_SEGMENT][MAX_HIT_CHAM]
float eycp[MAX_SEGMENT][MAX_HIT_CHAM]
float edxdzSl[MAX_SEGMENT]