Changeset 1349 in svn for trunk/modules/TrackPileUpSubtractor.cc
- Timestamp:
- Jan 17, 2014, 2:29:22 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/TrackPileUpSubtractor.cc
r1348 r1349 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.