Changeset 1ad8eca in git for modules/TimeSmearing.cc
- Timestamp:
- Aug 24, 2021, 11:53:15 AM (3 years ago)
- Branches:
- master
- Children:
- 61dccd3
- Parents:
- 5c257a5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/TimeSmearing.cc
r5c257a5 r1ad8eca 52 52 53 53 TimeSmearing::TimeSmearing() : 54 fIt TrackInputArray(0), fResolutionFormula(0)54 fItInputArray(0), fResolutionFormula(0) 55 55 { 56 56 fResolutionFormula = new DelphesFormula; … … 74 74 75 75 // import track input array 76 f TrackInputArray = ImportArray(GetString("TrackInputArray", "MuonMomentumSmearing/muons"));77 fIt TrackInputArray = fTrackInputArray->MakeIterator();76 fInputArray = ImportArray(GetString("InputArray", "MuonMomentumSmearing/muons")); 77 fItInputArray = fInputArray->MakeIterator(); 78 78 79 79 … … 86 86 void TimeSmearing::Finish() 87 87 { 88 if(fIt TrackInputArray) delete fItTrackInputArray;88 if(fItInputArray) delete fItInputArray; 89 89 } 90 90 … … 100 100 const Double_t c_light = 2.99792458E8; 101 101 102 fIt TrackInputArray->Reset();103 while((candidate = static_cast<Candidate *>(fIt TrackInputArray->Next())))102 fItInputArray->Reset(); 103 while((candidate = static_cast<Candidate *>(fItInputArray->Next()))) 104 104 { 105 105
Note:
See TracChangeset
for help on using the changeset viewer.