Skip to content
Snippets Groups Projects

Added event selector to CbmReco and its YAML configuration

Merged Volker Friese requested to merge v.friese/cbmroot:ev_select into master
Files
4
@@ -24,12 +24,19 @@ namespace cbm::algo
//TO DO: Investigate possible algorithms that use bitset instead of std::unordered_map.
//This requires consequtive addresses for modules and stations.
// --- Digi number in BMON
if (!(event.fData.fT0.fDigis.size() >= fParams.fMinNumDigisBmon)) return false;
// --- Number of STS stations
if (0 < fParams.fStsMinStations) {
if (!CheckSts(event.fData.fSts.fDigis)) return false;
}
// --- Number of TOF layers
if (0 < fParams.fTofMinLayers) {
if (!CheckTof(event.fData.fTof.fDigis)) return false;
}
return true;
}
Loading