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