ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/IPHCalignment2/analysis/TreeProducer.h
Revision: 1.1
Committed: Fri Nov 25 16:33:01 2011 UTC (13 years, 5 months ago) by econte
Content type: text/plain
Branch: MAIN
Log Message:
new IPHC alignment

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     Float_t TrackGen_p[2]; //[nTrack]
40     Float_t TrackGen_pt[2]; //[nTrack]
41     Float_t TrackGen_px[2]; //[nTrack]
42     Float_t TrackGen_py[2]; //[nTrack]
43     Float_t TrackGen_pz[2]; //[nTrack]
44     Float_t TrackGen_eta[2]; //[nTrack]
45     Float_t TrackGen_phi[2]; //[nTrack]
46     Float_t TrackGen_charge[2]; //[nTrack]
47     Float_t TrackGen_deltaRreco[2]; //[nTrack]
48     Int_t nHit;
49     Float_t hitXLocalPosition[1]; //[nHit]
50     Float_t hitYLocalPosition[1]; //[nHit]
51     Float_t hitZLocalPosition[1]; //[nHit]
52     Float_t hitXLocalPositionError[1]; //[nHit]
53     Float_t hitYLocalPositionError[1]; //[nHit]
54     Float_t hitZLocalPositionError[1]; //[nHit]
55     Float_t expectedXLocalPosition[1]; //[nHit]
56     Float_t expectedYLocalPosition[1]; //[nHit]
57     Float_t expectedZLocalPosition[1]; //[nHit]
58     Float_t expectedXLocalPositionError[1]; //[nHit]
59     Float_t expectedYLocalPositionError[1]; //[nHit]
60     Float_t expectedZLocalPositionError[1]; //[nHit]
61     Float_t hitXGlobalPosition[1]; //[nHit]
62     Float_t hitYGlobalPosition[1]; //[nHit]
63     Float_t hitZGlobalPosition[1]; //[nHit]
64     Float_t hitXGlobalPositionError[1]; //[nHit]
65     Float_t hitYGlobalPositionError[1]; //[nHit]
66     Float_t hitZGlobalPositionError[1]; //[nHit]
67     Float_t expectedXGlobalPosition[1]; //[nHit]
68     Float_t expectedYGlobalPosition[1]; //[nHit]
69     Float_t expectedZGlobalPosition[1]; //[nHit]
70     Float_t expectedXGlobalPositionError[1]; //[nHit]
71     Float_t expectedYGlobalPositionError[1]; //[nHit]
72     Float_t expectedZGlobalPositionError[1]; //[nHit]
73     Int_t RunNumber;
74     Int_t EventNumber;
75    
76     // List of branches
77     TBranch *b_nTrack; //!
78     TBranch *b_Track_dxy; //!
79     TBranch *b_Track_dxyError; //!
80     TBranch *b_Track_dz; //!
81     TBranch *b_Track_p; //!
82     TBranch *b_Track_pt; //!
83     TBranch *b_Track_px; //!
84     TBranch *b_Track_py; //!
85     TBranch *b_Track_pz; //!
86     TBranch *b_Track_eta; //!
87     TBranch *b_Track_phi; //!
88     TBranch *b_Track_chi2; //!
89     TBranch *b_Track_ndf; //!
90     TBranch *b_Track_charge; //!
91     TBranch *b_Track_nHitStrip; //!
92     TBranch *b_Track_nHitPixel; //!
93     TBranch *b_Track_hitIndexBegin; //!
94     TBranch *b_Track_hitIndexEnd; //!
95     TBranch *b_TrackGen_p; //!
96     TBranch *b_TrackGen_pt; //!
97     TBranch *b_TrackGen_px; //!
98     TBranch *b_TrackGen_py; //!
99     TBranch *b_TrackGen_pz; //!
100     TBranch *b_TrackGen_eta; //!
101     TBranch *b_TrackGen_phi; //!
102     TBranch *b_TrackGen_charge; //!
103     TBranch *b_TrackGen_deltaRreco; //!
104     TBranch *b_nHit; //!
105     TBranch *b_hitXLocalPosition; //!
106     TBranch *b_hitYLocalPosition; //!
107     TBranch *b_hitZLocalPosition; //!
108     TBranch *b_hitXLocalPositionError; //!
109     TBranch *b_hitYLocalPositionError; //!
110     TBranch *b_hitZLocalPositionError; //!
111     TBranch *b_expectedXLocalPosition; //!
112     TBranch *b_expectedYLocalPosition; //!
113     TBranch *b_expectedZLocalPosition; //!
114     TBranch *b_expectedXLocalPositionError; //!
115     TBranch *b_expectedYLocalPositionError; //!
116     TBranch *b_expectedZLocalPositionError; //!
117     TBranch *b_hitXGlobalPosition; //!
118     TBranch *b_hitYGlobalPosition; //!
119     TBranch *b_hitZGlobalPosition; //!
120     TBranch *b_hitXGlobalPositionError; //!
121     TBranch *b_hitYGlobalPositionError; //!
122     TBranch *b_hitZGlobalPositionError; //!
123     TBranch *b_expectedXGlobalPosition; //!
124     TBranch *b_expectedYGlobalPosition; //!
125     TBranch *b_expectedZGlobalPosition; //!
126     TBranch *b_expectedXGlobalPositionError; //!
127     TBranch *b_expectedYGlobalPositionError; //!
128     TBranch *b_expectedZGlobalPositionError; //!
129     TBranch *b_RunNumber; //!
130     TBranch *b_EventNumber; //!
131    
132     TreeProducer(const std::string& filename, const std::string& name);
133     ~TreeProducer();
134     Int_t Cut(Long64_t entry);
135     Int_t GetEntry(Long64_t entry);
136     Long64_t GetEntriesFast() {return fChain->GetEntriesFast();}
137     Long64_t LoadTree(Long64_t entry);
138     void Init(TTree *tree);
139     void Loop();
140     Bool_t Notify();
141     void Show(Long64_t entry = -1);
142     };
143    
144     #endif