5#ifndef CBM_ALGO_DIGIEVENTSELECTOR_H
6#define CBM_ALGO_DIGIEVENTSELECTOR_H 1
67 bool CheckStsStations(gsl::span<const CbmStsDigi> digis,
size_t minNum)
const;
74 bool CheckTofLayers(gsl::span<const CbmTofDigi> digis,
size_t minNum)
const;
A collection of reconstruction setup unit interfaces for different CBM subsystems.
Configuration of the DigiEventSelector class.
void RegisterSetup(std::shared_ptr< RecoSetup > pSetup)
Registers tracking setup.
DigiEventSelectorConfig fConfig
Configuration / parameters.
bool operator()(const DigiEvent &event) const
Test one event for the selection criteria.
bool CheckStsStations(gsl::span< const CbmStsDigi > digis, size_t minNum) const
Test for the number of STS stations.
std::shared_ptr< RecoSetup > fpRecoSetup
Tracking setup (access to stations info)
bool CheckTofLayers(gsl::span< const CbmTofDigi > digis, size_t minNum) const
Test for the number of TOF layers.
std::string ToString() const
Info to string.
DigiEventSelector(DigiEventSelectorConfig config)
Constructor with configuration.
Event data with event number and trigger time.
std::map< ECbmModuleId, size_t > fMinNumLayers
std::map< ECbmModuleId, size_t > fMinNumDigis