diff --git a/source/Utils/src/FilterTracks.cc b/source/Utils/src/FilterTracks.cc index 9cb9f49..4074751 100644 --- a/source/Utils/src/FilterTracks.cc +++ b/source/Utils/src/FilterTracks.cc @@ -149,7 +149,7 @@ void FilterTracks::processEvent( LCEvent * evt ) // Check if a TrackState at the calo surface exists const std::vector& trackStates = trk->getTrackStates(); const auto foundCaloState = std::find_if(trackStates.begin(), trackStates.end(), - [](const auto ts) { return ts->getLocation() == EVENT::TrackState::AtCalorimeter}) != trackStates.end(); + [](const auto ts) { return ts->getLocation() == EVENT::TrackState::AtCalorimeter; }) != trackStates.end(); if (_HasCaloState && !foundCaloState) { continue; } if(_BarrelOnly == true) {