[b443089] | 1 | /*
|
---|
| 2 | * Delphes: a framework for fast simulation of a generic collider experiment
|
---|
| 3 | * Copyright (C) 2012-2014 Universite catholique de Louvain (UCL), Belgium
|
---|
[1fa50c2] | 4 | *
|
---|
[b443089] | 5 | * This program is free software: you can redistribute it and/or modify
|
---|
| 6 | * it under the terms of the GNU General Public License as published by
|
---|
| 7 | * the Free Software Foundation, either version 3 of the License, or
|
---|
| 8 | * (at your option) any later version.
|
---|
[1fa50c2] | 9 | *
|
---|
[b443089] | 10 | * This program is distributed in the hope that it will be useful,
|
---|
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
| 13 | * GNU General Public License for more details.
|
---|
[1fa50c2] | 14 | *
|
---|
[b443089] | 15 | * You should have received a copy of the GNU General Public License
|
---|
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>.
|
---|
| 17 | */
|
---|
| 18 |
|
---|
[d7d2da3] | 19 | #ifndef DelphesClasses_h
|
---|
| 20 | #define DelphesClasses_h
|
---|
| 21 |
|
---|
| 22 | /**
|
---|
| 23 | *
|
---|
| 24 | * Definition of classes to be stored in the root tree.
|
---|
| 25 | * Function CompareXYZ sorts objects by the variable XYZ that MUST be
|
---|
| 26 | * present in the data members of the root tree class of the branch.
|
---|
| 27 | *
|
---|
| 28 | * \author P. Demin - UCL, Louvain-la-Neuve
|
---|
| 29 | *
|
---|
| 30 | */
|
---|
| 31 |
|
---|
| 32 | // Dependencies (#includes)
|
---|
| 33 |
|
---|
[341014c] | 34 | #include "TLorentzVector.h"
|
---|
[d7d2da3] | 35 | #include "TObject.h"
|
---|
[341014c] | 36 | #include "TRef.h"
|
---|
[d7d2da3] | 37 | #include "TRefArray.h"
|
---|
| 38 |
|
---|
| 39 | #include "classes/SortableObject.h"
|
---|
| 40 |
|
---|
| 41 | class DelphesFactory;
|
---|
| 42 |
|
---|
| 43 | //---------------------------------------------------------------------------
|
---|
| 44 |
|
---|
| 45 | class Event: public TObject
|
---|
| 46 | {
|
---|
| 47 | public:
|
---|
| 48 | Long64_t Number; // event number
|
---|
| 49 |
|
---|
[151255d] | 50 | Float_t ReadTime; // read time
|
---|
| 51 | Float_t ProcTime; // processing time
|
---|
[d7d2da3] | 52 |
|
---|
| 53 | ClassDef(Event, 1)
|
---|
| 54 | };
|
---|
| 55 |
|
---|
| 56 | //---------------------------------------------------------------------------
|
---|
| 57 |
|
---|
| 58 | class LHCOEvent: public Event
|
---|
| 59 | {
|
---|
| 60 | public:
|
---|
| 61 | Int_t Trigger; // trigger word
|
---|
| 62 |
|
---|
| 63 | ClassDef(LHCOEvent, 1)
|
---|
| 64 | };
|
---|
| 65 |
|
---|
| 66 | //---------------------------------------------------------------------------
|
---|
| 67 |
|
---|
| 68 | class LHEFEvent: public Event
|
---|
| 69 | {
|
---|
| 70 | public:
|
---|
| 71 | Int_t ProcessID; // subprocess code for the event | hepup.IDPRUP
|
---|
| 72 |
|
---|
| 73 | Float_t Weight; // weight for the event | hepup.XWGTUP
|
---|
[01f9722] | 74 | Float_t CrossSection; // cross-section (read from init, implemented only for Wizard evgen)
|
---|
[d7d2da3] | 75 | Float_t ScalePDF; // scale in GeV used in the calculation of the PDFs in the event | hepup.SCALUP
|
---|
| 76 | Float_t AlphaQED; // value of the QED coupling used in the event | hepup.AQEDUP
|
---|
| 77 | Float_t AlphaQCD; // value of the QCD coupling used in the event | hepup.AQCDUP
|
---|
| 78 |
|
---|
[769f65b] | 79 | ClassDef(LHEFEvent, 3)
|
---|
[d7d2da3] | 80 | };
|
---|
| 81 |
|
---|
| 82 | //---------------------------------------------------------------------------
|
---|
| 83 |
|
---|
[986d9d5] | 84 | class LHEFWeight: public TObject
|
---|
| 85 | {
|
---|
| 86 | public:
|
---|
| 87 | Int_t ID; // weight ID
|
---|
| 88 | Float_t Weight; // weight value
|
---|
| 89 |
|
---|
| 90 | ClassDef(LHEFWeight, 1)
|
---|
| 91 | };
|
---|
| 92 |
|
---|
| 93 | //---------------------------------------------------------------------------
|
---|
| 94 |
|
---|
[d7d2da3] | 95 | class HepMCEvent: public Event
|
---|
| 96 | {
|
---|
| 97 | public:
|
---|
| 98 | Int_t ProcessID; // unique signal process id | signal_process_id()
|
---|
[3b465ca] | 99 | Int_t MPI; // number of multi parton interactions | mpi ()
|
---|
[d7d2da3] | 100 |
|
---|
[59abd43] | 101 | Float_t Weight; // weight for the event
|
---|
[edeb0f0] | 102 | Float_t CrossSection; // cross-section in pb
|
---|
| 103 | Float_t CrossSectionError; // cross-section error in pb
|
---|
[59abd43] | 104 |
|
---|
[d7d2da3] | 105 | Float_t Scale; // energy scale, see hep-ph/0109068 | event_scale()
|
---|
| 106 | Float_t AlphaQED; // QED coupling, see hep-ph/0109068 | alphaQED()
|
---|
| 107 | Float_t AlphaQCD; // QCD coupling, see hep-ph/0109068 | alphaQCD()
|
---|
| 108 |
|
---|
| 109 | Int_t ID1; // flavour code of first parton | pdf_info()->id1()
|
---|
[3b465ca] | 110 | Int_t ID2; // flavour code of second parton | pdf_info()->id2()
|
---|
[d7d2da3] | 111 |
|
---|
| 112 | Float_t X1; // fraction of beam momentum carried by first parton ("beam side") | pdf_info()->x1()
|
---|
| 113 | Float_t X2; // fraction of beam momentum carried by second parton ("target side") | pdf_info()->x2()
|
---|
| 114 |
|
---|
| 115 | Float_t ScalePDF; // Q-scale used in evaluation of PDF's (in GeV) | pdf_info()->scalePDF()
|
---|
| 116 |
|
---|
| 117 | Float_t PDF1; // PDF (id1, x1, Q) | pdf_info()->pdf1()
|
---|
| 118 | Float_t PDF2; // PDF (id2, x2, Q) | pdf_info()->pdf2()
|
---|
| 119 |
|
---|
[769f65b] | 120 | ClassDef(HepMCEvent, 3)
|
---|
[d7d2da3] | 121 | };
|
---|
| 122 |
|
---|
| 123 | //---------------------------------------------------------------------------
|
---|
| 124 |
|
---|
| 125 | class GenParticle: public SortableObject
|
---|
| 126 | {
|
---|
| 127 | public:
|
---|
| 128 | Int_t PID; // particle HEP ID number | hepevt.idhep[number]
|
---|
| 129 |
|
---|
| 130 | Int_t Status; // particle status | hepevt.isthep[number]
|
---|
| 131 | Int_t IsPU; // 0 or 1 for particles from pile-up interactions
|
---|
[3b465ca] | 132 |
|
---|
[d7d2da3] | 133 | Int_t M1; // particle 1st mother | hepevt.jmohep[number][0] - 1
|
---|
| 134 | Int_t M2; // particle 2nd mother | hepevt.jmohep[number][1] - 1
|
---|
| 135 |
|
---|
| 136 | Int_t D1; // particle 1st daughter | hepevt.jdahep[number][0] - 1
|
---|
| 137 | Int_t D2; // particle last daughter | hepevt.jdahep[number][1] - 1
|
---|
| 138 |
|
---|
| 139 | Int_t Charge; // particle charge
|
---|
| 140 |
|
---|
| 141 | Float_t Mass; // particle mass
|
---|
| 142 |
|
---|
| 143 | Float_t E; // particle energy | hepevt.phep[number][3]
|
---|
| 144 | Float_t Px; // particle momentum vector (x component) | hepevt.phep[number][0]
|
---|
| 145 | Float_t Py; // particle momentum vector (y component) | hepevt.phep[number][1]
|
---|
| 146 | Float_t Pz; // particle momentum vector (z component) | hepevt.phep[number][2]
|
---|
| 147 |
|
---|
[151255d] | 148 | Float_t P; // particle momentum
|
---|
| 149 | Float_t PT; // particle transverse momentum
|
---|
[d7d2da3] | 150 | Float_t Eta; // particle pseudorapidity
|
---|
[6d8a29a] | 151 | Float_t Phi; // particle azimuthal angle
|
---|
| 152 |
|
---|
[d7d2da3] | 153 | Float_t Rapidity; // particle rapidity
|
---|
[6d8a29a] | 154 | Float_t CtgTheta; // particle cotangent of theta
|
---|
| 155 |
|
---|
| 156 | Float_t D0; // particle transverse impact parameter
|
---|
| 157 | Float_t DZ; // particle longitudinal impact parameter
|
---|
[d7d2da3] | 158 |
|
---|
| 159 | Float_t T; // particle vertex position (t component) | hepevt.vhep[number][3]
|
---|
| 160 | Float_t X; // particle vertex position (x component) | hepevt.vhep[number][0]
|
---|
| 161 | Float_t Y; // particle vertex position (y component) | hepevt.vhep[number][1]
|
---|
| 162 | Float_t Z; // particle vertex position (z component) | hepevt.vhep[number][2]
|
---|
| 163 |
|
---|
| 164 | static CompBase *fgCompare; //!
|
---|
| 165 | const CompBase *GetCompare() const { return fgCompare; }
|
---|
[3b465ca] | 166 |
|
---|
[2b3ef28] | 167 | TLorentzVector P4() const;
|
---|
[d7d2da3] | 168 |
|
---|
[6d8a29a] | 169 | ClassDef(GenParticle, 2)
|
---|
[d7d2da3] | 170 | };
|
---|
| 171 |
|
---|
| 172 | //---------------------------------------------------------------------------
|
---|
| 173 |
|
---|
[f59a7b6] | 174 | class Vertex: public SortableObject
|
---|
[d07e957] | 175 | {
|
---|
| 176 | public:
|
---|
[6d8a29a] | 177 | Float_t T; // vertex position (t component)
|
---|
[d07e957] | 178 | Float_t X; // vertex position (x component)
|
---|
| 179 | Float_t Y; // vertex position (y component)
|
---|
| 180 | Float_t Z; // vertex position (z component)
|
---|
[5496767] | 181 |
|
---|
[6d8a29a] | 182 | Double_t ErrorT; // vertex position error (t component)
|
---|
[151255d] | 183 | Double_t ErrorX; // vertex position error (x component)
|
---|
| 184 | Double_t ErrorY; // vertex position error (y component)
|
---|
| 185 | Double_t ErrorZ; // vertex position error (z component)
|
---|
[0e2f49b] | 186 |
|
---|
[151255d] | 187 | Int_t Index; // vertex index
|
---|
| 188 | Int_t NDF; // number of degrees of freedom
|
---|
[6d8a29a] | 189 |
|
---|
| 190 | Double_t Sigma; // vertex position (z component) error
|
---|
| 191 | Double_t SumPT2; // sum pt^2 of tracks attached to the vertex
|
---|
| 192 | Double_t GenSumPT2; // sum pt^2 of gen tracks attached to the vertex
|
---|
| 193 |
|
---|
| 194 | Double_t GenDeltaZ; // distance in z to closest generated vertex
|
---|
| 195 | Double_t BTVSumPT2; // sum pt^2 of tracks attached to the secondary vertex
|
---|
[0e2f49b] | 196 |
|
---|
[5496767] | 197 | TRefArray Constituents; // references to constituents
|
---|
| 198 |
|
---|
[3c46e17] | 199 | static CompBase *fgCompare; //!
|
---|
| 200 | const CompBase *GetCompare() const { return fgCompare; }
|
---|
| 201 |
|
---|
| 202 | ClassDef(Vertex, 3)
|
---|
[d07e957] | 203 | };
|
---|
| 204 |
|
---|
| 205 | //---------------------------------------------------------------------------
|
---|
| 206 |
|
---|
[d7d2da3] | 207 | class MissingET: public TObject
|
---|
| 208 | {
|
---|
| 209 | public:
|
---|
| 210 | Float_t MET; // mising transverse energy
|
---|
[4ad7b96] | 211 | Float_t Eta; // mising energy pseudorapidity
|
---|
[d7d2da3] | 212 | Float_t Phi; // mising energy azimuthal angle
|
---|
| 213 |
|
---|
[2b3ef28] | 214 | TLorentzVector P4() const;
|
---|
[4ad7b96] | 215 |
|
---|
[d7d2da3] | 216 | ClassDef(MissingET, 1)
|
---|
| 217 | };
|
---|
| 218 |
|
---|
| 219 | //---------------------------------------------------------------------------
|
---|
| 220 |
|
---|
| 221 | class ScalarHT: public TObject
|
---|
| 222 | {
|
---|
| 223 | public:
|
---|
| 224 | Float_t HT; // scalar sum of transverse momenta
|
---|
| 225 |
|
---|
| 226 | ClassDef(ScalarHT, 1)
|
---|
| 227 | };
|
---|
| 228 |
|
---|
| 229 | //---------------------------------------------------------------------------
|
---|
| 230 |
|
---|
[71648c2] | 231 | class Rho: public TObject
|
---|
| 232 | {
|
---|
| 233 | public:
|
---|
| 234 | Float_t Rho; // rho energy density
|
---|
[3b465ca] | 235 | Float_t Edges[2]; // pseudorapidity range edges
|
---|
[71648c2] | 236 |
|
---|
| 237 | ClassDef(Rho, 1)
|
---|
| 238 | };
|
---|
| 239 |
|
---|
| 240 | //---------------------------------------------------------------------------
|
---|
| 241 |
|
---|
[2e229c9] | 242 | class Weight: public TObject
|
---|
| 243 | {
|
---|
| 244 | public:
|
---|
| 245 | Float_t Weight; // weight for the event
|
---|
| 246 |
|
---|
| 247 | ClassDef(Weight, 1)
|
---|
| 248 | };
|
---|
| 249 |
|
---|
| 250 | //---------------------------------------------------------------------------
|
---|
| 251 |
|
---|
[d7d2da3] | 252 | class Photon: public SortableObject
|
---|
| 253 | {
|
---|
| 254 | public:
|
---|
| 255 | Float_t PT; // photon transverse momentum
|
---|
| 256 | Float_t Eta; // photon pseudorapidity
|
---|
| 257 | Float_t Phi; // photon azimuthal angle
|
---|
| 258 |
|
---|
| 259 | Float_t E; // photon energy
|
---|
[da00c35] | 260 |
|
---|
[151255d] | 261 | Float_t T; // particle arrival time of flight
|
---|
[da00c35] | 262 |
|
---|
[d7d2da3] | 263 | Float_t EhadOverEem; // ratio of the hadronic versus electromagnetic energy deposited in the calorimeter
|
---|
| 264 |
|
---|
| 265 | TRefArray Particles; // references to generated particles
|
---|
| 266 |
|
---|
[151255d] | 267 | Float_t IsolationVar; // isolation variable
|
---|
| 268 | Float_t IsolationVarRhoCorr; // isolation variable
|
---|
| 269 | Float_t SumPtCharged; // isolation variable
|
---|
| 270 | Float_t SumPtNeutral; // isolation variable
|
---|
| 271 | Float_t SumPtChargedPU; // isolation variable
|
---|
| 272 | Float_t SumPt; // isolation variable
|
---|
[b62c2da] | 273 |
|
---|
[0e0f211] | 274 | Int_t Status; // 1: prompt -- 2: non prompt -- 3: fake
|
---|
| 275 |
|
---|
[d7d2da3] | 276 | static CompBase *fgCompare; //!
|
---|
| 277 | const CompBase *GetCompare() const { return fgCompare; }
|
---|
| 278 |
|
---|
[2b3ef28] | 279 | TLorentzVector P4() const;
|
---|
[d7d2da3] | 280 |
|
---|
[769f65b] | 281 | ClassDef(Photon, 4)
|
---|
[d7d2da3] | 282 | };
|
---|
| 283 |
|
---|
| 284 | //---------------------------------------------------------------------------
|
---|
| 285 |
|
---|
| 286 | class Electron: public SortableObject
|
---|
| 287 | {
|
---|
| 288 | public:
|
---|
| 289 | Float_t PT; // electron transverse momentum
|
---|
| 290 | Float_t Eta; // electron pseudorapidity
|
---|
| 291 | Float_t Phi; // electron azimuthal angle
|
---|
[da00c35] | 292 |
|
---|
[151255d] | 293 | Float_t T; // particle arrival time of flight
|
---|
[da00c35] | 294 |
|
---|
[d7d2da3] | 295 | Int_t Charge; // electron charge
|
---|
| 296 |
|
---|
| 297 | Float_t EhadOverEem; // ratio of the hadronic versus electromagnetic energy deposited in the calorimeter
|
---|
| 298 |
|
---|
| 299 | TRef Particle; // reference to generated particle
|
---|
| 300 |
|
---|
[151255d] | 301 | Float_t IsolationVar; // isolation variable
|
---|
| 302 | Float_t IsolationVarRhoCorr; // isolation variable
|
---|
| 303 | Float_t SumPtCharged; // isolation variable
|
---|
| 304 | Float_t SumPtNeutral; // isolation variable
|
---|
| 305 | Float_t SumPtChargedPU; // isolation variable
|
---|
| 306 | Float_t SumPt; // isolation variable
|
---|
[b62c2da] | 307 |
|
---|
[0518688] | 308 | Float_t D0; // track transverse impact parameter
|
---|
| 309 | Float_t DZ; // track longitudinal impact parameter
|
---|
| 310 | Float_t ErrorD0; // track transverse impact parameter error
|
---|
| 311 | Float_t ErrorDZ; // track longitudinal impact parameter error
|
---|
| 312 |
|
---|
[d7d2da3] | 313 | static CompBase *fgCompare; //!
|
---|
| 314 | const CompBase *GetCompare() const { return fgCompare; }
|
---|
| 315 |
|
---|
[2b3ef28] | 316 | TLorentzVector P4() const;
|
---|
[d7d2da3] | 317 |
|
---|
[769f65b] | 318 | ClassDef(Electron, 4)
|
---|
[d7d2da3] | 319 | };
|
---|
| 320 |
|
---|
| 321 | //---------------------------------------------------------------------------
|
---|
| 322 |
|
---|
| 323 | class Muon: public SortableObject
|
---|
| 324 | {
|
---|
| 325 | public:
|
---|
| 326 | Float_t PT; // muon transverse momentum
|
---|
| 327 | Float_t Eta; // muon pseudorapidity
|
---|
| 328 | Float_t Phi; // muon azimuthal angle
|
---|
| 329 |
|
---|
[151255d] | 330 | Float_t T; // particle arrival time of flight
|
---|
[da00c35] | 331 |
|
---|
[d7d2da3] | 332 | Int_t Charge; // muon charge
|
---|
| 333 |
|
---|
| 334 | TRef Particle; // reference to generated particle
|
---|
| 335 |
|
---|
[151255d] | 336 | Float_t IsolationVar; // isolation variable
|
---|
| 337 | Float_t IsolationVarRhoCorr; // isolation variable
|
---|
| 338 | Float_t SumPtCharged; // isolation variable
|
---|
| 339 | Float_t SumPtNeutral; // isolation variable
|
---|
| 340 | Float_t SumPtChargedPU; // isolation variable
|
---|
| 341 | Float_t SumPt; // isolation variable
|
---|
[b62c2da] | 342 |
|
---|
[0518688] | 343 | Float_t D0; // track transverse impact parameter
|
---|
| 344 | Float_t DZ; // track longitudinal impact parameter
|
---|
| 345 | Float_t ErrorD0; // track transverse impact parameter error
|
---|
| 346 | Float_t ErrorDZ; // track longitudinal impact parameter error
|
---|
| 347 |
|
---|
[d7d2da3] | 348 | static CompBase *fgCompare; //!
|
---|
| 349 | const CompBase *GetCompare() const { return fgCompare; }
|
---|
| 350 |
|
---|
[2b3ef28] | 351 | TLorentzVector P4() const;
|
---|
[d7d2da3] | 352 |
|
---|
[769f65b] | 353 | ClassDef(Muon, 4)
|
---|
[d7d2da3] | 354 | };
|
---|
| 355 |
|
---|
| 356 | //---------------------------------------------------------------------------
|
---|
| 357 |
|
---|
| 358 | class Jet: public SortableObject
|
---|
| 359 | {
|
---|
| 360 | public:
|
---|
| 361 | Float_t PT; // jet transverse momentum
|
---|
| 362 | Float_t Eta; // jet pseudorapidity
|
---|
| 363 | Float_t Phi; // jet azimuthal angle
|
---|
| 364 |
|
---|
[da00c35] | 365 | Float_t T; //particle arrival time of flight
|
---|
| 366 |
|
---|
[d7d2da3] | 367 | Float_t Mass; // jet invariant mass
|
---|
| 368 |
|
---|
[341014c] | 369 | Float_t DeltaEta; // jet radius in pseudorapidity
|
---|
| 370 | Float_t DeltaPhi; // jet radius in azimuthal angle
|
---|
[d7d2da3] | 371 |
|
---|
[151255d] | 372 | UInt_t Flavor; // jet flavor
|
---|
| 373 | UInt_t FlavorAlgo; // jet flavor
|
---|
| 374 | UInt_t FlavorPhys; // jet flavor
|
---|
[edf10ba] | 375 |
|
---|
[fe0273c] | 376 | UInt_t BTag; // 0 or 1 for a jet that has been tagged as containing a heavy quark
|
---|
[151255d] | 377 | UInt_t BTagAlgo; // 0 or 1 for a jet that has been tagged as containing a heavy quark
|
---|
| 378 | UInt_t BTagPhys; // 0 or 1 for a jet that has been tagged as containing a heavy quark
|
---|
[edf10ba] | 379 |
|
---|
[264bf40] | 380 | UInt_t TauTag; // 0 or 1 for a jet that has been tagged as a tau
|
---|
[7429c6a] | 381 | Float_t TauWeight; // probability for jet to be identified as tau
|
---|
[d7d2da3] | 382 |
|
---|
| 383 | Int_t Charge; // tau charge
|
---|
| 384 |
|
---|
| 385 | Float_t EhadOverEem; // ratio of the hadronic versus electromagnetic energy deposited in the calorimeter
|
---|
| 386 |
|
---|
[edf10ba] | 387 | Int_t NCharged; // number of charged constituents
|
---|
| 388 | Int_t NNeutrals; // number of neutral constituents
|
---|
[c614dd7] | 389 |
|
---|
| 390 | Float_t NeutralEnergyFraction; // charged energy fraction
|
---|
| 391 | Float_t ChargedEnergyFraction; // neutral energy fraction
|
---|
| 392 |
|
---|
[edf10ba] | 393 | Float_t Beta; // (sum pt of charged pile-up constituents)/(sum pt of charged constituents)
|
---|
| 394 | Float_t BetaStar; // (sum pt of charged constituents coming from hard interaction)/(sum pt of charged constituents)
|
---|
| 395 | Float_t MeanSqDeltaR; // average distance (squared) between constituent and jet weighted by pt (squared) of constituent
|
---|
| 396 | Float_t PTD; // average pt between constituent and jet weighted by pt of constituent
|
---|
| 397 | Float_t FracPt[5]; // (sum pt of constituents within a ring 0.1*i < DeltaR < 0.1*(i+1))/(sum pt of constituents)
|
---|
[63178fb] | 398 |
|
---|
[666d795] | 399 | Float_t Tau[5]; // N-subjettiness
|
---|
[edf10ba] | 400 |
|
---|
[ba75867] | 401 | TLorentzVector SoftDroppedJet;
|
---|
| 402 | TLorentzVector SoftDroppedSubJet1;
|
---|
| 403 | TLorentzVector SoftDroppedSubJet2;
|
---|
| 404 |
|
---|
[edf10ba] | 405 | TLorentzVector TrimmedP4[5]; // first entry (i = 0) is the total Trimmed Jet 4-momenta and from i = 1 to 4 are the trimmed subjets 4-momenta
|
---|
| 406 | TLorentzVector PrunedP4[5]; // first entry (i = 0) is the total Pruned Jet 4-momenta and from i = 1 to 4 are the pruned subjets 4-momenta
|
---|
| 407 | TLorentzVector SoftDroppedP4[5]; // first entry (i = 0) is the total SoftDropped Jet 4-momenta and from i = 1 to 4 are the pruned subjets 4-momenta
|
---|
| 408 |
|
---|
| 409 | Int_t NSubJetsTrimmed; // number of subjets trimmed
|
---|
| 410 | Int_t NSubJetsPruned; // number of subjets pruned
|
---|
| 411 | Int_t NSubJetsSoftDropped; // number of subjets soft-dropped
|
---|
| 412 |
|
---|
[e9c0d73] | 413 | Double_t ExclYmerge23;
|
---|
| 414 | Double_t ExclYmerge34;
|
---|
| 415 | Double_t ExclYmerge45;
|
---|
| 416 | Double_t ExclYmerge56;
|
---|
[341014c] | 417 |
|
---|
[e4c3fef] | 418 | TRefArray Constituents; // references to constituents
|
---|
| 419 | TRefArray Particles; // references to generated particles
|
---|
| 420 |
|
---|
| 421 | static CompBase *fgCompare; //!
|
---|
| 422 | const CompBase *GetCompare() const { return fgCompare; }
|
---|
| 423 |
|
---|
[8707eeb] | 424 | TLorentzVector P4() const;
|
---|
[ba1f1ee] | 425 | TLorentzVector Area;
|
---|
[24d005f] | 426 |
|
---|
[769f65b] | 427 | ClassDef(Jet, 4)
|
---|
[d7d2da3] | 428 | };
|
---|
| 429 |
|
---|
| 430 | //---------------------------------------------------------------------------
|
---|
| 431 |
|
---|
[3b465ca] | 432 | class Track: public SortableObject
|
---|
[d7d2da3] | 433 | {
|
---|
[3b465ca] | 434 | public:
|
---|
[d7d2da3] | 435 | Int_t PID; // HEP ID number
|
---|
| 436 |
|
---|
| 437 | Int_t Charge; // track charge
|
---|
| 438 |
|
---|
[6d8a29a] | 439 | Float_t P; // track momentum
|
---|
| 440 | Float_t PT; // track transverse momentum
|
---|
[d7d2da3] | 441 | Float_t Eta; // track pseudorapidity
|
---|
[6d8a29a] | 442 | Float_t Phi; // track azimuthal angle
|
---|
| 443 | Float_t CtgTheta; // track cotangent of theta
|
---|
[5496767] | 444 |
|
---|
[d7d2da3] | 445 | Float_t EtaOuter; // track pseudorapidity at the tracker edge
|
---|
| 446 | Float_t PhiOuter; // track azimuthal angle at the tracker edge
|
---|
| 447 |
|
---|
[6d8a29a] | 448 | Float_t T; // track vertex position (t component)
|
---|
[d7d2da3] | 449 | Float_t X; // track vertex position (x component)
|
---|
| 450 | Float_t Y; // track vertex position (y component)
|
---|
| 451 | Float_t Z; // track vertex position (z component)
|
---|
| 452 |
|
---|
[6d8a29a] | 453 | Float_t TOuter; // track position (t component) at the tracker edge
|
---|
[d7d2da3] | 454 | Float_t XOuter; // track position (x component) at the tracker edge
|
---|
| 455 | Float_t YOuter; // track position (y component) at the tracker edge
|
---|
| 456 | Float_t ZOuter; // track position (z component) at the tracker edge
|
---|
[e4c3fef] | 457 |
|
---|
[6d8a29a] | 458 | Float_t Xd; // X coordinate of point of closest approach to vertex
|
---|
| 459 | Float_t Yd; // Y coordinate of point of closest approach to vertex
|
---|
| 460 | Float_t Zd; // Z coordinate of point of closest approach to vertex
|
---|
[5496767] | 461 |
|
---|
[6d8a29a] | 462 | Float_t L; // track path length
|
---|
[151255d] | 463 | Float_t D0; // track transverse impact parameter
|
---|
| 464 | Float_t DZ; // track longitudinal impact parameter
|
---|
[5496767] | 465 |
|
---|
[151255d] | 466 | Float_t ErrorP; // track momentum error
|
---|
[acd0621] | 467 | Float_t ErrorPT; // track transverse momentum error
|
---|
[151255d] | 468 | Float_t ErrorPhi; // track azimuthal angle error
|
---|
[6d8a29a] | 469 | Float_t ErrorCtgTheta; // track cotangent of theta error
|
---|
[5496767] | 470 |
|
---|
[6d8a29a] | 471 | Float_t ErrorT; // time measurement error
|
---|
| 472 | Float_t ErrorD0; // track transverse impact parameter error
|
---|
| 473 | Float_t ErrorDZ; // track longitudinal impact parameter error
|
---|
[d7d2da3] | 474 |
|
---|
| 475 | TRef Particle; // reference to generated particle
|
---|
| 476 |
|
---|
[2600216] | 477 | Int_t VertexIndex; // reference to vertex
|
---|
[5496767] | 478 |
|
---|
[d7d2da3] | 479 | static CompBase *fgCompare; //!
|
---|
| 480 | const CompBase *GetCompare() const { return fgCompare; }
|
---|
| 481 |
|
---|
[2b3ef28] | 482 | TLorentzVector P4() const;
|
---|
[d7d2da3] | 483 |
|
---|
[6d8a29a] | 484 | ClassDef(Track, 3)
|
---|
[d7d2da3] | 485 | };
|
---|
| 486 |
|
---|
| 487 | //---------------------------------------------------------------------------
|
---|
| 488 |
|
---|
[3b465ca] | 489 | class Tower: public SortableObject
|
---|
[d7d2da3] | 490 | {
|
---|
| 491 | public:
|
---|
| 492 | Float_t ET; // calorimeter tower transverse energy
|
---|
| 493 | Float_t Eta; // calorimeter tower pseudorapidity
|
---|
| 494 | Float_t Phi; // calorimeter tower azimuthal angle
|
---|
| 495 |
|
---|
| 496 | Float_t E; // calorimeter tower energy
|
---|
| 497 |
|
---|
[3db5282] | 498 | Float_t T; // ecal deposit time, averaged by sqrt(EM energy) over all particles, not smeared
|
---|
[839deb7] | 499 | Int_t NTimeHits; // number of hits contributing to time measurement
|
---|
[edf10ba] | 500 |
|
---|
[d7d2da3] | 501 | Float_t Eem; // calorimeter tower electromagnetic energy
|
---|
| 502 | Float_t Ehad; // calorimeter tower hadronic energy
|
---|
| 503 |
|
---|
| 504 | Float_t Edges[4]; // calorimeter tower edges
|
---|
| 505 |
|
---|
| 506 | TRefArray Particles; // references to generated particles
|
---|
| 507 |
|
---|
| 508 | static CompBase *fgCompare; //!
|
---|
| 509 | const CompBase *GetCompare() const { return fgCompare; }
|
---|
| 510 |
|
---|
[2b3ef28] | 511 | TLorentzVector P4() const;
|
---|
[d7d2da3] | 512 |
|
---|
[eb52a5d] | 513 | ClassDef(Tower, 2)
|
---|
[d7d2da3] | 514 | };
|
---|
| 515 |
|
---|
| 516 | //---------------------------------------------------------------------------
|
---|
| 517 |
|
---|
[ededa33] | 518 | class ParticleFlowCandidate: public SortableObject
|
---|
| 519 | {
|
---|
| 520 |
|
---|
| 521 | public:
|
---|
| 522 | Int_t PID; // HEP ID number
|
---|
| 523 |
|
---|
| 524 | Int_t Charge; // track charge
|
---|
| 525 |
|
---|
| 526 | Float_t E; // reconstructed energy [GeV]
|
---|
| 527 | Float_t P; // track momentum
|
---|
| 528 | Float_t PT; // track transverse momentum
|
---|
| 529 | Float_t Eta; // track pseudorapidity
|
---|
| 530 | Float_t Phi; // track azimuthal angle
|
---|
| 531 | Float_t CtgTheta; // track cotangent of theta
|
---|
| 532 |
|
---|
| 533 | Float_t EtaOuter; // track pseudorapidity at the tracker edge
|
---|
| 534 | Float_t PhiOuter; // track azimuthal angle at the tracker edge
|
---|
| 535 |
|
---|
| 536 | Float_t T; // track vertex position (t component)
|
---|
| 537 | Float_t X; // track vertex position (x component)
|
---|
| 538 | Float_t Y; // track vertex position (y component)
|
---|
| 539 | Float_t Z; // track vertex position (z component)
|
---|
| 540 |
|
---|
| 541 | Float_t TOuter; // track position (t component) at the tracker edge
|
---|
| 542 | Float_t XOuter; // track position (x component) at the tracker edge
|
---|
| 543 | Float_t YOuter; // track position (y component) at the tracker edge
|
---|
| 544 | Float_t ZOuter; // track position (z component) at the tracker edge
|
---|
| 545 |
|
---|
| 546 | Float_t Xd; // X coordinate of point of closest approach to vertex
|
---|
| 547 | Float_t Yd; // Y coordinate of point of closest approach to vertex
|
---|
| 548 | Float_t Zd; // Z coordinate of point of closest approach to vertex
|
---|
| 549 |
|
---|
| 550 | Float_t L; // track path length
|
---|
| 551 | Float_t D0; // track transverse impact parameter
|
---|
| 552 | Float_t DZ; // track longitudinal impact parameter
|
---|
| 553 |
|
---|
| 554 | Float_t ErrorP; // track momentum error
|
---|
| 555 | Float_t ErrorPT; // track transverse momentum error
|
---|
| 556 | Float_t ErrorPhi; // track azimuthal angle error
|
---|
| 557 | Float_t ErrorCtgTheta; // track cotangent of theta error
|
---|
| 558 |
|
---|
| 559 | Float_t ErrorT; // time measurement error
|
---|
| 560 | Float_t ErrorD0; // track transverse impact parameter error
|
---|
| 561 | Float_t ErrorDZ; // track longitudinal impact parameter error
|
---|
| 562 |
|
---|
| 563 | Int_t VertexIndex; // reference to vertex
|
---|
| 564 |
|
---|
| 565 | static CompBase *fgCompare; //!
|
---|
| 566 | const CompBase *GetCompare() const { return fgCompare; }
|
---|
| 567 |
|
---|
| 568 | TLorentzVector P4() const;
|
---|
| 569 |
|
---|
| 570 | Int_t NTimeHits; // number of hits contributing to time measurement
|
---|
| 571 |
|
---|
| 572 | Float_t Eem; // calorimeter tower electromagnetic energy
|
---|
| 573 | Float_t Ehad; // calorimeter tower hadronic energy
|
---|
| 574 |
|
---|
| 575 | Float_t Edges[4]; // calorimeter tower edges
|
---|
| 576 |
|
---|
| 577 | TRefArray Particles; // references to generated particles
|
---|
| 578 |
|
---|
| 579 | ClassDef(ParticleFlowCandidate, 1)
|
---|
| 580 |
|
---|
| 581 | };
|
---|
| 582 |
|
---|
| 583 | //---------------------------------------------------------------------------
|
---|
| 584 |
|
---|
[8f7db23] | 585 | class HectorHit: public SortableObject
|
---|
| 586 | {
|
---|
| 587 | public:
|
---|
| 588 | Float_t E; // reconstructed energy [GeV]
|
---|
| 589 |
|
---|
| 590 | Float_t Tx; // angle of the momentum in the horizontal (x,z) plane [urad]
|
---|
| 591 | Float_t Ty; // angle of the momentum in the verical (y,z) plane [urad]
|
---|
| 592 |
|
---|
| 593 | Float_t T; // time of flight to the detector [s]
|
---|
| 594 |
|
---|
| 595 | Float_t X; // horizontal distance to the beam [um]
|
---|
| 596 | Float_t Y; // vertical distance to the beam [um]
|
---|
| 597 | Float_t S; // distance to the interaction point [m]
|
---|
| 598 |
|
---|
[64a4950] | 599 | TRef Particle; // reference to generated particle
|
---|
| 600 |
|
---|
[8f7db23] | 601 | static CompBase *fgCompare; //!
|
---|
| 602 | const CompBase *GetCompare() const { return fgCompare; }
|
---|
| 603 |
|
---|
| 604 | ClassDef(HectorHit, 1)
|
---|
| 605 | };
|
---|
| 606 |
|
---|
| 607 | //---------------------------------------------------------------------------
|
---|
| 608 |
|
---|
[3b465ca] | 609 | class Candidate: public SortableObject
|
---|
[d7d2da3] | 610 | {
|
---|
| 611 | friend class DelphesFactory;
|
---|
| 612 |
|
---|
| 613 | public:
|
---|
| 614 | Candidate();
|
---|
| 615 |
|
---|
| 616 | Int_t PID;
|
---|
| 617 |
|
---|
| 618 | Int_t Status;
|
---|
| 619 | Int_t M1, M2, D1, D2;
|
---|
| 620 |
|
---|
| 621 | Int_t Charge;
|
---|
| 622 |
|
---|
| 623 | Float_t Mass;
|
---|
[3b465ca] | 624 |
|
---|
[d7d2da3] | 625 | Int_t IsPU;
|
---|
[b62c2da] | 626 | Int_t IsRecoPU;
|
---|
[edf10ba] | 627 |
|
---|
[d7d2da3] | 628 | Int_t IsConstituent;
|
---|
[5d2481f] | 629 | Int_t IsFromConversion;
|
---|
[839deb7] | 630 |
|
---|
[fe0273c] | 631 | UInt_t Flavor;
|
---|
| 632 | UInt_t FlavorAlgo;
|
---|
| 633 | UInt_t FlavorPhys;
|
---|
[edf10ba] | 634 |
|
---|
[fe0273c] | 635 | UInt_t BTag;
|
---|
[edf10ba] | 636 | UInt_t BTagAlgo;
|
---|
[fe0273c] | 637 | UInt_t BTagPhys;
|
---|
[edf10ba] | 638 |
|
---|
[264bf40] | 639 | UInt_t TauTag;
|
---|
[7429c6a] | 640 | Float_t TauWeight;
|
---|
[d7d2da3] | 641 |
|
---|
| 642 | Float_t Eem;
|
---|
| 643 | Float_t Ehad;
|
---|
| 644 |
|
---|
| 645 | Float_t Edges[4];
|
---|
| 646 | Float_t DeltaEta;
|
---|
| 647 | Float_t DeltaPhi;
|
---|
| 648 |
|
---|
[0e2f49b] | 649 | TLorentzVector Momentum, Position, InitialPosition, PositionError, Area;
|
---|
[80306e6] | 650 |
|
---|
| 651 | Float_t L; // path length
|
---|
[28c722a] | 652 | Float_t ErrorT; // path length
|
---|
[80306e6] | 653 | Float_t D0;
|
---|
| 654 | Float_t ErrorD0;
|
---|
| 655 | Float_t DZ;
|
---|
| 656 | Float_t ErrorDZ;
|
---|
| 657 | Float_t P;
|
---|
| 658 | Float_t ErrorP;
|
---|
| 659 | Float_t PT;
|
---|
| 660 | Float_t ErrorPT;
|
---|
| 661 | Float_t CtgTheta;
|
---|
| 662 | Float_t ErrorCtgTheta;
|
---|
| 663 | Float_t Phi;
|
---|
| 664 | Float_t ErrorPhi;
|
---|
[e4c3fef] | 665 |
|
---|
[839deb7] | 666 | Float_t Xd;
|
---|
| 667 | Float_t Yd;
|
---|
| 668 | Float_t Zd;
|
---|
[d7d2da3] | 669 |
|
---|
[a98c7ef] | 670 | // tracking resolution
|
---|
[5496767] | 671 |
|
---|
[a98c7ef] | 672 | Float_t TrackResolution;
|
---|
| 673 |
|
---|
[da00c35] | 674 | // PileUpJetID variables
|
---|
| 675 |
|
---|
[839deb7] | 676 | Int_t NCharged;
|
---|
| 677 | Int_t NNeutrals;
|
---|
| 678 | Float_t Beta;
|
---|
| 679 | Float_t BetaStar;
|
---|
| 680 | Float_t MeanSqDeltaR;
|
---|
| 681 | Float_t PTD;
|
---|
| 682 | Float_t FracPt[5];
|
---|
[c614dd7] | 683 | Float_t NeutralEnergyFraction; // charged energy fraction
|
---|
| 684 | Float_t ChargedEnergyFraction; // neutral energy fraction
|
---|
| 685 |
|
---|
[edf10ba] | 686 |
|
---|
[839deb7] | 687 | // Timing information
|
---|
[edf10ba] | 688 |
|
---|
[839deb7] | 689 | Int_t NTimeHits;
|
---|
[77e9ae1] | 690 | std::vector<std::pair<Float_t, Float_t> > ECalEnergyTimePairs;
|
---|
[e4c3fef] | 691 |
|
---|
[b62c2da] | 692 | // Isolation variables
|
---|
[edf10ba] | 693 |
|
---|
[b62c2da] | 694 | Float_t IsolationVar;
|
---|
| 695 | Float_t IsolationVarRhoCorr;
|
---|
| 696 | Float_t SumPtCharged;
|
---|
| 697 | Float_t SumPtNeutral;
|
---|
| 698 | Float_t SumPtChargedPU;
|
---|
| 699 | Float_t SumPt;
|
---|
| 700 |
|
---|
[0e2f49b] | 701 | // vertex variables
|
---|
[5496767] | 702 |
|
---|
[0e2f49b] | 703 | Int_t ClusterIndex;
|
---|
| 704 | Int_t ClusterNDF;
|
---|
| 705 | Double_t ClusterSigma;
|
---|
| 706 | Double_t SumPT2;
|
---|
| 707 | Double_t BTVSumPT2;
|
---|
| 708 | Double_t GenDeltaZ;
|
---|
| 709 | Double_t GenSumPT2;
|
---|
| 710 |
|
---|
[63178fb] | 711 | // N-subjettiness variables
|
---|
[e4c3fef] | 712 |
|
---|
| 713 | Float_t Tau[5];
|
---|
[edf10ba] | 714 |
|
---|
[de6d698] | 715 | // Other Substructure variables
|
---|
[edf10ba] | 716 |
|
---|
[ba75867] | 717 | TLorentzVector SoftDroppedJet;
|
---|
| 718 | TLorentzVector SoftDroppedSubJet1;
|
---|
| 719 | TLorentzVector SoftDroppedSubJet2;
|
---|
| 720 |
|
---|
[edf10ba] | 721 | TLorentzVector TrimmedP4[5]; // first entry (i = 0) is the total Trimmed Jet 4-momenta and from i = 1 to 4 are the trimmed subjets 4-momenta
|
---|
| 722 | TLorentzVector PrunedP4[5]; // first entry (i = 0) is the total Pruned Jet 4-momenta and from i = 1 to 4 are the pruned subjets 4-momenta
|
---|
| 723 | TLorentzVector SoftDroppedP4[5]; // first entry (i = 0) is the total SoftDropped Jet 4-momenta and from i = 1 to 4 are the pruned subjets 4-momenta
|
---|
| 724 |
|
---|
| 725 | Int_t NSubJetsTrimmed; // number of subjets trimmed
|
---|
| 726 | Int_t NSubJetsPruned; // number of subjets pruned
|
---|
| 727 | Int_t NSubJetsSoftDropped; // number of subjets soft-dropped
|
---|
[de6d698] | 728 |
|
---|
[e9c0d73] | 729 | // Exclusive clustering variables
|
---|
| 730 | Double_t ExclYmerge23;
|
---|
| 731 | Double_t ExclYmerge34;
|
---|
| 732 | Double_t ExclYmerge45;
|
---|
| 733 | Double_t ExclYmerge56;
|
---|
[341014c] | 734 |
|
---|
[d7d2da3] | 735 | static CompBase *fgCompare; //!
|
---|
| 736 | const CompBase *GetCompare() const { return fgCompare; }
|
---|
| 737 |
|
---|
| 738 | void AddCandidate(Candidate *object);
|
---|
| 739 | TObjArray *GetCandidates();
|
---|
| 740 |
|
---|
| 741 | Bool_t Overlaps(const Candidate *object) const;
|
---|
| 742 |
|
---|
| 743 | virtual void Copy(TObject &object) const;
|
---|
| 744 | virtual TObject *Clone(const char *newname = "") const;
|
---|
[341014c] | 745 | virtual void Clear(Option_t *option = "");
|
---|
[d7d2da3] | 746 |
|
---|
| 747 | private:
|
---|
| 748 | DelphesFactory *fFactory; //!
|
---|
| 749 | TObjArray *fArray; //!
|
---|
[3b465ca] | 750 |
|
---|
[d7d2da3] | 751 | void SetFactory(DelphesFactory *factory) { fFactory = factory; }
|
---|
| 752 |
|
---|
[769f65b] | 753 | ClassDef(Candidate, 6)
|
---|
[d7d2da3] | 754 | };
|
---|
| 755 |
|
---|
| 756 | #endif // DelphesClasses_h
|
---|