ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/IPHCalignment2/analysis/TreeProducer.h
Revision: 1.3
Committed: Thu Dec 1 14:35:47 2011 UTC (13 years, 5 months ago) by econte
Content type: text/plain
Branch: MAIN
Changes since 1.2: +8 -0 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 econte 1.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 cgoetzma 1.2
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 econte 1.1 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 econte 1.3 Int_t vtxConverged;
86     Int_t momConverged;
87     Int_t fullConverged;
88    
89 econte 1.1 // List of branches
90     TBranch *b_nTrack; //!
91     TBranch *b_Track_dxy; //!
92     TBranch *b_Track_dxyError; //!
93     TBranch *b_Track_dz; //!
94     TBranch *b_Track_p; //!
95     TBranch *b_Track_pt; //!
96     TBranch *b_Track_px; //!
97     TBranch *b_Track_py; //!
98     TBranch *b_Track_pz; //!
99     TBranch *b_Track_eta; //!
100     TBranch *b_Track_phi; //!
101     TBranch *b_Track_chi2; //!
102     TBranch *b_Track_ndf; //!
103     TBranch *b_Track_charge; //!
104     TBranch *b_Track_nHitStrip; //!
105     TBranch *b_Track_nHitPixel; //!
106     TBranch *b_Track_hitIndexBegin; //!
107     TBranch *b_Track_hitIndexEnd; //!
108 cgoetzma 1.2
109     TBranch *b_d0_Center;
110     TBranch *b_d0_BS;
111     TBranch *b_d0_PV;
112    
113     TBranch *b_BS_X;
114     TBranch *b_BS_Y;
115     TBranch *b_BS_Z;
116    
117 econte 1.1 TBranch *b_TrackGen_p; //!
118     TBranch *b_TrackGen_pt; //!
119     TBranch *b_TrackGen_px; //!
120     TBranch *b_TrackGen_py; //!
121     TBranch *b_TrackGen_pz; //!
122     TBranch *b_TrackGen_eta; //!
123     TBranch *b_TrackGen_phi; //!
124     TBranch *b_TrackGen_charge; //!
125     TBranch *b_TrackGen_deltaRreco; //!
126     TBranch *b_nHit; //!
127     TBranch *b_hitXLocalPosition; //!
128     TBranch *b_hitYLocalPosition; //!
129     TBranch *b_hitZLocalPosition; //!
130     TBranch *b_hitXLocalPositionError; //!
131     TBranch *b_hitYLocalPositionError; //!
132     TBranch *b_hitZLocalPositionError; //!
133     TBranch *b_expectedXLocalPosition; //!
134     TBranch *b_expectedYLocalPosition; //!
135     TBranch *b_expectedZLocalPosition; //!
136     TBranch *b_expectedXLocalPositionError; //!
137     TBranch *b_expectedYLocalPositionError; //!
138     TBranch *b_expectedZLocalPositionError; //!
139     TBranch *b_hitXGlobalPosition; //!
140     TBranch *b_hitYGlobalPosition; //!
141     TBranch *b_hitZGlobalPosition; //!
142     TBranch *b_hitXGlobalPositionError; //!
143     TBranch *b_hitYGlobalPositionError; //!
144     TBranch *b_hitZGlobalPositionError; //!
145     TBranch *b_expectedXGlobalPosition; //!
146     TBranch *b_expectedYGlobalPosition; //!
147     TBranch *b_expectedZGlobalPosition; //!
148     TBranch *b_expectedXGlobalPositionError; //!
149     TBranch *b_expectedYGlobalPositionError; //!
150     TBranch *b_expectedZGlobalPositionError; //!
151     TBranch *b_RunNumber; //!
152     TBranch *b_EventNumber; //!
153    
154 econte 1.3 TBranch * b_vtxConverged;
155     TBranch * b_momConverged;
156     TBranch * b_fullConverged;
157    
158 econte 1.1 TreeProducer(const std::string& filename, const std::string& name);
159     ~TreeProducer();
160     Int_t Cut(Long64_t entry);
161     Int_t GetEntry(Long64_t entry);
162     Long64_t GetEntriesFast() {return fChain->GetEntriesFast();}
163     Long64_t LoadTree(Long64_t entry);
164     void Init(TTree *tree);
165     void Loop();
166     Bool_t Notify();
167     void Show(Long64_t entry = -1);
168     };
169    
170     #endif