Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • classes/DelphesClasses.cc

    r341014c r84a097e  
    3939CompBase *Track::fgCompare = CompPT<Track>::Instance();
    4040CompBase *Tower::fgCompare = CompE<Tower>::Instance();
     41CompBase *ParticleFlowCandidate::fgCompare = CompE<ParticleFlowCandidate>::Instance();
    4142CompBase *HectorHit::fgCompare = CompE<HectorHit>::Instance();
    4243CompBase *Vertex::fgCompare = CompSumPT2<Vertex>::Instance();
     
    112113  TLorentzVector vec;
    113114  vec.SetPtEtaPhiM(ET, Eta, Phi, 0.0);
     115  return vec;
     116}
     117
     118//------------------------------------------------------------------------------
     119
     120TLorentzVector ParticleFlowCandidate::P4() const
     121{
     122  TLorentzVector vec;
     123  vec.SetPtEtaPhiM(PT, Eta, Phi, 0.0);
    114124  return vec;
    115125}
     
    121131  Charge(0), Mass(0.0),
    122132  IsPU(0), IsRecoPU(0), IsConstituent(0), IsFromConversion(0),
    123   ClusterIndex(-1), ClusterNDF(0), ClusterSigma(0), SumPT2(0), BTVSumPT2(0), GenDeltaZ(0), GenSumPT2(0),
    124133  Flavor(0), FlavorAlgo(0), FlavorPhys(0),
    125134  BTag(0), BTagAlgo(0), BTagPhys(0),
     
    128137  Momentum(0.0, 0.0, 0.0, 0.0),
    129138  Position(0.0, 0.0, 0.0, 0.0),
     139  InitialPosition(0.0, 0.0, 0.0, 0.0),
    130140  PositionError(0.0, 0.0, 0.0, 0.0),
    131   InitialPosition(0.0, 0.0, 0.0, 0.0),
    132141  Area(0.0, 0.0, 0.0, 0.0),
    133142  L(0),
     
    138147  CtgTheta(0), ErrorCtgTheta(0),
    139148  Phi(0), ErrorPhi(0),
    140   Xd(0), Yd(0), Zd(0),
     149  Xd(0), Yd(0), Zd(0), Td(0),
     150  VertexingWeight(0),
    141151  TrackResolution(0),
    142152  NCharged(0),
    143153  NNeutrals(0),
     154  NeutralEnergyFraction(0),  // charged energy fraction
     155  ChargedEnergyFraction(0),  // neutral energy fraction
    144156  Beta(0),
    145157  BetaStar(0),
     
    153165  SumPtChargedPU(-999),
    154166  SumPt(-999),
     167  ClusterIndex(-1), ClusterNDF(0), ClusterSigma(0), SumPT2(0), BTVSumPT2(0), GenDeltaZ(0), GenSumPT2(0),
    155168  NSubJetsTrimmed(0),
    156169  NSubJetsPruned(0),
     
    306319  object.Phi = Phi;
    307320  object.ErrorPhi = ErrorPhi;
     321  object.Td = Td;
    308322  object.Xd = Xd;
    309323  object.Yd = Yd;
    310324  object.Zd = Zd;
     325  object.VertexingWeight = Zd;
    311326  object.TrackResolution = TrackResolution;
    312327  object.NCharged = NCharged;
    313328  object.NNeutrals = NNeutrals;
     329  object.NeutralEnergyFraction = NeutralEnergyFraction;
     330  object.ChargedEnergyFraction = ChargedEnergyFraction;
    314331  object.Beta = Beta;
    315332  object.BetaStar = BetaStar;
     
    433450  Phi = 0.0;
    434451  ErrorPhi = 0.0;
     452  Td = 0.0;
    435453  Xd = 0.0;
    436454  Yd = 0.0;
    437455  Zd = 0.0;
     456  VertexingWeight = 0.0;
    438457  TrackResolution = 0.0;
    439458  NCharged = 0;
Note: See TracChangeset for help on using the changeset viewer.