CbmRoot
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
 
Int_t fiMsgCnt
 
Bool_t fbMonitorMode
 Control flags. More...
 
Bool_t fbDebugMonitorMode
 Switch ON the filling of a minimal set of histograms. More...
 
Bool_t fbSandboxMode
 Switch ON the filling of a additional set of histograms. More...
 
Bool_t fbEventDumpEna
 Switch OFF the emission of data toward the STAR DAQ. More...
 
Double_t fdEvent
 Switch ON the dumping of the events to a binary file. More...
 

Detailed Description

Definition at line 37 of file CbmDeviceTriggerHandlerEtof.h.

Constructor & Destructor Documentation

◆ CbmDeviceTriggerHandlerEtof()

CbmDeviceTriggerHandlerEtof::CbmDeviceTriggerHandlerEtof ( )

Definition at line 41 of file CbmDeviceTriggerHandlerEtof.cxx.

◆ ~CbmDeviceTriggerHandlerEtof()

CbmDeviceTriggerHandlerEtof::~CbmDeviceTriggerHandlerEtof ( )
virtual

Definition at line 50 of file CbmDeviceTriggerHandlerEtof.cxx.

Member Function Documentation

◆ HandleData()

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

Definition at line 110 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 99 of file CbmDeviceTriggerHandlerEtof.cxx.

References fbSandboxMode.

Referenced by InitTask().

◆ IsChannelNameAllowed()

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

Definition at line 78 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
private
Initial value:
= {"tofcomponent",
"parameters",
"etofevts",
"tofhits",
"syscmd"}

Definition at line 58 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 74 of file CbmDeviceTriggerHandlerEtof.h.

◆ fbEventDumpEna

Bool_t CbmDeviceTriggerHandlerEtof::fbEventDumpEna
private

Switch OFF the emission of data toward the STAR DAQ.

Definition at line 77 of file CbmDeviceTriggerHandlerEtof.h.

◆ fbMonitorMode

Bool_t CbmDeviceTriggerHandlerEtof::fbMonitorMode
private

Control flags.

Definition at line 72 of file CbmDeviceTriggerHandlerEtof.h.

◆ fbSandboxMode

Bool_t CbmDeviceTriggerHandlerEtof::fbSandboxMode
private

Switch ON the filling of a additional set of histograms.

Definition at line 75 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 79 of file CbmDeviceTriggerHandlerEtof.h.

Referenced by HandleData().

◆ fiMsgCnt

Int_t CbmDeviceTriggerHandlerEtof::fiMsgCnt
private

Definition at line 69 of file CbmDeviceTriggerHandlerEtof.h.

◆ fNumMessages

uint64_t CbmDeviceTriggerHandlerEtof::fNumMessages
private

Definition at line 57 of file CbmDeviceTriggerHandlerEtof.h.

Referenced by HandleData().


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