Skip to content

Commit 8a4dbc9

Browse files
committed
Add const
1 parent 4324e17 commit 8a4dbc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Common/Tools/EventSelectionTools.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ class EventSelectionModule
627627
std::vector<float> diffVzParMean; // parameterization for mean of diff vZ by FT0 vs by tracks
628628
std::vector<float> diffVzParSigma; // parameterization for stddev of diff vZ by FT0 vs by tracks
629629

630-
int32_t findClosest(int64_t globalBC, std::map<int64_t, int32_t>& bcs)
630+
int32_t findClosest(const int64_t globalBC, const std::map<int64_t, int32_t>& bcs)
631631
{
632632
auto it = bcs.lower_bound(globalBC);
633633
int64_t bc1 = it->first;

0 commit comments

Comments
 (0)