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