Fork me on GitHub

Changeset 781edf86 in git


Ignore:
Timestamp:
Apr 1, 2017, 3:47:06 PM (8 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
24d49b4, 9330b7b
Parents:
81bedba
Message:

fix charged Pu subtraction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/TrackPileUpSubtractor.cc

    r81bedba r781edf86  
    161161      // assume perfect pile-up subtraction for tracks outside fZVertexResolution
    162162
    163       if(candidate->Charge !=0 && TMath::Abs(z-zvtx) > fFormula->Eval(pt, eta, phi, e)* 1.0e3)
     163      if(candidate->Charge !=0 && candidate->IsPU && TMath::Abs(z-zvtx) > fFormula->Eval(pt, eta, phi, e)* 1.0e3)
    164164      {
    165165        candidate->IsRecoPU = 1;
Note: See TracChangeset for help on using the changeset viewer.