StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
TBase.h
1 // This class has been automatically generated on
3 // Wed Dec 27 09:49:38 2006 by ROOT version 5.15/01
4 // from TTree T/TTree with SVT + SSD hits and tracks
5 // found on file: Event_6065058_raw_3020003.root
7 
8 #ifndef TBase_h
9 #define TBase_h
10 //#define __USE_GLOBAL__
11 #include <TROOT.h>
12 #include <TChain.h>
13 #include <TFile.h>
14 const Int_t kMaxfTracks = 10000;
15 const Int_t kMaxfHits = 400000;
16 
17 class TBase {
18 public :
19  TTree *fChain;
20  Int_t fCurrent;
21 
22  // Declaration of leave types
23  //EventT *EventT;
24  UInt_t fUniqueID;
25  UInt_t fBits;
26  UInt_t fNPTracks;
27  UInt_t fNtrack;
28  UInt_t fNhit;
29  UInt_t fFlag;
30  Int_t fEvtHdr_fEvtNum;
31  Int_t fEvtHdr_fRun;
32  Int_t fEvtHdr_fDate;
33  Double32_t fEvtHdr_fField;
34  Double32_t fVertex[3];
35  Double32_t fCovariantMatrix[6];
36  Int_t fTracks_;
37  UInt_t fTracks_fUniqueID[kMaxfTracks]; //[fTracks_]
38  UInt_t fTracks_fBits[kMaxfTracks]; //[fTracks_]
39  Char_t fTracks_beg[kMaxfTracks]; //[fTracks_]
40  Double32_t fTracks_fInvpT[kMaxfTracks]; //[fTracks_]
41  Double32_t fTracks_fTanL[kMaxfTracks]; //[fTracks_]
42  Double32_t fTracks_fPhi[kMaxfTracks]; //[fTracks_]
43  Double32_t fTracks_fRho[kMaxfTracks]; //[fTracks_]
44 #ifdef __USE_GLOBAL__
45  Double32_t fTracks_fInvpTGl[kMaxfTracks]; //[fTracks_]
46  Double32_t fTracks_fTanLGl[kMaxfTracks]; //[fTracks_]
47  Double32_t fTracks_fPhiGl[kMaxfTracks]; //[fTracks_]
48  Double32_t fTracks_fRhoGl[kMaxfTracks]; //[fTracks_]
49 #endif
50  UInt_t fTracks_fNpoint[kMaxfTracks]; //[fTracks_]
51  UInt_t fTracks_fNPpoint[kMaxfTracks]; //[fTracks_]
52  Short_t fTracks_fValid[kMaxfTracks]; //[fTracks_]
53  UInt_t fTracks_fNsp[kMaxfTracks]; //[fTracks_]
54  UInt_t fTracks_fIdHitT[kMaxfTracks][1000]; //[fTracks_]
55  Double32_t fTracks_fdEdx[kMaxfTracks]; //[fTracks_]
56  Double32_t fTracks_fLength[kMaxfTracks]; //[fTracks_]
57  Char_t fTracks_end[kMaxfTracks]; //[fTracks_]
58  Int_t fHits_;
59  UInt_t fHits_fUniqueID[kMaxfHits]; //[fHits_]
60  UInt_t fHits_fBits[kMaxfHits]; //[fHits_]
61  Char_t fHits_start[kMaxfHits]; //[fHits_]
62  Int_t fHits_Id[kMaxfHits]; //[fHits_]
63  Int_t fHits_sector[kMaxfHits]; //[fHits_]
64  Int_t fHits_barrel[kMaxfHits]; //[fHits_]
65  Int_t fHits_layer[kMaxfHits]; //[fHits_]
66  Int_t fHits_ladder[kMaxfHits]; //[fHits_]
67  Int_t fHits_wafer[kMaxfHits]; //[fHits_]
68  Int_t fHits_hybrid[kMaxfHits]; //[fHits_]
69  Int_t fHits_rdo[kMaxfHits]; //[fHits_]
70  Double32_t fHits_xG[kMaxfHits]; //[fHits_]
71  Double32_t fHits_yG[kMaxfHits]; //[fHits_]
72  Double32_t fHits_zG[kMaxfHits]; //[fHits_]
73  Double32_t fHits_xGC[kMaxfHits]; //[fHits_]
74  Double32_t fHits_yGC[kMaxfHits]; //[fHits_]
75  Double32_t fHits_zGC[kMaxfHits]; //[fHits_]
76  Double32_t fHits_xL[kMaxfHits]; //[fHits_]
77  Double32_t fHits_yL[kMaxfHits]; //[fHits_]
78  Double32_t fHits_zL[kMaxfHits]; //[fHits_]
79  Double32_t fHits_u[kMaxfHits]; //[fHits_]
80  Double32_t fHits_v[kMaxfHits]; //[fHits_]
81  Double32_t fHits_w[kMaxfHits]; //[fHits_]
82  Double32_t fHits_tuP[kMaxfHits]; //[fHits_]
83  Double32_t fHits_tvP[kMaxfHits]; //[fHits_]
84  Double32_t fHits_uP[kMaxfHits]; //[fHits_]
85  Double32_t fHits_vP[kMaxfHits]; //[fHits_]
86  Double32_t fHits_pT[kMaxfHits]; //[fHits_]
87  Double32_t fHits_pMom[kMaxfHits]; //[fHits_]
88  Double32_t fHits_xPG[kMaxfHits]; //[fHits_]
89  Double32_t fHits_yPG[kMaxfHits]; //[fHits_]
90  Double32_t fHits_zPG[kMaxfHits]; //[fHits_]
91  Double32_t fHits_cxPG[kMaxfHits]; //[fHits_]
92  Double32_t fHits_cyPG[kMaxfHits]; //[fHits_]
93  Double32_t fHits_czPG[kMaxfHits]; //[fHits_]
94  Double32_t fHits_wGu[kMaxfHits]; //[fHits_]
95  Double32_t fHits_wGv[kMaxfHits]; //[fHits_]
96  Double32_t fHits_wGw[kMaxfHits]; //[fHits_]
97  Double32_t fHits_xPL[kMaxfHits]; //[fHits_]
98  Double32_t fHits_yPL[kMaxfHits]; //[fHits_]
99  Double32_t fHits_zPL[kMaxfHits]; //[fHits_]
100 #ifdef __USE_GLOBAL__
101  Double32_t fHits_uPGl[kMaxfHits]; //[fHits_]
102  Double32_t fHits_vPGl[kMaxfHits]; //[fHits_]
103  Double32_t fHits_tuPGl[kMaxfHits]; //[fHits_]
104  Double32_t fHits_tvPGl[kMaxfHits]; //[fHits_]
105  Double32_t fHits_xPGlG[kMaxfHits]; //[fHits_]
106  Double32_t fHits_yPGlG[kMaxfHits]; //[fHits_]
107  Double32_t fHits_zPGlG[kMaxfHits]; //[fHits_]
108  Double32_t fHits_cxPGlG[kMaxfHits]; //[fHits_]
109  Double32_t fHits_cyPGlG[kMaxfHits]; //[fHits_]
110  Double32_t fHits_czPGlG[kMaxfHits]; //[fHits_]
111  Double32_t fHits_xPGlL[kMaxfHits]; //[fHits_]
112  Double32_t fHits_yPGlL[kMaxfHits]; //[fHits_]
113  Double32_t fHits_zPGlL[kMaxfHits]; //[fHits_]
114 #endif
115  Double32_t fHits_uM[kMaxfHits]; //[fHits_]
116  Double32_t fHits_vM[kMaxfHits]; //[fHits_]
117  Double32_t fHits_anode[kMaxfHits]; //[fHits_]
118  Double32_t fHits_timeb[kMaxfHits]; //[fHits_]
119  Int_t fHits_NoHitPerTrack[kMaxfHits]; //[fHits_]
120  Char_t fHits_end[kMaxfHits]; //[fHits_]
121  // TRef fLastTrackT;
122  // TRef fLastHitT;
123  Double32_t fHits_uD[kMaxfHits]; //[fHits_]
124  Double32_t fHits_vD[kMaxfHits]; //[fHits_]
125  Double32_t fHits_uHat[kMaxfHits]; //[fHits_]
126  Double32_t fHits_vHat[kMaxfHits]; //[fHits_]
127  Int_t fHits_NofHits[kMaxfHits]; //[fHits_]
128  Int_t fHits_NofFHits[kMaxfHits]; //[fHits_]
129  Int_t fHits_isFitted[kMaxfHits]; //[fHits_]
130  Int_t fHits_isTrack[kMaxfHits]; //[fHits_]
131  Int_t fHits_isUsedInFit[kMaxfHits]; //[fHits_]
132  UInt_t fHits_hitFlag[kMaxfHits]; //[fHits_]
133  Bool_t fIsValid;
134 
135  // List of branches
136  TBranch *b_EventT_fUniqueID;
137  TBranch *b_EventT_fBits;
138  TBranch *b_EventT_fNPTracks;
139  TBranch *b_EventT_fNtrack;
140  TBranch *b_EventT_fNhit;
141  TBranch *b_EventT_fFlag;
142  TBranch *b_EventT_fEvtHdr_fEvtNum;
143  TBranch *b_EventT_fEvtHdr_fRun;
144  TBranch *b_EventT_fEvtHdr_fDate;
145  TBranch *b_EventT_fEvtHdr_fField;
146  TBranch *b_EventT_fVertex;
147  TBranch *b_EventT_fCovariantMatrix;
148  TBranch *b_EventT_fTracks_;
149  TBranch *b_fTracks_fUniqueID;
150  TBranch *b_fTracks_fBits;
151  TBranch *b_fTracks_beg;
152  TBranch *b_fTracks_fInvpT;
153  TBranch *b_fTracks_fTanL;
154  TBranch *b_fTracks_fPhi;
155  TBranch *b_fTracks_fRho;
156 #ifdef __USE_GLOBAL__
157  TBranch *b_fTracks_fInvpTGl;
158  TBranch *b_fTracks_fTanLGl;
159  TBranch *b_fTracks_fPhiGl;
160  TBranch *b_fTracks_fRhoGl;
161 #endif
162  TBranch *b_fTracks_fNpoint;
163  TBranch *b_fTracks_fNPpoint;
164  TBranch *b_fTracks_fValid;
165  TBranch *b_fTracks_fNsp;
166  TBranch *b_fTracks_fIdHitT;
167  TBranch *b_fTracks_fdEdx;
168  TBranch *b_fTracks_fLength;
169  TBranch *b_fTracks_end;
170  TBranch *b_EventT_fHits_;
171  TBranch *b_fHits_fUniqueID;
172  TBranch *b_fHits_fBits;
173  TBranch *b_fHits_start;
174  TBranch *b_fHits_Id;
175  TBranch *b_fHits_sector;
176  TBranch *b_fHits_barrel;
177  TBranch *b_fHits_layer;
178  TBranch *b_fHits_ladder;
179  TBranch *b_fHits_wafer;
180  TBranch *b_fHits_hybrid;
181  TBranch *b_fHits_rdo;
182  TBranch *b_fHits_xG;
183  TBranch *b_fHits_yG;
184  TBranch *b_fHits_zG;
185  TBranch *b_fHits_xGC;
186  TBranch *b_fHits_yGC;
187  TBranch *b_fHits_zGC;
188  TBranch *b_fHits_xL;
189  TBranch *b_fHits_yL;
190  TBranch *b_fHits_zL;
191  TBranch *b_fHits_u;
192  TBranch *b_fHits_v;
193  TBranch *b_fHits_w;
194  TBranch *b_fHits_tuP;
195  TBranch *b_fHits_tvP;
196  TBranch *b_fHits_uP;
197  TBranch *b_fHits_vP;
198  TBranch *b_fHits_pT;
199  TBranch *b_fHits_pMom;
200  TBranch *b_fHits_xPG;
201  TBranch *b_fHits_yPG;
202  TBranch *b_fHits_zPG;
203  TBranch *b_fHits_cxPG;
204  TBranch *b_fHits_cyPG;
205  TBranch *b_fHits_czPG;
206  TBranch *b_fHits_wGu;
207  TBranch *b_fHits_wGv;
208  TBranch *b_fHits_wGw;
209  TBranch *b_fHits_xPL;
210  TBranch *b_fHits_yPL;
211  TBranch *b_fHits_zPL;
212 #ifdef __USE_GLOBAL__
213  TBranch *b_fHits_uPGl;
214  TBranch *b_fHits_vPGl;
215  TBranch *b_fHits_tuPGl;
216  TBranch *b_fHits_tvPGl;
217  TBranch *b_fHits_xPGlG;
218  TBranch *b_fHits_yPGlG;
219  TBranch *b_fHits_zPGlG;
220  TBranch *b_fHits_cxPGlG;
221  TBranch *b_fHits_cyPGlG;
222  TBranch *b_fHits_czPGlG;
223  TBranch *b_fHits_xPGlL;
224  TBranch *b_fHits_yPGlL;
225  TBranch *b_fHits_zPGlL;
226 #endif
227  TBranch *b_fHits_uM;
228  TBranch *b_fHits_vM;
229  TBranch *b_fHits_anode;
230  TBranch *b_fHits_timeb;
231  TBranch *b_fHits_NoHitPerTrack;
232  TBranch *b_fHits_uD;
233  TBranch *b_fHits_vD;
234  TBranch *b_fHits_uHat;
235  TBranch *b_fHits_vHat;
236  TBranch *b_fHits_NofHits;
237  TBranch *b_fHits_NofFHits;
238  TBranch *b_fHits_isFitted;
239  TBranch *b_fHits_isTrack;
240  TBranch *b_fHits_isUsedInFit;
241  TBranch *b_fHits_hitFlag;
242  TBranch *b_fHits_end;
243  TBranch *b_EventT_fIsValid;
244 
245  TBase(TTree *tree=0);
246  virtual ~TBase();
247  virtual Int_t Cut(Long64_t entry);
248  virtual Int_t GetEntry(Long64_t entry);
249  virtual Long64_t LoadTree(Long64_t entry);
250  virtual void Init(TTree *tree);
251  virtual void Loop();
252  virtual void MakeNt();
253  virtual Bool_t Notify();
254  virtual void Show(Long64_t entry = -1);
255  // ClassDef(TBase,1)
256 };
257 
258 
259 TBase::TBase(TTree *tree)
260 {
261 // if parameter tree is not specified (or zero), connect the file
262 // used to generate this class and read the Tree.
263  if (tree == 0) {
264  TFile *f = (TFile*)gROOT->GetListOfFiles()->FindObject("Event_6065058_raw_3020003.root");
265  if (!f) {
266  f = new TFile("Event_6065058_raw_3020003.root");
267  }
268  tree = (TTree*)gDirectory->Get("T");
269 
270  }
271  Init(tree);
272 }
273 
274 TBase::~TBase()
275 {
276  if (!fChain) return;
277  delete fChain->GetCurrentFile();
278 }
279 
280 Int_t TBase::GetEntry(Long64_t entry)
281 {
282 // Read contents of entry.
283  if (!fChain) return 0;
284  return fChain->GetEntry(entry);
285 }
286 Long64_t TBase::LoadTree(Long64_t entry)
287 {
288 // Set the environment to read one entry
289  if (!fChain) return -5;
290  Long64_t centry = fChain->LoadTree(entry);
291  if (centry < 0) return centry;
292  if (!fChain->InheritsFrom(TChain::Class())) return centry;
293  TChain *chain = (TChain*)fChain;
294  if (chain->GetTreeNumber() != fCurrent) {
295  fCurrent = chain->GetTreeNumber();
296  Notify();
297  }
298  return centry;
299 }
300 
301 void TBase::Init(TTree *tree)
302 {
303  // The Init() function is called when the selector needs to initialize
304  // a new tree or chain. Typically here the branch addresses and branch
305  // pointers of the tree will be set.
306  // It is normaly not necessary to make changes to the generated
307  // code, but the routine can be extended by the user if needed.
308  // Init() will be called many times when running on PROOF
309  // (once per file to be processed).
310 
311  // Set branch addresses and branch pointers
312  if (!tree) return;
313  fChain = tree;
314  fCurrent = -1;
315  fChain->SetMakeClass(1);
316 
317  fChain->SetBranchAddress("fUniqueID", &fUniqueID, &b_EventT_fUniqueID);
318  fChain->SetBranchAddress("fBits", &fBits, &b_EventT_fBits);
319  fChain->SetBranchAddress("fNPTracks", &fNPTracks, &b_EventT_fNPTracks);
320  fChain->SetBranchAddress("fNtrack", &fNtrack, &b_EventT_fNtrack);
321  fChain->SetBranchAddress("fNhit", &fNhit, &b_EventT_fNhit);
322  fChain->SetBranchAddress("fFlag", &fFlag, &b_EventT_fFlag);
323  fChain->SetBranchAddress("fEvtHdr.fEvtNum", &fEvtHdr_fEvtNum, &b_EventT_fEvtHdr_fEvtNum);
324  fChain->SetBranchAddress("fEvtHdr.fRun", &fEvtHdr_fRun, &b_EventT_fEvtHdr_fRun);
325  fChain->SetBranchAddress("fEvtHdr.fDate", &fEvtHdr_fDate, &b_EventT_fEvtHdr_fDate);
326  fChain->SetBranchAddress("fEvtHdr.fField", &fEvtHdr_fField, &b_EventT_fEvtHdr_fField);
327  fChain->SetBranchAddress("fVertex[3]", fVertex, &b_EventT_fVertex);
328  fChain->SetBranchAddress("fCovariantMatrix[6]", fCovariantMatrix, &b_EventT_fCovariantMatrix);
329  fChain->SetBranchAddress("fTracks", &fTracks_, &b_EventT_fTracks_);
330  fChain->SetBranchAddress("fTracks.fUniqueID", fTracks_fUniqueID, &b_fTracks_fUniqueID);
331  fChain->SetBranchAddress("fTracks.fBits", fTracks_fBits, &b_fTracks_fBits);
332  fChain->SetBranchAddress("fTracks.beg", fTracks_beg, &b_fTracks_beg);
333  fChain->SetBranchAddress("fTracks.fInvpT", fTracks_fInvpT, &b_fTracks_fInvpT);
334  fChain->SetBranchAddress("fTracks.fTanL", fTracks_fTanL, &b_fTracks_fTanL);
335  fChain->SetBranchAddress("fTracks.fPhi", fTracks_fPhi, &b_fTracks_fPhi);
336  fChain->SetBranchAddress("fTracks.fRho", fTracks_fRho, &b_fTracks_fRho);
337 #ifdef __USE_GLOBAL__
338  fChain->SetBranchAddress("fTracks.fInvpTGl", fTracks_fInvpTGl, &b_fTracks_fInvpTGl);
339  fChain->SetBranchAddress("fTracks.fTanLGl", fTracks_fTanLGl, &b_fTracks_fTanLGl);
340  fChain->SetBranchAddress("fTracks.fPhiGl", fTracks_fPhiGl, &b_fTracks_fPhiGl);
341  fChain->SetBranchAddress("fTracks.fRhoGl", fTracks_fRhoGl, &b_fTracks_fRhoGl);
342 #endif
343  fChain->SetBranchAddress("fTracks.fNpoint", fTracks_fNpoint, &b_fTracks_fNpoint);
344  fChain->SetBranchAddress("fTracks.fValid", fTracks_fValid, &b_fTracks_fValid);
345  fChain->SetBranchAddress("fTracks.fNsp", fTracks_fNsp, &b_fTracks_fNsp);
346  fChain->SetBranchAddress("fTracks.fIdHitT[1000]", fTracks_fIdHitT, &b_fTracks_fIdHitT);
347  fChain->SetBranchAddress("fTracks.fdEdx", fTracks_fdEdx, &b_fTracks_fdEdx);
348  fChain->SetBranchAddress("fTracks.fLength", fTracks_fLength, &b_fTracks_fLength);
349  fChain->SetBranchAddress("fTracks.end", fTracks_end, &b_fTracks_end);
350  fChain->SetBranchAddress("fHits", &fHits_, &b_EventT_fHits_);
351  fChain->SetBranchAddress("fHits.fUniqueID", fHits_fUniqueID, &b_fHits_fUniqueID);
352  fChain->SetBranchAddress("fHits.fBits", fHits_fBits, &b_fHits_fBits);
353  fChain->SetBranchAddress("fHits.start", fHits_start, &b_fHits_start);
354  fChain->SetBranchAddress("fHits.Id", fHits_Id, &b_fHits_Id);
355  fChain->SetBranchAddress("fHits.sector", fHits_sector, &b_fHits_sector);
356  fChain->SetBranchAddress("fHits.barrel", fHits_barrel, &b_fHits_barrel);
357  fChain->SetBranchAddress("fHits.layer", fHits_layer, &b_fHits_layer);
358  fChain->SetBranchAddress("fHits.ladder", fHits_ladder, &b_fHits_ladder);
359  fChain->SetBranchAddress("fHits.wafer", fHits_wafer, &b_fHits_wafer);
360  fChain->SetBranchAddress("fHits.hybrid", fHits_hybrid, &b_fHits_hybrid);
361  fChain->SetBranchAddress("fHits.rdo", fHits_rdo, &b_fHits_rdo);
362  fChain->SetBranchAddress("fHits.xG", fHits_xG, &b_fHits_xG);
363  fChain->SetBranchAddress("fHits.yG", fHits_yG, &b_fHits_yG);
364  fChain->SetBranchAddress("fHits.zG", fHits_zG, &b_fHits_zG);
365  fChain->SetBranchAddress("fHits.xGC", fHits_xGC, &b_fHits_xGC);
366  fChain->SetBranchAddress("fHits.yGC", fHits_yGC, &b_fHits_yGC);
367  fChain->SetBranchAddress("fHits.zGC", fHits_zGC, &b_fHits_zGC);
368  fChain->SetBranchAddress("fHits.xL", fHits_xL, &b_fHits_xL);
369  fChain->SetBranchAddress("fHits.yL", fHits_yL, &b_fHits_yL);
370  fChain->SetBranchAddress("fHits.zL", fHits_zL, &b_fHits_zL);
371  fChain->SetBranchAddress("fHits.u", fHits_u, &b_fHits_u);
372  fChain->SetBranchAddress("fHits.v", fHits_v, &b_fHits_v);
373  fChain->SetBranchAddress("fHits.w", fHits_w, &b_fHits_w);
374  fChain->SetBranchAddress("fHits.tuP", fHits_tuP, &b_fHits_tuP);
375  fChain->SetBranchAddress("fHits.tvP", fHits_tvP, &b_fHits_tvP);
376  fChain->SetBranchAddress("fHits.uP", fHits_uP, &b_fHits_uP);
377  fChain->SetBranchAddress("fHits.vP", fHits_vP, &b_fHits_vP);
378  fChain->SetBranchAddress("fHits.pT", fHits_pT, &b_fHits_pT);
379  fChain->SetBranchAddress("fHits.pMom", fHits_pMom, &b_fHits_pMom);
380  fChain->SetBranchAddress("fHits.xPG", fHits_xPG, &b_fHits_xPG);
381  fChain->SetBranchAddress("fHits.yPG", fHits_yPG, &b_fHits_yPG);
382  fChain->SetBranchAddress("fHits.zPG", fHits_zPG, &b_fHits_zPG);
383  fChain->SetBranchAddress("fHits.cxPG", fHits_cxPG, &b_fHits_cxPG);
384  fChain->SetBranchAddress("fHits.cyPG", fHits_cyPG, &b_fHits_cyPG);
385  fChain->SetBranchAddress("fHits.czPG", fHits_czPG, &b_fHits_czPG);
386  fChain->SetBranchAddress("fHits.wGu", fHits_wGu, &b_fHits_wGu);
387  fChain->SetBranchAddress("fHits.wGv", fHits_wGv, &b_fHits_wGv);
388  fChain->SetBranchAddress("fHits.wGw", fHits_wGw, &b_fHits_wGw);
389  fChain->SetBranchAddress("fHits.xPL", fHits_xPL, &b_fHits_xPL);
390  fChain->SetBranchAddress("fHits.yPL", fHits_yPL, &b_fHits_yPL);
391  fChain->SetBranchAddress("fHits.zPL", fHits_zPL, &b_fHits_zPL);
392 #ifdef __USE_GLOBAL__
393  fChain->SetBranchAddress("fHits.uPGl", fHits_uPGl, &b_fHits_uPGl);
394  fChain->SetBranchAddress("fHits.vPGl", fHits_vPGl, &b_fHits_vPGl);
395  fChain->SetBranchAddress("fHits.tuPGl", fHits_tuPGl, &b_fHits_tuPGl);
396  fChain->SetBranchAddress("fHits.tvPGl", fHits_tvPGl, &b_fHits_tvPGl);
397  fChain->SetBranchAddress("fHits.xPGlG", fHits_xPGlG, &b_fHits_xPGlG);
398  fChain->SetBranchAddress("fHits.yPGlG", fHits_yPGlG, &b_fHits_yPGlG);
399  fChain->SetBranchAddress("fHits.zPGlG", fHits_zPGlG, &b_fHits_zPGlG);
400  fChain->SetBranchAddress("fHits.cxPGlG", fHits_cxPGlG, &b_fHits_cxPGlG);
401  fChain->SetBranchAddress("fHits.cyPGlG", fHits_cyPGlG, &b_fHits_cyPGlG);
402  fChain->SetBranchAddress("fHits.czPGlG", fHits_czPGlG, &b_fHits_czPGlG);
403  fChain->SetBranchAddress("fHits.xPGlL", fHits_xPGlL, &b_fHits_xPGlL);
404  fChain->SetBranchAddress("fHits.yPGlL", fHits_yPGlL, &b_fHits_yPGlL);
405  fChain->SetBranchAddress("fHits.zPGlL", fHits_zPGlL, &b_fHits_zPGlL);
406 #endif
407  fChain->SetBranchAddress("fHits.uM", fHits_uM, &b_fHits_uM);
408  fChain->SetBranchAddress("fHits.vM", fHits_vM, &b_fHits_vM);
409  fChain->SetBranchAddress("fHits.anode", fHits_anode, &b_fHits_anode);
410  fChain->SetBranchAddress("fHits.timeb", fHits_timeb, &b_fHits_timeb);
411  fChain->SetBranchAddress("fHits.NoHitPerTrack", fHits_NoHitPerTrack, &b_fHits_NoHitPerTrack);
412  fChain->SetBranchAddress("fHits.uD", fHits_uD, &b_fHits_uD);
413  fChain->SetBranchAddress("fHits.vD", fHits_vD, &b_fHits_vD);
414  fChain->SetBranchAddress("fHits.uHat", fHits_uHat, &b_fHits_uHat);
415  // fChain->SetBranchAddress("fHits.vHat", fHits_vHat, &b_fHits_vHat);
416  fChain->SetBranchAddress("fHits.end", fHits_end, &b_fHits_end);
417  // fChain->SetBranchAddress("fLastTrackT", &fLastTrackT, &b_EventT_fLastTrackT);
418  // fChain->SetBranchAddress("fLastHitT", &fLastHitT, &b_EventT_fLastHitT);
419  fChain->SetBranchAddress("fIsValid", &fIsValid, &b_EventT_fIsValid);
420  Notify();
421 }
422 
423 Bool_t TBase::Notify()
424 {
425  // The Notify() function is called when a new file is opened. This
426  // can be either for a new TTree in a TChain or when when a new TTree
427  // is started when using PROOF. It is normaly not necessary to make changes
428  // to the generated code, but the routine can be extended by the
429  // user if needed. The return value is currently not used.
430 
431  return kTRUE;
432 }
433 
434 void TBase::Show(Long64_t entry)
435 {
436 // Print contents of entry.
437 // If entry is not specified, print current entry
438  if (!fChain) return;
439  fChain->Show(entry);
440 }
441 Int_t TBase::Cut(Long64_t entry)
442 {
443 // This function may be called from Loop.
444 // returns 1 if entry is accepted.
445 // returns -1 otherwise.
446  if (entry);
447  return 1;
448 }
449 #endif
UInt_t fUniqueID
current Tree number in a TChain
Definition: TBase.h:24
Definition: TBase.h:17
Int_t fCurrent
pointer to the analyzed TTree or TChain
Definition: TBase.h:20
Definition: Cut.h:18