CbmRoot
EventBuilderDetector Class Reference

#include <CbmMcbm2019TimeWinEventBuilderAlgo.h>

Collaboration diagram for EventBuilderDetector:
[legend]

Public Member Functions

 EventBuilderDetector ()
 
 EventBuilderDetector (ECbmModuleId detIdIn, ECbmDataType dataTypeIn, std::string sNameIn)
 
 EventBuilderDetector (ECbmModuleId detIdIn, ECbmDataType dataTypeIn, std::string sNameIn, UInt_t uTriggerMinDigisIn, Int_t iTriggerMaxDigisIn, Double_t fdTimeWinBegIn, Double_t fdTimeWinEndIn)
 
bool operator== (const EventBuilderDetector &other) const
 
bool operator!= (const EventBuilderDetector &other) const
 
Double_t GetTimeWinRange ()
 

Public Attributes

ECbmModuleId detId = ECbmModuleId::kNotExist
 Settings. More...
 
ECbmDataType dataType = ECbmDataType::kUnknown
 
std::string sName = "Invalid"
 
UInt_t fuTriggerMinDigis = 0
 Minimum number of T0 digis needed to generate a trigger, 0 means don't use for trigger generation. More...
 
Int_t fiTriggerMaxDigis = -1
 Maximum number of digis per detector to generate an event, -1 means no cut, 0 means anti-coinc trigger. More...
 
Double_t fdTimeWinBeg = -100
 Selection Window. More...
 
Double_t fdTimeWinEnd = 100
 
UInt_t fuStartIndex = 0
 Book-keeping variables. More...
 
UInt_t fuEndIndex = 0
 

Detailed Description

Definition at line 37 of file CbmMcbm2019TimeWinEventBuilderAlgo.h.

Constructor & Destructor Documentation

◆ EventBuilderDetector() [1/3]

EventBuilderDetector::EventBuilderDetector ( )
inline

Definition at line 39 of file CbmMcbm2019TimeWinEventBuilderAlgo.h.

◆ EventBuilderDetector() [2/3]

EventBuilderDetector::EventBuilderDetector ( ECbmModuleId  detIdIn,
ECbmDataType  dataTypeIn,
std::string  sNameIn 
)
inline

Definition at line 40 of file CbmMcbm2019TimeWinEventBuilderAlgo.h.

References dataType, detId, and sName.

◆ EventBuilderDetector() [3/3]

EventBuilderDetector::EventBuilderDetector ( ECbmModuleId  detIdIn,
ECbmDataType  dataTypeIn,
std::string  sNameIn,
UInt_t  uTriggerMinDigisIn,
Int_t  iTriggerMaxDigisIn,
Double_t  fdTimeWinBegIn,
Double_t  fdTimeWinEndIn 
)
inline

Member Function Documentation

◆ GetTimeWinRange()

Double_t EventBuilderDetector::GetTimeWinRange ( )
inline

◆ operator!=()

bool EventBuilderDetector::operator!= ( const EventBuilderDetector other) const
inline

Definition at line 65 of file CbmMcbm2019TimeWinEventBuilderAlgo.h.

References detId.

◆ operator==()

bool EventBuilderDetector::operator== ( const EventBuilderDetector other) const
inline

Definition at line 62 of file CbmMcbm2019TimeWinEventBuilderAlgo.h.

References detId.

Member Data Documentation

◆ dataType

◆ detId

◆ fdTimeWinBeg

◆ fdTimeWinEnd

◆ fiTriggerMaxDigis

Int_t EventBuilderDetector::fiTriggerMaxDigis = -1

Maximum number of digis per detector to generate an event, -1 means no cut, 0 means anti-coinc trigger.

Definition at line 78 of file CbmMcbm2019TimeWinEventBuilderAlgo.h.

Referenced by CbmMcbm2019TimeWinEventBuilderAlgo::CheckTriggerConditions(), EventBuilderDetector(), and CbmMcbm2019TimeWinEventBuilderAlgo::SetTriggerMaxNumber().

◆ fuEndIndex

◆ fuStartIndex

UInt_t EventBuilderDetector::fuStartIndex = 0

◆ fuTriggerMinDigis

UInt_t EventBuilderDetector::fuTriggerMinDigis = 0

Minimum number of T0 digis needed to generate a trigger, 0 means don't use for trigger generation.

Definition at line 76 of file CbmMcbm2019TimeWinEventBuilderAlgo.h.

Referenced by CbmMcbm2019TimeWinEventBuilderAlgo::CheckTriggerConditions(), EventBuilderDetector(), and CbmMcbm2019TimeWinEventBuilderAlgo::SetTriggerMinNumber().

◆ sName


The documentation for this class was generated from the following file: