32 #ifndef standardPlots_h
33 #define standardPlots_h
40 const Int_t kMaxmMcTracks = 6000;
41 const Int_t kMaxmMatchedPairs = 6000;
42 const Int_t kMaxmMergedPairs = 500;
43 const Int_t kMaxmSplitPairs = 1;
44 const Int_t kMaxmGhostPairs = 1;
45 const Int_t kMaxmContamPairs = 1;
59 Int_t mNUncorrectedNegativePrimaries;
60 Int_t mNUncorrectedPrimaries;
79 Float_t mMcTracks_mPtMc[kMaxmMcTracks];
80 Float_t mMcTracks_mPzMc[kMaxmMcTracks];
81 Float_t mMcTracks_mEtaMc[kMaxmMcTracks];
82 Float_t mMcTracks_mPhiMc[kMaxmMcTracks];
83 Short_t mMcTracks_mNHitMc[kMaxmMcTracks];
84 Short_t mMcTracks_mGeantId[kMaxmMcTracks];
85 Short_t mMcTracks_mChargeMc[kMaxmMcTracks];
86 Float_t mMcTracks_mStopR[kMaxmMcTracks];
87 Short_t mMcTracks_mNAssocGl[kMaxmMcTracks];
88 Short_t mMcTracks_mNAssocPr[kMaxmMcTracks];
89 UInt_t mMcTracks_fUniqueID[kMaxmMcTracks];
90 UInt_t mMcTracks_fBits[kMaxmMcTracks];
92 Short_t mMatchedPairs_mNCommonHit[kMaxmMatchedPairs];
93 UChar_t mMatchedPairs_mIsBestContam[kMaxmMatchedPairs];
94 Float_t mMatchedPairs_mPtMc[kMaxmMatchedPairs];
95 Float_t mMatchedPairs_mPzMc[kMaxmMatchedPairs];
96 Float_t mMatchedPairs_mEtaMc[kMaxmMatchedPairs];
97 Float_t mMatchedPairs_mPhiMc[kMaxmMatchedPairs];
98 Short_t mMatchedPairs_mNHitMc[kMaxmMatchedPairs];
99 Short_t mMatchedPairs_mGeantId[kMaxmMatchedPairs];
100 Short_t mMatchedPairs_mChargeMc[kMaxmMatchedPairs];
101 Float_t mMatchedPairs_mStopR[kMaxmMatchedPairs];
102 Short_t mMatchedPairs_mNAssocGl[kMaxmMatchedPairs];
103 Short_t mMatchedPairs_mNAssocPr[kMaxmMatchedPairs];
104 UInt_t mMatchedPairs_fUniqueID[kMaxmMatchedPairs];
105 UInt_t mMatchedPairs_fBits[kMaxmMatchedPairs];
106 Float_t mMatchedPairs_mPtPr[kMaxmMatchedPairs];
107 Float_t mMatchedPairs_mPzPr[kMaxmMatchedPairs];
108 Float_t mMatchedPairs_mEtaPr[kMaxmMatchedPairs];
109 Float_t mMatchedPairs_mPhiPr[kMaxmMatchedPairs];
110 Float_t mMatchedPairs_mDcaPr[kMaxmMatchedPairs];
111 Float_t mMatchedPairs_mDcaXYPr[kMaxmMatchedPairs];
112 Float_t mMatchedPairs_mDcaZPr[kMaxmMatchedPairs];
113 Float_t mMatchedPairs_mChi2Pr[kMaxmMatchedPairs];
114 Short_t mMatchedPairs_mFlag[kMaxmMatchedPairs];
115 Float_t mMatchedPairs_mDedx[kMaxmMatchedPairs];
116 Float_t mMatchedPairs_mPtGl[kMaxmMatchedPairs];
117 Float_t mMatchedPairs_mPzGl[kMaxmMatchedPairs];
118 Float_t mMatchedPairs_mEtaGl[kMaxmMatchedPairs];
119 Float_t mMatchedPairs_mPhiGl[kMaxmMatchedPairs];
120 Float_t mMatchedPairs_mDcaGl[kMaxmMatchedPairs];
121 Float_t mMatchedPairs_mDcaXYGl[kMaxmMatchedPairs];
122 Float_t mMatchedPairs_mDcaZGl[kMaxmMatchedPairs];
123 Float_t mMatchedPairs_mPidPion[kMaxmMatchedPairs];
124 Float_t mMatchedPairs_mPidProton[kMaxmMatchedPairs];
125 Float_t mMatchedPairs_mPidKaon[kMaxmMatchedPairs];
126 Float_t mMatchedPairs_mPidElectron[kMaxmMatchedPairs];
127 Float_t mMatchedPairs_mFirstZ[kMaxmMatchedPairs];
128 Float_t mMatchedPairs_mLastZ[kMaxmMatchedPairs];
129 Short_t mMatchedPairs_mFirstPadrow[kMaxmMatchedPairs];
130 Short_t mMatchedPairs_mLastPadrow[kMaxmMatchedPairs];
131 Short_t mMatchedPairs_mFirstFitPadrow[kMaxmMatchedPairs];
132 Short_t mMatchedPairs_mLastFitPadrow[kMaxmMatchedPairs];
133 Short_t mMatchedPairs_mFirstSector[kMaxmMatchedPairs];
134 Short_t mMatchedPairs_mLastSector[kMaxmMatchedPairs];
135 Short_t mMatchedPairs_mFitPts[kMaxmMatchedPairs];
136 Short_t mMatchedPairs_mAllPts[kMaxmMatchedPairs];
137 Short_t mMatchedPairs_mCharge[kMaxmMatchedPairs];
138 Short_t mMatchedPairs_mNAssocMc[kMaxmMatchedPairs];
139 Short_t mMatchedPairs_mNPossible[kMaxmMatchedPairs];
141 Short_t mMergedPairs_mNCommonHit[kMaxmMergedPairs];
142 UChar_t mMergedPairs_mIsBestContam[kMaxmMergedPairs];
143 Float_t mMergedPairs_mPtMc[kMaxmMergedPairs];
144 Float_t mMergedPairs_mPzMc[kMaxmMergedPairs];
145 Float_t mMergedPairs_mEtaMc[kMaxmMergedPairs];
146 Float_t mMergedPairs_mPhiMc[kMaxmMergedPairs];
147 Short_t mMergedPairs_mNHitMc[kMaxmMergedPairs];
148 Short_t mMergedPairs_mGeantId[kMaxmMergedPairs];
149 Short_t mMergedPairs_mChargeMc[kMaxmMergedPairs];
150 Float_t mMergedPairs_mStopR[kMaxmMergedPairs];
151 Short_t mMergedPairs_mNAssocGl[kMaxmMergedPairs];
152 Short_t mMergedPairs_mNAssocPr[kMaxmMergedPairs];
153 UInt_t mMergedPairs_fUniqueID[kMaxmMergedPairs];
154 UInt_t mMergedPairs_fBits[kMaxmMergedPairs];
155 Float_t mMergedPairs_mPtPr[kMaxmMergedPairs];
156 Float_t mMergedPairs_mPzPr[kMaxmMergedPairs];
157 Float_t mMergedPairs_mEtaPr[kMaxmMergedPairs];
158 Float_t mMergedPairs_mPhiPr[kMaxmMergedPairs];
159 Float_t mMergedPairs_mDcaPr[kMaxmMergedPairs];
160 Float_t mMergedPairs_mDcaXYPr[kMaxmMergedPairs];
161 Float_t mMergedPairs_mDcaZPr[kMaxmMergedPairs];
162 Float_t mMergedPairs_mChi2Pr[kMaxmMergedPairs];
163 Short_t mMergedPairs_mFlag[kMaxmMergedPairs];
164 Float_t mMergedPairs_mDedx[kMaxmMergedPairs];
165 Float_t mMergedPairs_mPtGl[kMaxmMergedPairs];
166 Float_t mMergedPairs_mPzGl[kMaxmMergedPairs];
167 Float_t mMergedPairs_mEtaGl[kMaxmMergedPairs];
168 Float_t mMergedPairs_mPhiGl[kMaxmMergedPairs];
169 Float_t mMergedPairs_mDcaGl[kMaxmMergedPairs];
170 Float_t mMergedPairs_mDcaXYGl[kMaxmMergedPairs];
171 Float_t mMergedPairs_mDcaZGl[kMaxmMergedPairs];
172 Float_t mMergedPairs_mPidPion[kMaxmMergedPairs];
173 Float_t mMergedPairs_mPidProton[kMaxmMergedPairs];
174 Float_t mMergedPairs_mPidKaon[kMaxmMergedPairs];
175 Float_t mMergedPairs_mPidElectron[kMaxmMergedPairs];
176 Float_t mMergedPairs_mFirstZ[kMaxmMergedPairs];
177 Float_t mMergedPairs_mLastZ[kMaxmMergedPairs];
178 Short_t mMergedPairs_mFirstPadrow[kMaxmMergedPairs];
179 Short_t mMergedPairs_mLastPadrow[kMaxmMergedPairs];
180 Short_t mMergedPairs_mFirstFitPadrow[kMaxmMergedPairs];
181 Short_t mMergedPairs_mLastFitPadrow[kMaxmMergedPairs];
182 Short_t mMergedPairs_mFirstSector[kMaxmMergedPairs];
183 Short_t mMergedPairs_mLastSector[kMaxmMergedPairs];
184 Short_t mMergedPairs_mFitPts[kMaxmMergedPairs];
185 Short_t mMergedPairs_mAllPts[kMaxmMergedPairs];
186 Short_t mMergedPairs_mCharge[kMaxmMergedPairs];
187 Short_t mMergedPairs_mNAssocMc[kMaxmMergedPairs];
188 Short_t mMergedPairs_mNPossible[kMaxmMergedPairs];
190 Short_t mSplitPairs_mNCommonHit[kMaxmSplitPairs];
191 UChar_t mSplitPairs_mIsBestContam[kMaxmSplitPairs];
192 Float_t mSplitPairs_mPtMc[kMaxmSplitPairs];
193 Float_t mSplitPairs_mPzMc[kMaxmSplitPairs];
194 Float_t mSplitPairs_mEtaMc[kMaxmSplitPairs];
195 Float_t mSplitPairs_mPhiMc[kMaxmSplitPairs];
196 Short_t mSplitPairs_mNHitMc[kMaxmSplitPairs];
197 Short_t mSplitPairs_mGeantId[kMaxmSplitPairs];
198 Short_t mSplitPairs_mChargeMc[kMaxmSplitPairs];
199 Float_t mSplitPairs_mStopR[kMaxmSplitPairs];
200 Short_t mSplitPairs_mNAssocGl[kMaxmSplitPairs];
201 Short_t mSplitPairs_mNAssocPr[kMaxmSplitPairs];
202 UInt_t mSplitPairs_fUniqueID[kMaxmSplitPairs];
203 UInt_t mSplitPairs_fBits[kMaxmSplitPairs];
204 Float_t mSplitPairs_mPtPr[kMaxmSplitPairs];
205 Float_t mSplitPairs_mPzPr[kMaxmSplitPairs];
206 Float_t mSplitPairs_mEtaPr[kMaxmSplitPairs];
207 Float_t mSplitPairs_mPhiPr[kMaxmSplitPairs];
208 Float_t mSplitPairs_mDcaPr[kMaxmSplitPairs];
209 Float_t mSplitPairs_mDcaXYPr[kMaxmSplitPairs];
210 Float_t mSplitPairs_mDcaZPr[kMaxmSplitPairs];
211 Float_t mSplitPairs_mChi2Pr[kMaxmSplitPairs];
212 Short_t mSplitPairs_mFlag[kMaxmSplitPairs];
213 Float_t mSplitPairs_mDedx[kMaxmSplitPairs];
214 Float_t mSplitPairs_mPtGl[kMaxmSplitPairs];
215 Float_t mSplitPairs_mPzGl[kMaxmSplitPairs];
216 Float_t mSplitPairs_mEtaGl[kMaxmSplitPairs];
217 Float_t mSplitPairs_mPhiGl[kMaxmSplitPairs];
218 Float_t mSplitPairs_mDcaGl[kMaxmSplitPairs];
219 Float_t mSplitPairs_mDcaXYGl[kMaxmSplitPairs];
220 Float_t mSplitPairs_mDcaZGl[kMaxmSplitPairs];
221 Float_t mSplitPairs_mPidPion[kMaxmSplitPairs];
222 Float_t mSplitPairs_mPidProton[kMaxmSplitPairs];
223 Float_t mSplitPairs_mPidKaon[kMaxmSplitPairs];
224 Float_t mSplitPairs_mPidElectron[kMaxmSplitPairs];
225 Float_t mSplitPairs_mFirstZ[kMaxmSplitPairs];
226 Float_t mSplitPairs_mLastZ[kMaxmSplitPairs];
227 Short_t mSplitPairs_mFirstPadrow[kMaxmSplitPairs];
228 Short_t mSplitPairs_mLastPadrow[kMaxmSplitPairs];
229 Short_t mSplitPairs_mFirstFitPadrow[kMaxmSplitPairs];
230 Short_t mSplitPairs_mLastFitPadrow[kMaxmSplitPairs];
231 Short_t mSplitPairs_mFirstSector[kMaxmSplitPairs];
232 Short_t mSplitPairs_mLastSector[kMaxmSplitPairs];
233 Short_t mSplitPairs_mFitPts[kMaxmSplitPairs];
234 Short_t mSplitPairs_mAllPts[kMaxmSplitPairs];
235 Short_t mSplitPairs_mCharge[kMaxmSplitPairs];
236 Short_t mSplitPairs_mNAssocMc[kMaxmSplitPairs];
237 Short_t mSplitPairs_mNPossible[kMaxmSplitPairs];
239 Short_t mGhostPairs_mNCommonHit[kMaxmGhostPairs];
240 UChar_t mGhostPairs_mIsBestContam[kMaxmGhostPairs];
241 Float_t mGhostPairs_mPtMc[kMaxmGhostPairs];
242 Float_t mGhostPairs_mPzMc[kMaxmGhostPairs];
243 Float_t mGhostPairs_mEtaMc[kMaxmGhostPairs];
244 Float_t mGhostPairs_mPhiMc[kMaxmGhostPairs];
245 Short_t mGhostPairs_mNHitMc[kMaxmGhostPairs];
246 Short_t mGhostPairs_mGeantId[kMaxmGhostPairs];
247 Short_t mGhostPairs_mChargeMc[kMaxmGhostPairs];
248 Float_t mGhostPairs_mStopR[kMaxmGhostPairs];
249 Short_t mGhostPairs_mNAssocGl[kMaxmGhostPairs];
250 Short_t mGhostPairs_mNAssocPr[kMaxmGhostPairs];
251 UInt_t mGhostPairs_fUniqueID[kMaxmGhostPairs];
252 UInt_t mGhostPairs_fBits[kMaxmGhostPairs];
253 Float_t mGhostPairs_mPtPr[kMaxmGhostPairs];
254 Float_t mGhostPairs_mPzPr[kMaxmGhostPairs];
255 Float_t mGhostPairs_mEtaPr[kMaxmGhostPairs];
256 Float_t mGhostPairs_mPhiPr[kMaxmGhostPairs];
257 Float_t mGhostPairs_mDcaPr[kMaxmGhostPairs];
258 Float_t mGhostPairs_mDcaXYPr[kMaxmGhostPairs];
259 Float_t mGhostPairs_mDcaZPr[kMaxmGhostPairs];
260 Float_t mGhostPairs_mChi2Pr[kMaxmGhostPairs];
261 Short_t mGhostPairs_mFlag[kMaxmGhostPairs];
262 Float_t mGhostPairs_mDedx[kMaxmGhostPairs];
263 Float_t mGhostPairs_mPtGl[kMaxmGhostPairs];
264 Float_t mGhostPairs_mPzGl[kMaxmGhostPairs];
265 Float_t mGhostPairs_mEtaGl[kMaxmGhostPairs];
266 Float_t mGhostPairs_mPhiGl[kMaxmGhostPairs];
267 Float_t mGhostPairs_mDcaGl[kMaxmGhostPairs];
268 Float_t mGhostPairs_mDcaXYGl[kMaxmGhostPairs];
269 Float_t mGhostPairs_mDcaZGl[kMaxmGhostPairs];
270 Float_t mGhostPairs_mPidPion[kMaxmGhostPairs];
271 Float_t mGhostPairs_mPidProton[kMaxmGhostPairs];
272 Float_t mGhostPairs_mPidKaon[kMaxmGhostPairs];
273 Float_t mGhostPairs_mPidElectron[kMaxmGhostPairs];
274 Float_t mGhostPairs_mFirstZ[kMaxmGhostPairs];
275 Float_t mGhostPairs_mLastZ[kMaxmGhostPairs];
276 Short_t mGhostPairs_mFirstPadrow[kMaxmGhostPairs];
277 Short_t mGhostPairs_mLastPadrow[kMaxmGhostPairs];
278 Short_t mGhostPairs_mFirstFitPadrow[kMaxmGhostPairs];
279 Short_t mGhostPairs_mLastFitPadrow[kMaxmGhostPairs];
280 Short_t mGhostPairs_mFirstSector[kMaxmGhostPairs];
281 Short_t mGhostPairs_mLastSector[kMaxmGhostPairs];
282 Short_t mGhostPairs_mFitPts[kMaxmGhostPairs];
283 Short_t mGhostPairs_mAllPts[kMaxmGhostPairs];
284 Short_t mGhostPairs_mCharge[kMaxmGhostPairs];
285 Short_t mGhostPairs_mNAssocMc[kMaxmGhostPairs];
286 Short_t mGhostPairs_mNPossible[kMaxmGhostPairs];
288 Int_t mContamPairs_mParentGeantId[kMaxmContamPairs];
289 Int_t mContamPairs_mGeantProcess[kMaxmContamPairs];
290 Float_t mContamPairs_mPtMcParent[kMaxmContamPairs];
291 Float_t mContamPairs_mEtaMcParent[kMaxmContamPairs];
292 Int_t mContamPairs_mParentParentGeantId[kMaxmContamPairs];
293 Float_t mContamPairs_mPtMcParentParent[kMaxmContamPairs];
294 Float_t mContamPairs_mStartX[kMaxmContamPairs];
295 Float_t mContamPairs_mStartY[kMaxmContamPairs];
296 Float_t mContamPairs_mStartZ[kMaxmContamPairs];
297 Short_t mContamPairs_mNCommonHit[kMaxmContamPairs];
298 UChar_t mContamPairs_mIsBestContam[kMaxmContamPairs];
299 Float_t mContamPairs_mPtMc[kMaxmContamPairs];
300 Float_t mContamPairs_mPzMc[kMaxmContamPairs];
301 Float_t mContamPairs_mEtaMc[kMaxmContamPairs];
302 Float_t mContamPairs_mPhiMc[kMaxmContamPairs];
303 Short_t mContamPairs_mNHitMc[kMaxmContamPairs];
304 Short_t mContamPairs_mGeantId[kMaxmContamPairs];
305 Short_t mContamPairs_mChargeMc[kMaxmContamPairs];
306 Float_t mContamPairs_mStopR[kMaxmContamPairs];
307 Short_t mContamPairs_mNAssocGl[kMaxmContamPairs];
308 Short_t mContamPairs_mNAssocPr[kMaxmContamPairs];
309 UInt_t mContamPairs_fUniqueID[kMaxmContamPairs];
310 UInt_t mContamPairs_fBits[kMaxmContamPairs];
311 Float_t mContamPairs_mPtPr[kMaxmContamPairs];
312 Float_t mContamPairs_mPzPr[kMaxmContamPairs];
313 Float_t mContamPairs_mEtaPr[kMaxmContamPairs];
314 Float_t mContamPairs_mPhiPr[kMaxmContamPairs];
315 Float_t mContamPairs_mDcaPr[kMaxmContamPairs];
316 Float_t mContamPairs_mDcaXYPr[kMaxmContamPairs];
317 Float_t mContamPairs_mDcaZPr[kMaxmContamPairs];
318 Float_t mContamPairs_mChi2Pr[kMaxmContamPairs];
319 Short_t mContamPairs_mFlag[kMaxmContamPairs];
320 Float_t mContamPairs_mDedx[kMaxmContamPairs];
321 Float_t mContamPairs_mPtGl[kMaxmContamPairs];
322 Float_t mContamPairs_mPzGl[kMaxmContamPairs];
323 Float_t mContamPairs_mEtaGl[kMaxmContamPairs];
324 Float_t mContamPairs_mPhiGl[kMaxmContamPairs];
325 Float_t mContamPairs_mDcaGl[kMaxmContamPairs];
326 Float_t mContamPairs_mDcaXYGl[kMaxmContamPairs];
327 Float_t mContamPairs_mDcaZGl[kMaxmContamPairs];
328 Float_t mContamPairs_mPidPion[kMaxmContamPairs];
329 Float_t mContamPairs_mPidProton[kMaxmContamPairs];
330 Float_t mContamPairs_mPidKaon[kMaxmContamPairs];
331 Float_t mContamPairs_mPidElectron[kMaxmContamPairs];
332 Float_t mContamPairs_mFirstZ[kMaxmContamPairs];
333 Float_t mContamPairs_mLastZ[kMaxmContamPairs];
334 Short_t mContamPairs_mFirstPadrow[kMaxmContamPairs];
335 Short_t mContamPairs_mLastPadrow[kMaxmContamPairs];
336 Short_t mContamPairs_mFirstFitPadrow[kMaxmContamPairs];
337 Short_t mContamPairs_mLastFitPadrow[kMaxmContamPairs];
338 Short_t mContamPairs_mFirstSector[kMaxmContamPairs];
339 Short_t mContamPairs_mLastSector[kMaxmContamPairs];
340 Short_t mContamPairs_mFitPts[kMaxmContamPairs];
341 Short_t mContamPairs_mAllPts[kMaxmContamPairs];
342 Short_t mContamPairs_mCharge[kMaxmContamPairs];
343 Short_t mContamPairs_mNAssocMc[kMaxmContamPairs];
344 Short_t mContamPairs_mNPossible[kMaxmContamPairs];
351 TBranch *b_mOriginMult;
352 TBranch *b_mCentralMult;
353 TBranch *b_mCentrality;
354 TBranch *b_mNUncorrectedNegativePrimaries;
355 TBranch *b_mNUncorrectedPrimaries;
360 TBranch *b_mMcVertexX;
361 TBranch *b_mMcVertexY;
362 TBranch *b_mMcVertexZ;
363 TBranch *b_mMagField;
367 TBranch *b_mNMcTrack;
368 TBranch *b_mNMatchedPair;
369 TBranch *b_mNMergedPair;
370 TBranch *b_mNSplitPair;
371 TBranch *b_mNGhostPair;
372 TBranch *b_mNContamPair;
373 TBranch *b_mMcTracks_;
374 TBranch *b_mMcTracks_mPtMc;
375 TBranch *b_mMcTracks_mPzMc;
376 TBranch *b_mMcTracks_mEtaMc;
377 TBranch *b_mMcTracks_mPhiMc;
378 TBranch *b_mMcTracks_mNHitMc;
379 TBranch *b_mMcTracks_mGeantId;
380 TBranch *b_mMcTracks_mChargeMc;
381 TBranch *b_mMcTracks_mStopR;
382 TBranch *b_mMcTracks_mNAssocGl;
383 TBranch *b_mMcTracks_mNAssocPr;
384 TBranch *b_mMcTracks_fUniqueID;
385 TBranch *b_mMcTracks_fBits;
386 TBranch *b_mMatchedPairs_;
387 TBranch *b_mMatchedPairs_mNCommonHit;
388 TBranch *b_mMatchedPairs_mIsBestContam;
389 TBranch *b_mMatchedPairs_mPtMc;
390 TBranch *b_mMatchedPairs_mPzMc;
391 TBranch *b_mMatchedPairs_mEtaMc;
392 TBranch *b_mMatchedPairs_mPhiMc;
393 TBranch *b_mMatchedPairs_mNHitMc;
394 TBranch *b_mMatchedPairs_mGeantId;
395 TBranch *b_mMatchedPairs_mChargeMc;
396 TBranch *b_mMatchedPairs_mStopR;
397 TBranch *b_mMatchedPairs_mNAssocGl;
398 TBranch *b_mMatchedPairs_mNAssocPr;
399 TBranch *b_mMatchedPairs_fUniqueID;
400 TBranch *b_mMatchedPairs_fBits;
401 TBranch *b_mMatchedPairs_mPtPr;
402 TBranch *b_mMatchedPairs_mPzPr;
403 TBranch *b_mMatchedPairs_mEtaPr;
404 TBranch *b_mMatchedPairs_mPhiPr;
405 TBranch *b_mMatchedPairs_mDcaPr;
406 TBranch *b_mMatchedPairs_mDcaXYPr;
407 TBranch *b_mMatchedPairs_mDcaZPr;
408 TBranch *b_mMatchedPairs_mChi2Pr;
409 TBranch *b_mMatchedPairs_mFlag;
410 TBranch *b_mMatchedPairs_mDedx;
411 TBranch *b_mMatchedPairs_mPtGl;
412 TBranch *b_mMatchedPairs_mPzGl;
413 TBranch *b_mMatchedPairs_mEtaGl;
414 TBranch *b_mMatchedPairs_mPhiGl;
415 TBranch *b_mMatchedPairs_mDcaGl;
416 TBranch *b_mMatchedPairs_mDcaXYGl;
417 TBranch *b_mMatchedPairs_mDcaZGl;
418 TBranch *b_mMatchedPairs_mPidPion;
419 TBranch *b_mMatchedPairs_mPidProton;
420 TBranch *b_mMatchedPairs_mPidKaon;
421 TBranch *b_mMatchedPairs_mPidElectron;
422 TBranch *b_mMatchedPairs_mFirstZ;
423 TBranch *b_mMatchedPairs_mLastZ;
424 TBranch *b_mMatchedPairs_mFirstPadrow;
425 TBranch *b_mMatchedPairs_mLastPadrow;
426 TBranch *b_mMatchedPairs_mFirstFitPadrow;
427 TBranch *b_mMatchedPairs_mLastFitPadrow;
428 TBranch *b_mMatchedPairs_mFirstSector;
429 TBranch *b_mMatchedPairs_mLastSector;
430 TBranch *b_mMatchedPairs_mFitPts;
431 TBranch *b_mMatchedPairs_mAllPts;
432 TBranch *b_mMatchedPairs_mCharge;
433 TBranch *b_mMatchedPairs_mNAssocMc;
434 TBranch *b_mMatchedPairs_mNPossible;
435 TBranch *b_mMergedPairs_;
436 TBranch *b_mMergedPairs_mNCommonHit;
437 TBranch *b_mMergedPairs_mIsBestContam;
438 TBranch *b_mMergedPairs_mPtMc;
439 TBranch *b_mMergedPairs_mPzMc;
440 TBranch *b_mMergedPairs_mEtaMc;
441 TBranch *b_mMergedPairs_mPhiMc;
442 TBranch *b_mMergedPairs_mNHitMc;
443 TBranch *b_mMergedPairs_mGeantId;
444 TBranch *b_mMergedPairs_mChargeMc;
445 TBranch *b_mMergedPairs_mStopR;
446 TBranch *b_mMergedPairs_mNAssocGl;
447 TBranch *b_mMergedPairs_mNAssocPr;
448 TBranch *b_mMergedPairs_fUniqueID;
449 TBranch *b_mMergedPairs_fBits;
450 TBranch *b_mMergedPairs_mPtPr;
451 TBranch *b_mMergedPairs_mPzPr;
452 TBranch *b_mMergedPairs_mEtaPr;
453 TBranch *b_mMergedPairs_mPhiPr;
454 TBranch *b_mMergedPairs_mDcaPr;
455 TBranch *b_mMergedPairs_mDcaXYPr;
456 TBranch *b_mMergedPairs_mDcaZPr;
457 TBranch *b_mMergedPairs_mChi2Pr;
458 TBranch *b_mMergedPairs_mFlag;
459 TBranch *b_mMergedPairs_mDedx;
460 TBranch *b_mMergedPairs_mPtGl;
461 TBranch *b_mMergedPairs_mPzGl;
462 TBranch *b_mMergedPairs_mEtaGl;
463 TBranch *b_mMergedPairs_mPhiGl;
464 TBranch *b_mMergedPairs_mDcaGl;
465 TBranch *b_mMergedPairs_mDcaXYGl;
466 TBranch *b_mMergedPairs_mDcaZGl;
467 TBranch *b_mMergedPairs_mPidPion;
468 TBranch *b_mMergedPairs_mPidProton;
469 TBranch *b_mMergedPairs_mPidKaon;
470 TBranch *b_mMergedPairs_mPidElectron;
471 TBranch *b_mMergedPairs_mFirstZ;
472 TBranch *b_mMergedPairs_mLastZ;
473 TBranch *b_mMergedPairs_mFirstPadrow;
474 TBranch *b_mMergedPairs_mLastPadrow;
475 TBranch *b_mMergedPairs_mFirstFitPadrow;
476 TBranch *b_mMergedPairs_mLastFitPadrow;
477 TBranch *b_mMergedPairs_mFirstSector;
478 TBranch *b_mMergedPairs_mLastSector;
479 TBranch *b_mMergedPairs_mFitPts;
480 TBranch *b_mMergedPairs_mAllPts;
481 TBranch *b_mMergedPairs_mCharge;
482 TBranch *b_mMergedPairs_mNAssocMc;
483 TBranch *b_mMergedPairs_mNPossible;
484 TBranch *b_mSplitPairs_;
485 TBranch *b_mSplitPairs_mNCommonHit;
486 TBranch *b_mSplitPairs_mIsBestContam;
487 TBranch *b_mSplitPairs_mPtMc;
488 TBranch *b_mSplitPairs_mPzMc;
489 TBranch *b_mSplitPairs_mEtaMc;
490 TBranch *b_mSplitPairs_mPhiMc;
491 TBranch *b_mSplitPairs_mNHitMc;
492 TBranch *b_mSplitPairs_mGeantId;
493 TBranch *b_mSplitPairs_mChargeMc;
494 TBranch *b_mSplitPairs_mStopR;
495 TBranch *b_mSplitPairs_mNAssocGl;
496 TBranch *b_mSplitPairs_mNAssocPr;
497 TBranch *b_mSplitPairs_fUniqueID;
498 TBranch *b_mSplitPairs_fBits;
499 TBranch *b_mSplitPairs_mPtPr;
500 TBranch *b_mSplitPairs_mPzPr;
501 TBranch *b_mSplitPairs_mEtaPr;
502 TBranch *b_mSplitPairs_mPhiPr;
503 TBranch *b_mSplitPairs_mDcaPr;
504 TBranch *b_mSplitPairs_mDcaXYPr;
505 TBranch *b_mSplitPairs_mDcaZPr;
506 TBranch *b_mSplitPairs_mChi2Pr;
507 TBranch *b_mSplitPairs_mFlag;
508 TBranch *b_mSplitPairs_mDedx;
509 TBranch *b_mSplitPairs_mPtGl;
510 TBranch *b_mSplitPairs_mPzGl;
511 TBranch *b_mSplitPairs_mEtaGl;
512 TBranch *b_mSplitPairs_mPhiGl;
513 TBranch *b_mSplitPairs_mDcaGl;
514 TBranch *b_mSplitPairs_mDcaXYGl;
515 TBranch *b_mSplitPairs_mDcaZGl;
516 TBranch *b_mSplitPairs_mPidPion;
517 TBranch *b_mSplitPairs_mPidProton;
518 TBranch *b_mSplitPairs_mPidKaon;
519 TBranch *b_mSplitPairs_mPidElectron;
520 TBranch *b_mSplitPairs_mFirstZ;
521 TBranch *b_mSplitPairs_mLastZ;
522 TBranch *b_mSplitPairs_mFirstPadrow;
523 TBranch *b_mSplitPairs_mLastPadrow;
524 TBranch *b_mSplitPairs_mFirstFitPadrow;
525 TBranch *b_mSplitPairs_mLastFitPadrow;
526 TBranch *b_mSplitPairs_mFirstSector;
527 TBranch *b_mSplitPairs_mLastSector;
528 TBranch *b_mSplitPairs_mFitPts;
529 TBranch *b_mSplitPairs_mAllPts;
530 TBranch *b_mSplitPairs_mCharge;
531 TBranch *b_mSplitPairs_mNAssocMc;
532 TBranch *b_mSplitPairs_mNPossible;
533 TBranch *b_mGhostPairs_;
534 TBranch *b_mGhostPairs_mNCommonHit;
535 TBranch *b_mGhostPairs_mIsBestContam;
536 TBranch *b_mGhostPairs_mPtMc;
537 TBranch *b_mGhostPairs_mPzMc;
538 TBranch *b_mGhostPairs_mEtaMc;
539 TBranch *b_mGhostPairs_mPhiMc;
540 TBranch *b_mGhostPairs_mNHitMc;
541 TBranch *b_mGhostPairs_mGeantId;
542 TBranch *b_mGhostPairs_mChargeMc;
543 TBranch *b_mGhostPairs_mStopR;
544 TBranch *b_mGhostPairs_mNAssocGl;
545 TBranch *b_mGhostPairs_mNAssocPr;
546 TBranch *b_mGhostPairs_fUniqueID;
547 TBranch *b_mGhostPairs_fBits;
548 TBranch *b_mGhostPairs_mPtPr;
549 TBranch *b_mGhostPairs_mPzPr;
550 TBranch *b_mGhostPairs_mEtaPr;
551 TBranch *b_mGhostPairs_mPhiPr;
552 TBranch *b_mGhostPairs_mDcaPr;
553 TBranch *b_mGhostPairs_mDcaXYPr;
554 TBranch *b_mGhostPairs_mDcaZPr;
555 TBranch *b_mGhostPairs_mChi2Pr;
556 TBranch *b_mGhostPairs_mFlag;
557 TBranch *b_mGhostPairs_mDedx;
558 TBranch *b_mGhostPairs_mPtGl;
559 TBranch *b_mGhostPairs_mPzGl;
560 TBranch *b_mGhostPairs_mEtaGl;
561 TBranch *b_mGhostPairs_mPhiGl;
562 TBranch *b_mGhostPairs_mDcaGl;
563 TBranch *b_mGhostPairs_mDcaXYGl;
564 TBranch *b_mGhostPairs_mDcaZGl;
565 TBranch *b_mGhostPairs_mPidPion;
566 TBranch *b_mGhostPairs_mPidProton;
567 TBranch *b_mGhostPairs_mPidKaon;
568 TBranch *b_mGhostPairs_mPidElectron;
569 TBranch *b_mGhostPairs_mFirstZ;
570 TBranch *b_mGhostPairs_mLastZ;
571 TBranch *b_mGhostPairs_mFirstPadrow;
572 TBranch *b_mGhostPairs_mLastPadrow;
573 TBranch *b_mGhostPairs_mFirstFitPadrow;
574 TBranch *b_mGhostPairs_mLastFitPadrow;
575 TBranch *b_mGhostPairs_mFirstSector;
576 TBranch *b_mGhostPairs_mLastSector;
577 TBranch *b_mGhostPairs_mFitPts;
578 TBranch *b_mGhostPairs_mAllPts;
579 TBranch *b_mGhostPairs_mCharge;
580 TBranch *b_mGhostPairs_mNAssocMc;
581 TBranch *b_mGhostPairs_mNPossible;
582 TBranch *b_mContamPairs_;
583 TBranch *b_mContamPairs_mParentGeantId;
584 TBranch *b_mContamPairs_mGeantProcess;
585 TBranch *b_mContamPairs_mPtMcParent;
586 TBranch *b_mContamPairs_mEtaMcParent;
587 TBranch *b_mContamPairs_mParentParentGeantId;
588 TBranch *b_mContamPairs_mPtMcParentParent;
589 TBranch *b_mContamPairs_mStartX;
590 TBranch *b_mContamPairs_mStartY;
591 TBranch *b_mContamPairs_mStartZ;
592 TBranch *b_mContamPairs_mNCommonHit;
593 TBranch *b_mContamPairs_mIsBestContam;
594 TBranch *b_mContamPairs_mPtMc;
595 TBranch *b_mContamPairs_mPzMc;
596 TBranch *b_mContamPairs_mEtaMc;
597 TBranch *b_mContamPairs_mPhiMc;
598 TBranch *b_mContamPairs_mNHitMc;
599 TBranch *b_mContamPairs_mGeantId;
600 TBranch *b_mContamPairs_mChargeMc;
601 TBranch *b_mContamPairs_mStopR;
602 TBranch *b_mContamPairs_mNAssocGl;
603 TBranch *b_mContamPairs_mNAssocPr;
604 TBranch *b_mContamPairs_fUniqueID;
605 TBranch *b_mContamPairs_fBits;
606 TBranch *b_mContamPairs_mPtPr;
607 TBranch *b_mContamPairs_mPzPr;
608 TBranch *b_mContamPairs_mEtaPr;
609 TBranch *b_mContamPairs_mPhiPr;
610 TBranch *b_mContamPairs_mDcaPr;
611 TBranch *b_mContamPairs_mDcaXYPr;
612 TBranch *b_mContamPairs_mDcaZPr;
613 TBranch *b_mContamPairs_mChi2Pr;
614 TBranch *b_mContamPairs_mFlag;
615 TBranch *b_mContamPairs_mDedx;
616 TBranch *b_mContamPairs_mPtGl;
617 TBranch *b_mContamPairs_mPzGl;
618 TBranch *b_mContamPairs_mEtaGl;
619 TBranch *b_mContamPairs_mPhiGl;
620 TBranch *b_mContamPairs_mDcaGl;
621 TBranch *b_mContamPairs_mDcaXYGl;
622 TBranch *b_mContamPairs_mDcaZGl;
623 TBranch *b_mContamPairs_mPidPion;
624 TBranch *b_mContamPairs_mPidProton;
625 TBranch *b_mContamPairs_mPidKaon;
626 TBranch *b_mContamPairs_mPidElectron;
627 TBranch *b_mContamPairs_mFirstZ;
628 TBranch *b_mContamPairs_mLastZ;
629 TBranch *b_mContamPairs_mFirstPadrow;
630 TBranch *b_mContamPairs_mLastPadrow;
631 TBranch *b_mContamPairs_mFirstFitPadrow;
632 TBranch *b_mContamPairs_mLastFitPadrow;
633 TBranch *b_mContamPairs_mFirstSector;
634 TBranch *b_mContamPairs_mLastSector;
635 TBranch *b_mContamPairs_mFitPts;
636 TBranch *b_mContamPairs_mAllPts;
637 TBranch *b_mContamPairs_mCharge;
638 TBranch *b_mContamPairs_mNAssocMc;
639 TBranch *b_mContamPairs_mNPossible;
640 TBranch *b_fUniqueID;
644 char* path=
"/star/data22/ITTF/EvalData/MCNtuple/",
645 char* file=
"*evts.minimc.root");
660 char rcTrackCutString[300];
661 char mcTrackCutString[300];
668 Int_t GetEntry(Int_t entry);
669 Int_t LoadTree(Int_t entry);
670 void Init(TChain *tree);
674 void Show(Int_t entry = -1);
676 void SetEventCutMult(
float low,
float high)
677 {multCut[0]=low;multCut[1]=high;
678 makeRcTrackCutString();makeMcTrackCutString();};
679 void SetEventCutZ(
float low,
float high)
680 {zCut[0]=low;zCut[1]=high;
681 makeRcTrackCutString();makeMcTrackCutString();};
682 Int_t
Cut(Int_t entry);
684 void SetTrackCutPt(
float low,
float high)
685 {ptCut[0]=low;ptCut[1]=high;
686 makeRcTrackCutString();makeMcTrackCutString();};
687 void SetTrackCutEta(
float low,
float high)
688 {etaCut[0]=low;etaCut[1]=high;
689 makeRcTrackCutString();makeMcTrackCutString();};
690 void SetTrackCutNHit(
float low,
float high)
691 {nHitCut[0]=low;nHitCut[1]=high;
692 makeRcTrackCutString();makeMcTrackCutString();};
693 void SetTrackCutNAHit(
float low,
float high)
694 {nHitACut[0]=low;nHitACut[1]=high;
695 makeRcTrackCutString();makeMcTrackCutString();};
696 void SetTrackCutDca(
float low,
float high)
697 {dca[0]=low;dca[1]=high;
698 makeRcTrackCutString();makeMcTrackCutString();};
699 void SetTrackCutId(
int Id)
701 makeRcTrackCutString();makeMcTrackCutString();};
703 int trackCut(
int entry,
int track);
704 int mcTrackCut(
int entry,
int track);
706 void makeMcTrackCutString();
707 void makeRcTrackCutString();
711 void makeTrackEffPlots(
int nEvents);
712 void makeMomentumPlots();
713 void makeHitEffPlots();
714 void makeFitPointsPlots();
715 void makeGeantIdPlots();
719 TProfile* primaryTrackEff;
720 TH1D* primaryTrackEffEta;
721 TH1D* primaryTrackEffPt;
722 TProfile* primaryTrackEffMult;
724 TH1D* primaryTrackPt;
725 TH1D* primaryTrackEta;
729 TProfile *hitEffMult;
736 TProfile *firstHitPt;
737 TProfile *lastHitEta;
738 TProfile *firstHitEta;
742 TH1D* fitPointsPossible;
743 TProfile *fitPointsPt;
744 TProfile *fitPointsEta;
752 #ifdef standardPlots_cxx
753 standardPlots::standardPlots(TSystem *mSystem,
char* path,
char* file)
761 const char *fileListQQ[]={0,0};
762 if (strncmp(path,
"GC",2)==0) {
764 }
else if (path[0]==
'-') {
766 }
else if (!file[0]) {
769 fileListQQ[0] = mSystem->ConcatFileName(path,file);
774 TChain *tree =
new TChain(
"StMiniMcTree");
775 while(fileListQQ[iList])
777 cout <<
"Adding file " <<fileListQQ[iList]<<endl;
778 tree->Add(fileListQQ[iList]);
784 cout<<
"Total Files: "<<iList<<endl;
785 cout <<
"Total Entries: "<<tree->GetEntries()<<endl;
804 SetTrackCutPt(0.,20.);
805 SetTrackCutEta(-1.5,1.5);
806 SetTrackCutNHit(25.,55.);
807 SetTrackCutNAHit(10.,55.);
808 SetTrackCutDca(0.,20.);
810 SetEventCutMult(0.,10000.);
811 SetEventCutZ(-30.,30.);
814 standardPlots::~standardPlots()
817 delete fChain->GetCurrentFile();
820 Int_t standardPlots::GetEntry(Int_t entry)
823 if (!fChain)
return 0;
824 return fChain->GetEntry(entry);
827 Int_t standardPlots::LoadTree(Int_t entry)
830 if (!fChain)
return -5;
831 Int_t centry = fChain->LoadTree(entry);
832 if (centry < 0)
return centry;
833 if (fChain->IsA() != TChain::Class())
return centry;
834 TChain *chain = (TChain*)fChain;
835 if (chain->GetTreeNumber() !=
fCurrent) {
842 void standardPlots::Init(TChain *tree)
845 if (tree == 0)
return;
848 fChain->SetMakeClass(1);
850 fChain->SetBranchAddress(
"mEventId",&
mEventId);
851 fChain->SetBranchAddress(
"mRunId",&mRunId);
852 fChain->SetBranchAddress(
"mOriginMult",&mOriginMult);
853 fChain->SetBranchAddress(
"mCentralMult",&mCentralMult);
854 fChain->SetBranchAddress(
"mCentrality",&mCentrality);
855 fChain->SetBranchAddress(
"mNUncorrectedNegativePrimaries",&mNUncorrectedNegativePrimaries);
856 fChain->SetBranchAddress(
"mNUncorrectedPrimaries",&mNUncorrectedPrimaries);
857 fChain->SetBranchAddress(
"mMcMult",&mMcMult);
858 fChain->SetBranchAddress(
"mVertexX",&mVertexX);
859 fChain->SetBranchAddress(
"mVertexY",&mVertexY);
860 fChain->SetBranchAddress(
"mVertexZ",&mVertexZ);
861 fChain->SetBranchAddress(
"mMcVertexX",&mMcVertexX);
862 fChain->SetBranchAddress(
"mMcVertexY",&mMcVertexY);
863 fChain->SetBranchAddress(
"mMcVertexZ",&mMcVertexZ);
864 fChain->SetBranchAddress(
"mMagField",&mMagField);
865 fChain->SetBranchAddress(
"mCTB",&mCTB);
866 fChain->SetBranchAddress(
"mZDCe",&mZDCe);
867 fChain->SetBranchAddress(
"mZDCw",&mZDCw);
868 fChain->SetBranchAddress(
"mNMcTrack",&mNMcTrack);
869 fChain->SetBranchAddress(
"mNMatchedPair",&mNMatchedPair);
870 fChain->SetBranchAddress(
"mNMergedPair",&mNMergedPair);
871 fChain->SetBranchAddress(
"mNSplitPair",&mNSplitPair);
872 fChain->SetBranchAddress(
"mNGhostPair",&mNGhostPair);
873 fChain->SetBranchAddress(
"mNContamPair",&mNContamPair);
874 fChain->SetBranchAddress(
"mMcTracks_",&mMcTracks_);
875 fChain->SetBranchAddress(
"mMcTracks.mPtMc",mMcTracks_mPtMc);
876 fChain->SetBranchAddress(
"mMcTracks.mPzMc",mMcTracks_mPzMc);
877 fChain->SetBranchAddress(
"mMcTracks.mEtaMc",mMcTracks_mEtaMc);
878 fChain->SetBranchAddress(
"mMcTracks.mPhiMc",mMcTracks_mPhiMc);
879 fChain->SetBranchAddress(
"mMcTracks.mNHitMc",mMcTracks_mNHitMc);
880 fChain->SetBranchAddress(
"mMcTracks.mGeantId",mMcTracks_mGeantId);
881 fChain->SetBranchAddress(
"mMcTracks.mChargeMc",mMcTracks_mChargeMc);
882 fChain->SetBranchAddress(
"mMcTracks.mStopR",mMcTracks_mStopR);
883 fChain->SetBranchAddress(
"mMcTracks.mNAssocGl",mMcTracks_mNAssocGl);
884 fChain->SetBranchAddress(
"mMcTracks.mNAssocPr",mMcTracks_mNAssocPr);
885 fChain->SetBranchAddress(
"mMcTracks.fUniqueID",mMcTracks_fUniqueID);
886 fChain->SetBranchAddress(
"mMcTracks.fBits",mMcTracks_fBits);
887 fChain->SetBranchAddress(
"mMatchedPairs_",&mMatchedPairs_);
888 fChain->SetBranchAddress(
"mMatchedPairs.mNCommonHit",mMatchedPairs_mNCommonHit);
889 fChain->SetBranchAddress(
"mMatchedPairs.mIsBestContam",mMatchedPairs_mIsBestContam);
890 fChain->SetBranchAddress(
"mMatchedPairs.mPtMc",mMatchedPairs_mPtMc);
891 fChain->SetBranchAddress(
"mMatchedPairs.mPzMc",mMatchedPairs_mPzMc);
892 fChain->SetBranchAddress(
"mMatchedPairs.mEtaMc",mMatchedPairs_mEtaMc);
893 fChain->SetBranchAddress(
"mMatchedPairs.mPhiMc",mMatchedPairs_mPhiMc);
894 fChain->SetBranchAddress(
"mMatchedPairs.mNHitMc",mMatchedPairs_mNHitMc);
895 fChain->SetBranchAddress(
"mMatchedPairs.mGeantId",mMatchedPairs_mGeantId);
896 fChain->SetBranchAddress(
"mMatchedPairs.mChargeMc",mMatchedPairs_mChargeMc);
897 fChain->SetBranchAddress(
"mMatchedPairs.mStopR",mMatchedPairs_mStopR);
898 fChain->SetBranchAddress(
"mMatchedPairs.mNAssocGl",mMatchedPairs_mNAssocGl);
899 fChain->SetBranchAddress(
"mMatchedPairs.mNAssocPr",mMatchedPairs_mNAssocPr);
900 fChain->SetBranchAddress(
"mMatchedPairs.fUniqueID",mMatchedPairs_fUniqueID);
901 fChain->SetBranchAddress(
"mMatchedPairs.fBits",mMatchedPairs_fBits);
902 fChain->SetBranchAddress(
"mMatchedPairs.mPtPr",mMatchedPairs_mPtPr);
903 fChain->SetBranchAddress(
"mMatchedPairs.mPzPr",mMatchedPairs_mPzPr);
904 fChain->SetBranchAddress(
"mMatchedPairs.mEtaPr",mMatchedPairs_mEtaPr);
905 fChain->SetBranchAddress(
"mMatchedPairs.mPhiPr",mMatchedPairs_mPhiPr);
906 fChain->SetBranchAddress(
"mMatchedPairs.mDcaPr",mMatchedPairs_mDcaPr);
907 fChain->SetBranchAddress(
"mMatchedPairs.mDcaXYPr",mMatchedPairs_mDcaXYPr);
908 fChain->SetBranchAddress(
"mMatchedPairs.mDcaZPr",mMatchedPairs_mDcaZPr);
909 fChain->SetBranchAddress(
"mMatchedPairs.mChi2Pr",mMatchedPairs_mChi2Pr);
910 fChain->SetBranchAddress(
"mMatchedPairs.mFlag",mMatchedPairs_mFlag);
911 fChain->SetBranchAddress(
"mMatchedPairs.mDedx",mMatchedPairs_mDedx);
912 fChain->SetBranchAddress(
"mMatchedPairs.mPtGl",mMatchedPairs_mPtGl);
913 fChain->SetBranchAddress(
"mMatchedPairs.mPzGl",mMatchedPairs_mPzGl);
914 fChain->SetBranchAddress(
"mMatchedPairs.mEtaGl",mMatchedPairs_mEtaGl);
915 fChain->SetBranchAddress(
"mMatchedPairs.mPhiGl",mMatchedPairs_mPhiGl);
916 fChain->SetBranchAddress(
"mMatchedPairs.mDcaGl",mMatchedPairs_mDcaGl);
917 fChain->SetBranchAddress(
"mMatchedPairs.mDcaXYGl",mMatchedPairs_mDcaXYGl);
918 fChain->SetBranchAddress(
"mMatchedPairs.mDcaZGl",mMatchedPairs_mDcaZGl);
919 fChain->SetBranchAddress(
"mMatchedPairs.mPidPion",mMatchedPairs_mPidPion);
920 fChain->SetBranchAddress(
"mMatchedPairs.mPidProton",mMatchedPairs_mPidProton);
921 fChain->SetBranchAddress(
"mMatchedPairs.mPidKaon",mMatchedPairs_mPidKaon);
922 fChain->SetBranchAddress(
"mMatchedPairs.mPidElectron",mMatchedPairs_mPidElectron);
923 fChain->SetBranchAddress(
"mMatchedPairs.mFirstZ",mMatchedPairs_mFirstZ);
924 fChain->SetBranchAddress(
"mMatchedPairs.mLastZ",mMatchedPairs_mLastZ);
925 fChain->SetBranchAddress(
"mMatchedPairs.mFirstPadrow",mMatchedPairs_mFirstPadrow);
926 fChain->SetBranchAddress(
"mMatchedPairs.mLastPadrow",mMatchedPairs_mLastPadrow);
927 fChain->SetBranchAddress(
"mMatchedPairs.mFirstFitPadrow",mMatchedPairs_mFirstFitPadrow);
928 fChain->SetBranchAddress(
"mMatchedPairs.mLastFitPadrow",mMatchedPairs_mLastFitPadrow);
929 fChain->SetBranchAddress(
"mMatchedPairs.mFirstSector",mMatchedPairs_mFirstSector);
930 fChain->SetBranchAddress(
"mMatchedPairs.mLastSector",mMatchedPairs_mLastSector);
931 fChain->SetBranchAddress(
"mMatchedPairs.mFitPts",mMatchedPairs_mFitPts);
932 fChain->SetBranchAddress(
"mMatchedPairs.mAllPts",mMatchedPairs_mAllPts);
933 fChain->SetBranchAddress(
"mMatchedPairs.mCharge",mMatchedPairs_mCharge);
934 fChain->SetBranchAddress(
"mMatchedPairs.mNAssocMc",mMatchedPairs_mNAssocMc);
935 fChain->SetBranchAddress(
"mMatchedPairs.mNPossible",mMatchedPairs_mNPossible);
936 fChain->SetBranchAddress(
"mMergedPairs_",&mMergedPairs_);
937 fChain->SetBranchAddress(
"mMergedPairs.mNCommonHit",mMergedPairs_mNCommonHit);
938 fChain->SetBranchAddress(
"mMergedPairs.mIsBestContam",mMergedPairs_mIsBestContam);
939 fChain->SetBranchAddress(
"mMergedPairs.mPtMc",mMergedPairs_mPtMc);
940 fChain->SetBranchAddress(
"mMergedPairs.mPzMc",mMergedPairs_mPzMc);
941 fChain->SetBranchAddress(
"mMergedPairs.mEtaMc",mMergedPairs_mEtaMc);
942 fChain->SetBranchAddress(
"mMergedPairs.mPhiMc",mMergedPairs_mPhiMc);
943 fChain->SetBranchAddress(
"mMergedPairs.mNHitMc",mMergedPairs_mNHitMc);
944 fChain->SetBranchAddress(
"mMergedPairs.mGeantId",mMergedPairs_mGeantId);
945 fChain->SetBranchAddress(
"mMergedPairs.mChargeMc",mMergedPairs_mChargeMc);
946 fChain->SetBranchAddress(
"mMergedPairs.mStopR",mMergedPairs_mStopR);
947 fChain->SetBranchAddress(
"mMergedPairs.mNAssocGl",mMergedPairs_mNAssocGl);
948 fChain->SetBranchAddress(
"mMergedPairs.mNAssocPr",mMergedPairs_mNAssocPr);
949 fChain->SetBranchAddress(
"mMergedPairs.fUniqueID",mMergedPairs_fUniqueID);
950 fChain->SetBranchAddress(
"mMergedPairs.fBits",mMergedPairs_fBits);
951 fChain->SetBranchAddress(
"mMergedPairs.mPtPr",mMergedPairs_mPtPr);
952 fChain->SetBranchAddress(
"mMergedPairs.mPzPr",mMergedPairs_mPzPr);
953 fChain->SetBranchAddress(
"mMergedPairs.mEtaPr",mMergedPairs_mEtaPr);
954 fChain->SetBranchAddress(
"mMergedPairs.mPhiPr",mMergedPairs_mPhiPr);
955 fChain->SetBranchAddress(
"mMergedPairs.mDcaPr",mMergedPairs_mDcaPr);
956 fChain->SetBranchAddress(
"mMergedPairs.mDcaXYPr",mMergedPairs_mDcaXYPr);
957 fChain->SetBranchAddress(
"mMergedPairs.mDcaZPr",mMergedPairs_mDcaZPr);
958 fChain->SetBranchAddress(
"mMergedPairs.mChi2Pr",mMergedPairs_mChi2Pr);
959 fChain->SetBranchAddress(
"mMergedPairs.mFlag",mMergedPairs_mFlag);
960 fChain->SetBranchAddress(
"mMergedPairs.mDedx",mMergedPairs_mDedx);
961 fChain->SetBranchAddress(
"mMergedPairs.mPtGl",mMergedPairs_mPtGl);
962 fChain->SetBranchAddress(
"mMergedPairs.mPzGl",mMergedPairs_mPzGl);
963 fChain->SetBranchAddress(
"mMergedPairs.mEtaGl",mMergedPairs_mEtaGl);
964 fChain->SetBranchAddress(
"mMergedPairs.mPhiGl",mMergedPairs_mPhiGl);
965 fChain->SetBranchAddress(
"mMergedPairs.mDcaGl",mMergedPairs_mDcaGl);
966 fChain->SetBranchAddress(
"mMergedPairs.mDcaXYGl",mMergedPairs_mDcaXYGl);
967 fChain->SetBranchAddress(
"mMergedPairs.mDcaZGl",mMergedPairs_mDcaZGl);
968 fChain->SetBranchAddress(
"mMergedPairs.mPidPion",mMergedPairs_mPidPion);
969 fChain->SetBranchAddress(
"mMergedPairs.mPidProton",mMergedPairs_mPidProton);
970 fChain->SetBranchAddress(
"mMergedPairs.mPidKaon",mMergedPairs_mPidKaon);
971 fChain->SetBranchAddress(
"mMergedPairs.mPidElectron",mMergedPairs_mPidElectron);
972 fChain->SetBranchAddress(
"mMergedPairs.mFirstZ",mMergedPairs_mFirstZ);
973 fChain->SetBranchAddress(
"mMergedPairs.mLastZ",mMergedPairs_mLastZ);
974 fChain->SetBranchAddress(
"mMergedPairs.mFirstPadrow",mMergedPairs_mFirstPadrow);
975 fChain->SetBranchAddress(
"mMergedPairs.mLastPadrow",mMergedPairs_mLastPadrow);
976 fChain->SetBranchAddress(
"mMergedPairs.mFirstFitPadrow",mMergedPairs_mFirstFitPadrow);
977 fChain->SetBranchAddress(
"mMergedPairs.mLastFitPadrow",mMergedPairs_mLastFitPadrow);
978 fChain->SetBranchAddress(
"mMergedPairs.mFirstSector",mMergedPairs_mFirstSector);
979 fChain->SetBranchAddress(
"mMergedPairs.mLastSector",mMergedPairs_mLastSector);
980 fChain->SetBranchAddress(
"mMergedPairs.mFitPts",mMergedPairs_mFitPts);
981 fChain->SetBranchAddress(
"mMergedPairs.mAllPts",mMergedPairs_mAllPts);
982 fChain->SetBranchAddress(
"mMergedPairs.mCharge",mMergedPairs_mCharge);
983 fChain->SetBranchAddress(
"mMergedPairs.mNAssocMc",mMergedPairs_mNAssocMc);
984 fChain->SetBranchAddress(
"mMergedPairs.mNPossible",mMergedPairs_mNPossible);
985 fChain->SetBranchAddress(
"mSplitPairs_",&mSplitPairs_);
986 fChain->SetBranchAddress(
"mSplitPairs.mNCommonHit",&mSplitPairs_mNCommonHit);
987 fChain->SetBranchAddress(
"mSplitPairs.mIsBestContam",&mSplitPairs_mIsBestContam);
988 fChain->SetBranchAddress(
"mSplitPairs.mPtMc",&mSplitPairs_mPtMc);
989 fChain->SetBranchAddress(
"mSplitPairs.mPzMc",&mSplitPairs_mPzMc);
990 fChain->SetBranchAddress(
"mSplitPairs.mEtaMc",&mSplitPairs_mEtaMc);
991 fChain->SetBranchAddress(
"mSplitPairs.mPhiMc",&mSplitPairs_mPhiMc);
992 fChain->SetBranchAddress(
"mSplitPairs.mNHitMc",&mSplitPairs_mNHitMc);
993 fChain->SetBranchAddress(
"mSplitPairs.mGeantId",&mSplitPairs_mGeantId);
994 fChain->SetBranchAddress(
"mSplitPairs.mChargeMc",&mSplitPairs_mChargeMc);
995 fChain->SetBranchAddress(
"mSplitPairs.mStopR",&mSplitPairs_mStopR);
996 fChain->SetBranchAddress(
"mSplitPairs.mNAssocGl",&mSplitPairs_mNAssocGl);
997 fChain->SetBranchAddress(
"mSplitPairs.mNAssocPr",&mSplitPairs_mNAssocPr);
998 fChain->SetBranchAddress(
"mSplitPairs.fUniqueID",&mSplitPairs_fUniqueID);
999 fChain->SetBranchAddress(
"mSplitPairs.fBits",&mSplitPairs_fBits);
1000 fChain->SetBranchAddress(
"mSplitPairs.mPtPr",&mSplitPairs_mPtPr);
1001 fChain->SetBranchAddress(
"mSplitPairs.mPzPr",&mSplitPairs_mPzPr);
1002 fChain->SetBranchAddress(
"mSplitPairs.mEtaPr",&mSplitPairs_mEtaPr);
1003 fChain->SetBranchAddress(
"mSplitPairs.mPhiPr",&mSplitPairs_mPhiPr);
1004 fChain->SetBranchAddress(
"mSplitPairs.mDcaPr",&mSplitPairs_mDcaPr);
1005 fChain->SetBranchAddress(
"mSplitPairs.mDcaXYPr",&mSplitPairs_mDcaXYPr);
1006 fChain->SetBranchAddress(
"mSplitPairs.mDcaZPr",&mSplitPairs_mDcaZPr);
1007 fChain->SetBranchAddress(
"mSplitPairs.mChi2Pr",&mSplitPairs_mChi2Pr);
1008 fChain->SetBranchAddress(
"mSplitPairs.mFlag",&mSplitPairs_mFlag);
1009 fChain->SetBranchAddress(
"mSplitPairs.mDedx",&mSplitPairs_mDedx);
1010 fChain->SetBranchAddress(
"mSplitPairs.mPtGl",&mSplitPairs_mPtGl);
1011 fChain->SetBranchAddress(
"mSplitPairs.mPzGl",&mSplitPairs_mPzGl);
1012 fChain->SetBranchAddress(
"mSplitPairs.mEtaGl",&mSplitPairs_mEtaGl);
1013 fChain->SetBranchAddress(
"mSplitPairs.mPhiGl",&mSplitPairs_mPhiGl);
1014 fChain->SetBranchAddress(
"mSplitPairs.mDcaGl",&mSplitPairs_mDcaGl);
1015 fChain->SetBranchAddress(
"mSplitPairs.mDcaXYGl",&mSplitPairs_mDcaXYGl);
1016 fChain->SetBranchAddress(
"mSplitPairs.mDcaZGl",&mSplitPairs_mDcaZGl);
1017 fChain->SetBranchAddress(
"mSplitPairs.mPidPion",&mSplitPairs_mPidPion);
1018 fChain->SetBranchAddress(
"mSplitPairs.mPidProton",&mSplitPairs_mPidProton);
1019 fChain->SetBranchAddress(
"mSplitPairs.mPidKaon",&mSplitPairs_mPidKaon);
1020 fChain->SetBranchAddress(
"mSplitPairs.mPidElectron",&mSplitPairs_mPidElectron);
1021 fChain->SetBranchAddress(
"mSplitPairs.mFirstZ",&mSplitPairs_mFirstZ);
1022 fChain->SetBranchAddress(
"mSplitPairs.mLastZ",&mSplitPairs_mLastZ);
1023 fChain->SetBranchAddress(
"mSplitPairs.mFirstPadrow",&mSplitPairs_mFirstPadrow);
1024 fChain->SetBranchAddress(
"mSplitPairs.mLastPadrow",&mSplitPairs_mLastPadrow);
1025 fChain->SetBranchAddress(
"mSplitPairs.mFirstFitPadrow",&mSplitPairs_mFirstFitPadrow);
1026 fChain->SetBranchAddress(
"mSplitPairs.mLastFitPadrow",&mSplitPairs_mLastFitPadrow);
1027 fChain->SetBranchAddress(
"mSplitPairs.mFirstSector",&mSplitPairs_mFirstSector);
1028 fChain->SetBranchAddress(
"mSplitPairs.mLastSector",&mSplitPairs_mLastSector);
1029 fChain->SetBranchAddress(
"mSplitPairs.mFitPts",&mSplitPairs_mFitPts);
1030 fChain->SetBranchAddress(
"mSplitPairs.mAllPts",&mSplitPairs_mAllPts);
1031 fChain->SetBranchAddress(
"mSplitPairs.mCharge",&mSplitPairs_mCharge);
1032 fChain->SetBranchAddress(
"mSplitPairs.mNAssocMc",&mSplitPairs_mNAssocMc);
1033 fChain->SetBranchAddress(
"mSplitPairs.mNPossible",&mSplitPairs_mNPossible);
1034 fChain->SetBranchAddress(
"mGhostPairs_",&mGhostPairs_);
1035 fChain->SetBranchAddress(
"mGhostPairs.mNCommonHit",&mGhostPairs_mNCommonHit);
1036 fChain->SetBranchAddress(
"mGhostPairs.mIsBestContam",&mGhostPairs_mIsBestContam);
1037 fChain->SetBranchAddress(
"mGhostPairs.mPtMc",&mGhostPairs_mPtMc);
1038 fChain->SetBranchAddress(
"mGhostPairs.mPzMc",&mGhostPairs_mPzMc);
1039 fChain->SetBranchAddress(
"mGhostPairs.mEtaMc",&mGhostPairs_mEtaMc);
1040 fChain->SetBranchAddress(
"mGhostPairs.mPhiMc",&mGhostPairs_mPhiMc);
1041 fChain->SetBranchAddress(
"mGhostPairs.mNHitMc",&mGhostPairs_mNHitMc);
1042 fChain->SetBranchAddress(
"mGhostPairs.mGeantId",&mGhostPairs_mGeantId);
1043 fChain->SetBranchAddress(
"mGhostPairs.mChargeMc",&mGhostPairs_mChargeMc);
1044 fChain->SetBranchAddress(
"mGhostPairs.mStopR",&mGhostPairs_mStopR);
1045 fChain->SetBranchAddress(
"mGhostPairs.mNAssocGl",&mGhostPairs_mNAssocGl);
1046 fChain->SetBranchAddress(
"mGhostPairs.mNAssocPr",&mGhostPairs_mNAssocPr);
1047 fChain->SetBranchAddress(
"mGhostPairs.fUniqueID",&mGhostPairs_fUniqueID);
1048 fChain->SetBranchAddress(
"mGhostPairs.fBits",&mGhostPairs_fBits);
1049 fChain->SetBranchAddress(
"mGhostPairs.mPtPr",&mGhostPairs_mPtPr);
1050 fChain->SetBranchAddress(
"mGhostPairs.mPzPr",&mGhostPairs_mPzPr);
1051 fChain->SetBranchAddress(
"mGhostPairs.mEtaPr",&mGhostPairs_mEtaPr);
1052 fChain->SetBranchAddress(
"mGhostPairs.mPhiPr",&mGhostPairs_mPhiPr);
1053 fChain->SetBranchAddress(
"mGhostPairs.mDcaPr",&mGhostPairs_mDcaPr);
1054 fChain->SetBranchAddress(
"mGhostPairs.mDcaXYPr",&mGhostPairs_mDcaXYPr);
1055 fChain->SetBranchAddress(
"mGhostPairs.mDcaZPr",&mGhostPairs_mDcaZPr);
1056 fChain->SetBranchAddress(
"mGhostPairs.mChi2Pr",&mGhostPairs_mChi2Pr);
1057 fChain->SetBranchAddress(
"mGhostPairs.mFlag",&mGhostPairs_mFlag);
1058 fChain->SetBranchAddress(
"mGhostPairs.mDedx",&mGhostPairs_mDedx);
1059 fChain->SetBranchAddress(
"mGhostPairs.mPtGl",&mGhostPairs_mPtGl);
1060 fChain->SetBranchAddress(
"mGhostPairs.mPzGl",&mGhostPairs_mPzGl);
1061 fChain->SetBranchAddress(
"mGhostPairs.mEtaGl",&mGhostPairs_mEtaGl);
1062 fChain->SetBranchAddress(
"mGhostPairs.mPhiGl",&mGhostPairs_mPhiGl);
1063 fChain->SetBranchAddress(
"mGhostPairs.mDcaGl",&mGhostPairs_mDcaGl);
1064 fChain->SetBranchAddress(
"mGhostPairs.mDcaXYGl",&mGhostPairs_mDcaXYGl);
1065 fChain->SetBranchAddress(
"mGhostPairs.mDcaZGl",&mGhostPairs_mDcaZGl);
1066 fChain->SetBranchAddress(
"mGhostPairs.mPidPion",&mGhostPairs_mPidPion);
1067 fChain->SetBranchAddress(
"mGhostPairs.mPidProton",&mGhostPairs_mPidProton);
1068 fChain->SetBranchAddress(
"mGhostPairs.mPidKaon",&mGhostPairs_mPidKaon);
1069 fChain->SetBranchAddress(
"mGhostPairs.mPidElectron",&mGhostPairs_mPidElectron);
1070 fChain->SetBranchAddress(
"mGhostPairs.mFirstZ",&mGhostPairs_mFirstZ);
1071 fChain->SetBranchAddress(
"mGhostPairs.mLastZ",&mGhostPairs_mLastZ);
1072 fChain->SetBranchAddress(
"mGhostPairs.mFirstPadrow",&mGhostPairs_mFirstPadrow);
1073 fChain->SetBranchAddress(
"mGhostPairs.mLastPadrow",&mGhostPairs_mLastPadrow);
1074 fChain->SetBranchAddress(
"mGhostPairs.mFirstFitPadrow",&mGhostPairs_mFirstFitPadrow);
1075 fChain->SetBranchAddress(
"mGhostPairs.mLastFitPadrow",&mGhostPairs_mLastFitPadrow);
1076 fChain->SetBranchAddress(
"mGhostPairs.mFirstSector",&mGhostPairs_mFirstSector);
1077 fChain->SetBranchAddress(
"mGhostPairs.mLastSector",&mGhostPairs_mLastSector);
1078 fChain->SetBranchAddress(
"mGhostPairs.mFitPts",&mGhostPairs_mFitPts);
1079 fChain->SetBranchAddress(
"mGhostPairs.mAllPts",&mGhostPairs_mAllPts);
1080 fChain->SetBranchAddress(
"mGhostPairs.mCharge",&mGhostPairs_mCharge);
1081 fChain->SetBranchAddress(
"mGhostPairs.mNAssocMc",&mGhostPairs_mNAssocMc);
1082 fChain->SetBranchAddress(
"mGhostPairs.mNPossible",&mGhostPairs_mNPossible);
1083 fChain->SetBranchAddress(
"mContamPairs_",&mContamPairs_);
1084 fChain->SetBranchAddress(
"mContamPairs.mParentGeantId",&mContamPairs_mParentGeantId);
1085 fChain->SetBranchAddress(
"mContamPairs.mGeantProcess",&mContamPairs_mGeantProcess);
1086 fChain->SetBranchAddress(
"mContamPairs.mPtMcParent",&mContamPairs_mPtMcParent);
1087 fChain->SetBranchAddress(
"mContamPairs.mEtaMcParent",&mContamPairs_mEtaMcParent);
1088 fChain->SetBranchAddress(
"mContamPairs.mParentParentGeantId",&mContamPairs_mParentParentGeantId);
1089 fChain->SetBranchAddress(
"mContamPairs.mPtMcParentParent",&mContamPairs_mPtMcParentParent);
1090 fChain->SetBranchAddress(
"mContamPairs.mStartX",&mContamPairs_mStartX);
1091 fChain->SetBranchAddress(
"mContamPairs.mStartY",&mContamPairs_mStartY);
1092 fChain->SetBranchAddress(
"mContamPairs.mStartZ",&mContamPairs_mStartZ);
1093 fChain->SetBranchAddress(
"mContamPairs.mNCommonHit",&mContamPairs_mNCommonHit);
1094 fChain->SetBranchAddress(
"mContamPairs.mIsBestContam",&mContamPairs_mIsBestContam);
1095 fChain->SetBranchAddress(
"mContamPairs.mPtMc",&mContamPairs_mPtMc);
1096 fChain->SetBranchAddress(
"mContamPairs.mPzMc",&mContamPairs_mPzMc);
1097 fChain->SetBranchAddress(
"mContamPairs.mEtaMc",&mContamPairs_mEtaMc);
1098 fChain->SetBranchAddress(
"mContamPairs.mPhiMc",&mContamPairs_mPhiMc);
1099 fChain->SetBranchAddress(
"mContamPairs.mNHitMc",&mContamPairs_mNHitMc);
1100 fChain->SetBranchAddress(
"mContamPairs.mGeantId",&mContamPairs_mGeantId);
1101 fChain->SetBranchAddress(
"mContamPairs.mChargeMc",&mContamPairs_mChargeMc);
1102 fChain->SetBranchAddress(
"mContamPairs.mStopR",&mContamPairs_mStopR);
1103 fChain->SetBranchAddress(
"mContamPairs.mNAssocGl",&mContamPairs_mNAssocGl);
1104 fChain->SetBranchAddress(
"mContamPairs.mNAssocPr",&mContamPairs_mNAssocPr);
1105 fChain->SetBranchAddress(
"mContamPairs.fUniqueID",&mContamPairs_fUniqueID);
1106 fChain->SetBranchAddress(
"mContamPairs.fBits",&mContamPairs_fBits);
1107 fChain->SetBranchAddress(
"mContamPairs.mPtPr",&mContamPairs_mPtPr);
1108 fChain->SetBranchAddress(
"mContamPairs.mPzPr",&mContamPairs_mPzPr);
1109 fChain->SetBranchAddress(
"mContamPairs.mEtaPr",&mContamPairs_mEtaPr);
1110 fChain->SetBranchAddress(
"mContamPairs.mPhiPr",&mContamPairs_mPhiPr);
1111 fChain->SetBranchAddress(
"mContamPairs.mDcaPr",&mContamPairs_mDcaPr);
1112 fChain->SetBranchAddress(
"mContamPairs.mDcaXYPr",&mContamPairs_mDcaXYPr);
1113 fChain->SetBranchAddress(
"mContamPairs.mDcaZPr",&mContamPairs_mDcaZPr);
1114 fChain->SetBranchAddress(
"mContamPairs.mChi2Pr",&mContamPairs_mChi2Pr);
1115 fChain->SetBranchAddress(
"mContamPairs.mFlag",&mContamPairs_mFlag);
1116 fChain->SetBranchAddress(
"mContamPairs.mDedx",&mContamPairs_mDedx);
1117 fChain->SetBranchAddress(
"mContamPairs.mPtGl",&mContamPairs_mPtGl);
1118 fChain->SetBranchAddress(
"mContamPairs.mPzGl",&mContamPairs_mPzGl);
1119 fChain->SetBranchAddress(
"mContamPairs.mEtaGl",&mContamPairs_mEtaGl);
1120 fChain->SetBranchAddress(
"mContamPairs.mPhiGl",&mContamPairs_mPhiGl);
1121 fChain->SetBranchAddress(
"mContamPairs.mDcaGl",&mContamPairs_mDcaGl);
1122 fChain->SetBranchAddress(
"mContamPairs.mDcaXYGl",&mContamPairs_mDcaXYGl);
1123 fChain->SetBranchAddress(
"mContamPairs.mDcaZGl",&mContamPairs_mDcaZGl);
1124 fChain->SetBranchAddress(
"mContamPairs.mPidPion",&mContamPairs_mPidPion);
1125 fChain->SetBranchAddress(
"mContamPairs.mPidProton",&mContamPairs_mPidProton);
1126 fChain->SetBranchAddress(
"mContamPairs.mPidKaon",&mContamPairs_mPidKaon);
1127 fChain->SetBranchAddress(
"mContamPairs.mPidElectron",&mContamPairs_mPidElectron);
1128 fChain->SetBranchAddress(
"mContamPairs.mFirstZ",&mContamPairs_mFirstZ);
1129 fChain->SetBranchAddress(
"mContamPairs.mLastZ",&mContamPairs_mLastZ);
1130 fChain->SetBranchAddress(
"mContamPairs.mFirstPadrow",&mContamPairs_mFirstPadrow);
1131 fChain->SetBranchAddress(
"mContamPairs.mLastPadrow",&mContamPairs_mLastPadrow);
1132 fChain->SetBranchAddress(
"mContamPairs.mFirstFitPadrow",&mContamPairs_mFirstFitPadrow);
1133 fChain->SetBranchAddress(
"mContamPairs.mLastFitPadrow",&mContamPairs_mLastFitPadrow);
1134 fChain->SetBranchAddress(
"mContamPairs.mFirstSector",&mContamPairs_mFirstSector);
1135 fChain->SetBranchAddress(
"mContamPairs.mLastSector",&mContamPairs_mLastSector);
1136 fChain->SetBranchAddress(
"mContamPairs.mFitPts",&mContamPairs_mFitPts);
1137 fChain->SetBranchAddress(
"mContamPairs.mAllPts",&mContamPairs_mAllPts);
1138 fChain->SetBranchAddress(
"mContamPairs.mCharge",&mContamPairs_mCharge);
1139 fChain->SetBranchAddress(
"mContamPairs.mNAssocMc",&mContamPairs_mNAssocMc);
1140 fChain->SetBranchAddress(
"mContamPairs.mNPossible",&mContamPairs_mNPossible);
1141 fChain->SetBranchAddress(
"fUniqueID",&fUniqueID);
1142 fChain->SetBranchAddress(
"fBits",&fBits);
1146 void standardPlots::InitHists()
1149 cout <<
"InitHists(): Initializing hists"<<endl;
1150 primaryTrackEff=
new TProfile(
"primaryTrackEff",
"Sti PrimaryTracks vs. Mc PrimaryTracks",100,0,MAX_TRACKS);
1151 primaryTrackEffEta=
new TProfile(
"primaryTrackEffEta",
"Sti PrimaryTracks vs. Mc PrimaryTracks",100,0,MAX_TRACKS);
1152 primaryTrackEffPt=
new TProfile(
"primaryTrackEffPt",
"Sti PrimaryTracks vs. Mc PrimaryTracks",100,0,MAX_TRACKS);
1153 primaryTrackEffMult=
new TProfile(
"primaryTrackEffMult",
"PrimaryTrack Finding Efficiency vs. McMult",100,0,MAX_TRACKS);
1155 primaryTrackPt=
new TH1D(
"primaryTrackPt",
"PrimaryTrack Pt",100,0,5);
1156 primaryTrackEta=
new TH1D(
"primaryTrackEta",
"PrimaryTrack Eta",100,-1,1);
1157 mcTrackEffPt=
new TH1D(
"mcTrackEffPt",
"McTrack Pt",100,0,5);
1158 mcTrackEffEta=
new TH1D(
"mcTrackEffEta",
"McTrack Eta",100,-1,1);
1161 hitEffMult=
new TProfile(
"hitEffMult",
"Hit Shared / N Hits Possible", 50, 0, MAX_TRACKS);
1162 hitEffPt=
new TProfile(
"hitEffPt",
"Hit Shared / N Hits Possible", 50, 0, 5);
1163 hitEffEta=
new TProfile(
"hitEffEta",
"Hits Shared with MC Track / N Hits Possible", 50, -1.5,1.5);
1164 hitN =
new TH1D(
"hitN",
"Number of Hits on Track", 56,0,55);
1165 lastHit =
new TH1D(
"lastHit",
"Max hit Padrow",56,0,55);
1166 firstHit=
new TH1D(
"firstHit",
"Min hit Padrow",56,0,55);
1167 lastHitPt=
new TProfile(
"lastHitPt",
"Max padrow vs. Pt",100,0,5);;
1168 firstHitPt=
new TProfile(
"firstHitPt",
"Min padrow vs. Pt",100,0,5);;
1169 lastHitEta=
new TProfile(
"lastHitEta",
"Max padrow vs. Eta",100,0,5);;
1170 firstHitEta=
new TProfile(
"firstHitEta",
"Min padrow vs. Eta",100,0,5);;
1173 fitPointsPlot =
new TH1D(
"fitPointsPlot",
"Number of Fit Points / Number Possible", 50, 0,1);
1174 fitPointsUsed =
new TH1D(
"fitPointsUsed",
"Number of Fit Points Used", 50, 0, 50);
1175 fitPointsPossible =
new TH1D(
"fitPointsPossible",
"Number of Fit Points Possible", 50, 0,50);
1176 fitPointsPt =
new TProfile(
"fitPointsPt",
"Number of Fit Points vs. Pt",100,0,5);
1177 fitPointsEta =
new TProfile(
"fitPointsEta",
"Number of Fit Points vs. Eta",100,0,5);
1179 mGeantIdPlot =
new TH1D(
"mGeantIdPlot",
"GeantId",40,0,39);
1182 Bool_t standardPlots::Notify()
1186 b_mEventId = fChain->GetBranch(
"mEventId");
1187 b_mRunId = fChain->GetBranch(
"mRunId");
1188 b_mOriginMult = fChain->GetBranch(
"mOriginMult");
1189 b_mCentralMult = fChain->GetBranch(
"mCentralMult");
1190 b_mCentrality = fChain->GetBranch(
"mCentrality");
1191 b_mNUncorrectedNegativePrimaries = fChain->GetBranch(
"mNUncorrectedNegativePrimaries");
1192 b_mNUncorrectedPrimaries = fChain->GetBranch(
"mNUncorrectedPrimaries");
1193 b_mMcMult = fChain->GetBranch(
"mMcMult");
1194 b_mVertexX = fChain->GetBranch(
"mVertexX");
1195 b_mVertexY = fChain->GetBranch(
"mVertexY");
1196 b_mVertexZ = fChain->GetBranch(
"mVertexZ");
1197 b_mMcVertexX = fChain->GetBranch(
"mMcVertexX");
1198 b_mMcVertexY = fChain->GetBranch(
"mMcVertexY");
1199 b_mMcVertexZ = fChain->GetBranch(
"mMcVertexZ");
1200 b_mMagField = fChain->GetBranch(
"mMagField");
1201 b_mCTB = fChain->GetBranch(
"mCTB");
1202 b_mZDCe = fChain->GetBranch(
"mZDCe");
1203 b_mZDCw = fChain->GetBranch(
"mZDCw");
1204 b_mNMcTrack = fChain->GetBranch(
"mNMcTrack");
1205 b_mNMatchedPair = fChain->GetBranch(
"mNMatchedPair");
1206 b_mNMergedPair = fChain->GetBranch(
"mNMergedPair");
1207 b_mNSplitPair = fChain->GetBranch(
"mNSplitPair");
1208 b_mNGhostPair = fChain->GetBranch(
"mNGhostPair");
1209 b_mNContamPair = fChain->GetBranch(
"mNContamPair");
1210 b_mMcTracks_ = fChain->GetBranch(
"mMcTracks_");
1211 b_mMcTracks_mPtMc = fChain->GetBranch(
"mMcTracks.mPtMc");
1212 b_mMcTracks_mPzMc = fChain->GetBranch(
"mMcTracks.mPzMc");
1213 b_mMcTracks_mEtaMc = fChain->GetBranch(
"mMcTracks.mEtaMc");
1214 b_mMcTracks_mPhiMc = fChain->GetBranch(
"mMcTracks.mPhiMc");
1215 b_mMcTracks_mNHitMc = fChain->GetBranch(
"mMcTracks.mNHitMc");
1216 b_mMcTracks_mGeantId = fChain->GetBranch(
"mMcTracks.mGeantId");
1217 b_mMcTracks_mChargeMc = fChain->GetBranch(
"mMcTracks.mChargeMc");
1218 b_mMcTracks_mStopR = fChain->GetBranch(
"mMcTracks.mStopR");
1219 b_mMcTracks_mNAssocGl = fChain->GetBranch(
"mMcTracks.mNAssocGl");
1220 b_mMcTracks_mNAssocPr = fChain->GetBranch(
"mMcTracks.mNAssocPr");
1221 b_mMcTracks_fUniqueID = fChain->GetBranch(
"mMcTracks.fUniqueID");
1222 b_mMcTracks_fBits = fChain->GetBranch(
"mMcTracks.fBits");
1223 b_mMatchedPairs_ = fChain->GetBranch(
"mMatchedPairs_");
1224 b_mMatchedPairs_mNCommonHit = fChain->GetBranch(
"mMatchedPairs.mNCommonHit");
1225 b_mMatchedPairs_mIsBestContam = fChain->GetBranch(
"mMatchedPairs.mIsBestContam");
1226 b_mMatchedPairs_mPtMc = fChain->GetBranch(
"mMatchedPairs.mPtMc");
1227 b_mMatchedPairs_mPzMc = fChain->GetBranch(
"mMatchedPairs.mPzMc");
1228 b_mMatchedPairs_mEtaMc = fChain->GetBranch(
"mMatchedPairs.mEtaMc");
1229 b_mMatchedPairs_mPhiMc = fChain->GetBranch(
"mMatchedPairs.mPhiMc");
1230 b_mMatchedPairs_mNHitMc = fChain->GetBranch(
"mMatchedPairs.mNHitMc");
1231 b_mMatchedPairs_mGeantId = fChain->GetBranch(
"mMatchedPairs.mGeantId");
1232 b_mMatchedPairs_mChargeMc = fChain->GetBranch(
"mMatchedPairs.mChargeMc");
1233 b_mMatchedPairs_mStopR = fChain->GetBranch(
"mMatchedPairs.mStopR");
1234 b_mMatchedPairs_mNAssocGl = fChain->GetBranch(
"mMatchedPairs.mNAssocGl");
1235 b_mMatchedPairs_mNAssocPr = fChain->GetBranch(
"mMatchedPairs.mNAssocPr");
1236 b_mMatchedPairs_fUniqueID = fChain->GetBranch(
"mMatchedPairs.fUniqueID");
1237 b_mMatchedPairs_fBits = fChain->GetBranch(
"mMatchedPairs.fBits");
1238 b_mMatchedPairs_mPtPr = fChain->GetBranch(
"mMatchedPairs.mPtPr");
1239 b_mMatchedPairs_mPzPr = fChain->GetBranch(
"mMatchedPairs.mPzPr");
1240 b_mMatchedPairs_mEtaPr = fChain->GetBranch(
"mMatchedPairs.mEtaPr");
1241 b_mMatchedPairs_mPhiPr = fChain->GetBranch(
"mMatchedPairs.mPhiPr");
1242 b_mMatchedPairs_mDcaPr = fChain->GetBranch(
"mMatchedPairs.mDcaPr");
1243 b_mMatchedPairs_mDcaXYPr = fChain->GetBranch(
"mMatchedPairs.mDcaXYPr");
1244 b_mMatchedPairs_mDcaZPr = fChain->GetBranch(
"mMatchedPairs.mDcaZPr");
1245 b_mMatchedPairs_mChi2Pr = fChain->GetBranch(
"mMatchedPairs.mChi2Pr");
1246 b_mMatchedPairs_mFlag = fChain->GetBranch(
"mMatchedPairs.mFlag");
1247 b_mMatchedPairs_mDedx = fChain->GetBranch(
"mMatchedPairs.mDedx");
1248 b_mMatchedPairs_mPtGl = fChain->GetBranch(
"mMatchedPairs.mPtGl");
1249 b_mMatchedPairs_mPzGl = fChain->GetBranch(
"mMatchedPairs.mPzGl");
1250 b_mMatchedPairs_mEtaGl = fChain->GetBranch(
"mMatchedPairs.mEtaGl");
1251 b_mMatchedPairs_mPhiGl = fChain->GetBranch(
"mMatchedPairs.mPhiGl");
1252 b_mMatchedPairs_mDcaGl = fChain->GetBranch(
"mMatchedPairs.mDcaGl");
1253 b_mMatchedPairs_mDcaXYGl = fChain->GetBranch(
"mMatchedPairs.mDcaXYGl");
1254 b_mMatchedPairs_mDcaZGl = fChain->GetBranch(
"mMatchedPairs.mDcaZGl");
1255 b_mMatchedPairs_mPidPion = fChain->GetBranch(
"mMatchedPairs.mPidPion");
1256 b_mMatchedPairs_mPidProton = fChain->GetBranch(
"mMatchedPairs.mPidProton");
1257 b_mMatchedPairs_mPidKaon = fChain->GetBranch(
"mMatchedPairs.mPidKaon");
1258 b_mMatchedPairs_mPidElectron = fChain->GetBranch(
"mMatchedPairs.mPidElectron");
1259 b_mMatchedPairs_mFirstZ = fChain->GetBranch(
"mMatchedPairs.mFirstZ");
1260 b_mMatchedPairs_mLastZ = fChain->GetBranch(
"mMatchedPairs.mLastZ");
1261 b_mMatchedPairs_mFirstPadrow = fChain->GetBranch(
"mMatchedPairs.mFirstPadrow");
1262 b_mMatchedPairs_mLastPadrow = fChain->GetBranch(
"mMatchedPairs.mLastPadrow");
1263 b_mMatchedPairs_mFirstFitPadrow = fChain->GetBranch(
"mMatchedPairs.mFirstFitPadrow");
1264 b_mMatchedPairs_mLastFitPadrow = fChain->GetBranch(
"mMatchedPairs.mLastFitPadrow");
1265 b_mMatchedPairs_mFirstSector = fChain->GetBranch(
"mMatchedPairs.mFirstSector");
1266 b_mMatchedPairs_mLastSector = fChain->GetBranch(
"mMatchedPairs.mLastSector");
1267 b_mMatchedPairs_mFitPts = fChain->GetBranch(
"mMatchedPairs.mFitPts");
1268 b_mMatchedPairs_mAllPts = fChain->GetBranch(
"mMatchedPairs.mAllPts");
1269 b_mMatchedPairs_mCharge = fChain->GetBranch(
"mMatchedPairs.mCharge");
1270 b_mMatchedPairs_mNAssocMc = fChain->GetBranch(
"mMatchedPairs.mNAssocMc");
1271 b_mMatchedPairs_mNPossible = fChain->GetBranch(
"mMatchedPairs.mNPossible");
1272 b_mMergedPairs_ = fChain->GetBranch(
"mMergedPairs_");
1273 b_mMergedPairs_mNCommonHit = fChain->GetBranch(
"mMergedPairs.mNCommonHit");
1274 b_mMergedPairs_mIsBestContam = fChain->GetBranch(
"mMergedPairs.mIsBestContam");
1275 b_mMergedPairs_mPtMc = fChain->GetBranch(
"mMergedPairs.mPtMc");
1276 b_mMergedPairs_mPzMc = fChain->GetBranch(
"mMergedPairs.mPzMc");
1277 b_mMergedPairs_mEtaMc = fChain->GetBranch(
"mMergedPairs.mEtaMc");
1278 b_mMergedPairs_mPhiMc = fChain->GetBranch(
"mMergedPairs.mPhiMc");
1279 b_mMergedPairs_mNHitMc = fChain->GetBranch(
"mMergedPairs.mNHitMc");
1280 b_mMergedPairs_mGeantId = fChain->GetBranch(
"mMergedPairs.mGeantId");
1281 b_mMergedPairs_mChargeMc = fChain->GetBranch(
"mMergedPairs.mChargeMc");
1282 b_mMergedPairs_mStopR = fChain->GetBranch(
"mMergedPairs.mStopR");
1283 b_mMergedPairs_mNAssocGl = fChain->GetBranch(
"mMergedPairs.mNAssocGl");
1284 b_mMergedPairs_mNAssocPr = fChain->GetBranch(
"mMergedPairs.mNAssocPr");
1285 b_mMergedPairs_fUniqueID = fChain->GetBranch(
"mMergedPairs.fUniqueID");
1286 b_mMergedPairs_fBits = fChain->GetBranch(
"mMergedPairs.fBits");
1287 b_mMergedPairs_mPtPr = fChain->GetBranch(
"mMergedPairs.mPtPr");
1288 b_mMergedPairs_mPzPr = fChain->GetBranch(
"mMergedPairs.mPzPr");
1289 b_mMergedPairs_mEtaPr = fChain->GetBranch(
"mMergedPairs.mEtaPr");
1290 b_mMergedPairs_mPhiPr = fChain->GetBranch(
"mMergedPairs.mPhiPr");
1291 b_mMergedPairs_mDcaPr = fChain->GetBranch(
"mMergedPairs.mDcaPr");
1292 b_mMergedPairs_mDcaXYPr = fChain->GetBranch(
"mMergedPairs.mDcaXYPr");
1293 b_mMergedPairs_mDcaZPr = fChain->GetBranch(
"mMergedPairs.mDcaZPr");
1294 b_mMergedPairs_mChi2Pr = fChain->GetBranch(
"mMergedPairs.mChi2Pr");
1295 b_mMergedPairs_mFlag = fChain->GetBranch(
"mMergedPairs.mFlag");
1296 b_mMergedPairs_mDedx = fChain->GetBranch(
"mMergedPairs.mDedx");
1297 b_mMergedPairs_mPtGl = fChain->GetBranch(
"mMergedPairs.mPtGl");
1298 b_mMergedPairs_mPzGl = fChain->GetBranch(
"mMergedPairs.mPzGl");
1299 b_mMergedPairs_mEtaGl = fChain->GetBranch(
"mMergedPairs.mEtaGl");
1300 b_mMergedPairs_mPhiGl = fChain->GetBranch(
"mMergedPairs.mPhiGl");
1301 b_mMergedPairs_mDcaGl = fChain->GetBranch(
"mMergedPairs.mDcaGl");
1302 b_mMergedPairs_mDcaXYGl = fChain->GetBranch(
"mMergedPairs.mDcaXYGl");
1303 b_mMergedPairs_mDcaZGl = fChain->GetBranch(
"mMergedPairs.mDcaZGl");
1304 b_mMergedPairs_mPidPion = fChain->GetBranch(
"mMergedPairs.mPidPion");
1305 b_mMergedPairs_mPidProton = fChain->GetBranch(
"mMergedPairs.mPidProton");
1306 b_mMergedPairs_mPidKaon = fChain->GetBranch(
"mMergedPairs.mPidKaon");
1307 b_mMergedPairs_mPidElectron = fChain->GetBranch(
"mMergedPairs.mPidElectron");
1308 b_mMergedPairs_mFirstZ = fChain->GetBranch(
"mMergedPairs.mFirstZ");
1309 b_mMergedPairs_mLastZ = fChain->GetBranch(
"mMergedPairs.mLastZ");
1310 b_mMergedPairs_mFirstPadrow = fChain->GetBranch(
"mMergedPairs.mFirstPadrow");
1311 b_mMergedPairs_mLastPadrow = fChain->GetBranch(
"mMergedPairs.mLastPadrow");
1312 b_mMergedPairs_mFirstFitPadrow = fChain->GetBranch(
"mMergedPairs.mFirstFitPadrow");
1313 b_mMergedPairs_mLastFitPadrow = fChain->GetBranch(
"mMergedPairs.mLastFitPadrow");
1314 b_mMergedPairs_mFirstSector = fChain->GetBranch(
"mMergedPairs.mFirstSector");
1315 b_mMergedPairs_mLastSector = fChain->GetBranch(
"mMergedPairs.mLastSector");
1316 b_mMergedPairs_mFitPts = fChain->GetBranch(
"mMergedPairs.mFitPts");
1317 b_mMergedPairs_mAllPts = fChain->GetBranch(
"mMergedPairs.mAllPts");
1318 b_mMergedPairs_mCharge = fChain->GetBranch(
"mMergedPairs.mCharge");
1319 b_mMergedPairs_mNAssocMc = fChain->GetBranch(
"mMergedPairs.mNAssocMc");
1320 b_mMergedPairs_mNPossible = fChain->GetBranch(
"mMergedPairs.mNPossible");
1321 b_mSplitPairs_ = fChain->GetBranch(
"mSplitPairs_");
1322 b_mSplitPairs_mNCommonHit = fChain->GetBranch(
"mSplitPairs.mNCommonHit");
1323 b_mSplitPairs_mIsBestContam = fChain->GetBranch(
"mSplitPairs.mIsBestContam");
1324 b_mSplitPairs_mPtMc = fChain->GetBranch(
"mSplitPairs.mPtMc");
1325 b_mSplitPairs_mPzMc = fChain->GetBranch(
"mSplitPairs.mPzMc");
1326 b_mSplitPairs_mEtaMc = fChain->GetBranch(
"mSplitPairs.mEtaMc");
1327 b_mSplitPairs_mPhiMc = fChain->GetBranch(
"mSplitPairs.mPhiMc");
1328 b_mSplitPairs_mNHitMc = fChain->GetBranch(
"mSplitPairs.mNHitMc");
1329 b_mSplitPairs_mGeantId = fChain->GetBranch(
"mSplitPairs.mGeantId");
1330 b_mSplitPairs_mChargeMc = fChain->GetBranch(
"mSplitPairs.mChargeMc");
1331 b_mSplitPairs_mStopR = fChain->GetBranch(
"mSplitPairs.mStopR");
1332 b_mSplitPairs_mNAssocGl = fChain->GetBranch(
"mSplitPairs.mNAssocGl");
1333 b_mSplitPairs_mNAssocPr = fChain->GetBranch(
"mSplitPairs.mNAssocPr");
1334 b_mSplitPairs_fUniqueID = fChain->GetBranch(
"mSplitPairs.fUniqueID");
1335 b_mSplitPairs_fBits = fChain->GetBranch(
"mSplitPairs.fBits");
1336 b_mSplitPairs_mPtPr = fChain->GetBranch(
"mSplitPairs.mPtPr");
1337 b_mSplitPairs_mPzPr = fChain->GetBranch(
"mSplitPairs.mPzPr");
1338 b_mSplitPairs_mEtaPr = fChain->GetBranch(
"mSplitPairs.mEtaPr");
1339 b_mSplitPairs_mPhiPr = fChain->GetBranch(
"mSplitPairs.mPhiPr");
1340 b_mSplitPairs_mDcaPr = fChain->GetBranch(
"mSplitPairs.mDcaPr");
1341 b_mSplitPairs_mDcaXYPr = fChain->GetBranch(
"mSplitPairs.mDcaXYPr");
1342 b_mSplitPairs_mDcaZPr = fChain->GetBranch(
"mSplitPairs.mDcaZPr");
1343 b_mSplitPairs_mChi2Pr = fChain->GetBranch(
"mSplitPairs.mChi2Pr");
1344 b_mSplitPairs_mFlag = fChain->GetBranch(
"mSplitPairs.mFlag");
1345 b_mSplitPairs_mDedx = fChain->GetBranch(
"mSplitPairs.mDedx");
1346 b_mSplitPairs_mPtGl = fChain->GetBranch(
"mSplitPairs.mPtGl");
1347 b_mSplitPairs_mPzGl = fChain->GetBranch(
"mSplitPairs.mPzGl");
1348 b_mSplitPairs_mEtaGl = fChain->GetBranch(
"mSplitPairs.mEtaGl");
1349 b_mSplitPairs_mPhiGl = fChain->GetBranch(
"mSplitPairs.mPhiGl");
1350 b_mSplitPairs_mDcaGl = fChain->GetBranch(
"mSplitPairs.mDcaGl");
1351 b_mSplitPairs_mDcaXYGl = fChain->GetBranch(
"mSplitPairs.mDcaXYGl");
1352 b_mSplitPairs_mDcaZGl = fChain->GetBranch(
"mSplitPairs.mDcaZGl");
1353 b_mSplitPairs_mPidPion = fChain->GetBranch(
"mSplitPairs.mPidPion");
1354 b_mSplitPairs_mPidProton = fChain->GetBranch(
"mSplitPairs.mPidProton");
1355 b_mSplitPairs_mPidKaon = fChain->GetBranch(
"mSplitPairs.mPidKaon");
1356 b_mSplitPairs_mPidElectron = fChain->GetBranch(
"mSplitPairs.mPidElectron");
1357 b_mSplitPairs_mFirstZ = fChain->GetBranch(
"mSplitPairs.mFirstZ");
1358 b_mSplitPairs_mLastZ = fChain->GetBranch(
"mSplitPairs.mLastZ");
1359 b_mSplitPairs_mFirstPadrow = fChain->GetBranch(
"mSplitPairs.mFirstPadrow");
1360 b_mSplitPairs_mLastPadrow = fChain->GetBranch(
"mSplitPairs.mLastPadrow");
1361 b_mSplitPairs_mFirstFitPadrow = fChain->GetBranch(
"mSplitPairs.mFirstFitPadrow");
1362 b_mSplitPairs_mLastFitPadrow = fChain->GetBranch(
"mSplitPairs.mLastFitPadrow");
1363 b_mSplitPairs_mFirstSector = fChain->GetBranch(
"mSplitPairs.mFirstSector");
1364 b_mSplitPairs_mLastSector = fChain->GetBranch(
"mSplitPairs.mLastSector");
1365 b_mSplitPairs_mFitPts = fChain->GetBranch(
"mSplitPairs.mFitPts");
1366 b_mSplitPairs_mAllPts = fChain->GetBranch(
"mSplitPairs.mAllPts");
1367 b_mSplitPairs_mCharge = fChain->GetBranch(
"mSplitPairs.mCharge");
1368 b_mSplitPairs_mNAssocMc = fChain->GetBranch(
"mSplitPairs.mNAssocMc");
1369 b_mSplitPairs_mNPossible = fChain->GetBranch(
"mSplitPairs.mNPossible");
1370 b_mGhostPairs_ = fChain->GetBranch(
"mGhostPairs_");
1371 b_mGhostPairs_mNCommonHit = fChain->GetBranch(
"mGhostPairs.mNCommonHit");
1372 b_mGhostPairs_mIsBestContam = fChain->GetBranch(
"mGhostPairs.mIsBestContam");
1373 b_mGhostPairs_mPtMc = fChain->GetBranch(
"mGhostPairs.mPtMc");
1374 b_mGhostPairs_mPzMc = fChain->GetBranch(
"mGhostPairs.mPzMc");
1375 b_mGhostPairs_mEtaMc = fChain->GetBranch(
"mGhostPairs.mEtaMc");
1376 b_mGhostPairs_mPhiMc = fChain->GetBranch(
"mGhostPairs.mPhiMc");
1377 b_mGhostPairs_mNHitMc = fChain->GetBranch(
"mGhostPairs.mNHitMc");
1378 b_mGhostPairs_mGeantId = fChain->GetBranch(
"mGhostPairs.mGeantId");
1379 b_mGhostPairs_mChargeMc = fChain->GetBranch(
"mGhostPairs.mChargeMc");
1380 b_mGhostPairs_mStopR = fChain->GetBranch(
"mGhostPairs.mStopR");
1381 b_mGhostPairs_mNAssocGl = fChain->GetBranch(
"mGhostPairs.mNAssocGl");
1382 b_mGhostPairs_mNAssocPr = fChain->GetBranch(
"mGhostPairs.mNAssocPr");
1383 b_mGhostPairs_fUniqueID = fChain->GetBranch(
"mGhostPairs.fUniqueID");
1384 b_mGhostPairs_fBits = fChain->GetBranch(
"mGhostPairs.fBits");
1385 b_mGhostPairs_mPtPr = fChain->GetBranch(
"mGhostPairs.mPtPr");
1386 b_mGhostPairs_mPzPr = fChain->GetBranch(
"mGhostPairs.mPzPr");
1387 b_mGhostPairs_mEtaPr = fChain->GetBranch(
"mGhostPairs.mEtaPr");
1388 b_mGhostPairs_mPhiPr = fChain->GetBranch(
"mGhostPairs.mPhiPr");
1389 b_mGhostPairs_mDcaPr = fChain->GetBranch(
"mGhostPairs.mDcaPr");
1390 b_mGhostPairs_mDcaXYPr = fChain->GetBranch(
"mGhostPairs.mDcaXYPr");
1391 b_mGhostPairs_mDcaZPr = fChain->GetBranch(
"mGhostPairs.mDcaZPr");
1392 b_mGhostPairs_mChi2Pr = fChain->GetBranch(
"mGhostPairs.mChi2Pr");
1393 b_mGhostPairs_mFlag = fChain->GetBranch(
"mGhostPairs.mFlag");
1394 b_mGhostPairs_mDedx = fChain->GetBranch(
"mGhostPairs.mDedx");
1395 b_mGhostPairs_mPtGl = fChain->GetBranch(
"mGhostPairs.mPtGl");
1396 b_mGhostPairs_mPzGl = fChain->GetBranch(
"mGhostPairs.mPzGl");
1397 b_mGhostPairs_mEtaGl = fChain->GetBranch(
"mGhostPairs.mEtaGl");
1398 b_mGhostPairs_mPhiGl = fChain->GetBranch(
"mGhostPairs.mPhiGl");
1399 b_mGhostPairs_mDcaGl = fChain->GetBranch(
"mGhostPairs.mDcaGl");
1400 b_mGhostPairs_mDcaXYGl = fChain->GetBranch(
"mGhostPairs.mDcaXYGl");
1401 b_mGhostPairs_mDcaZGl = fChain->GetBranch(
"mGhostPairs.mDcaZGl");
1402 b_mGhostPairs_mPidPion = fChain->GetBranch(
"mGhostPairs.mPidPion");
1403 b_mGhostPairs_mPidProton = fChain->GetBranch(
"mGhostPairs.mPidProton");
1404 b_mGhostPairs_mPidKaon = fChain->GetBranch(
"mGhostPairs.mPidKaon");
1405 b_mGhostPairs_mPidElectron = fChain->GetBranch(
"mGhostPairs.mPidElectron");
1406 b_mGhostPairs_mFirstZ = fChain->GetBranch(
"mGhostPairs.mFirstZ");
1407 b_mGhostPairs_mLastZ = fChain->GetBranch(
"mGhostPairs.mLastZ");
1408 b_mGhostPairs_mFirstPadrow = fChain->GetBranch(
"mGhostPairs.mFirstPadrow");
1409 b_mGhostPairs_mLastPadrow = fChain->GetBranch(
"mGhostPairs.mLastPadrow");
1410 b_mGhostPairs_mFirstFitPadrow = fChain->GetBranch(
"mGhostPairs.mFirstFitPadrow");
1411 b_mGhostPairs_mLastFitPadrow = fChain->GetBranch(
"mGhostPairs.mLastFitPadrow");
1412 b_mGhostPairs_mFirstSector = fChain->GetBranch(
"mGhostPairs.mFirstSector");
1413 b_mGhostPairs_mLastSector = fChain->GetBranch(
"mGhostPairs.mLastSector");
1414 b_mGhostPairs_mFitPts = fChain->GetBranch(
"mGhostPairs.mFitPts");
1415 b_mGhostPairs_mAllPts = fChain->GetBranch(
"mGhostPairs.mAllPts");
1416 b_mGhostPairs_mCharge = fChain->GetBranch(
"mGhostPairs.mCharge");
1417 b_mGhostPairs_mNAssocMc = fChain->GetBranch(
"mGhostPairs.mNAssocMc");
1418 b_mGhostPairs_mNPossible = fChain->GetBranch(
"mGhostPairs.mNPossible");
1419 b_mContamPairs_ = fChain->GetBranch(
"mContamPairs_");
1420 b_mContamPairs_mParentGeantId = fChain->GetBranch(
"mContamPairs.mParentGeantId");
1421 b_mContamPairs_mGeantProcess = fChain->GetBranch(
"mContamPairs.mGeantProcess");
1422 b_mContamPairs_mPtMcParent = fChain->GetBranch(
"mContamPairs.mPtMcParent");
1423 b_mContamPairs_mEtaMcParent = fChain->GetBranch(
"mContamPairs.mEtaMcParent");
1424 b_mContamPairs_mParentParentGeantId = fChain->GetBranch(
"mContamPairs.mParentParentGeantId");
1425 b_mContamPairs_mPtMcParentParent = fChain->GetBranch(
"mContamPairs.mPtMcParentParent");
1426 b_mContamPairs_mStartX = fChain->GetBranch(
"mContamPairs.mStartX");
1427 b_mContamPairs_mStartY = fChain->GetBranch(
"mContamPairs.mStartY");
1428 b_mContamPairs_mStartZ = fChain->GetBranch(
"mContamPairs.mStartZ");
1429 b_mContamPairs_mNCommonHit = fChain->GetBranch(
"mContamPairs.mNCommonHit");
1430 b_mContamPairs_mIsBestContam = fChain->GetBranch(
"mContamPairs.mIsBestContam");
1431 b_mContamPairs_mPtMc = fChain->GetBranch(
"mContamPairs.mPtMc");
1432 b_mContamPairs_mPzMc = fChain->GetBranch(
"mContamPairs.mPzMc");
1433 b_mContamPairs_mEtaMc = fChain->GetBranch(
"mContamPairs.mEtaMc");
1434 b_mContamPairs_mPhiMc = fChain->GetBranch(
"mContamPairs.mPhiMc");
1435 b_mContamPairs_mNHitMc = fChain->GetBranch(
"mContamPairs.mNHitMc");
1436 b_mContamPairs_mGeantId = fChain->GetBranch(
"mContamPairs.mGeantId");
1437 b_mContamPairs_mChargeMc = fChain->GetBranch(
"mContamPairs.mChargeMc");
1438 b_mContamPairs_mStopR = fChain->GetBranch(
"mContamPairs.mStopR");
1439 b_mContamPairs_mNAssocGl = fChain->GetBranch(
"mContamPairs.mNAssocGl");
1440 b_mContamPairs_mNAssocPr = fChain->GetBranch(
"mContamPairs.mNAssocPr");
1441 b_mContamPairs_fUniqueID = fChain->GetBranch(
"mContamPairs.fUniqueID");
1442 b_mContamPairs_fBits = fChain->GetBranch(
"mContamPairs.fBits");
1443 b_mContamPairs_mPtPr = fChain->GetBranch(
"mContamPairs.mPtPr");
1444 b_mContamPairs_mPzPr = fChain->GetBranch(
"mContamPairs.mPzPr");
1445 b_mContamPairs_mEtaPr = fChain->GetBranch(
"mContamPairs.mEtaPr");
1446 b_mContamPairs_mPhiPr = fChain->GetBranch(
"mContamPairs.mPhiPr");
1447 b_mContamPairs_mDcaPr = fChain->GetBranch(
"mContamPairs.mDcaPr");
1448 b_mContamPairs_mDcaXYPr = fChain->GetBranch(
"mContamPairs.mDcaXYPr");
1449 b_mContamPairs_mDcaZPr = fChain->GetBranch(
"mContamPairs.mDcaZPr");
1450 b_mContamPairs_mChi2Pr = fChain->GetBranch(
"mContamPairs.mChi2Pr");
1451 b_mContamPairs_mFlag = fChain->GetBranch(
"mContamPairs.mFlag");
1452 b_mContamPairs_mDedx = fChain->GetBranch(
"mContamPairs.mDedx");
1453 b_mContamPairs_mPtGl = fChain->GetBranch(
"mContamPairs.mPtGl");
1454 b_mContamPairs_mPzGl = fChain->GetBranch(
"mContamPairs.mPzGl");
1455 b_mContamPairs_mEtaGl = fChain->GetBranch(
"mContamPairs.mEtaGl");
1456 b_mContamPairs_mPhiGl = fChain->GetBranch(
"mContamPairs.mPhiGl");
1457 b_mContamPairs_mDcaGl = fChain->GetBranch(
"mContamPairs.mDcaGl");
1458 b_mContamPairs_mDcaXYGl = fChain->GetBranch(
"mContamPairs.mDcaXYGl");
1459 b_mContamPairs_mDcaZGl = fChain->GetBranch(
"mContamPairs.mDcaZGl");
1460 b_mContamPairs_mPidPion = fChain->GetBranch(
"mContamPairs.mPidPion");
1461 b_mContamPairs_mPidProton = fChain->GetBranch(
"mContamPairs.mPidProton");
1462 b_mContamPairs_mPidKaon = fChain->GetBranch(
"mContamPairs.mPidKaon");
1463 b_mContamPairs_mPidElectron = fChain->GetBranch(
"mContamPairs.mPidElectron");
1464 b_mContamPairs_mFirstZ = fChain->GetBranch(
"mContamPairs.mFirstZ");
1465 b_mContamPairs_mLastZ = fChain->GetBranch(
"mContamPairs.mLastZ");
1466 b_mContamPairs_mFirstPadrow = fChain->GetBranch(
"mContamPairs.mFirstPadrow");
1467 b_mContamPairs_mLastPadrow = fChain->GetBranch(
"mContamPairs.mLastPadrow");
1468 b_mContamPairs_mFirstFitPadrow = fChain->GetBranch(
"mContamPairs.mFirstFitPadrow");
1469 b_mContamPairs_mLastFitPadrow = fChain->GetBranch(
"mContamPairs.mLastFitPadrow");
1470 b_mContamPairs_mFirstSector = fChain->GetBranch(
"mContamPairs.mFirstSector");
1471 b_mContamPairs_mLastSector = fChain->GetBranch(
"mContamPairs.mLastSector");
1472 b_mContamPairs_mFitPts = fChain->GetBranch(
"mContamPairs.mFitPts");
1473 b_mContamPairs_mAllPts = fChain->GetBranch(
"mContamPairs.mAllPts");
1474 b_mContamPairs_mCharge = fChain->GetBranch(
"mContamPairs.mCharge");
1475 b_mContamPairs_mNAssocMc = fChain->GetBranch(
"mContamPairs.mNAssocMc");
1476 b_mContamPairs_mNPossible = fChain->GetBranch(
"mContamPairs.mNPossible");
1477 b_fUniqueID = fChain->GetBranch(
"fUniqueID");
1478 b_fBits = fChain->GetBranch(
"fBits");
1482 void standardPlots::Show(Int_t entry)
1486 if (!fChain)
return;
1487 fChain->Show(entry);
1490 Int_t standardPlots::Cut(Int_t entry)
1495 if(mMatchedPairs_>multCut[0] && mMatchedPairs_<multCut[1]
1496 && mVertexZ>zCut[0] && mVertexZ<zCut[1])
return 1;
1501 int standardPlots::trackCut(
int entry,
int track)
1506 if( mMatchedPairs_mPtPr[track] > ptCut[0]
1507 && mMatchedPairs_mPtPr[track] < ptCut[1]
1508 && mMatchedPairs_mEtaPr[track] > etaCut[0]
1509 && mMatchedPairs_mEtaPr[track] < etaCut[1]
1510 && mMatchedPairs_mNCommonHit[track] > nHitCut[0]
1511 && mMatchedPairs_mNCommonHit[track] < nHitCut[1]
1512 && mMatchedPairs_mDcaGl[track] > dca[0]
1513 && mMatchedPairs_mDcaGl[track] < dca[1]
1514 && (mMatchedPairs_mGeantId[track] == (
short int)geantId
1515 ||mMatchedPairs_mGeantId[track] == 0)
1521 void standardPlots::makeRcTrackCutString()
1523 cout<<
" Making reconstructed track cut string."<<endl;
1526 (void)sprintf(rcTrackCutString,
1527 "mMatchedPairs.mPtPr > %f && mMatchedPairs.mPtPr < %f && mMatchedPairs.mEtaPr > %f && mMatchedPairs.mEtaPr < %f && mMatchedPairs.mNCommonHit > %f && mMatchedPairs.mNCommontHit < %f mMatchedPairs.mDcaGl > %f && mMatchedPairs.mDcaGl < %f",
1529 etaCut[0], etaCut[1],
1530 nHitCut[0], nHitCut[1],
1534 int standardPlots::mcTrackCut(
int entry,
int track)
1539 if( mMcTracks_mPtMc[track] > ptCut[0]
1540 &&mMcTracks_mPtMc[track] < ptCut[1]
1541 &&(mMcTracks_mEtaMc[track] > etaCut[0]
1542 &&mMcTracks_mEtaMc[track] < etaCut[1])
1543 &&mMcTracks_mNHitMc[track] > nHitCut[0]
1544 && mMcTracks_mNHitMc[track] < nHitCut[1]
1545 &&mMcTracks_mChargeMc[track] !=0
1546 &&(mMcTracks_mGeantId[track] ==geantId
1547 || mMcTracks_mGeantId[track] ==0))
1553 void standardPlots::makeMcTrackCutString()
1555 cout<<
" Making Monte Carlo track cut string."<<endl;
1557 (void)sprintf(mcTrackCutString,
1558 "mMcTracks.mPtMc > %f && mMcTracks.mPtPc < %f && mMcTracks.mEtaMc > %f && mMcTracks.mEtaMc < %f && mMcTracks.mNHitMc > %f && mMcTracks.mNHitMc < %f && mMcTracks.mChargeMc != 0",
1560 etaCut[0], etaCut[1],
1561 nHitCut[0], nHitCut[1]);
1565 void standardPlots::showCuts()
1567 cout <<
"The Event cuts currently defined are:\t\tlow\thigh"<<endl
1569 <<
"\t\t\t"<<zCut[0]<<
"\t"<<zCut[1]<<endl
1570 <<
"\tMultiplicity :\t"
1571 <<
"\t\t\t"<<multCut[0]<<
"\t"<<multCut[1]<<endl<<endl
1572 <<
"The Track Cuts currently defined are:\t\tlow\thigh"<<endl
1573 <<
"\tTransverse Momentum :\t"
1574 <<
"\t\t"<<ptCut[0]<<
"\t"<<ptCut[1]<<endl
1576 <<
"\t\t\t\t"<<etaCut[0]<<
"\t"<<etaCut[1]<<endl
1578 <<
"\t\t\t"<<nHitCut[0]<<
"\t"<<nHitCut[1]<<endl
1579 <<
"\tAssociated Hits :\t"
1580 <<
"\t\t"<<nHitACut[0]<<
"\t"<<nHitACut[1]<<endl
1585 #endif // #ifdef standardPlots_cxx
Int_t fCurrent
pointer to the analyzed TTree or TChain
Int_t mEventId
current Tree number in a TChain