We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9aa0be9 commit a492b43Copy full SHA for a492b43
1 file changed
sbncode/CAFMaker/FillReco.cxx
@@ -193,13 +193,13 @@ namespace caf
193
srflash.timewidth = flash.TimeWidth();
194
195
double firstTime = std::numeric_limits<double>::max();
196
- std::map<int, double> startmap, risemap;
+ std::map<int, double> risemap;
197
for(const auto& hit: hits){
198
double const hitTime = hit->HasStartTime()? hit->StartTime(): hit->PeakTime();
199
if (firstTime > hitTime)
200
firstTime = hitTime;
201
if (!RWMTimes.empty())
202
- sbn::timing::SelectFirstOpHitByTime(hit,startmap,risemap);
+ sbn::timing::SelectFirstOpHitByTime(hit,risemap);
203
}
204
srflash.rwmtime = getFlashBunchTime(risemap, RWMTimes);
205
srflash.firsttime = firstTime;
0 commit comments