ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/IPHCalignment2/analysis/TreeProducer.h
Revision: 1.2
Committed: Thu Dec 1 13:46:25 2011 UTC (13 years, 5 months ago) by cgoetzma
Content type: text/plain
Branch: MAIN
Changes since 1.1: +18 -0 lines
Log Message:
chris mods

File Contents

# Content
1 //////////////////////////////////////////////////////////
2 // This class has been automatically generated on
3 // Thu Nov 24 19:03:33 2011 by ROOT version 5.27/06b
4 // from TTree ttree_NoAlgo/ttree_NoAlgo
5 // found on file: analyzerTree.root
6 //////////////////////////////////////////////////////////
7
8 #ifndef TreeProducer_h
9 #define TreeProducer_h
10
11 #include <TROOT.h>
12 #include <TChain.h>
13 #include <TFile.h>
14
15 class TreeProducer {
16 public :
17 TTree *fChain; //!pointer to the analyzed TTree or TChain
18 Int_t fCurrent; //!current Tree number in a TChain
19
20 // Declaration of leaf types
21 Int_t nTrack;
22 Float_t Track_dxy[2]; //[nTrack]
23 Float_t Track_dxyError[2]; //[nTrack]
24 Float_t Track_dz[2]; //[nTrack]
25 Float_t Track_p[2]; //[nTrack]
26 Float_t Track_pt[2]; //[nTrack]
27 Float_t Track_px[2]; //[nTrack]
28 Float_t Track_py[2]; //[nTrack]
29 Float_t Track_pz[2]; //[nTrack]
30 Float_t Track_eta[2]; //[nTrack]
31 Float_t Track_phi[2]; //[nTrack]
32 Float_t Track_chi2[2]; //[nTrack]
33 Int_t Track_ndf[2]; //[nTrack]
34 Int_t Track_charge[2]; //[nTrack]
35 Int_t Track_nHitStrip[2]; //[nTrack]
36 Int_t Track_nHitPixel[2]; //[nTrack]
37 Int_t Track_hitIndexBegin[2]; //[nTrack]
38 Int_t Track_hitIndexEnd[2]; //[nTrack]
39
40 Float_t d0_Center;
41 Float_t d0_BS;
42 Float_t d0_PV;
43
44 Float_t BS_X;
45 Float_t BS_Y;
46 Float_t BS_Z;
47
48 Float_t TrackGen_p[2]; //[nTrack]
49 Float_t TrackGen_pt[2]; //[nTrack]
50 Float_t TrackGen_px[2]; //[nTrack]
51 Float_t TrackGen_py[2]; //[nTrack]
52 Float_t TrackGen_pz[2]; //[nTrack]
53 Float_t TrackGen_eta[2]; //[nTrack]
54 Float_t TrackGen_phi[2]; //[nTrack]
55 Float_t TrackGen_charge[2]; //[nTrack]
56 Float_t TrackGen_deltaRreco[2]; //[nTrack]
57 Int_t nHit;
58 Float_t hitXLocalPosition[1]; //[nHit]
59 Float_t hitYLocalPosition[1]; //[nHit]
60 Float_t hitZLocalPosition[1]; //[nHit]
61 Float_t hitXLocalPositionError[1]; //[nHit]
62 Float_t hitYLocalPositionError[1]; //[nHit]
63 Float_t hitZLocalPositionError[1]; //[nHit]
64 Float_t expectedXLocalPosition[1]; //[nHit]
65 Float_t expectedYLocalPosition[1]; //[nHit]
66 Float_t expectedZLocalPosition[1]; //[nHit]
67 Float_t expectedXLocalPositionError[1]; //[nHit]
68 Float_t expectedYLocalPositionError[1]; //[nHit]
69 Float_t expectedZLocalPositionError[1]; //[nHit]
70 Float_t hitXGlobalPosition[1]; //[nHit]
71 Float_t hitYGlobalPosition[1]; //[nHit]
72 Float_t hitZGlobalPosition[1]; //[nHit]
73 Float_t hitXGlobalPositionError[1]; //[nHit]
74 Float_t hitYGlobalPositionError[1]; //[nHit]
75 Float_t hitZGlobalPositionError[1]; //[nHit]
76 Float_t expectedXGlobalPosition[1]; //[nHit]
77 Float_t expectedYGlobalPosition[1]; //[nHit]
78 Float_t expectedZGlobalPosition[1]; //[nHit]
79 Float_t expectedXGlobalPositionError[1]; //[nHit]
80 Float_t expectedYGlobalPositionError[1]; //[nHit]
81 Float_t expectedZGlobalPositionError[1]; //[nHit]
82 Int_t RunNumber;
83 Int_t EventNumber;
84
85 // List of branches
86 TBranch *b_nTrack; //!
87 TBranch *b_Track_dxy; //!
88 TBranch *b_Track_dxyError; //!
89 TBranch *b_Track_dz; //!
90 TBranch *b_Track_p; //!
91 TBranch *b_Track_pt; //!
92 TBranch *b_Track_px; //!
93 TBranch *b_Track_py; //!
94 TBranch *b_Track_pz; //!
95 TBranch *b_Track_eta; //!
96 TBranch *b_Track_phi; //!
97 TBranch *b_Track_chi2; //!
98 TBranch *b_Track_ndf; //!
99 TBranch *b_Track_charge; //!
100 TBranch *b_Track_nHitStrip; //!
101 TBranch *b_Track_nHitPixel; //!
102 TBranch *b_Track_hitIndexBegin; //!
103 TBranch *b_Track_hitIndexEnd; //!
104
105 TBranch *b_d0_Center;
106 TBranch *b_d0_BS;
107 TBranch *b_d0_PV;
108
109 TBranch *b_BS_X;
110 TBranch *b_BS_Y;
111 TBranch *b_BS_Z;
112
113 TBranch *b_TrackGen_p; //!
114 TBranch *b_TrackGen_pt; //!
115 TBranch *b_TrackGen_px; //!
116 TBranch *b_TrackGen_py; //!
117 TBranch *b_TrackGen_pz; //!
118 TBranch *b_TrackGen_eta; //!
119 TBranch *b_TrackGen_phi; //!
120 TBranch *b_TrackGen_charge; //!
121 TBranch *b_TrackGen_deltaRreco; //!
122 TBranch *b_nHit; //!
123 TBranch *b_hitXLocalPosition; //!
124 TBranch *b_hitYLocalPosition; //!
125 TBranch *b_hitZLocalPosition; //!
126 TBranch *b_hitXLocalPositionError; //!
127 TBranch *b_hitYLocalPositionError; //!
128 TBranch *b_hitZLocalPositionError; //!
129 TBranch *b_expectedXLocalPosition; //!
130 TBranch *b_expectedYLocalPosition; //!
131 TBranch *b_expectedZLocalPosition; //!
132 TBranch *b_expectedXLocalPositionError; //!
133 TBranch *b_expectedYLocalPositionError; //!
134 TBranch *b_expectedZLocalPositionError; //!
135 TBranch *b_hitXGlobalPosition; //!
136 TBranch *b_hitYGlobalPosition; //!
137 TBranch *b_hitZGlobalPosition; //!
138 TBranch *b_hitXGlobalPositionError; //!
139 TBranch *b_hitYGlobalPositionError; //!
140 TBranch *b_hitZGlobalPositionError; //!
141 TBranch *b_expectedXGlobalPosition; //!
142 TBranch *b_expectedYGlobalPosition; //!
143 TBranch *b_expectedZGlobalPosition; //!
144 TBranch *b_expectedXGlobalPositionError; //!
145 TBranch *b_expectedYGlobalPositionError; //!
146 TBranch *b_expectedZGlobalPositionError; //!
147 TBranch *b_RunNumber; //!
148 TBranch *b_EventNumber; //!
149
150 TreeProducer(const std::string& filename, const std::string& name);
151 ~TreeProducer();
152 Int_t Cut(Long64_t entry);
153 Int_t GetEntry(Long64_t entry);
154 Long64_t GetEntriesFast() {return fChain->GetEntriesFast();}
155 Long64_t LoadTree(Long64_t entry);
156 void Init(TTree *tree);
157 void Loop();
158 Bool_t Notify();
159 void Show(Long64_t entry = -1);
160 };
161
162 #endif