AnalysisTree.h
Go to the documentation of this file.
1 //////////////////////////////////////////////////////////
2 // This class has been automatically generated on
3 // Wed Mar 25 21:55:36 2020 by ROOT version 6.18/04
4 // from TTree PandoraBeam/Beam events reconstructed with Pandora
5 // found on file: /dune/data/users/higuera/data/r5834_ana.root
6 //////////////////////////////////////////////////////////
7 
8 #ifndef AnalysisTree_h
9 #define AnalysisTree_h
10 
11 #include <TROOT.h>
12 #include <TChain.h>
13 #include <TFile.h>
14 
15 // Header file for the classes stored in the TTree if any.
16 #include "vector"
17 
18 using namespace std;
19 class AnalysisTree {
20 public :
21  TTree *fChain; //!pointer to the analyzed TTree or TChain
22  Int_t fCurrent; //!current Tree number in a TChain
23 
24 // Fixed size dimensions of array or collections stored in the TTree if any.
25 
26  // Declaration of leaf types
27  Int_t run;
28  Int_t subrun;
29  Int_t event;
30  Double_t timestamp;
31  Int_t Nactivefembs[5];
32  Int_t beamtrigger;
34  Double_t tof;
35  Int_t cerenkovStatus[2];
36  Double_t cerenkovTime[2];
37  Double_t cerenkovPressure[2];
39  Double_t beamtrackEnergy;
40  Double_t beamtrackPos[3];
41  Double_t beamtrackEndPos[3];
42  Double_t beamtrackDir[3];
43  Double_t beamtrackTime;
44  Int_t beamtrackPdg;
45  Int_t beamtrackID;
48  Double_t beamtrackPos_at[1][3]; //[beam_ntrjPoints]
49  Double_t beamtrackMom_at[1][4]; //[beam_ntrjPoints]
50  vector<string> *beamtrackEndProcess;
51  Double_t primaryVertex[3];
55  Double_t primaryBDTScore;
56  Int_t primaryNHits;
57  Double_t primaryTheta;
58  Double_t primaryPhi;
59  Double_t primaryLength;
60  Double_t primaryMomentum;
62  Double_t primaryEndPosition[3];
63  Double_t primaryStartPosition[3];
64  Double_t primaryEndDirection[3];
65  Double_t primaryStartDirection[3];
67  Int_t primaryID;
68  Double_t primaryTruth_E;
69  Double_t primaryTruth_vtx[3];
77  Double_t primaryShower_hit_q[4847]; //[primaryShower_nHits]
78  Int_t primaryShower_hit_w[4847]; //[primaryShower_nHits]
79  Double_t primaryShower_hit_t[4847]; //[primaryShower_nHits]
80  Double_t primaryShower_hit_X[4847]; //[primaryShower_nHits]
81  Double_t primaryShower_hit_Y[4847]; //[primaryShower_nHits]
82  Double_t primaryShower_hit_Z[4847]; //[primaryShower_nHits]
83  Double_t primaryShower_hit_pitch[4847]; //[primaryShower_nHits]
84  Double_t primaryShower_hit_cnn[4847]; //[primaryShower_nHits]
87  Double_t primaryKineticEnergy[3];
88  Double_t primaryRange[3];
89  Int_t primarynCal;
90  Double_t primarydQdx[4847]; //[primarynCal]
91  Double_t primary_calX[4847]; //[primarynCal]
92  Double_t primary_calY[4847]; //[primarynCal]
93  Double_t primary_calZ[4847]; //[primarynCal]
94  Double_t primary_cal_pitch[4847]; //[primarynCal]
95  Double_t primarydEdx[4847]; //[primarynCal]
96  Double_t primaryResidualRange[4847]; //[primarynCal]
97  Double_t primaryT0;
98  Int_t NDAUGHTERS;
99  Double_t daughterVertex[3];
100  Int_t daughterIstrack[27]; //[NDAUGHTERS]
101  Int_t daughterIsshower[27]; //[NDAUGHTERS]
102  Int_t daughterNHits[27]; //[NDAUGHTERS]
103  Double_t daughterTheta[27]; //[NDAUGHTERS]
104  Double_t daughterPhi[27]; //[NDAUGHTERS]
105  Double_t daughterLength[27]; //[NDAUGHTERS]
106  Double_t daughterEndPosition[27][3]; //[NDAUGHTERS]
107  Double_t daughterStartPosition[27][3]; //[NDAUGHTERS]
108  Double_t daughterStartDirection[27][3]; //[NDAUGHTERS]
109  Double_t daughterEndDirection[27][3]; //[NDAUGHTERS]
110  Double_t daughterOpeningAngle[27]; //[NDAUGHTERS]
111  Double_t daughterShowerBestPlane[27]; //[NDAUGHTERS]
112  Int_t daughterID[27]; //[NDAUGHTERS]
113  Double_t daughterT0[27]; //[NDAUGHTERS]
114 
115  // List of branches
116  TBranch *b_run; //!
117  TBranch *b_subrun; //!
118  TBranch *b_event; //!
119  TBranch *b_timestamp; //!
120  TBranch *b_Nactivefembs; //!
121  TBranch *b_beamtrigger; //!
122  TBranch *b_beamCheckIsMatched; //!
123  TBranch *b_tof; //!
124  TBranch *b_cerenkovStatus; //!
125  TBranch *b_cerenkovTime; //!
126  TBranch *b_cerenkovPressure; //!
127  TBranch *b_beamtrackMomentum; //!
128  TBranch *b_beamtrackEnergy; //!
129  TBranch *b_beamtrackPos; //!
130  TBranch *b_beamtrackEndPos; //!
131  TBranch *b_beamtrackDir; //!
132  TBranch *b_beamtrackTime; //!
133  TBranch *b_beamtrackPdg; //!
134  TBranch *b_beamtrackID; //!
135  TBranch *b_beam_ntrjPoints; //!
136  TBranch *b_beamtrackNDaughters; //!
137  TBranch *b_beamtrackPos_at; //!
138  TBranch *b_beamtrackMom_at; //!
139  TBranch *b_beamtrackEndProcess; //!
140  TBranch *b_primaryVertex; //!
142  TBranch *b_primaryIstrack; //!
143  TBranch *b_primaryIsshower; //!
144  TBranch *b_primaryBDTScore; //!
145  TBranch *b_primaryNHits; //!
146  TBranch *b_primaryTheta; //!
147  TBranch *b_primaryPhi; //!
148  TBranch *b_primaryLength; //!
149  TBranch *b_primaryMomentum; //!
150  TBranch *b_primaryEndMomentum; //!
151  TBranch *b_primaryEndPosition; //!
153  TBranch *b_primaryEndDirection; //!
155  TBranch *b_primaryOpeningAngle; //!
156  TBranch *b_primaryID; //!
157  TBranch *b_primaryTruth_E; //!
158  TBranch *b_primaryTruth_vtx; //!
159  TBranch *b_primaryTruth_pdg; //!
160  TBranch *b_primaryTruth_trkID; //!
162  TBranch *b_primaryShowerCharge; //!
163  TBranch *b_primaryShowerEnergy; //!
165  TBranch *b_primaryShower_nHits; //!
166  TBranch *b_primaryShower_hit_q; //!
167  TBranch *b_primaryShower_hit_w; //!
168  TBranch *b_primaryShower_hit_t; //!
169  TBranch *b_primaryShower_hit_X; //!
170  TBranch *b_primaryShower_hit_Y; //!
171  TBranch *b_primaryShower_hit_Z; //!
177  TBranch *b_primaryRange; //!
178  TBranch *b_primarynCal; //!
179  TBranch *b_primarydQdx; //!
180  TBranch *b_primary_calX; //!
181  TBranch *b_primary_calY; //!
182  TBranch *b_primary_calZ; //!
183  TBranch *b_primary_cal_pitch; //!
184  TBranch *b_primarydEdx; //!
186  TBranch *b_primaryT0; //!
187  TBranch *b_NDAUGHTERS; //!
188  TBranch *b_daughterVertex; //!
189  TBranch *b_daughterIstrack; //!
190  TBranch *b_daughterIsshower; //!
191  TBranch *b_daughterNHits; //!
192  TBranch *b_daughterTheta; //!
193  TBranch *b_daughterPhi; //!
194  TBranch *b_daughterLength; //!
195  TBranch *b_daughterEndPosition; //!
201  TBranch *b_daughterID; //!
202  TBranch *b_daughterT0; //!
203 
204  AnalysisTree(TTree *tree=0);
205  virtual ~AnalysisTree();
206  virtual Int_t Cut(Long64_t entry);
207  virtual Int_t GetEntry(Long64_t entry);
208  virtual Long64_t LoadTree(Long64_t entry);
209  virtual void Init(TTree *tree);
210  virtual void Loop();
211  virtual Bool_t Notify();
212  virtual void Show(Long64_t entry = -1);
213 };
214 
215 #endif
216 
217 #ifdef AnalysisTree_cxx
218 AnalysisTree::AnalysisTree(TTree *tree) : fChain(0)
219 {
220 // if parameter tree is not specified (or zero), connect the file
221 // used to generate this class and read the Tree.
222  if (tree == 0) {
223  TFile *f = (TFile*)gROOT->GetListOfFiles()->FindObject("/dune/data/users/higuera/data/r5834_ana.root");
224  if (!f || !f->IsOpen()) {
225  f = new TFile("/dune/data/users/higuera/data/r5834_ana.root");
226  }
227  f->GetObject("PandoraBeam",tree);
228 
229  }
230  Init(tree);
231 }
232 
234 {
235  if (!fChain) return;
236  delete fChain->GetCurrentFile();
237 }
238 
239 Int_t AnalysisTree::GetEntry(Long64_t entry)
240 {
241 // Read contents of entry.
242  if (!fChain) return 0;
243  return fChain->GetEntry(entry);
244 }
245 Long64_t AnalysisTree::LoadTree(Long64_t entry)
246 {
247 // Set the environment to read one entry
248  if (!fChain) return -5;
249  Long64_t centry = fChain->LoadTree(entry);
250  if (centry < 0) return centry;
251  if (fChain->GetTreeNumber() != fCurrent) {
252  fCurrent = fChain->GetTreeNumber();
253  Notify();
254  }
255  return centry;
256 }
257 
258 void AnalysisTree::Init(TTree *tree)
259 {
260  // The Init() function is called when the selector needs to initialize
261  // a new tree or chain. Typically here the branch addresses and branch
262  // pointers of the tree will be set.
263  // It is normally not necessary to make changes to the generated
264  // code, but the routine can be extended by the user if needed.
265  // Init() will be called many times when running on PROOF
266  // (once per file to be processed).
267 
268  // Set object pointer
270  // Set branch addresses and branch pointers
271  if (!tree) return;
272  fChain = tree;
273  fCurrent = -1;
274  fChain->SetMakeClass(1);
275 
276  fChain->SetBranchAddress("run", &run, &b_run);
277  fChain->SetBranchAddress("subrun", &subrun, &b_subrun);
278  fChain->SetBranchAddress("event", &event, &b_event);
279  fChain->SetBranchAddress("timestamp", &timestamp, &b_timestamp);
280  fChain->SetBranchAddress("Nactivefembs", Nactivefembs, &b_Nactivefembs);
281  fChain->SetBranchAddress("beamtrigger", &beamtrigger, &b_beamtrigger);
282  fChain->SetBranchAddress("beamCheckIsMatched", &beamCheckIsMatched, &b_beamCheckIsMatched);
283  fChain->SetBranchAddress("tof", &tof, &b_tof);
284  fChain->SetBranchAddress("cerenkovStatus", cerenkovStatus, &b_cerenkovStatus);
285  fChain->SetBranchAddress("cerenkovTime", cerenkovTime, &b_cerenkovTime);
286  fChain->SetBranchAddress("cerenkovPressure", cerenkovPressure, &b_cerenkovPressure);
287  fChain->SetBranchAddress("beamtrackMomentum", &beamtrackMomentum, &b_beamtrackMomentum);
288  fChain->SetBranchAddress("beamtrackEnergy", &beamtrackEnergy, &b_beamtrackEnergy);
289  fChain->SetBranchAddress("beamtrackPos", beamtrackPos, &b_beamtrackPos);
290  fChain->SetBranchAddress("beamtrackEndPos", beamtrackEndPos, &b_beamtrackEndPos);
291  fChain->SetBranchAddress("beamtrackDir", beamtrackDir, &b_beamtrackDir);
292  fChain->SetBranchAddress("beamtrackTime", &beamtrackTime, &b_beamtrackTime);
293  fChain->SetBranchAddress("beamtrackPdg", &beamtrackPdg, &b_beamtrackPdg);
294  fChain->SetBranchAddress("beamtrackID", &beamtrackID, &b_beamtrackID);
295  fChain->SetBranchAddress("beam_ntrjPoints", &beam_ntrjPoints, &b_beam_ntrjPoints);
296  fChain->SetBranchAddress("beamtrackNDaughters", &beamtrackNDaughters, &b_beamtrackNDaughters);
297  fChain->SetBranchAddress("beamtrackPos_at", &beamtrackPos_at, &b_beamtrackPos_at);
298  fChain->SetBranchAddress("beamtrackMom_at", &beamtrackMom_at, &b_beamtrackMom_at);
299  fChain->SetBranchAddress("beamtrackEndProcess", &beamtrackEndProcess, &b_beamtrackEndProcess);
300  fChain->SetBranchAddress("primaryVertex", primaryVertex, &b_primaryVertex);
301  fChain->SetBranchAddress("primaryIsBeamparticle", &primaryIsBeamparticle, &b_primaryIsBeamparticle);
302  fChain->SetBranchAddress("primaryIstrack", &primaryIstrack, &b_primaryIstrack);
303  fChain->SetBranchAddress("primaryIsshower", &primaryIsshower, &b_primaryIsshower);
304  fChain->SetBranchAddress("primaryBDTScore", &primaryBDTScore, &b_primaryBDTScore);
305  fChain->SetBranchAddress("primaryNHits", &primaryNHits, &b_primaryNHits);
306  fChain->SetBranchAddress("primaryTheta", &primaryTheta, &b_primaryTheta);
307  fChain->SetBranchAddress("primaryPhi", &primaryPhi, &b_primaryPhi);
308  fChain->SetBranchAddress("primaryLength", &primaryLength, &b_primaryLength);
309  fChain->SetBranchAddress("primaryMomentum", &primaryMomentum, &b_primaryMomentum);
310  fChain->SetBranchAddress("primaryEndMomentum", &primaryEndMomentum, &b_primaryEndMomentum);
311  fChain->SetBranchAddress("primaryEndPosition", primaryEndPosition, &b_primaryEndPosition);
312  fChain->SetBranchAddress("primaryStartPosition", primaryStartPosition, &b_primaryStartPosition);
313  fChain->SetBranchAddress("primaryEndDirection", primaryEndDirection, &b_primaryEndDirection);
314  fChain->SetBranchAddress("primaryStartDirection", primaryStartDirection, &b_primaryStartDirection);
315  fChain->SetBranchAddress("primaryOpeningAngle", &primaryOpeningAngle, &b_primaryOpeningAngle);
316  fChain->SetBranchAddress("primaryID", &primaryID, &b_primaryID);
317  fChain->SetBranchAddress("primaryTruth_E", &primaryTruth_E, &b_primaryTruth_E);
318  fChain->SetBranchAddress("primaryTruth_vtx", primaryTruth_vtx, &b_primaryTruth_vtx);
319  fChain->SetBranchAddress("primaryTruth_pdg", &primaryTruth_pdg, &b_primaryTruth_pdg);
320  fChain->SetBranchAddress("primaryTruth_trkID", &primaryTruth_trkID, &b_primaryTruth_trkID);
321  fChain->SetBranchAddress("primaryShowerBestPlane", &primaryShowerBestPlane, &b_primaryShowerBestPlane);
322  fChain->SetBranchAddress("primaryShowerCharge", &primaryShowerCharge, &b_primaryShowerCharge);
323  fChain->SetBranchAddress("primaryShowerEnergy", &primaryShowerEnergy, &b_primaryShowerEnergy);
324  fChain->SetBranchAddress("primaryShowerMIPEnergy", &primaryShowerMIPEnergy, &b_primaryShowerMIPEnergy);
325  fChain->SetBranchAddress("primaryShower_nHits", &primaryShower_nHits, &b_primaryShower_nHits);
326  fChain->SetBranchAddress("primaryShower_hit_q", primaryShower_hit_q, &b_primaryShower_hit_q);
327  fChain->SetBranchAddress("primaryShower_hit_w", primaryShower_hit_w, &b_primaryShower_hit_w);
328  fChain->SetBranchAddress("primaryShower_hit_t", primaryShower_hit_t, &b_primaryShower_hit_t);
329  fChain->SetBranchAddress("primaryShower_hit_X", primaryShower_hit_X, &b_primaryShower_hit_X);
330  fChain->SetBranchAddress("primaryShower_hit_Y", primaryShower_hit_Y, &b_primaryShower_hit_Y);
331  fChain->SetBranchAddress("primaryShower_hit_Z", primaryShower_hit_Z, &b_primaryShower_hit_Z);
332  fChain->SetBranchAddress("primaryShower_hit_pitch", primaryShower_hit_pitch, &b_primaryShower_hit_pitch);
333  fChain->SetBranchAddress("primaryShower_hit_cnn", primaryShower_hit_cnn, &b_primaryShower_hit_cnn);
334  fChain->SetBranchAddress("primaryMomentumByRangeProton", &primaryMomentumByRangeProton, &b_primaryMomentumByRangeProton);
335  fChain->SetBranchAddress("primaryMomentumByRangeMuon", &primaryMomentumByRangeMuon, &b_primaryMomentumByRangeMuon);
336  fChain->SetBranchAddress("primaryKineticEnergy", primaryKineticEnergy, &b_primaryKineticEnergy);
337  fChain->SetBranchAddress("primaryRange", primaryRange, &b_primaryRange);
338  fChain->SetBranchAddress("primarynCal", &primarynCal, &b_primarynCal);
339  fChain->SetBranchAddress("primarydQdx", primarydQdx, &b_primarydQdx);
340  fChain->SetBranchAddress("primary_calX", primary_calX, &b_primary_calX);
341  fChain->SetBranchAddress("primary_calY", primary_calY, &b_primary_calY);
342  fChain->SetBranchAddress("primary_calZ", primary_calZ, &b_primary_calZ);
343  fChain->SetBranchAddress("primary_cal_pitch", primary_cal_pitch, &b_primary_cal_pitch);
344  fChain->SetBranchAddress("primarydEdx", primarydEdx, &b_primarydEdx);
345  fChain->SetBranchAddress("primaryResidualRange", primaryResidualRange, &b_primaryResidualRange);
346  fChain->SetBranchAddress("primaryT0", &primaryT0, &b_primaryT0);
347  fChain->SetBranchAddress("NDAUGHTERS", &NDAUGHTERS, &b_NDAUGHTERS);
348  fChain->SetBranchAddress("daughterVertex", daughterVertex, &b_daughterVertex);
349  fChain->SetBranchAddress("daughterIstrack", daughterIstrack, &b_daughterIstrack);
350  fChain->SetBranchAddress("daughterIsshower", daughterIsshower, &b_daughterIsshower);
351  fChain->SetBranchAddress("daughterNHits", daughterNHits, &b_daughterNHits);
352  fChain->SetBranchAddress("daughterTheta", daughterTheta, &b_daughterTheta);
353  fChain->SetBranchAddress("daughterPhi", daughterPhi, &b_daughterPhi);
354  fChain->SetBranchAddress("daughterLength", daughterLength, &b_daughterLength);
355  fChain->SetBranchAddress("daughterEndPosition", daughterEndPosition, &b_daughterEndPosition);
356  fChain->SetBranchAddress("daughterStartPosition", daughterStartPosition, &b_daughterStartPosition);
357  fChain->SetBranchAddress("daughterStartDirection", daughterStartDirection, &b_daughterStartDirection);
358  fChain->SetBranchAddress("daughterEndDirection", daughterEndDirection, &b_daughterEndDirection);
359  fChain->SetBranchAddress("daughterOpeningAngle", daughterOpeningAngle, &b_daughterOpeningAngle);
360  fChain->SetBranchAddress("daughterShowerBestPlane", daughterShowerBestPlane, &b_daughterShowerBestPlane);
361  fChain->SetBranchAddress("daughterID", daughterID, &b_daughterID);
362  fChain->SetBranchAddress("daughterT0", daughterT0, &b_daughterT0);
363  Notify();
364 }
365 
366 Bool_t AnalysisTree::Notify()
367 {
368  // The Notify() function is called when a new file is opened. This
369  // can be either for a new TTree in a TChain or when when a new TTree
370  // is started when using PROOF. It is normally not necessary to make changes
371  // to the generated code, but the routine can be extended by the
372  // user if needed. The return value is currently not used.
373 
374  return kTRUE;
375 }
376 
377 void AnalysisTree::Show(Long64_t entry)
378 {
379 // Print contents of entry.
380 // If entry is not specified, print current entry
381  if (!fChain) return;
382  fChain->Show(entry);
383 }
384 Int_t AnalysisTree::Cut(Long64_t entry)
385 {
386 // This function may be called from Loop.
387 // returns 1 if entry is accepted.
388 // returns -1 otherwise.
389  return 1;
390 }
391 #endif // #ifdef AnalysisTree_cxx
Double_t daughterStartDirection[27][3]
Definition: AnalysisTree.h:108
TBranch * b_primaryT0
Definition: AnalysisTree.h:186
TBranch * b_primaryVertex
Definition: AnalysisTree.h:140
Double_t cerenkovTime[2]
Definition: AnalysisTree.h:36
TBranch * b_daughterShowerBestPlane
Definition: AnalysisTree.h:200
TBranch * b_primaryShower_hit_Y
Definition: AnalysisTree.h:170
TBranch * b_primaryTruth_E
Definition: AnalysisTree.h:157
TBranch * b_daughterVertex
Definition: AnalysisTree.h:188
TTree * fChain
Definition: AnalysisTree.h:21
TBranch * b_daughterEndPosition
Definition: AnalysisTree.h:195
TBranch * b_primaryTruth_vtx
Definition: AnalysisTree.h:158
TBranch * b_primaryShower_hit_t
Definition: AnalysisTree.h:168
Double_t primaryEndDirection[3]
Definition: AnalysisTree.h:64
Double_t primaryShower_hit_Z[4847]
Definition: AnalysisTree.h:82
Double_t primaryPhi
Definition: AnalysisTree.h:58
TBranch * b_cerenkovTime
Definition: AnalysisTree.h:125
TBranch * b_primaryShower_hit_Z
Definition: AnalysisTree.h:171
TBranch * b_event
Definition: AnalysisTree.h:118
Int_t fCurrent
pointer to the analyzed TTree or TChain
Definition: AnalysisTree.h:22
Double_t primaryShower_hit_X[4847]
Definition: AnalysisTree.h:80
TBranch * b_primaryShower_nHits
Definition: AnalysisTree.h:165
QList< Entry > entry
Double_t daughterVertex[3]
Definition: AnalysisTree.h:99
TBranch * b_primaryNHits
Definition: AnalysisTree.h:145
TBranch * b_primaryShower_hit_pitch
Definition: AnalysisTree.h:172
Double_t primaryStartPosition[3]
Definition: AnalysisTree.h:63
Double_t daughterEndDirection[27][3]
Definition: AnalysisTree.h:109
Double_t primaryMomentumByRangeMuon
Definition: AnalysisTree.h:86
Double_t daughterPhi[27]
Definition: AnalysisTree.h:104
TBranch * b_beam_ntrjPoints
Definition: AnalysisTree.h:135
Int_t NDAUGHTERS
Definition: AnalysisTree.h:98
TBranch * b_primaryShowerBestPlane
Definition: AnalysisTree.h:161
Double_t daughterStartPosition[27][3]
Definition: AnalysisTree.h:107
Double_t primaryShowerMIPEnergy
Definition: AnalysisTree.h:75
TBranch * b_daughterStartPosition
Definition: AnalysisTree.h:196
Double_t primaryT0
Definition: AnalysisTree.h:97
Double_t beamtrackEnergy
Definition: AnalysisTree.h:39
Double_t primaryRange[3]
Definition: AnalysisTree.h:88
TBranch * b_beamtrackMomentum
Definition: AnalysisTree.h:127
Int_t beamtrackPdg
Definition: AnalysisTree.h:44
TBranch * b_primaryShowerCharge
Definition: AnalysisTree.h:162
Double_t primaryShower_hit_pitch[4847]
Definition: AnalysisTree.h:83
Double_t beamtrackPos[3]
Definition: AnalysisTree.h:40
Int_t primaryIsshower
Definition: AnalysisTree.h:54
TBranch * b_tof
Definition: AnalysisTree.h:123
TBranch * b_primaryPhi
Definition: AnalysisTree.h:147
Double_t timestamp
Definition: AnalysisTree.h:30
Double_t beamtrackMom_at[1][4]
Definition: AnalysisTree.h:49
Double_t primaryBDTScore
Definition: AnalysisTree.h:55
TBranch * b_daughterEndDirection
Definition: AnalysisTree.h:198
Int_t beamtrigger
Definition: AnalysisTree.h:32
TBranch * b_primarydEdx
Definition: AnalysisTree.h:184
Int_t primaryShower_nHits
Definition: AnalysisTree.h:76
TBranch * b_primaryTheta
Definition: AnalysisTree.h:146
TBranch * b_cerenkovPressure
Definition: AnalysisTree.h:126
TBranch * b_primaryResidualRange
Definition: AnalysisTree.h:185
Double_t primaryKineticEnergy[3]
Definition: AnalysisTree.h:87
Int_t cerenkovStatus[2]
Definition: AnalysisTree.h:35
Double_t primarydEdx[4847]
Definition: AnalysisTree.h:95
TBranch * b_primaryIsshower
Definition: AnalysisTree.h:143
TBranch * b_primaryTruth_pdg
Definition: AnalysisTree.h:159
TBranch * b_timestamp
Definition: AnalysisTree.h:119
TBranch * b_primary_calY
Definition: AnalysisTree.h:181
TBranch * b_primaryShowerMIPEnergy
Definition: AnalysisTree.h:164
STL namespace.
Double_t primary_calZ[4847]
Definition: AnalysisTree.h:93
Double_t tof
Definition: AnalysisTree.h:34
Double_t primarydQdx[4847]
Definition: AnalysisTree.h:90
TBranch * b_primaryMomentum
Definition: AnalysisTree.h:149
Double_t primary_cal_pitch[4847]
Definition: AnalysisTree.h:94
virtual void Show(Long64_t entry=-1)
TBranch * b_primaryShower_hit_cnn
Definition: AnalysisTree.h:173
Double_t primaryEndMomentum
Definition: AnalysisTree.h:61
TBranch * b_primaryKineticEnergy
Definition: AnalysisTree.h:176
TBranch * b_beamtrackMom_at
Definition: AnalysisTree.h:138
TBranch * b_beamtrackDir
Definition: AnalysisTree.h:131
TBranch * b_daughterIsshower
Definition: AnalysisTree.h:190
TBranch * b_daughterOpeningAngle
Definition: AnalysisTree.h:199
TBranch * b_daughterNHits
Definition: AnalysisTree.h:191
Double_t daughterEndPosition[27][3]
Definition: AnalysisTree.h:106
TBranch * b_primaryOpeningAngle
Definition: AnalysisTree.h:155
TBranch * b_daughterStartDirection
Definition: AnalysisTree.h:197
Int_t primaryTruth_pdg
Definition: AnalysisTree.h:70
Double_t daughterT0[27]
Definition: AnalysisTree.h:113
Int_t beamtrackID
Definition: AnalysisTree.h:45
TBranch * b_primaryTruth_trkID
Definition: AnalysisTree.h:160
TBranch * b_primarydQdx
Definition: AnalysisTree.h:179
Double_t primaryTruth_vtx[3]
Definition: AnalysisTree.h:69
Int_t daughterNHits[27]
Definition: AnalysisTree.h:102
Int_t primaryTruth_trkID
Definition: AnalysisTree.h:71
TBranch * b_beamtrackTime
Definition: AnalysisTree.h:132
TBranch * b_Nactivefembs
Definition: AnalysisTree.h:120
TBranch * b_primaryEndDirection
Definition: AnalysisTree.h:153
Double_t primary_calY[4847]
Definition: AnalysisTree.h:92
Double_t daughterTheta[27]
Definition: AnalysisTree.h:103
Double_t primaryTheta
Definition: AnalysisTree.h:57
Double_t primaryResidualRange[4847]
Definition: AnalysisTree.h:96
Double_t beamtrackPos_at[1][3]
Definition: AnalysisTree.h:48
TBranch * b_cerenkovStatus
Definition: AnalysisTree.h:124
TBranch * b_primarynCal
Definition: AnalysisTree.h:178
AnalysisTree(TTree *tree=0)
TBranch * b_primaryShowerEnergy
Definition: AnalysisTree.h:163
TBranch * b_NDAUGHTERS
Definition: AnalysisTree.h:187
TBranch * b_daughterPhi
Definition: AnalysisTree.h:193
TBranch * b_daughterT0
Definition: AnalysisTree.h:202
TBranch * b_daughterLength
Definition: AnalysisTree.h:194
Double_t primaryMomentum
Definition: AnalysisTree.h:60
Int_t Nactivefembs[5]
Definition: AnalysisTree.h:31
TBranch * b_beamtrackEndProcess
Definition: AnalysisTree.h:139
Int_t primaryIsBeamparticle
Definition: AnalysisTree.h:52
Double_t primaryShower_hit_Y[4847]
Definition: AnalysisTree.h:81
Double_t primaryStartDirection[3]
Definition: AnalysisTree.h:65
Int_t daughterID[27]
Definition: AnalysisTree.h:112
Double_t beamtrackEndPos[3]
Definition: AnalysisTree.h:41
Int_t primaryShower_hit_w[4847]
Definition: AnalysisTree.h:78
TBranch * b_beamtrigger
Definition: AnalysisTree.h:121
virtual Bool_t Notify()
vector< string > * beamtrackEndProcess
Definition: AnalysisTree.h:50
Double_t cerenkovPressure[2]
Definition: AnalysisTree.h:37
virtual void Init(TTree *tree)
Double_t primaryShower_hit_t[4847]
Definition: AnalysisTree.h:79
Int_t daughterIstrack[27]
Definition: AnalysisTree.h:100
Double_t beamtrackMomentum
Definition: AnalysisTree.h:38
void Init(void)
Definition: gXSecComp.cxx:138
TBranch * b_beamtrackNDaughters
Definition: AnalysisTree.h:136
Int_t run
current Tree number in a TChain
Definition: AnalysisTree.h:27
TBranch * b_primary_cal_pitch
Definition: AnalysisTree.h:183
Int_t beamtrackNDaughters
Definition: AnalysisTree.h:47
Int_t beamCheckIsMatched
Definition: AnalysisTree.h:33
TBranch * b_beamtrackPdg
Definition: AnalysisTree.h:133
TBranch * b_primary_calZ
Definition: AnalysisTree.h:182
TBranch * b_primaryEndPosition
Definition: AnalysisTree.h:151
TBranch * b_primaryRange
Definition: AnalysisTree.h:177
Double_t beamtrackDir[3]
Definition: AnalysisTree.h:42
Double_t primaryShowerEnergy
Definition: AnalysisTree.h:74
TBranch * b_beamtrackPos
Definition: AnalysisTree.h:129
Double_t primaryEndPosition[3]
Definition: AnalysisTree.h:62
Double_t daughterLength[27]
Definition: AnalysisTree.h:105
TBranch * b_primaryShower_hit_q
Definition: AnalysisTree.h:166
TBranch * b_primaryMomentumByRangeProton
Definition: AnalysisTree.h:174
Int_t primaryID
Definition: AnalysisTree.h:67
TBranch * b_daughterTheta
Definition: AnalysisTree.h:192
TBranch * b_primaryMomentumByRangeMuon
Definition: AnalysisTree.h:175
TBranch * b_primaryStartDirection
Definition: AnalysisTree.h:154
Double_t primaryOpeningAngle
Definition: AnalysisTree.h:66
Double_t primaryShower_hit_cnn[4847]
Definition: AnalysisTree.h:84
virtual Int_t GetEntry(Long64_t entry)
TBranch * b_primaryShower_hit_X
Definition: AnalysisTree.h:169
Double_t primaryShowerCharge
Definition: AnalysisTree.h:73
Double_t primaryMomentumByRangeProton
Definition: AnalysisTree.h:85
TBranch * b_primary_calX
Definition: AnalysisTree.h:180
TBranch * b_beamtrackPos_at
Definition: AnalysisTree.h:137
TBranch * b_primaryIsBeamparticle
Definition: AnalysisTree.h:141
TBranch * b_beamtrackEnergy
Definition: AnalysisTree.h:128
Int_t daughterIsshower[27]
Definition: AnalysisTree.h:101
TBranch * b_daughterID
Definition: AnalysisTree.h:201
TBranch * b_daughterIstrack
Definition: AnalysisTree.h:189
Int_t primaryIstrack
Definition: AnalysisTree.h:53
virtual ~AnalysisTree()
Double_t beamtrackTime
Definition: AnalysisTree.h:43
Double_t primaryVertex[3]
Definition: AnalysisTree.h:51
TBranch * b_primaryID
Definition: AnalysisTree.h:156
TBranch * b_beamCheckIsMatched
Definition: AnalysisTree.h:122
TBranch * b_subrun
Definition: AnalysisTree.h:117
TBranch * b_primaryStartPosition
Definition: AnalysisTree.h:152
Int_t primaryNHits
Definition: AnalysisTree.h:56
Double_t daughterShowerBestPlane[27]
Definition: AnalysisTree.h:111
Int_t primarynCal
Definition: AnalysisTree.h:89
TBranch * b_primaryBDTScore
Definition: AnalysisTree.h:144
TBranch * b_beamtrackID
Definition: AnalysisTree.h:134
Double_t primaryLength
Definition: AnalysisTree.h:59
Double_t primaryShower_hit_q[4847]
Definition: AnalysisTree.h:77
TBranch * b_primaryLength
Definition: AnalysisTree.h:148
Int_t beam_ntrjPoints
Definition: AnalysisTree.h:46
TBranch * b_primaryShower_hit_w
Definition: AnalysisTree.h:167
TBranch * b_run
Definition: AnalysisTree.h:116
Event finding and building.
Int_t primaryShowerBestPlane
Definition: AnalysisTree.h:72
Double_t primaryTruth_E
Definition: AnalysisTree.h:68
Double_t daughterOpeningAngle[27]
Definition: AnalysisTree.h:110
TBranch * b_primaryEndMomentum
Definition: AnalysisTree.h:150
virtual Int_t Cut(Long64_t entry)
Double_t primary_calX[4847]
Definition: AnalysisTree.h:91
virtual Long64_t LoadTree(Long64_t entry)
TBranch * b_primaryIstrack
Definition: AnalysisTree.h:142
TBranch * b_beamtrackEndPos
Definition: AnalysisTree.h:130