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