Fork me on GitHub

Changeset b62c2da in git for modules


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:
modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • modules/Isolation.cc

    r7f9ae0a rb62c2da  
    234234    ratioRhoCorr = sumRhoCorr/candidateMomentum.Pt();
    235235   
    236     candidate->IsolationVarDBeta = ratioDBeta;
     236    candidate->IsolationVar = ratioDBeta;
    237237    candidate->IsolationVarRhoCorr = ratioRhoCorr;
    238     candidate->chargedEnergy = sumChargedHadron;
    239     candidate->neutralEnergy = sumNeutral;
    240     candidate->chargedPUEnergy = sumChargedPU;
    241     candidate->allParticleEnergy = sumAllParticles;
     238    candidate->SumPtCharged = sumCharged;
     239    candidate->SumPtNeutral = sumNeutral;
     240    candidate->SumPtChargedPU = sumChargedPU;
     241    candidate->SumPt = sumAllParticles;
    242242
    243243    if((fUsePTSum && sumDBeta > fPTSumMax) || ratioDBeta > fPTRatioMax) continue;
  • modules/TrackPileUpSubtractor.cc

    r7f9ae0a rb62c2da  
    148148      // assume perfect pile-up subtraction for tracks outside fZVertexResolution
    149149     
    150       if(candidate->IsPU && TMath::Abs(z-PVZ) > fZVertexResolution) candidate->IsRecoPU = 1;
     150      if(candidate->IsPU && TMath::Abs(z-zvtx) > fZVertexResolution) candidate->IsRecoPU = 1;
    151151      else
    152152      {
Note: See TracChangeset for help on using the changeset viewer.