ATLAS Offline Software
Loading...
Searching...
No Matches
TileTBOldNtupleStruct.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6// This class has been automatically generated on
7// Mon Nov 12 08:17:38 2007 by ROOT version 5.04/00
8// from TTree h1000/Tile
9// found on file: r0330076.root
11
12#ifndef TileTBOldNtupleStruct_h
13#define TileTBOldNtupleStruct_h
14
15#include <TROOT.h>
16#include <TChain.h>
17#include <TFile.h>
18
19#include <vector>
20
22public :
23
24 TileTBOldNtupleStruct(TTree *tree, bool bigain, bool adderFit, std::vector<int> & shift);
25 void SetEventShift(const std::vector<int>& shift) {m_eventShift = shift;}
26 void SetEventShift(int dr, int shift) {m_eventShift[dr] = shift;}
27
28 virtual ~TileTBOldNtupleStruct();
29 virtual Int_t GetEntry(Long64_t entry, int branch=-1);
30
33
34 // Declaration of leave types
35 Int_t Evtime{};
36 Int_t Run{};
37 Int_t Evt{};
38 Int_t Trig{};
39 Int_t L1id[3]{};
40 Int_t Evbcid[3]{};
41 Int_t L1type[3]{};
42 Int_t Evtype[3]{};
43 Int_t Frbcid[6]{};
44 Float_t Mubackhit{};
45 Float_t Mubacksum{};
46 Float_t Muback[14]{};
47 Float_t Mucalib[2]{};
48 Float_t Ecal[8]{};
49 Int_t Lasflag{};
50 Float_t Las0{};
51 Float_t Las1{};
52 Float_t Las2{};
53 Float_t Las3{};
54 Float_t Lasextra[4]{};
55 UChar_t adder[16][16]{};
56 Float_t Eneadd[16]{};
57 Float_t Timeadd[16]{};
58 Float_t Efitadd[16]{};
59 Float_t Tfitadd[16]{};
60 Float_t Pedfitadd[16]{};
61 Float_t Chi2add[16]{};
62 Float_t Negstat[3]{};
63 Float_t Posstat[3]{};
64 Float_t status[2][3]{};
65 Int_t cispar[12]{};
66 Float_t S1cou{};
67 Float_t S2cou{};
68 Float_t S3cou{};
69 Float_t S4cou{};
70 Float_t Cher1{};
71 Float_t Cher2{};
72 Float_t Beamextra[2]{};
73 Float_t Xcha1{};
74 Float_t Ycha1{};
75 UShort_t btdc1[8]{};
76 Float_t Xcha2{};
77 Float_t Ycha2{};
78 UShort_t btdc2[8]{};
79 Float_t Ximp{};
80 Float_t Yimp{};
81 Int_t Evtn0lo{};
82 UShort_t Bcidn0lo{};
83 UShort_t Sizen0lo{};
84 UShort_t Dmumaskn0lo[2]{};
85 UShort_t Slinkcrcn0lo[2]{};
86 UChar_t Gainn0lo[48]{};
87 UShort_t Errn0lo[48]{};
88 UShort_t Samplen0lo[48][9]{};
89 Float_t Enen0lo[48]{};
90 Float_t Timen0lo[48]{};
91 Float_t Efitn0lo[48]{};
92 Float_t Tfitn0lo[48]{};
93 Float_t Pedfitn0lo[48]{};
94 Float_t Chi2n0lo[48]{};
95 Int_t Evtn1lo{};
96 UShort_t Bcidn1lo{};
97 UShort_t Sizen1lo{};
98 UShort_t Dmumaskn1lo[2]{};
99 UShort_t Slinkcrcn1lo[2]{};
100 UChar_t Gainn1lo[48]{};
101 UShort_t Errn1lo[48]{};
102 UShort_t Samplen1lo[48][9]{};
103 Float_t Enen1lo[48]{};
104 Float_t Timen1lo[48]{};
105 Float_t Efitn1lo[48]{};
106 Float_t Tfitn1lo[48]{};
107 Float_t Pedfitn1lo[48]{};
108 Float_t Chi2n1lo[48]{};
109 Int_t Evtn2lo{};
110 UShort_t Bcidn2lo{};
111 UShort_t Sizen2lo{};
112 UShort_t Dmumaskn2lo[2]{};
113 UShort_t Slinkcrcn2lo[2]{};
114 UChar_t Gainn2lo[48]{};
115 UShort_t Errn2lo[48]{};
116 UShort_t Samplen2lo[48][9]{};
117 Float_t Enen2lo[48]{};
118 Float_t Timen2lo[48]{};
119 Float_t Efitn2lo[48]{};
120 Float_t Tfitn2lo[48]{};
121 Float_t Pedfitn2lo[48]{};
122 Float_t Chi2n2lo[48]{};
123 Int_t Evtp0lo{};
124 UShort_t Bcidp0lo{};
125 UShort_t Sizep0lo{};
126 UShort_t Dmumaskp0lo[2]{};
127 UShort_t Slinkcrcp0lo[2]{};
128 UChar_t Gainp0lo[48]{};
129 UShort_t Errp0lo[48]{};
130 UShort_t Samplep0lo[48][9]{};
131 Float_t Enep0lo[48]{};
132 Float_t Timep0lo[48]{};
133 Float_t Efitp0lo[48]{};
134 Float_t Tfitp0lo[48]{};
135 Float_t Pedfitp0lo[48]{};
136 Float_t Chi2p0lo[48]{};
137 Int_t Evtp1lo{};
138 UShort_t Bcidp1lo{};
139 UShort_t Sizep1lo{};
140 UShort_t Dmumaskp1lo[2]{};
141 UShort_t Slinkcrcp1lo[2]{};
142 UChar_t Gainp1lo[48]{};
143 UShort_t Errp1lo[48]{};
144 UShort_t Samplep1lo[48][9]{};
145 Float_t Enep1lo[48]{};
146 Float_t Timep1lo[48]{};
147 Float_t Efitp1lo[48]{};
148 Float_t Tfitp1lo[48]{};
149 Float_t Pedfitp1lo[48]{};
150 Float_t Chi2p1lo[48]{};
151 Int_t Evtp2lo{};
152 UShort_t Bcidp2lo{};
153 UShort_t Sizep2lo{};
154 UShort_t Dmumaskp2lo[2]{};
155 UShort_t Slinkcrcp2lo[2]{};
156 UChar_t Gainp2lo[48]{};
157 UShort_t Errp2lo[48]{};
158 UShort_t Samplep2lo[48][9]{};
159 Float_t Enep2lo[48]{};
160 Float_t Timep2lo[48]{};
161 Float_t Efitp2lo[48]{};
162 Float_t Tfitp2lo[48]{};
163 Float_t Pedfitp2lo[48]{};
164 Float_t Chi2p2lo[48]{};
165 Int_t Evtn0hi{};
166 UShort_t Bcidn0hi{};
167 UShort_t Sizen0hi{};
168 UShort_t Dmumaskn0hi[2]{};
169 UShort_t Slinkcrcn0hi[2]{};
170 UChar_t Gainn0hi[48]{};
171 UShort_t Errn0hi[48]{};
172 UShort_t Samplen0hi[48][9]{};
173 Float_t Enen0hi[48]{};
174 Float_t Timen0hi[48]{};
175 Float_t Efitn0hi[48]{};
176 Float_t Tfitn0hi[48]{};
177 Float_t Pedfitn0hi[48]{};
178 Float_t Chi2n0hi[48]{};
179 Int_t Evtn1hi{};
180 UShort_t Bcidn1hi{};
181 UShort_t Sizen1hi{};
182 UShort_t Dmumaskn1hi[2]{};
183 UShort_t Slinkcrcn1hi[2]{};
184 UChar_t Gainn1hi[48]{};
185 UShort_t Errn1hi[48]{};
186 UShort_t Samplen1hi[48][9]{};
187 Float_t Enen1hi[48]{};
188 Float_t Timen1hi[48]{};
189 Float_t Efitn1hi[48]{};
190 Float_t Tfitn1hi[48]{};
191 Float_t Pedfitn1hi[48]{};
192 Float_t Chi2n1hi[48]{};
193 Int_t Evtn2hi{};
194 UShort_t Bcidn2hi{};
195 UShort_t Sizen2hi{};
196 UShort_t Dmumaskn2hi[2]{};
197 UShort_t Slinkcrcn2hi[2]{};
198 UChar_t Gainn2hi[48]{};
199 UShort_t Errn2hi[48]{};
200 UShort_t Samplen2hi[48][9]{};
201 Float_t Enen2hi[48]{};
202 Float_t Timen2hi[48]{};
203 Float_t Efitn2hi[48]{};
204 Float_t Tfitn2hi[48]{};
205 Float_t Pedfitn2hi[48]{};
206 Float_t Chi2n2hi[48]{};
207 Int_t Evtp0hi{};
208 UShort_t Bcidp0hi{};
209 UShort_t Sizep0hi{};
210 UShort_t Dmumaskp0hi[2]{};
211 UShort_t Slinkcrcp0hi[2]{};
212 UChar_t Gainp0hi[48]{};
213 UShort_t Errp0hi[48]{};
214 UShort_t Samplep0hi[48][9]{};
215 Float_t Enep0hi[48]{};
216 Float_t Timep0hi[48]{};
217 Float_t Efitp0hi[48]{};
218 Float_t Tfitp0hi[48]{};
219 Float_t Pedfitp0hi[48]{};
220 Float_t Chi2p0hi[48]{};
221 Int_t Evtp1hi{};
222 UShort_t Bcidp1hi{};
223 UShort_t Sizep1hi{};
224 UShort_t Dmumaskp1hi[2]{};
225 UShort_t Slinkcrcp1hi[2]{};
226 UChar_t Gainp1hi[48]{};
227 UShort_t Errp1hi[48]{};
228 UShort_t Samplep1hi[48][9]{};
229 Float_t Enep1hi[48]{};
230 Float_t Timep1hi[48]{};
231 Float_t Efitp1hi[48]{};
232 Float_t Tfitp1hi[48]{};
233 Float_t Pedfitp1hi[48]{};
234 Float_t Chi2p1hi[48]{};
235 Int_t Evtp2hi{};
236 UShort_t Bcidp2hi{};
237 UShort_t Sizep2hi{};
238 UShort_t Dmumaskp2hi[2]{};
239 UShort_t Slinkcrcp2hi[2]{};
240 UChar_t Gainp2hi[48]{};
241 UShort_t Errp2hi[48]{};
242 UShort_t Samplep2hi[48][9]{};
243 Float_t Enep2hi[48]{};
244 Float_t Timep2hi[48]{};
245 Float_t Efitp2hi[48]{};
246 Float_t Tfitp2hi[48]{};
247 Float_t Pedfitp2hi[48]{};
248 Float_t Chi2p2hi[48]{};
249
250 // List of branches
251 TBranch *b_Evtime{};
252 TBranch *b_Run{};
253 TBranch *b_Evt1{};
254 TBranch *b_Trig{};
255 TBranch *b_L1id{};
256 TBranch *b_Evbcid{};
257 TBranch *b_L1type{};
258 TBranch *b_Evtype{};
259 TBranch *b_Frbcid{};
260 TBranch *b_Mubackhit{};
261 TBranch *b_Mubacksum{};
262 TBranch *b_Muback{};
263 TBranch *b_Mucalib{};
264 TBranch *b_Ecal{};
265 TBranch *b_Lasflag{};
266 TBranch *b_Las0{};
267 TBranch *b_Las1{};
268 TBranch *b_Las2{};
269 TBranch *b_Las3{};
270 TBranch *b_Lasextra{};
271 TBranch *b_adder{};
272 TBranch *b_Eneadd{};
273 TBranch *b_Timeadd{};
274 TBranch *b_Efitadd{};
275 TBranch *b_Tfitadd{};
276 TBranch *b_Pedfitadd{};
277 TBranch *b_Chi2add{};
278 TBranch *b_Negstat{};
279 TBranch *b_Posstat{};
280 TBranch *b_status{};
281 TBranch *b_cispar{};
282 TBranch *b_S1cou{};
283 TBranch *b_S2cou{};
284 TBranch *b_S3cou{};
285 TBranch *b_S4cou{};
286 TBranch *b_Cher1{};
287 TBranch *b_Cher2{};
288 TBranch *b_Beamextra{};
289 TBranch *b_Xcha1{};
290 TBranch *b_Ycha1{};
291 TBranch *b_btdc1{};
292 TBranch *b_Xcha2{};
293 TBranch *b_Ycha2{};
294 TBranch *b_btdc2{};
295 TBranch *b_Ximp{};
296 TBranch *b_Yimp{};
297
298 TBranch *b_Evt[2][6]{};
299 TBranch *b_Bcid[2][6]{};
300 TBranch *b_Size[2][6]{};
301 TBranch *b_Dmumask[2][6]{};
302 TBranch *b_Slinkcrc[2][6]{};
303 TBranch *b_Gain[2][6]{};
304 TBranch *b_Err[2][6]{};
305 TBranch *b_Sample[2][6]{};
306 TBranch *b_Ene[2][6]{};
307 TBranch *b_Time[2][6]{};
308 TBranch *b_Efit[2][6]{};
309 TBranch *b_Tfit[2][6]{};
310 TBranch *b_Pedfit[2][6]{};
311 TBranch *b_Chi2[2][6]{};
312
313private:
314
315 TTree *m_fChain{};
316
317 bool m_adderFit{}; // if ntuple has additional Efit for adder
318 Int_t m_nGains{}; // monogain (=1) or bigain (=2) ntuple
319 std::vector<int> m_eventShift; // additional shift for 6 drawers with respect to beam frag
320
321};
322
323#endif
324
TileTBOldNtupleStruct(TTree *tree, bool bigain, bool adderFit, std::vector< int > &shift)
void SetEventShift(int dr, int shift)
void SetEventShift(const std::vector< int > &shift)
std::vector< int > m_eventShift
TileTBOldNtupleStruct(const TileTBOldNtupleStruct &)=delete
TileTBOldNtupleStruct & operator=(const TileTBOldNtupleStruct &)=delete
virtual Int_t GetEntry(Long64_t entry, int branch=-1)
bool m_adderFit
pointer to the analyzed TTree or TChain
The common trigger namespace for trigger analysis tools.
TChain * tree