CbmRoot
CbmDeviceStsHitProducerIdeal Class Reference

#include <CbmDeviceStsHitProducerIdeal.h>

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

Public Member Functions

 CbmDeviceStsHitProducerIdeal ()
 
virtual ~CbmDeviceStsHitProducerIdeal ()
 

Protected Member Functions

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

Private Member Functions

bool IsChannelNameAllowed (std::string channelName)
 
bool InitContainers ()
 
bool DoWork ()
 
bool SendData ()
 
void Finish ()
 

Private Attributes

uint64_t fMaxEvents
 
uint64_t fNumMessages
 
std::string fRunId
 
std::string fvmcworkdir
 
CbmTrdParSetGasfTrdGasPar
 
std::vector< std::string > fAllowedChannels = {"StsPoint", "parameters"}
 
std::vector< std::vector< std::string > > fChannelsToSend = {{}}
 
std::vector< int > fComponentsToSend {}
 
CbmMQChannels fChan {fAllowedChannels}
 
CbmStsHitProducerIdealAlgofAlgo {new CbmStsHitProducerIdealAlgo()}
 

Detailed Description

Definition at line 24 of file CbmDeviceStsHitProducerIdeal.h.

Constructor & Destructor Documentation

◆ CbmDeviceStsHitProducerIdeal()

CbmDeviceStsHitProducerIdeal::CbmDeviceStsHitProducerIdeal ( )

Definition at line 39 of file CbmDeviceStsHitProducerIdeal.cxx.

◆ ~CbmDeviceStsHitProducerIdeal()

CbmDeviceStsHitProducerIdeal::~CbmDeviceStsHitProducerIdeal ( )
virtual

Definition at line 46 of file CbmDeviceStsHitProducerIdeal.cxx.

Member Function Documentation

◆ DoWork()

Bool_t CbmDeviceStsHitProducerIdeal::DoWork ( )
private

Definition at line 175 of file CbmDeviceStsHitProducerIdeal.cxx.

◆ Finish()

void CbmDeviceStsHitProducerIdeal::Finish ( )
private

Definition at line 177 of file CbmDeviceStsHitProducerIdeal.cxx.

◆ HandleData()

bool CbmDeviceStsHitProducerIdeal::HandleData ( FairMQMessagePtr &  msg,
int   
)
protected

◆ InitContainers()

Bool_t CbmDeviceStsHitProducerIdeal::InitContainers ( )
private

◆ InitTask()

◆ IsChannelNameAllowed()

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

◆ SendData()

bool CbmDeviceStsHitProducerIdeal::SendData ( )
private

Definition at line 173 of file CbmDeviceStsHitProducerIdeal.cxx.

Referenced by HandleData().

Member Data Documentation

◆ fAlgo

CbmStsHitProducerIdealAlgo* CbmDeviceStsHitProducerIdeal::fAlgo {new CbmStsHitProducerIdealAlgo()}
private

Definition at line 48 of file CbmDeviceStsHitProducerIdeal.h.

Referenced by HandleData(), InitContainers(), and InitTask().

◆ fAllowedChannels

std::vector<std::string> CbmDeviceStsHitProducerIdeal::fAllowedChannels = {"StsPoint", "parameters"}
private

Definition at line 41 of file CbmDeviceStsHitProducerIdeal.h.

◆ fChan

CbmMQChannels CbmDeviceStsHitProducerIdeal::fChan {fAllowedChannels}
private

Definition at line 46 of file CbmDeviceStsHitProducerIdeal.h.

Referenced by InitTask().

◆ fChannelsToSend

std::vector<std::vector<std::string> > CbmDeviceStsHitProducerIdeal::fChannelsToSend = {{}}
private

Definition at line 43 of file CbmDeviceStsHitProducerIdeal.h.

Referenced by InitTask().

◆ fComponentsToSend

std::vector<int> CbmDeviceStsHitProducerIdeal::fComponentsToSend {}
private

Definition at line 44 of file CbmDeviceStsHitProducerIdeal.h.

Referenced by InitTask().

◆ fMaxEvents

uint64_t CbmDeviceStsHitProducerIdeal::fMaxEvents
private

Definition at line 34 of file CbmDeviceStsHitProducerIdeal.h.

Referenced by InitContainers(), and InitTask().

◆ fNumMessages

uint64_t CbmDeviceStsHitProducerIdeal::fNumMessages
private

Definition at line 35 of file CbmDeviceStsHitProducerIdeal.h.

Referenced by HandleData().

◆ fRunId

std::string CbmDeviceStsHitProducerIdeal::fRunId
private

Definition at line 36 of file CbmDeviceStsHitProducerIdeal.h.

Referenced by InitContainers().

◆ fTrdGasPar

CbmTrdParSetGas* CbmDeviceStsHitProducerIdeal::fTrdGasPar
private

Definition at line 39 of file CbmDeviceStsHitProducerIdeal.h.

◆ fvmcworkdir

std::string CbmDeviceStsHitProducerIdeal::fvmcworkdir
private

Definition at line 37 of file CbmDeviceStsHitProducerIdeal.h.

Referenced by InitContainers().


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