CbmRoot
|
Trigger class for finding time clusters of hit data. More...
#include <HitMultTrigger.h>
Public Types | |
typedef std::pair< std::vector< double >, TimeClusterTriggerMonitorData > | Result |
Public Member Functions | |
HitMultTrigger (const DigiTriggerConfig &config) | |
Constructor. | |
Result | operator() (const RecoResults &recoData) const |
Execution. | |
std::string | ToString () const |
Info to string. | |
Private Member Functions | |
std::vector< double > | GetHitTimes (const RecoResults &recoData, ECbmModuleId system) const |
Extract the hit time stamps for the selected trigger detector. | |
template<class T > | |
std::vector< double > | GetTimeStamps (const gsl::span< const T > data) const |
Get vector of time stamps from a data container [template]. | |
Private Attributes | |
DigiTriggerConfig | fConfig |
Configuration. | |
TimeClusterTrigger | fAlgo |
Algorithm. | |
Trigger class for finding time clusters of hit data.
The class takes as input an array of detector hits. It finds clusters of hits in time, using the generic TimeClusterTrigger algorithm.
Definition at line 26 of file HitMultTrigger.h.
std::pair<std::vector<double>, TimeClusterTriggerMonitorData> cbm::algo::evbuild::HitMultTrigger::Result |
Definition at line 29 of file HitMultTrigger.h.
|
inline |
|
private |
Extract the hit time stamps for the selected trigger detector.
recoData | Container of reco results |
system | Trigger Detector |
Definition at line 41 of file HitMultTrigger.cxx.
References GetTimeStamps(), kSts, kTof, kTrd, L_, cbm::algo::RecoResults::stsHits, cbm::algo::RecoResults::tofHits, and cbm::algo::RecoResults::trdHits.
Referenced by operator()().
|
inlineprivate |
Get vector of time stamps from a data container [template].
data | Data container |
The template argument class must implement the method Time().
Definition at line 62 of file HitMultTrigger.h.
Referenced by GetHitTimes().
HitMultTrigger::Result cbm::algo::evbuild::HitMultTrigger::operator() | ( | const RecoResults & | recoData | ) | const |
Execution.
recoData | Container of reco data |
Definition at line 20 of file HitMultTrigger.cxx.
References cbm::algo::evbuild::DigiTriggerConfig::Detector(), fAlgo, fConfig, GetHitTimes(), and L_.
std::string cbm::algo::evbuild::HitMultTrigger::ToString | ( | ) | const |
Info to string.
Definition at line 60 of file HitMultTrigger.cxx.
References cbm::algo::evbuild::DigiTriggerConfig::Detector(), fAlgo, fConfig, ToString(), and cbm::algo::evbuild::TimeClusterTrigger::ToString().
Referenced by cbm::algo::evbuild::EventbuildChain::Status(), and ToString().
|
private |
Algorithm.
Definition at line 74 of file HitMultTrigger.h.
Referenced by operator()(), and ToString().
|
private |
Configuration.
Definition at line 73 of file HitMultTrigger.h.
Referenced by operator()(), and ToString().