[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 |
|
---|
| 51 | Float_t ReadTime;
|
---|
[3b465ca] | 52 | Float_t ProcTime;
|
---|
[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 |
|
---|
| 86 | class HepMCEvent: public Event
|
---|
| 87 | {
|
---|
| 88 | public:
|
---|
| 89 |
|
---|
| 90 | Int_t ProcessID; // unique signal process id | signal_process_id()
|
---|
[3b465ca] | 91 | Int_t MPI; // number of multi parton interactions | mpi ()
|
---|
[d7d2da3] | 92 |
|
---|
[59abd43] | 93 | Float_t Weight; // weight for the event
|
---|
| 94 |
|
---|
[d7d2da3] | 95 | Float_t Scale; // energy scale, see hep-ph/0109068 | event_scale()
|
---|
| 96 | Float_t AlphaQED; // QED coupling, see hep-ph/0109068 | alphaQED()
|
---|
| 97 | Float_t AlphaQCD; // QCD coupling, see hep-ph/0109068 | alphaQCD()
|
---|
| 98 |
|
---|
| 99 | Int_t ID1; // flavour code of first parton | pdf_info()->id1()
|
---|
[3b465ca] | 100 | Int_t ID2; // flavour code of second parton | pdf_info()->id2()
|
---|
[d7d2da3] | 101 |
|
---|
| 102 | Float_t X1; // fraction of beam momentum carried by first parton ("beam side") | pdf_info()->x1()
|
---|
| 103 | Float_t X2; // fraction of beam momentum carried by second parton ("target side") | pdf_info()->x2()
|
---|
| 104 |
|
---|
| 105 | Float_t ScalePDF; // Q-scale used in evaluation of PDF's (in GeV) | pdf_info()->scalePDF()
|
---|
| 106 |
|
---|
| 107 | Float_t PDF1; // PDF (id1, x1, Q) | pdf_info()->pdf1()
|
---|
| 108 | Float_t PDF2; // PDF (id2, x2, Q) | pdf_info()->pdf2()
|
---|
| 109 |
|
---|
| 110 | ClassDef(HepMCEvent, 2)
|
---|
| 111 | };
|
---|
| 112 |
|
---|
| 113 | //---------------------------------------------------------------------------
|
---|
| 114 |
|
---|
| 115 | class GenParticle: public SortableObject
|
---|
| 116 | {
|
---|
| 117 | public:
|
---|
| 118 | Int_t PID; // particle HEP ID number | hepevt.idhep[number]
|
---|
| 119 |
|
---|
| 120 | Int_t Status; // particle status | hepevt.isthep[number]
|
---|
| 121 | Int_t IsPU; // 0 or 1 for particles from pile-up interactions
|
---|
[3b465ca] | 122 |
|
---|
[d7d2da3] | 123 | Int_t M1; // particle 1st mother | hepevt.jmohep[number][0] - 1
|
---|
| 124 | Int_t M2; // particle 2nd mother | hepevt.jmohep[number][1] - 1
|
---|
| 125 |
|
---|
| 126 | Int_t D1; // particle 1st daughter | hepevt.jdahep[number][0] - 1
|
---|
| 127 | Int_t D2; // particle last daughter | hepevt.jdahep[number][1] - 1
|
---|
| 128 |
|
---|
| 129 | Int_t Charge; // particle charge
|
---|
| 130 |
|
---|
| 131 | Float_t Mass; // particle mass
|
---|
| 132 |
|
---|
| 133 | Float_t E; // particle energy | hepevt.phep[number][3]
|
---|
| 134 | Float_t Px; // particle momentum vector (x component) | hepevt.phep[number][0]
|
---|
| 135 | Float_t Py; // particle momentum vector (y component) | hepevt.phep[number][1]
|
---|
| 136 | Float_t Pz; // particle momentum vector (z component) | hepevt.phep[number][2]
|
---|
| 137 |
|
---|
| 138 | Float_t PT; // particle transverse momentum
|
---|
| 139 | Float_t Eta; // particle pseudorapidity
|
---|
| 140 | Float_t Phi; // particle azimuthal angle
|
---|
| 141 |
|
---|
| 142 | Float_t Rapidity; // particle rapidity
|
---|
| 143 |
|
---|
| 144 | Float_t T; // particle vertex position (t component) | hepevt.vhep[number][3]
|
---|
| 145 | Float_t X; // particle vertex position (x component) | hepevt.vhep[number][0]
|
---|
| 146 | Float_t Y; // particle vertex position (y component) | hepevt.vhep[number][1]
|
---|
| 147 | Float_t Z; // particle vertex position (z component) | hepevt.vhep[number][2]
|
---|
| 148 |
|
---|
| 149 | static CompBase *fgCompare; //!
|
---|
| 150 | const CompBase *GetCompare() const { return fgCompare; }
|
---|
[3b465ca] | 151 |
|
---|
[d7d2da3] | 152 | TLorentzVector P4();
|
---|
| 153 |
|
---|
| 154 | ClassDef(GenParticle, 1)
|
---|
| 155 | };
|
---|
| 156 |
|
---|
| 157 | //---------------------------------------------------------------------------
|
---|
| 158 |
|
---|
[d07e957] | 159 | class Vertex: public TObject
|
---|
| 160 | {
|
---|
| 161 | public:
|
---|
| 162 | Float_t T; // vertex position (t component)
|
---|
| 163 | Float_t X; // vertex position (x component)
|
---|
| 164 | Float_t Y; // vertex position (y component)
|
---|
| 165 | Float_t Z; // vertex position (z component)
|
---|
| 166 |
|
---|
| 167 | ClassDef(Vertex, 1)
|
---|
| 168 | };
|
---|
| 169 |
|
---|
| 170 | //---------------------------------------------------------------------------
|
---|
| 171 |
|
---|
[d7d2da3] | 172 | class MissingET: public TObject
|
---|
| 173 | {
|
---|
| 174 | public:
|
---|
| 175 | Float_t MET; // mising transverse energy
|
---|
[4ad7b96] | 176 | Float_t Eta; // mising energy pseudorapidity
|
---|
[d7d2da3] | 177 | Float_t Phi; // mising energy azimuthal angle
|
---|
| 178 |
|
---|
[4ad7b96] | 179 | TLorentzVector P4();
|
---|
| 180 |
|
---|
[d7d2da3] | 181 | ClassDef(MissingET, 1)
|
---|
| 182 | };
|
---|
| 183 |
|
---|
| 184 | //---------------------------------------------------------------------------
|
---|
| 185 |
|
---|
| 186 | class ScalarHT: public TObject
|
---|
| 187 | {
|
---|
| 188 | public:
|
---|
| 189 | Float_t HT; // scalar sum of transverse momenta
|
---|
| 190 |
|
---|
| 191 | ClassDef(ScalarHT, 1)
|
---|
| 192 | };
|
---|
| 193 |
|
---|
| 194 | //---------------------------------------------------------------------------
|
---|
| 195 |
|
---|
[71648c2] | 196 | class Rho: public TObject
|
---|
| 197 | {
|
---|
| 198 | public:
|
---|
| 199 | Float_t Rho; // rho energy density
|
---|
[3b465ca] | 200 | Float_t Edges[2]; // pseudorapidity range edges
|
---|
[71648c2] | 201 |
|
---|
| 202 | ClassDef(Rho, 1)
|
---|
| 203 | };
|
---|
| 204 |
|
---|
| 205 | //---------------------------------------------------------------------------
|
---|
| 206 |
|
---|
[2e229c9] | 207 | class Weight: public TObject
|
---|
| 208 | {
|
---|
| 209 | public:
|
---|
| 210 | Float_t Weight; // weight for the event
|
---|
| 211 |
|
---|
| 212 | ClassDef(Weight, 1)
|
---|
| 213 | };
|
---|
| 214 |
|
---|
| 215 | //---------------------------------------------------------------------------
|
---|
| 216 |
|
---|
[d7d2da3] | 217 | class Photon: public SortableObject
|
---|
| 218 | {
|
---|
| 219 | public:
|
---|
| 220 |
|
---|
| 221 | Float_t PT; // photon transverse momentum
|
---|
| 222 | Float_t Eta; // photon pseudorapidity
|
---|
| 223 | Float_t Phi; // photon azimuthal angle
|
---|
| 224 |
|
---|
| 225 | Float_t E; // photon energy
|
---|
[da00c35] | 226 |
|
---|
| 227 | Float_t T; //particle arrival time of flight
|
---|
| 228 |
|
---|
[d7d2da3] | 229 | Float_t EhadOverEem; // ratio of the hadronic versus electromagnetic energy deposited in the calorimeter
|
---|
| 230 |
|
---|
| 231 | TRefArray Particles; // references to generated particles
|
---|
| 232 |
|
---|
[b62c2da] | 233 | // Isolation variables
|
---|
| 234 |
|
---|
| 235 | Float_t IsolationVar;
|
---|
| 236 | Float_t IsolationVarRhoCorr;
|
---|
| 237 | Float_t SumPtCharged;
|
---|
| 238 | Float_t SumPtNeutral;
|
---|
| 239 | Float_t SumPtChargedPU;
|
---|
| 240 | Float_t SumPt;
|
---|
| 241 |
|
---|
[d7d2da3] | 242 | static CompBase *fgCompare; //!
|
---|
| 243 | const CompBase *GetCompare() const { return fgCompare; }
|
---|
| 244 |
|
---|
| 245 | TLorentzVector P4();
|
---|
| 246 |
|
---|
| 247 | ClassDef(Photon, 2)
|
---|
| 248 | };
|
---|
| 249 |
|
---|
| 250 | //---------------------------------------------------------------------------
|
---|
| 251 |
|
---|
| 252 | class Electron: public SortableObject
|
---|
| 253 | {
|
---|
| 254 | public:
|
---|
| 255 |
|
---|
| 256 | Float_t PT; // electron transverse momentum
|
---|
| 257 | Float_t Eta; // electron pseudorapidity
|
---|
| 258 | Float_t Phi; // electron azimuthal angle
|
---|
[da00c35] | 259 |
|
---|
| 260 | Float_t T; //particle arrival time of flight
|
---|
| 261 |
|
---|
[d7d2da3] | 262 | Int_t Charge; // electron charge
|
---|
| 263 |
|
---|
| 264 | Float_t EhadOverEem; // ratio of the hadronic versus electromagnetic energy deposited in the calorimeter
|
---|
| 265 |
|
---|
| 266 | TRef Particle; // reference to generated particle
|
---|
| 267 |
|
---|
[b62c2da] | 268 | // Isolation variables
|
---|
| 269 |
|
---|
| 270 | Float_t IsolationVar;
|
---|
| 271 | Float_t IsolationVarRhoCorr;
|
---|
| 272 | Float_t SumPtCharged;
|
---|
| 273 | Float_t SumPtNeutral;
|
---|
| 274 | Float_t SumPtChargedPU;
|
---|
| 275 | Float_t SumPt;
|
---|
| 276 |
|
---|
[d7d2da3] | 277 | static CompBase *fgCompare; //!
|
---|
| 278 | const CompBase *GetCompare() const { return fgCompare; }
|
---|
| 279 |
|
---|
| 280 | TLorentzVector P4();
|
---|
| 281 |
|
---|
| 282 | ClassDef(Electron, 2)
|
---|
| 283 | };
|
---|
| 284 |
|
---|
| 285 | //---------------------------------------------------------------------------
|
---|
| 286 |
|
---|
| 287 | class Muon: public SortableObject
|
---|
| 288 | {
|
---|
| 289 | public:
|
---|
| 290 |
|
---|
| 291 | Float_t PT; // muon transverse momentum
|
---|
| 292 | Float_t Eta; // muon pseudorapidity
|
---|
| 293 | Float_t Phi; // muon azimuthal angle
|
---|
| 294 |
|
---|
[da00c35] | 295 | Float_t T; //particle arrival time of flight
|
---|
| 296 |
|
---|
[d7d2da3] | 297 | Int_t Charge; // muon charge
|
---|
| 298 |
|
---|
| 299 | TRef Particle; // reference to generated particle
|
---|
| 300 |
|
---|
[b62c2da] | 301 | // Isolation variables
|
---|
| 302 |
|
---|
| 303 | Float_t IsolationVar;
|
---|
| 304 | Float_t IsolationVarRhoCorr;
|
---|
| 305 | Float_t SumPtCharged;
|
---|
| 306 | Float_t SumPtNeutral;
|
---|
| 307 | Float_t SumPtChargedPU;
|
---|
| 308 | Float_t SumPt;
|
---|
| 309 |
|
---|
[d7d2da3] | 310 | static CompBase *fgCompare; //!
|
---|
| 311 | const CompBase *GetCompare() const { return fgCompare; }
|
---|
| 312 |
|
---|
| 313 | TLorentzVector P4();
|
---|
| 314 |
|
---|
| 315 | ClassDef(Muon, 2)
|
---|
| 316 | };
|
---|
| 317 |
|
---|
| 318 | //---------------------------------------------------------------------------
|
---|
| 319 |
|
---|
| 320 | class Jet: public SortableObject
|
---|
| 321 | {
|
---|
| 322 | public:
|
---|
| 323 |
|
---|
| 324 | Float_t PT; // jet transverse momentum
|
---|
| 325 | Float_t Eta; // jet pseudorapidity
|
---|
| 326 | Float_t Phi; // jet azimuthal angle
|
---|
| 327 |
|
---|
[da00c35] | 328 | Float_t T; //particle arrival time of flight
|
---|
| 329 |
|
---|
[d7d2da3] | 330 | Float_t Mass; // jet invariant mass
|
---|
| 331 |
|
---|
| 332 | Float_t DeltaEta; // jet radius in pseudorapidity
|
---|
| 333 | Float_t DeltaPhi; // jet radius in azimuthal angle
|
---|
| 334 |
|
---|
[264bf40] | 335 | UInt_t BTag; // 0 or 1 for a jet that has been tagged as containing a heavy quark
|
---|
| 336 | UInt_t TauTag; // 0 or 1 for a jet that has been tagged as a tau
|
---|
[d7d2da3] | 337 |
|
---|
| 338 | Int_t Charge; // tau charge
|
---|
| 339 |
|
---|
| 340 | Float_t EhadOverEem; // ratio of the hadronic versus electromagnetic energy deposited in the calorimeter
|
---|
| 341 |
|
---|
[63178fb] | 342 | Int_t NCharged; // number of charged constituents
|
---|
| 343 | Int_t NNeutrals; // number of neutral constituents
|
---|
| 344 | Float_t Beta; // (sum pt of charged pile-up constituents)/(sum pt of charged constituents)
|
---|
| 345 | Float_t BetaStar; // (sum pt of charged constituents coming from hard interaction)/(sum pt of charged constituents)
|
---|
| 346 | Float_t MeanSqDeltaR; // average distance (squared) between constituent and jet weighted by pt (squared) of constituent
|
---|
| 347 | Float_t PTD; // average pt between constituent and jet weighted by pt of constituent
|
---|
| 348 | Float_t FracPt[5]; // (sum pt of constituents within a ring 0.1*i < DeltaR < 0.1*(i+1))/(sum pt of constituents)
|
---|
| 349 |
|
---|
[666d795] | 350 | Float_t Tau[5]; // N-subjettiness
|
---|
[de6d698] | 351 |
|
---|
| 352 | 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
|
---|
| 353 | 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
|
---|
| 354 | 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
|
---|
| 355 |
|
---|
| 356 | Int_t NSubJetsTrimmed; // number of subjets trimmed
|
---|
| 357 | Int_t NSubJetsPruned; // number of subjets pruned
|
---|
| 358 | Int_t NSubJetsSoftDropped; // number of subjets soft-dropped
|
---|
| 359 |
|
---|
[e4c3fef] | 360 | TRefArray Constituents; // references to constituents
|
---|
| 361 | TRefArray Particles; // references to generated particles
|
---|
| 362 |
|
---|
| 363 | static CompBase *fgCompare; //!
|
---|
| 364 | const CompBase *GetCompare() const { return fgCompare; }
|
---|
| 365 |
|
---|
| 366 | TLorentzVector P4();
|
---|
[ba1f1ee] | 367 | TLorentzVector Area;
|
---|
[24d005f] | 368 |
|
---|
[666d795] | 369 | ClassDef(Jet, 3)
|
---|
[d7d2da3] | 370 | };
|
---|
| 371 |
|
---|
| 372 | //---------------------------------------------------------------------------
|
---|
| 373 |
|
---|
[3b465ca] | 374 | class Track: public SortableObject
|
---|
[d7d2da3] | 375 | {
|
---|
[3b465ca] | 376 | public:
|
---|
[d7d2da3] | 377 | Int_t PID; // HEP ID number
|
---|
| 378 |
|
---|
| 379 | Int_t Charge; // track charge
|
---|
| 380 |
|
---|
| 381 | Float_t PT; // track transverse momentum
|
---|
| 382 |
|
---|
| 383 | Float_t Eta; // track pseudorapidity
|
---|
| 384 | Float_t Phi; // track azimuthal angle
|
---|
| 385 |
|
---|
| 386 | Float_t EtaOuter; // track pseudorapidity at the tracker edge
|
---|
| 387 | Float_t PhiOuter; // track azimuthal angle at the tracker edge
|
---|
| 388 |
|
---|
| 389 | Float_t X; // track vertex position (x component)
|
---|
| 390 | Float_t Y; // track vertex position (y component)
|
---|
| 391 | Float_t Z; // track vertex position (z component)
|
---|
[22dc7fd] | 392 | Float_t T; // track vertex position (z component)
|
---|
[d7d2da3] | 393 |
|
---|
| 394 | Float_t XOuter; // track position (x component) at the tracker edge
|
---|
| 395 | Float_t YOuter; // track position (y component) at the tracker edge
|
---|
| 396 | Float_t ZOuter; // track position (z component) at the tracker edge
|
---|
[22dc7fd] | 397 | Float_t TOuter; // track position (z component) at the tracker edge
|
---|
[e4c3fef] | 398 |
|
---|
[a0431dc] | 399 | Float_t Dxy; // track signed transverse impact parameter
|
---|
| 400 | Float_t SDxy; // signed error on the track signed transverse impact parameter
|
---|
| 401 | Float_t Xd; // X coordinate of point of closest approach to vertex
|
---|
| 402 | Float_t Yd; // Y coordinate of point of closest approach to vertex
|
---|
| 403 | Float_t Zd; // Z coordinate of point of closest approach to vertex
|
---|
[d7d2da3] | 404 |
|
---|
| 405 | TRef Particle; // reference to generated particle
|
---|
| 406 |
|
---|
| 407 | static CompBase *fgCompare; //!
|
---|
| 408 | const CompBase *GetCompare() const { return fgCompare; }
|
---|
| 409 |
|
---|
| 410 | TLorentzVector P4();
|
---|
| 411 |
|
---|
[e4c3fef] | 412 | ClassDef(Track, 2)
|
---|
[d7d2da3] | 413 | };
|
---|
| 414 |
|
---|
| 415 | //---------------------------------------------------------------------------
|
---|
| 416 |
|
---|
[3b465ca] | 417 | class Tower: public SortableObject
|
---|
[d7d2da3] | 418 | {
|
---|
| 419 | public:
|
---|
| 420 | Float_t ET; // calorimeter tower transverse energy
|
---|
| 421 | Float_t Eta; // calorimeter tower pseudorapidity
|
---|
| 422 | Float_t Phi; // calorimeter tower azimuthal angle
|
---|
| 423 |
|
---|
| 424 | Float_t E; // calorimeter tower energy
|
---|
| 425 |
|
---|
[3db5282] | 426 | Float_t T; // ecal deposit time, averaged by sqrt(EM energy) over all particles, not smeared
|
---|
| 427 | Int_t Ntimes; // number of hits contributing to time measurement
|
---|
| 428 |
|
---|
[d7d2da3] | 429 | Float_t Eem; // calorimeter tower electromagnetic energy
|
---|
| 430 | Float_t Ehad; // calorimeter tower hadronic energy
|
---|
| 431 |
|
---|
| 432 | Float_t Edges[4]; // calorimeter tower edges
|
---|
| 433 |
|
---|
| 434 | TRefArray Particles; // references to generated particles
|
---|
| 435 |
|
---|
| 436 | static CompBase *fgCompare; //!
|
---|
| 437 | const CompBase *GetCompare() const { return fgCompare; }
|
---|
| 438 |
|
---|
| 439 | TLorentzVector P4();
|
---|
| 440 |
|
---|
| 441 | ClassDef(Tower, 1)
|
---|
| 442 | };
|
---|
| 443 |
|
---|
| 444 | //---------------------------------------------------------------------------
|
---|
| 445 |
|
---|
[8f7db23] | 446 | class HectorHit: public SortableObject
|
---|
| 447 | {
|
---|
| 448 | public:
|
---|
| 449 | Float_t E; // reconstructed energy [GeV]
|
---|
| 450 |
|
---|
| 451 | Float_t Tx; // angle of the momentum in the horizontal (x,z) plane [urad]
|
---|
| 452 | Float_t Ty; // angle of the momentum in the verical (y,z) plane [urad]
|
---|
| 453 |
|
---|
| 454 | Float_t T; // time of flight to the detector [s]
|
---|
| 455 |
|
---|
| 456 | Float_t X; // horizontal distance to the beam [um]
|
---|
| 457 | Float_t Y; // vertical distance to the beam [um]
|
---|
| 458 | Float_t S; // distance to the interaction point [m]
|
---|
| 459 |
|
---|
[64a4950] | 460 | TRef Particle; // reference to generated particle
|
---|
| 461 |
|
---|
[8f7db23] | 462 | static CompBase *fgCompare; //!
|
---|
| 463 | const CompBase *GetCompare() const { return fgCompare; }
|
---|
| 464 |
|
---|
| 465 | ClassDef(HectorHit, 1)
|
---|
| 466 | };
|
---|
| 467 |
|
---|
| 468 | //---------------------------------------------------------------------------
|
---|
| 469 |
|
---|
[3b465ca] | 470 | class Candidate: public SortableObject
|
---|
[d7d2da3] | 471 | {
|
---|
| 472 | friend class DelphesFactory;
|
---|
| 473 |
|
---|
| 474 | public:
|
---|
| 475 | Candidate();
|
---|
| 476 |
|
---|
| 477 | Int_t PID;
|
---|
| 478 |
|
---|
| 479 | Int_t Status;
|
---|
| 480 | Int_t M1, M2, D1, D2;
|
---|
| 481 |
|
---|
| 482 | Int_t Charge;
|
---|
| 483 |
|
---|
| 484 | Float_t Mass;
|
---|
[3b465ca] | 485 |
|
---|
[d7d2da3] | 486 | Int_t IsPU;
|
---|
[b62c2da] | 487 | Int_t IsRecoPU;
|
---|
| 488 |
|
---|
[d7d2da3] | 489 | Int_t IsConstituent;
|
---|
[3b465ca] | 490 |
|
---|
[264bf40] | 491 | UInt_t BTag;
|
---|
| 492 | UInt_t TauTag;
|
---|
[d7d2da3] | 493 |
|
---|
| 494 | Float_t Eem;
|
---|
| 495 | Float_t Ehad;
|
---|
| 496 |
|
---|
| 497 | Float_t Edges[4];
|
---|
| 498 | Float_t DeltaEta;
|
---|
| 499 | Float_t DeltaPhi;
|
---|
| 500 |
|
---|
| 501 | TLorentzVector Momentum, Position, Area;
|
---|
[e4c3fef] | 502 |
|
---|
| 503 | Float_t Dxy;
|
---|
| 504 | Float_t SDxy;
|
---|
| 505 | Float_t Xd;
|
---|
| 506 | Float_t Yd;
|
---|
| 507 | Float_t Zd;
|
---|
[d7d2da3] | 508 |
|
---|
[da00c35] | 509 | // PileUpJetID variables
|
---|
| 510 |
|
---|
| 511 | Int_t NCharged;
|
---|
| 512 | Int_t NNeutrals;
|
---|
| 513 | Float_t Beta;
|
---|
| 514 | Float_t BetaStar;
|
---|
| 515 | Float_t MeanSqDeltaR;
|
---|
| 516 | Float_t PTD;
|
---|
| 517 | Float_t FracPt[5];
|
---|
[3db5282] | 518 |
|
---|
| 519 | //Timing information
|
---|
| 520 |
|
---|
| 521 | Int_t Ntimes;
|
---|
| 522 | std::vector<std::pair<Float_t,Float_t> > Ecal_E_t;
|
---|
[e4c3fef] | 523 |
|
---|
[b62c2da] | 524 | // Isolation variables
|
---|
| 525 |
|
---|
| 526 | Float_t IsolationVar;
|
---|
| 527 | Float_t IsolationVarRhoCorr;
|
---|
| 528 | Float_t SumPtCharged;
|
---|
| 529 | Float_t SumPtNeutral;
|
---|
| 530 | Float_t SumPtChargedPU;
|
---|
| 531 | Float_t SumPt;
|
---|
| 532 |
|
---|
[63178fb] | 533 | // N-subjettiness variables
|
---|
[e4c3fef] | 534 |
|
---|
| 535 | Float_t Tau[5];
|
---|
[3db5282] | 536 |
|
---|
[de6d698] | 537 | // Other Substructure variables
|
---|
[3db5282] | 538 |
|
---|
[de6d698] | 539 | 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
|
---|
| 540 | 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
|
---|
| 541 | 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
|
---|
| 542 |
|
---|
| 543 | Int_t NSubJetsTrimmed; // number of subjets trimmed
|
---|
| 544 | Int_t NSubJetsPruned; // number of subjets pruned
|
---|
| 545 | Int_t NSubJetsSoftDropped; // number of subjets soft-dropped
|
---|
| 546 |
|
---|
[e4c3fef] | 547 |
|
---|
[d7d2da3] | 548 | static CompBase *fgCompare; //!
|
---|
| 549 | const CompBase *GetCompare() const { return fgCompare; }
|
---|
| 550 |
|
---|
| 551 | void AddCandidate(Candidate *object);
|
---|
| 552 | TObjArray *GetCandidates();
|
---|
| 553 |
|
---|
| 554 | Bool_t Overlaps(const Candidate *object) const;
|
---|
| 555 |
|
---|
| 556 | virtual void Copy(TObject &object) const;
|
---|
| 557 | virtual TObject *Clone(const char *newname = "") const;
|
---|
[3b465ca] | 558 | virtual void Clear(Option_t* option = "");
|
---|
[d7d2da3] | 559 |
|
---|
| 560 | private:
|
---|
| 561 | DelphesFactory *fFactory; //!
|
---|
| 562 | TObjArray *fArray; //!
|
---|
[3b465ca] | 563 |
|
---|
[d7d2da3] | 564 | void SetFactory(DelphesFactory *factory) { fFactory = factory; }
|
---|
| 565 |
|
---|
[de6d698] | 566 | ClassDef(Candidate, 3)
|
---|
[d7d2da3] | 567 | };
|
---|
| 568 |
|
---|
| 569 | #endif // DelphesClasses_h
|
---|
| 570 |
|
---|
| 571 |
|
---|