Fork me on GitHub

Changeset b62c2da in git for classes


Ignore:
Timestamp:
Jan 26, 2015, 2:57:46 PM (10 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
2d494a6
Parents:
7f9ae0a
Message:

added isolation variables to Candidate and Electrons, Muons, Photons classes

Location:
classes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • classes/DelphesClasses.cc

    r7f9ae0a rb62c2da  
    120120  PID(0), Status(0), M1(-1), M2(-1), D1(-1), D2(-1),
    121121  Charge(0), Mass(0.0),
    122   IsPU(0), IsConstituent(0),
     122  IsPU(0), IsRecoPU(0), IsConstituent(0),
    123123  BTag(0), TauTag(0), Eem(0.0), Ehad(0.0),
    124124  DeltaEta(0.0), DeltaPhi(0.0),
     
    133133  MeanSqDeltaR(0),
    134134  PTD(0),
     135  IsolationVar(-999),
     136  IsolationVarRhoCorr(-999),
     137  SumPtCharged(-999),
     138  SumPtNeutral(-999),
     139  SumPtChargedPU(-999),
     140  SumPt(-999),
    135141  fFactory(0),
    136142  fArray(0)
     
    249255  object.MeanSqDeltaR = MeanSqDeltaR;
    250256  object.PTD = PTD;
     257 
     258  object.IsolationVar = IsolationVar;
     259  object.IsolationVarRhoCorr = IsolationVarRhoCorr;
     260  object.SumPtCharged = SumPtCharged;
     261  object.SumPtNeutral = SumPtNeutral;
     262  object.SumPtChargedPU = SumPtChargedPU;
     263  object.SumPt = SumPt;
     264
    251265  object.FracPt[0] = FracPt[0];
    252266  object.FracPt[1] = FracPt[1];
     
    311325  MeanSqDeltaR = 0.0;
    312326  PTD = 0.0;
     327 
     328  IsolationVar = -999;
     329  IsolationVarRhoCorr = -999;
     330  SumPtCharged = -999;
     331  SumPtNeutral = -999;
     332  SumPtChargedPU = -999;
     333  SumPt = -999;
     334 
    313335  FracPt[0] = 0.0;
    314336  FracPt[1] = 0.0;
  • classes/DelphesClasses.h

    r7f9ae0a rb62c2da  
    231231  TRefArray Particles; // references to generated particles
    232232
     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
    233242  static CompBase *fgCompare; //!
    234243  const CompBase *GetCompare() const { return fgCompare; }
     
    257266  TRef Particle; // reference to generated particle
    258267
     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
    259277  static CompBase *fgCompare; //!
    260278  const CompBase *GetCompare() const { return fgCompare; }
     
    280298
    281299  TRef Particle; // reference to generated particle
     300
     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;
    282309
    283310  static CompBase *fgCompare; //!
     
    452479
    453480  Int_t IsPU;
     481  Int_t IsRecoPU;
     482 
    454483  Int_t IsConstituent;
    455484
     
    482511  Float_t  FracPt[5];
    483512
     513  // Isolation variables
     514 
     515  Float_t IsolationVar;
     516  Float_t IsolationVarRhoCorr;
     517  Float_t SumPtCharged;
     518  Float_t SumPtNeutral;
     519  Float_t SumPtChargedPU;
     520  Float_t SumPt;
     521
    484522  // N-subjettiness variables
    485523
Note: See TracChangeset for help on using the changeset viewer.