CbmRoot
|
#include <CbmRecoQaTask.h>
Public Types | |
enum class | eEventCut : int { kMultTrk = 0 , kMultHit , kTrigger , kVertex , kNone } |
enum class | eEventDef : int { kNofDetHit = 3 } |
Public Member Functions | |
EventFilter (eEventCut typ=eEventCut::kNone) | |
virtual | ~EventFilter ()=default |
bool | Accept (const CbmEvent *ptr, const CbmRecoQaTask *lnk) |
bool | SetFilter (std::vector< float > cuts) |
std::string | ToString () const |
Public Attributes | |
eEventCut | fType = eEventCut::kNone |
Private Member Functions | |
void | HelpMess () const |
max no of hits/ev for the systems [STS TRD ToF] | |
ClassDef (CbmRecoQaTask::EventFilter, 1) | |
Private Attributes | |
int | fMinTrack = 0 |
int | fMaxTrack = 0 |
int | fMultHit [(int) eEventDef::kNofDetHit] = {0} |
Definition at line 207 of file CbmRecoQaTask.h.
|
strong |
Enumerator | |
---|---|
kMultTrk | |
kMultHit | cut on track multiplicity |
kTrigger | cut on hit multiplicity |
kVertex | cut on trigger conditions |
kNone | cut on vertex definition no cut |
Definition at line 208 of file CbmRecoQaTask.h.
|
strong |
Enumerator | |
---|---|
kNofDetHit |
Definition at line 216 of file CbmRecoQaTask.h.
|
inline |
Definition at line 220 of file CbmRecoQaTask.h.
|
virtualdefault |
bool CbmRecoQaTask::EventFilter::Accept | ( | const CbmEvent * | ptr, |
const CbmRecoQaTask * | lnk ) |
Definition at line 1973 of file CbmRecoQaTask.cxx.
References CbmEvent::GetNofData(), kGlobalTrack, kStsHit, kTofHit, and kTrdHit.
|
private |
|
private |
max no of hits/ev for the systems [STS TRD ToF]
Helper function : display usage message for each filter case
Definition at line 2054 of file CbmRecoQaTask.cxx.
References cbm::algo::ToString().
bool CbmRecoQaTask::EventFilter::SetFilter | ( | std::vector< float > | cuts | ) |
Definition at line 2015 of file CbmRecoQaTask.cxx.
References kNofDetHit, and cbm::algo::ToString().
std::string CbmRecoQaTask::EventFilter::ToString | ( | ) | const |
Definition at line 2042 of file CbmRecoQaTask.cxx.
|
private |
Definition at line 231 of file CbmRecoQaTask.h.
|
private |
Definition at line 230 of file CbmRecoQaTask.h.
|
private |
Definition at line 233 of file CbmRecoQaTask.h.
eEventCut CbmRecoQaTask::EventFilter::fType = eEventCut::kNone |
Definition at line 226 of file CbmRecoQaTask.h.