1 | #ifndef BLOCKCLASSES_H
|
---|
2 | #define BLOCKCLASSES_H
|
---|
3 |
|
---|
4 | /***********************************************************************
|
---|
5 | ** **
|
---|
6 | ** /----------------------------------------------\ **
|
---|
7 | ** | Delphes, a framework for the fast simulation | **
|
---|
8 | ** | of a generic collider experiment | **
|
---|
9 | ** \----------------------------------------------/ **
|
---|
10 | ** **
|
---|
11 | ** **
|
---|
12 | ** This package uses: **
|
---|
13 | ** ------------------ **
|
---|
14 | ** FastJet algorithm: Phys. Lett. B641 (2006) [hep-ph/0512210] **
|
---|
15 | ** Hector: JINST 2:P09005 (2007) [physics.acc-ph:0707.1198v2] **
|
---|
16 | ** FROG: [hep-ex/0901.2718v1] **
|
---|
17 | ** **
|
---|
18 | ** ------------------------------------------------------------------ **
|
---|
19 | ** **
|
---|
20 | ** Main authors: **
|
---|
21 | ** ------------- **
|
---|
22 | ** **
|
---|
23 | ** Severine Ovyn Xavier Rouby **
|
---|
24 | ** severine.ovyn@uclouvain.be xavier.rouby@cern **
|
---|
25 | ** **
|
---|
26 | ** Center for Particle Physics and Phenomenology (CP3) **
|
---|
27 | ** Universite catholique de Louvain (UCL) **
|
---|
28 | ** Louvain-la-Neuve, Belgium **
|
---|
29 | ** **
|
---|
30 | ** Copyright (C) 2008-2009, **
|
---|
31 | ** All rights reserved. **
|
---|
32 | ** **
|
---|
33 | ***********************************************************************/
|
---|
34 |
|
---|
35 | #include "TLorentzVector.h"
|
---|
36 | #include "TObject.h"
|
---|
37 | #include "BlockCompare.h"
|
---|
38 | #include "interface/D_Constants.h"
|
---|
39 | #include "interface/CaloUtil.h"
|
---|
40 |
|
---|
41 | class TSortableObject: public TObject
|
---|
42 | {
|
---|
43 | public:
|
---|
44 | TSortableObject() {};
|
---|
45 | Bool_t IsSortable() const { return GetCompare() ? GetCompare()->IsSortable(this) : kFALSE; }
|
---|
46 | Int_t Compare(const TObject *obj) const { return GetCompare()->Compare(this, obj); }
|
---|
47 |
|
---|
48 | virtual const TCompare *GetCompare() const = 0;
|
---|
49 |
|
---|
50 | ClassDef(TSortableObject, 1)
|
---|
51 | };
|
---|
52 |
|
---|
53 | //---------------------------------------------------------------------------
|
---|
54 | //
|
---|
55 | class TRootLHEFEvent: public TObject
|
---|
56 | {
|
---|
57 | public:
|
---|
58 | TRootLHEFEvent() {};
|
---|
59 |
|
---|
60 | Long64_t Number; // event number
|
---|
61 |
|
---|
62 | int Nparticles; // number of particles in the event | hepup.NUP
|
---|
63 | int ProcessID; // subprocess code for the event | hepup.IDPRUP
|
---|
64 |
|
---|
65 | Double_t Weight; // weight for the event | hepup.XWGTUP
|
---|
66 | Double_t ScalePDF; // scale in GeV used in the calculation of the PDFs in the event | hepup.SCALUP
|
---|
67 | Double_t CouplingQED; // value of the QED coupling used in the event | hepup.AQEDUP
|
---|
68 | Double_t CouplingQCD; // value of the QCD coupling used in the event | hepup.AQCDUP
|
---|
69 | //
|
---|
70 | int ID1;
|
---|
71 | int ID2;
|
---|
72 | double x1;
|
---|
73 | double x2;
|
---|
74 | double Q_PDF;
|
---|
75 | double xpdf1;
|
---|
76 | double xpdf2;
|
---|
77 |
|
---|
78 | ClassDef(TRootLHEFEvent, 2)
|
---|
79 | };
|
---|
80 |
|
---|
81 | //---------------------------------------------------------------------------
|
---|
82 |
|
---|
83 | //---------------------------------------------------------------------------
|
---|
84 | /*
|
---|
85 | class TRootLHEFParticle: public TSortableObject
|
---|
86 | {
|
---|
87 | public:
|
---|
88 | TRootLHEFParticle() {};
|
---|
89 | int PID; // particle HEP ID number | hepup.IDUP[number]
|
---|
90 | int Status; // particle status code | hepup.ISTUP[number]
|
---|
91 | int Mother1; // index for the particle first mother | hepup.MOTHUP[number][0]
|
---|
92 | int Mother2; // index for the particle last mother | hepup.MOTHUP[number][1]
|
---|
93 | int ColorLine1; // index for the particle color-line | hepup.ICOLUP[number][0]
|
---|
94 | int ColorLine2; // index for the particle anti-color-line | hepup.ICOLUP[number][1]
|
---|
95 |
|
---|
96 | double Px; // particle momentum vector (x component) | hepup.PUP[number][0]
|
---|
97 | double Py; // particle momentum vector (y component) | hepup.PUP[number][1]
|
---|
98 | double Pz; // particle momentum vector (z component) | hepup.PUP[number][2]
|
---|
99 | double E; // particle energy | hepup.PUP[number][3]
|
---|
100 | double M; // particle mass | hepup.PUP[number][4]
|
---|
101 | double Charge; // particle charge
|
---|
102 |
|
---|
103 | double PT; // particle transverse momentum
|
---|
104 | double Eta; // particle pseudorapidity
|
---|
105 | double Phi; // particle azimuthal angle
|
---|
106 |
|
---|
107 | double Rapidity; // particle rapidity
|
---|
108 |
|
---|
109 | double LifeTime; // particle invariant lifetime
|
---|
110 | // (c*tau, distance from production to decay in mm)
|
---|
111 | // | hepup.VTIMUP[number]
|
---|
112 |
|
---|
113 | double Spin; // cosine of the angle between the particle spin vector
|
---|
114 | // and the decaying particle 3-momentum,
|
---|
115 | // specified in the lab frame. | hepup.SPINUP[number]
|
---|
116 |
|
---|
117 | static TCompare *fgCompare; //!
|
---|
118 | const TCompare *GetCompare() const { return fgCompare; }
|
---|
119 | ClassDef(TRootLHEFParticle, 2)
|
---|
120 |
|
---|
121 | };
|
---|
122 | */
|
---|
123 | //---------------------------------------------------------------------------
|
---|
124 |
|
---|
125 | class TRootSelectorInfo: public TObject
|
---|
126 | {
|
---|
127 | public:
|
---|
128 | TRootSelectorInfo() {};
|
---|
129 | int Processed; // current number of processed events
|
---|
130 | int Accepted; // current number of accepted events
|
---|
131 |
|
---|
132 | ClassDef(TRootSelectorInfo, 1)
|
---|
133 | };
|
---|
134 |
|
---|
135 |
|
---|
136 | class TRootGenEvent: public TObject
|
---|
137 | {
|
---|
138 | public:
|
---|
139 | TRootGenEvent() {};
|
---|
140 | Long64_t Number; // event number | hepevt.nevhep
|
---|
141 |
|
---|
142 | static TCompare *fgCompare; //!
|
---|
143 | const TCompare *GetCompare() const { return fgCompare; }
|
---|
144 |
|
---|
145 | ClassDef(TRootGenEvent, 1)
|
---|
146 | };
|
---|
147 |
|
---|
148 |
|
---|
149 | class TRootEvent: public TObject {
|
---|
150 |
|
---|
151 | public:
|
---|
152 | TRootEvent() {};
|
---|
153 | int Run; // run number [G3EventProxy::simSignal().id().runNumber()]
|
---|
154 | int Event; // event number [G3EventProxy::simSignal().id().eventInRun()]
|
---|
155 |
|
---|
156 | // Short_t L1Decision; // L1 trigger global decision [L1Trigger::decision()]
|
---|
157 | // Short_t HLTDecision; // HLT trigger global decision [HighLevelTriggerResult::getGlobalDecision()]
|
---|
158 |
|
---|
159 | ClassDef(TRootEvent, 1)
|
---|
160 | };
|
---|
161 |
|
---|
162 | //---------------------------------------------------------------------------
|
---|
163 |
|
---|
164 | class TRootParticle: public TSortableObject {
|
---|
165 |
|
---|
166 | public:
|
---|
167 |
|
---|
168 | TRootParticle() {};
|
---|
169 | float E; // particle energy in GeV
|
---|
170 | float Px; // particle momentum vector (x component) in GeV
|
---|
171 | float Py; // particle momentum vector (y component) in GeV
|
---|
172 | float Pz; // particle momentum vector (z component) in GeV
|
---|
173 |
|
---|
174 | float Eta; // particle pseudorapidity
|
---|
175 | float Phi; // particle azimuthal angle in rad
|
---|
176 |
|
---|
177 | void Set(const TLorentzVector& momentum);
|
---|
178 | void Set(const float px, const float py, const float pz, const float e);
|
---|
179 | void SetEtaPhi(const float eta, const float phi) {Eta=eta; Phi=phi;};
|
---|
180 | void SetEtaPhiEET(const float eta, const float phi, const float e, const float et);
|
---|
181 | static TCompare *fgCompare; //!
|
---|
182 | const TCompare *GetCompare() const { return fgCompare; }
|
---|
183 | float PT; // particle transverse momentum in GeV
|
---|
184 |
|
---|
185 | ClassDef(TRootParticle, 1)
|
---|
186 | };
|
---|
187 |
|
---|
188 | //--------------------------------------------------------------------------
|
---|
189 | class TRootGenParticle;
|
---|
190 |
|
---|
191 | namespace TRootC {
|
---|
192 | class GenParticle: public TRootParticle {
|
---|
193 |
|
---|
194 | public:
|
---|
195 | GenParticle() {};
|
---|
196 | GenParticle(const TRootGenParticle& p);
|
---|
197 | int PID; // particle HEP ID number [RawHepEventParticle::pid()]
|
---|
198 | int Status; // particle status [RawHepEventParticle::status()]
|
---|
199 | int M1; // particle 1st mother [RawHepEventParticle::mother1() - 1]
|
---|
200 | int M2; // particle 2nd mother [RawHepEventParticle::mother2() - 1]
|
---|
201 | int D1; // particle 1st daughter [RawHepEventParticle::daughter1() - 1]
|
---|
202 | int D2; // particle 2nd daughter [RawHepEventParticle::daughter2() - 1]
|
---|
203 |
|
---|
204 | float Charge;
|
---|
205 |
|
---|
206 | float T; // particle vertex position (t component) [RawHepEventParticle::t()]
|
---|
207 | float X; // particle vertex position (x component) [RawHepEventParticle::x()]
|
---|
208 | float Y; // particle vertex position (y component) [RawHepEventParticle::y()]
|
---|
209 | float Z; // particle vertex position (z component) [RawHepEventParticle::z()]
|
---|
210 | float M;
|
---|
211 |
|
---|
212 |
|
---|
213 | static TCompare *fgCompare; //!
|
---|
214 |
|
---|
215 | ClassDef(GenParticle, 1)
|
---|
216 | };
|
---|
217 | }
|
---|
218 |
|
---|
219 | //---------------------------------------------------------------------------
|
---|
220 |
|
---|
221 | class TRootGenParticle: public TRootParticle {
|
---|
222 |
|
---|
223 | public:
|
---|
224 | TRootGenParticle() {_initialised=false; M=-9999.; }
|
---|
225 | TRootGenParticle(const int pid): PID(pid) {_initialised=false;}
|
---|
226 | TRootGenParticle(TRootC::GenParticle* part);
|
---|
227 |
|
---|
228 | int PID; // particle HEP ID number [RawHepEventParticle::pid()]
|
---|
229 | int Status; // particle status [RawHepEventParticle::status()]
|
---|
230 | int M1; // particle 1st mother [RawHepEventParticle::mother1() - 1]
|
---|
231 | int M2; // particle 2nd mother [RawHepEventParticle::mother2() - 1]
|
---|
232 | int D1; // particle 1st daughter [RawHepEventParticle::daughter1() - 1]
|
---|
233 | int D2; // particle 2nd daughter [RawHepEventParticle::daughter2() - 1]
|
---|
234 |
|
---|
235 | float T; // particle vertex position (t component) [RawHepEventParticle::t()]
|
---|
236 | float X; // particle vertex position (x component) [RawHepEventParticle::x()]
|
---|
237 | float Y; // particle vertex position (y component) [RawHepEventParticle::y()]
|
---|
238 | float Z; // particle vertex position (z component) [RawHepEventParticle::z()]
|
---|
239 | float M;
|
---|
240 | void setFractions();
|
---|
241 | const float getFem() {if(!_initialised) setFractions(); return _Fem;}
|
---|
242 | const float getFhad() {if(!_initialised) setFractions(); return _Fhad;}
|
---|
243 |
|
---|
244 | float EtaCalo; // particle pseudorapidity when entering the calo,
|
---|
245 | float PhiCalo; // particle azimuthal angle in rad when entering the calo
|
---|
246 | void SetEtaPhiCalo(const float eta, const float phi) {EtaCalo=eta; PhiCalo=phi;};
|
---|
247 |
|
---|
248 | void print();//
|
---|
249 |
|
---|
250 | static TCompare *fgCompare; //!
|
---|
251 |
|
---|
252 | float Charge; // electrical charge
|
---|
253 | protected:
|
---|
254 | float _Fem, _Fhad; // fractions of energy deposit
|
---|
255 | bool _initialised;
|
---|
256 | ClassDef(TRootGenParticle, 1)
|
---|
257 | };
|
---|
258 |
|
---|
259 |
|
---|
260 | //------------------------------------------------------------------------------
|
---|
261 |
|
---|
262 | class TRootElectron: public TRootParticle {
|
---|
263 | public:
|
---|
264 | TRootElectron():Charge(-999), IsolFlag(false), EtaCalo(UNDEFINED), PhiCalo(UNDEFINED), EHoverEE(UNDEFINED){};
|
---|
265 | static TCompare *fgCompare; //!
|
---|
266 | int Charge; // particle Charge [RawHepEventParticle::pid()]
|
---|
267 | bool IsolFlag; // stores the result of the isolation test
|
---|
268 | float EtaCalo; // particle pseudorapidity when entering the calo,
|
---|
269 | float PhiCalo; // particle azimuthal angle in rad when entering the calo
|
---|
270 | float EHoverEE;
|
---|
271 | float EtRatio;
|
---|
272 | float SumEt;
|
---|
273 | float SumPt;
|
---|
274 |
|
---|
275 | void SetEtaPhiCalo(const float eta, const float phi) {EtaCalo=eta; PhiCalo=phi;};
|
---|
276 |
|
---|
277 | ClassDef(TRootElectron, 1)
|
---|
278 | };
|
---|
279 |
|
---|
280 | //------------------------------------------------------------------------------
|
---|
281 |
|
---|
282 | class TRootPhoton: public TRootParticle {
|
---|
283 | public:
|
---|
284 | TRootPhoton() : EHoverEE(UNDEFINED) {};
|
---|
285 | static TCompare *fgCompare; //!
|
---|
286 |
|
---|
287 | float EHoverEE;
|
---|
288 | ClassDef(TRootPhoton, 1)
|
---|
289 | };
|
---|
290 |
|
---|
291 |
|
---|
292 | //------------------------------------------------------------------------------
|
---|
293 |
|
---|
294 | class TRootMuon: public TRootParticle {
|
---|
295 | public:
|
---|
296 | TRootMuon():Charge(-999), IsolFlag(false), EtaCalo(UNDEFINED), PhiCalo(UNDEFINED), EHoverEE(UNDEFINED), EtRatio(UNDEFINED) {};
|
---|
297 | static TCompare *fgCompare; //!
|
---|
298 | int Charge; // particle Charge [RawHepEventParticle::pid()]
|
---|
299 | bool IsolFlag;
|
---|
300 | float EtaCalo; // particle pseudorapidity when entering the calo,
|
---|
301 | float PhiCalo; // particle azimuthal angle in rad when entering the calo
|
---|
302 | float EHoverEE; // hadronic energy over electromagnetic energy
|
---|
303 | float EtRatio; // calo Et in NxN-tower grid around the muon over the muon Et
|
---|
304 | float SumEt;
|
---|
305 | float SumPt;
|
---|
306 |
|
---|
307 | void SetEtaPhiCalo(const float eta, const float phi) {EtaCalo=eta; PhiCalo=phi;};
|
---|
308 | ClassDef(TRootMuon, 1)
|
---|
309 | };
|
---|
310 |
|
---|
311 | //---------------------------------------------------------------------------
|
---|
312 |
|
---|
313 | class TRootTracks : public TSortableObject {
|
---|
314 | public:
|
---|
315 | TRootTracks(); // needed for storage in ExRootAnalysis
|
---|
316 | TRootTracks(const TRootTracks& track);
|
---|
317 | TRootTracks(const float inEta, const float inPhi, const float outEta, const float outPhi, const float pt);
|
---|
318 | TRootTracks& operator=(const TRootTracks& track);
|
---|
319 | void Set(const float inEta, const float inPhi, const float outEta, const float outPhi, const float pt, const float charge);
|
---|
320 | const TLorentzVector GetFourVector() const;
|
---|
321 | const float getEta() const {return Eta;}
|
---|
322 | const float getPhi() const {return Phi;}
|
---|
323 | const float getEtaOuter() const {return EtaOuter;}
|
---|
324 | const float getPhiOuter() const {return PhiOuter;}
|
---|
325 |
|
---|
326 | static TCompare *fgCompare; //!
|
---|
327 | const TCompare *GetCompare() const { return fgCompare; }
|
---|
328 |
|
---|
329 | float Eta, Phi; // (eta,phi) at the beginning of the track
|
---|
330 | float EtaOuter, PhiOuter; // (eta,phi) at the end of the track
|
---|
331 | float PT, E, Px, Py, Pz; // transverse momentum
|
---|
332 | float Charge;
|
---|
333 | float Vx,Vy,Vz;
|
---|
334 | ClassDef(TRootTracks, 1)
|
---|
335 | };
|
---|
336 |
|
---|
337 | //---------------------------------------------------------------------------
|
---|
338 |
|
---|
339 | class TRootCalo: public TSortableObject
|
---|
340 | {
|
---|
341 | //class TRootCalo: public TRootParticle {
|
---|
342 | public:
|
---|
343 | float Eta;
|
---|
344 | float Phi;
|
---|
345 | float E;
|
---|
346 | TRootCalo() ;
|
---|
347 | TRootCalo(const TRootCalo& cal);
|
---|
348 | TRootCalo& operator=(const TRootCalo& cal);
|
---|
349 | void set(const D_CaloTower& cal);
|
---|
350 | static TCompare *fgCompare; //!
|
---|
351 | const TCompare *GetCompare() const { return fgCompare; }
|
---|
352 | const float getET() const {return ET;}
|
---|
353 |
|
---|
354 | protected:
|
---|
355 | float E_em, E_had; // electromagnetic and hadronic components of the tower energy
|
---|
356 | float ET; // total energy and transverse energy
|
---|
357 | ClassDef(TRootCalo, 1)
|
---|
358 | };
|
---|
359 |
|
---|
360 | //---------------------------------------------------------------------------
|
---|
361 | /*
|
---|
362 | class TRootZdcHits: public TRootParticle
|
---|
363 | {
|
---|
364 | public:
|
---|
365 | TRootZdcHits() {};
|
---|
366 | float T; // time of flight [s]
|
---|
367 | int side; // -1 or +1
|
---|
368 | static TCompare *fgCompare; //!
|
---|
369 | int pid;
|
---|
370 |
|
---|
371 | ClassDef(TRootZdcHits, 1)
|
---|
372 | };
|
---|
373 | */
|
---|
374 |
|
---|
375 | // gen-level info stored for forward detectors
|
---|
376 | // this class is similar to TRootParticle, but for the member names
|
---|
377 | class TRootGenFwdParticle: public TSortableObject {
|
---|
378 |
|
---|
379 | public:
|
---|
380 |
|
---|
381 | TRootGenFwdParticle() {};
|
---|
382 | TRootGenFwdParticle(const TRootGenFwdParticle& p);
|
---|
383 | TRootGenFwdParticle& operator=(const TRootGenFwdParticle& p);
|
---|
384 | float genE; // particle energy in GeV
|
---|
385 | float genPx; // particle momentum vector (x component) in GeV
|
---|
386 | float genPy; // particle momentum vector (y component) in GeV
|
---|
387 | float genPz; // particle momentum vector (z component) in GeV
|
---|
388 | float genPT; // particle transverse momentum in GeV
|
---|
389 |
|
---|
390 | float genEta; // particle pseudorapidity
|
---|
391 | float genPhi; // particle azimuthal angle in rad
|
---|
392 | int pid;
|
---|
393 |
|
---|
394 | void Set(const TLorentzVector& momentum); // initialises the gen-level data
|
---|
395 | void Set(const float px, const float py, const float pz, const float e);
|
---|
396 | void SetEtaPhi(const float eta, const float phi) {genEta=eta; genPhi=phi;};
|
---|
397 | void SetEtaPhiEET(const float eta, const float phi, const float e, const float et);
|
---|
398 | static TCompare *fgCompare; //!
|
---|
399 | const TCompare *GetCompare() const { return fgCompare; }
|
---|
400 |
|
---|
401 | ClassDef(TRootGenFwdParticle, 1)
|
---|
402 | };
|
---|
403 |
|
---|
404 |
|
---|
405 |
|
---|
406 | //class TRootZdcHits: public TSortableObject
|
---|
407 | class TRootZdcHits: public TRootGenFwdParticle
|
---|
408 | {
|
---|
409 | public:
|
---|
410 |
|
---|
411 | TRootZdcHits() {}; // do not put anything for the default constructor-- ExRootAnalysis constrain!!!
|
---|
412 | TRootZdcHits(const float e, const float t, const int side, const bool had);
|
---|
413 | TRootZdcHits(const TRootZdcHits& zdc);
|
---|
414 | TRootZdcHits& operator=(const TRootZdcHits& zdc);
|
---|
415 | float E;
|
---|
416 | float T; // time of flight [s]
|
---|
417 | int side; // -1 or +1
|
---|
418 | static TCompare *fgCompare; //!
|
---|
419 | bool hadronic_hit; // true if neutron, false if photon
|
---|
420 |
|
---|
421 | ClassDef(TRootZdcHits, 2)
|
---|
422 | };
|
---|
423 |
|
---|
424 |
|
---|
425 | //---------------------------------------------------------------------------
|
---|
426 |
|
---|
427 | class TRootTauJet: public TRootParticle
|
---|
428 | {
|
---|
429 | public:
|
---|
430 | TRootTauJet() {};
|
---|
431 | float Charge; // normally, using the charge of the track ; here using gen-level tau charge
|
---|
432 | int NTracks;
|
---|
433 | int NCalo;
|
---|
434 |
|
---|
435 | float EHoverEE;
|
---|
436 | // float E; // particle energy in GeV
|
---|
437 | // float Px; // particle momentum vector (x component) in GeV
|
---|
438 | // float Py; // particle momentum vector (y component) in GeV
|
---|
439 | // float Pz; // particle momentum vector (z component) in GeV
|
---|
440 |
|
---|
441 | // float Eta; // particle pseudorapidity
|
---|
442 | // float Phi; // particle azimuthal angle in rad
|
---|
443 |
|
---|
444 | void Set(const TLorentzVector& momentum);// { return TRootParticle::Set(momentum); }
|
---|
445 |
|
---|
446 | static TCompare *fgCompare; //!
|
---|
447 |
|
---|
448 | // float PT; // particle transverse momentum in GeV
|
---|
449 |
|
---|
450 | ClassDef(TRootTauJet, 1)
|
---|
451 | };
|
---|
452 |
|
---|
453 | //---------------------------------------------------------------------------
|
---|
454 |
|
---|
455 | class TRootJet: public TRootParticle
|
---|
456 | {
|
---|
457 | public:
|
---|
458 | TRootJet() {};
|
---|
459 |
|
---|
460 | static TCompare *fgCompare; //!
|
---|
461 |
|
---|
462 | bool Btag;
|
---|
463 | int NTracks;
|
---|
464 | int NCalo;
|
---|
465 |
|
---|
466 | float EHoverEE;
|
---|
467 | ClassDef(TRootJet, 1)
|
---|
468 | };
|
---|
469 |
|
---|
470 | //------------------------------------------------------------------------------
|
---|
471 |
|
---|
472 | class TRootTrigger: public TSortableObject
|
---|
473 | {
|
---|
474 | public:
|
---|
475 | TRootTrigger() {};
|
---|
476 |
|
---|
477 | int Accepted;
|
---|
478 |
|
---|
479 | static TCompare *fgCompare; //!
|
---|
480 | const TCompare *GetCompare() const { return fgCompare; }
|
---|
481 |
|
---|
482 | ClassDef(TRootTrigger, 1)
|
---|
483 | };
|
---|
484 | //---------------------------------------------------------------------------
|
---|
485 |
|
---|
486 | class TRootETmis: public TSortableObject
|
---|
487 | {
|
---|
488 | public:
|
---|
489 | TRootETmis() {};
|
---|
490 | float ET; // jet energy [RecJet::getEnergy()]
|
---|
491 | float Phi; // jet azimuthal angle [RecJet::getPhi()]
|
---|
492 | float Px;
|
---|
493 | float Py;
|
---|
494 |
|
---|
495 | static TCompare *fgCompare; //!
|
---|
496 | const TCompare *GetCompare() const { return fgCompare; }
|
---|
497 |
|
---|
498 | ClassDef(TRootETmis, 1)
|
---|
499 | };
|
---|
500 |
|
---|
501 | //---------------------------------------------------------------------------
|
---|
502 |
|
---|
503 | //class TRootRomanPotHits: public TSortableObject
|
---|
504 | class TRootRomanPotHits: public TRootGenFwdParticle
|
---|
505 | {
|
---|
506 | public:
|
---|
507 | TRootRomanPotHits() {};
|
---|
508 | // float T; // time of flight to the detector [s]
|
---|
509 | float S; // distance to the IP [m]
|
---|
510 | float E; // reconstructed energy [GeV]
|
---|
511 | float q2; // reconstructed squared momentum transfer [GeV^2]
|
---|
512 |
|
---|
513 | float X; // horizontal distance to the beam [um]
|
---|
514 | float Y; // vertical distance to the beam [um]
|
---|
515 |
|
---|
516 | float Tx; // angle of the momentum in the horizontal (x,z) plane [urad]
|
---|
517 | float Ty; // angle of the momentum in the verical (y,z) plane [urad]
|
---|
518 |
|
---|
519 | float T; // time of flight to the detector [s]
|
---|
520 | int side; // -1 or 1
|
---|
521 |
|
---|
522 | static TCompare *fgCompare; //!
|
---|
523 | //const TCompare *GetCompare() const { return fgCompare; }
|
---|
524 |
|
---|
525 | ClassDef(TRootRomanPotHits, 2)
|
---|
526 | };
|
---|
527 |
|
---|
528 | //---------------------------------------------------------------------------
|
---|
529 |
|
---|
530 | class TRootForwardTaggerHits : public TRootRomanPotHits
|
---|
531 | {
|
---|
532 | public:
|
---|
533 | TRootForwardTaggerHits() {};
|
---|
534 | float T; // time of flight to the detector [s]
|
---|
535 |
|
---|
536 | static TCompare *fgCompare; //!
|
---|
537 | const TCompare *GetCompare() const { return fgCompare; }
|
---|
538 |
|
---|
539 | ClassDef(TRootForwardTaggerHits, 1)
|
---|
540 | };
|
---|
541 |
|
---|
542 |
|
---|
543 |
|
---|
544 |
|
---|
545 | class TRootLHEFParticle: public TRootC::GenParticle
|
---|
546 | {
|
---|
547 | public:
|
---|
548 | TRootLHEFParticle() {};
|
---|
549 | int ColorLine1; // index for the particle color-line | hepup.ICOLUP[number][0]
|
---|
550 | int ColorLine2; // index for the particle anti-color-line | hepup.ICOLUP[number][1]
|
---|
551 |
|
---|
552 | double Rapidity; // particle rapidity
|
---|
553 | double LifeTime; // particle invariant lifetime
|
---|
554 | // (c*tau, distance from production to decay in mm)
|
---|
555 | // | hepup.VTIMUP[number]
|
---|
556 |
|
---|
557 | double Spin; // cosine of the angle between the particle spin vector
|
---|
558 | // and the decaying particle 3-momentum,
|
---|
559 | // specified in the lab frame. | hepup.SPINUP[number]
|
---|
560 |
|
---|
561 | static TCompare *fgCompare; //!
|
---|
562 | const TCompare *GetCompare() const { return fgCompare; }
|
---|
563 | ClassDef(TRootLHEFParticle, 2)
|
---|
564 |
|
---|
565 | };
|
---|
566 |
|
---|
567 | #endif // BLOCKCLASSES_H
|
---|
568 |
|
---|