CbmRoot
Loading...
Searching...
No Matches
CbmRecoQaTask::EventFilter Struct Reference

#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}
 

Detailed Description

Definition at line 207 of file CbmRecoQaTask.h.

Member Enumeration Documentation

◆ eEventCut

enum class CbmRecoQaTask::EventFilter::eEventCut : int
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.

◆ eEventDef

enum class CbmRecoQaTask::EventFilter::eEventDef : int
strong
Enumerator
kNofDetHit 

Definition at line 216 of file CbmRecoQaTask.h.

Constructor & Destructor Documentation

◆ EventFilter()

CbmRecoQaTask::EventFilter::EventFilter ( eEventCut typ = eEventCut::kNone)
inline

Definition at line 220 of file CbmRecoQaTask.h.

◆ ~EventFilter()

virtual CbmRecoQaTask::EventFilter::~EventFilter ( )
virtualdefault

Member Function Documentation

◆ Accept()

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.

◆ ClassDef()

CbmRecoQaTask::EventFilter::ClassDef ( CbmRecoQaTask::EventFilter ,
1  )
private

◆ HelpMess()

void CbmRecoQaTask::EventFilter::HelpMess ( ) const
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().

◆ SetFilter()

bool CbmRecoQaTask::EventFilter::SetFilter ( std::vector< float > cuts)

Definition at line 2015 of file CbmRecoQaTask.cxx.

References kNofDetHit, and cbm::algo::ToString().

◆ ToString()

std::string CbmRecoQaTask::EventFilter::ToString ( ) const

Definition at line 2042 of file CbmRecoQaTask.cxx.

Member Data Documentation

◆ fMaxTrack

int CbmRecoQaTask::EventFilter::fMaxTrack = 0
private

Definition at line 231 of file CbmRecoQaTask.h.

◆ fMinTrack

int CbmRecoQaTask::EventFilter::fMinTrack = 0
private

Definition at line 230 of file CbmRecoQaTask.h.

◆ fMultHit

int CbmRecoQaTask::EventFilter::fMultHit[(int) eEventDef::kNofDetHit] = {0}
private

Definition at line 233 of file CbmRecoQaTask.h.

◆ fType

eEventCut CbmRecoQaTask::EventFilter::fType = eEventCut::kNone

Definition at line 226 of file CbmRecoQaTask.h.


The documentation for this struct was generated from the following files: