Changeset 7939c6c in git for modules/TrackTimingPileUpSubtractor.cc
- Timestamp:
- Jan 9, 2020, 1:40:08 AM (5 years ago)
- Branches:
- Timing
- Children:
- 9c52415
- Parents:
- 03b9c0f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/TrackTimingPileUpSubtractor.cc
r03b9c0f r7939c6c 75 75 76 76 // read resolution formula in m 77 f ZVertexResolution = GetDouble("ZVertexResolution", 3);78 f TVertexResolution = GetDouble("TVertexResolution", 3);77 fChargedMinSignificance = GetDouble("ChargedMinSignificance", 3); 78 fNeutralMinSignificance = GetDouble("NeutralMinSignificance", 3); 79 79 80 80 fPTMin = GetDouble("PTMin", 0.); … … 173 173 distanceNeutral = pow((tvtx - t),2)/pow((tvtx_err - t_err),2); 174 174 175 if(candidate->Charge != 0 && distanceCharged < f ZVertexResolution)175 if(candidate->Charge != 0 && distanceCharged < fChargedMinSignificance) 176 176 { 177 177 candidate->IsRecoPU = 1; 178 178 } 179 else if(candidate->Charge == 0 && distanceNeutral < f TVertexResolution)179 else if(candidate->Charge == 0 && distanceNeutral < fNeutralMinSignificance) 180 180 { 181 181 candidate->IsRecoPU = 1;
Note:
See TracChangeset
for help on using the changeset viewer.