Fork me on GitHub

Ignore:
Timestamp:
Jan 17, 2014, 2:29:22 PM (11 years ago)
Author:
mselvaggi <mselvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
1150871
Parents:
24d005f
Message:

JetId v2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/TrackPileUpSubtractor.cc

    r24d005f r54b6dfc  
    110110  while((candidate = static_cast<Candidate*>(fItVertexInputArray->Next())))
    111111  {
    112     if(candidate->IsPU == 0)
     112    if(!candidate->IsPU)
    113113    {
    114114    zvtx = candidate->Position.Z();
    115     break;
     115    // break;
    116116    }
    117117  }
    118 
    119118
    120119  // loop over all input arrays
     
    130129      particle = static_cast<Candidate*>(candidate->GetCandidates()->At(0));
    131130      z = particle->Position.Z();
    132 
     131     
    133132      // apply pile-up subtraction
    134133      // assume perfect pile-up subtraction for tracks outside fZVertexResolution
     134     
    135135      if(candidate->IsPU && TMath::Abs(z-zvtx) > fZVertexResolution) continue;
    136136
Note: See TracChangeset for help on using the changeset viewer.