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

#include <CbmTsaComponentSink.h>

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

Public Member Functions

 CbmTsaComponentSink ()
 
virtual ~CbmTsaComponentSink ()
 

Protected Member Functions

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

Private Member Functions

bool CheckTimeslice (const fles::Timeslice &ts)
 
void PrintMicroSliceDescriptor (const fles::MicrosliceDescriptor &mdsc)
 
bool IsChannelNameAllowed (std::string channelName)
 

Private Attributes

uint64_t fNumMessages
 
std::vector< std::string > fAllowedChannels = {"stscomponent", "tofcomponent", "trdcomponent"}
 

Detailed Description

CbmTsaComponentSink.h

Since
2018-04-24
Author
F. Uhlig

Definition at line 20 of file CbmTsaComponentSink.h.

Constructor & Destructor Documentation

◆ CbmTsaComponentSink()

CbmTsaComponentSink::CbmTsaComponentSink ( )

Definition at line 31 of file CbmTsaComponentSink.cxx.

◆ ~CbmTsaComponentSink()

CbmTsaComponentSink::~CbmTsaComponentSink ( )
virtual

Definition at line 98 of file CbmTsaComponentSink.cxx.

Member Function Documentation

◆ CheckTimeslice()

bool CbmTsaComponentSink::CheckTimeslice ( const fles::Timeslice & ts)
private

Definition at line 114 of file CbmTsaComponentSink.cxx.

Referenced by HandleData().

◆ HandleData()

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

Definition at line 78 of file CbmTsaComponentSink.cxx.

References CheckTimeslice(), and fNumMessages.

Referenced by InitTask().

◆ InitTask()

void CbmTsaComponentSink::InitTask ( )
protectedvirtual

Definition at line 33 of file CbmTsaComponentSink.cxx.

References HandleData(), and IsChannelNameAllowed().

◆ IsChannelNameAllowed()

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

Definition at line 57 of file CbmTsaComponentSink.cxx.

References fAllowedChannels, and pos.

Referenced by InitTask().

◆ PrintMicroSliceDescriptor()

void CbmTsaComponentSink::PrintMicroSliceDescriptor ( const fles::MicrosliceDescriptor & mdsc)
private

Definition at line 100 of file CbmTsaComponentSink.cxx.

Member Data Documentation

◆ fAllowedChannels

std::vector<std::string> CbmTsaComponentSink::fAllowedChannels = {"stscomponent", "tofcomponent", "trdcomponent"}
private

Definition at line 32 of file CbmTsaComponentSink.h.

Referenced by IsChannelNameAllowed().

◆ fNumMessages

uint64_t CbmTsaComponentSink::fNumMessages
private

Definition at line 30 of file CbmTsaComponentSink.h.

Referenced by HandleData().


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