15 tali =
new TChain(
"InfoTuple");
22 char theNameOfTheFile[150];
23 snprintf(theNameOfTheFile,
sizeof(theNameOfTheFile),
24 "%sMyNtupleResidual_Craft09_%d.root",
ntuplePath.c_str(), n_file);
25 tali->Add(theNameOfTheFile);
38 tali->SetBranchAddress(
"p", &
p);
39 tali->SetBranchAddress(
"pt", &
pt);
40 tali->SetBranchAddress(
"eta", &
eta);
41 tali->SetBranchAddress(
"phi", &
phi);
43 tali->SetBranchAddress(
"nseg", &
nseg);
47 tali->SetBranchAddress(
"xSl",
xSl);
49 tali->SetBranchAddress(
"exSl",
exSl);
52 tali->SetBranchAddress(
"ySl",
ySl);
54 tali->SetBranchAddress(
"eySl",
eySl);
67 tali->SetBranchAddress(
"xc",
xc);
68 tali->SetBranchAddress(
"yc",
yc);
69 tali->SetBranchAddress(
"zc",
zc);
70 tali->SetBranchAddress(
"ex",
ex);
71 tali->SetBranchAddress(
"xcp",
xcp);
72 tali->SetBranchAddress(
"ycp",
ycp);
73 tali->SetBranchAddress(
"excp",
excp);
74 tali->SetBranchAddress(
"eycp",
eycp);
75 tali->SetBranchAddress(
"wh",
wh);
76 tali->SetBranchAddress(
"st",
st);
77 tali->SetBranchAddress(
"sr",
sr);
78 tali->SetBranchAddress(
"sl",
sl);
79 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]