Skip to content

Commit a492b43

Browse files
committed
remove startmap from SelectFirstOpHitByTime as it is not needed
1 parent 9aa0be9 commit a492b43

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sbncode/CAFMaker/FillReco.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,13 +193,13 @@ namespace caf
193193
srflash.timewidth = flash.TimeWidth();
194194

195195
double firstTime = std::numeric_limits<double>::max();
196-
std::map<int, double> startmap, risemap;
196+
std::map<int, double> risemap;
197197
for(const auto& hit: hits){
198198
double const hitTime = hit->HasStartTime()? hit->StartTime(): hit->PeakTime();
199199
if (firstTime > hitTime)
200200
firstTime = hitTime;
201201
if (!RWMTimes.empty())
202-
sbn::timing::SelectFirstOpHitByTime(hit,startmap,risemap);
202+
sbn::timing::SelectFirstOpHitByTime(hit,risemap);
203203
}
204204
srflash.rwmtime = getFlashBunchTime(risemap, RWMTimes);
205205
srflash.firsttime = firstTime;

0 commit comments

Comments
 (0)