CbmRoot
Loading...
Searching...
No Matches
CbmDeviceTriggerHandlerEtof Class Reference

#include <CbmDeviceTriggerHandlerEtof.h>

Inheritance diagram for CbmDeviceTriggerHandlerEtof:
[legend]
Collaboration diagram for CbmDeviceTriggerHandlerEtof:
[legend]

Public Member Functions

 CbmDeviceTriggerHandlerEtof ()
 
virtual ~CbmDeviceTriggerHandlerEtof ()
 

Protected Member Functions

virtual void InitTask ()
 
bool HandleData (FairMQParts &, int)
 
bool HandleMessage (FairMQMessagePtr &, int)
 

Private Member Functions

Bool_t IsChannelNameAllowed (std::string channelName)
 
Bool_t InitWorkspace ()
 
Bool_t InitContainers ()
 
Bool_t ReInitContainers ()
 

Private Attributes

uint64_t fNumMessages
 
std::vector< std::string > fAllowedChannels = {"tofcomponent", "parameters", "etofevts", "tofhits", "syscmd"}
 
Int_t fiMsgCnt
 
Bool_t fbMonitorMode
 Control flags.
 
Bool_t fbDebugMonitorMode
 Switch ON the filling of a minimal set of histograms.
 
Bool_t fbSandboxMode
 Switch ON the filling of a additional set of histograms.
 
Bool_t fbEventDumpEna
 Switch OFF the emission of data toward the STAR DAQ.
 
Double_t fdEvent
 Switch ON the dumping of the events to a binary file.
 

Detailed Description

Definition at line 40 of file CbmDeviceTriggerHandlerEtof.h.

Constructor & Destructor Documentation

◆ CbmDeviceTriggerHandlerEtof()

CbmDeviceTriggerHandlerEtof::CbmDeviceTriggerHandlerEtof ( )

Definition at line 45 of file CbmDeviceTriggerHandlerEtof.cxx.

◆ ~CbmDeviceTriggerHandlerEtof()

CbmDeviceTriggerHandlerEtof::~CbmDeviceTriggerHandlerEtof ( )
virtual

Definition at line 56 of file CbmDeviceTriggerHandlerEtof.cxx.

Member Function Documentation

◆ HandleData()

bool CbmDeviceTriggerHandlerEtof::HandleData ( FairMQParts & parts,
int  )
protected

Definition at line 114 of file CbmDeviceTriggerHandlerEtof.cxx.

References dctime, dSize, fbSandboxMode, fdEvent, fNumMessages, and star_rhicf_write().

Referenced by InitTask().

◆ HandleMessage()

bool CbmDeviceTriggerHandlerEtof::HandleMessage ( FairMQMessagePtr & msg,
int  )
protected

◆ InitContainers()

Bool_t CbmDeviceTriggerHandlerEtof::InitContainers ( )
private

◆ InitTask()

void CbmDeviceTriggerHandlerEtof::InitTask ( )
protectedvirtual

◆ InitWorkspace()

Bool_t CbmDeviceTriggerHandlerEtof::InitWorkspace ( )
private

Definition at line 102 of file CbmDeviceTriggerHandlerEtof.cxx.

References fbSandboxMode.

Referenced by InitTask().

◆ IsChannelNameAllowed()

bool CbmDeviceTriggerHandlerEtof::IsChannelNameAllowed ( std::string channelName)
private

Definition at line 84 of file CbmDeviceTriggerHandlerEtof.cxx.

References fAllowedChannels, and pos.

Referenced by InitTask().

◆ ReInitContainers()

Bool_t CbmDeviceTriggerHandlerEtof::ReInitContainers ( )
private

Member Data Documentation

◆ fAllowedChannels

std::vector<std::string> CbmDeviceTriggerHandlerEtof::fAllowedChannels = {"tofcomponent", "parameters", "etofevts", "tofhits", "syscmd"}
private

Definition at line 61 of file CbmDeviceTriggerHandlerEtof.h.

Referenced by IsChannelNameAllowed().

◆ fbDebugMonitorMode

Bool_t CbmDeviceTriggerHandlerEtof::fbDebugMonitorMode
private

Switch ON the filling of a minimal set of histograms.

Definition at line 71 of file CbmDeviceTriggerHandlerEtof.h.

◆ fbEventDumpEna

Bool_t CbmDeviceTriggerHandlerEtof::fbEventDumpEna
private

Switch OFF the emission of data toward the STAR DAQ.

Definition at line 73 of file CbmDeviceTriggerHandlerEtof.h.

◆ fbMonitorMode

Bool_t CbmDeviceTriggerHandlerEtof::fbMonitorMode
private

Control flags.

Definition at line 70 of file CbmDeviceTriggerHandlerEtof.h.

◆ fbSandboxMode

Bool_t CbmDeviceTriggerHandlerEtof::fbSandboxMode
private

Switch ON the filling of a additional set of histograms.

Definition at line 72 of file CbmDeviceTriggerHandlerEtof.h.

Referenced by HandleData(), and InitWorkspace().

◆ fdEvent

Double_t CbmDeviceTriggerHandlerEtof::fdEvent
private

Switch ON the dumping of the events to a binary file.

Definition at line 75 of file CbmDeviceTriggerHandlerEtof.h.

Referenced by HandleData().

◆ fiMsgCnt

Int_t CbmDeviceTriggerHandlerEtof::fiMsgCnt
private

Definition at line 68 of file CbmDeviceTriggerHandlerEtof.h.

◆ fNumMessages

uint64_t CbmDeviceTriggerHandlerEtof::fNumMessages
private

Definition at line 60 of file CbmDeviceTriggerHandlerEtof.h.

Referenced by HandleData().


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