Changeset 54b6dfc in git for modules/TrackPileUpSubtractor.cc
- Timestamp:
- Jan 17, 2014, 2:29:22 PM (11 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 1150871
- Parents:
- 24d005f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/TrackPileUpSubtractor.cc
r24d005f r54b6dfc 110 110 while((candidate = static_cast<Candidate*>(fItVertexInputArray->Next()))) 111 111 { 112 if( candidate->IsPU == 0)112 if(!candidate->IsPU) 113 113 { 114 114 zvtx = candidate->Position.Z(); 115 break;115 // break; 116 116 } 117 117 } 118 119 118 120 119 // loop over all input arrays … … 130 129 particle = static_cast<Candidate*>(candidate->GetCandidates()->At(0)); 131 130 z = particle->Position.Z(); 132 131 133 132 // apply pile-up subtraction 134 133 // assume perfect pile-up subtraction for tracks outside fZVertexResolution 134 135 135 if(candidate->IsPU && TMath::Abs(z-zvtx) > fZVertexResolution) continue; 136 136
Note:
See TracChangeset
for help on using the changeset viewer.