CbmRoot
CbmStsDigiSource Class Reference

#include <CbmStsDigiSource.h>

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

Public Member Functions

 CbmStsDigiSource ()
 
virtual ~CbmStsDigiSource ()
 

Protected Member Functions

virtual void InitTask ()
 
virtual bool ConditionalRun ()
 

Protected Attributes

uint64_t fMaxEvents
 
std::string fFileName
 
std::vector< std::string > fInputFileList
 List of input files. More...
 
uint64_t fFileCounter
 
uint64_t fEventNumber
 
uint64_t fEventCounter
 
uint64_t fMessageCounter
 
int fMaxMemory = 0
 

Private Member Functions

void PrintStsDigi (const CbmStsDigi *)
 
bool SendData ()
 
void CalcRuntime ()
 
bool IsChannelNameAllowed (std::string)
 

Private Attributes

std::chrono::steady_clock::time_point fTime
 
std::vector< std::string > fAllowedChannels = {"stsdigi"}
 

Detailed Description

Definition at line 18 of file CbmStsDigiSource.h.

Constructor & Destructor Documentation

◆ CbmStsDigiSource()

CbmStsDigiSource::CbmStsDigiSource ( )

Definition at line 38 of file CbmStsDigiSource.cxx.

◆ ~CbmStsDigiSource()

CbmStsDigiSource::~CbmStsDigiSource ( )
virtual

Definition at line 178 of file CbmStsDigiSource.cxx.

Member Function Documentation

◆ CalcRuntime()

void CbmStsDigiSource::CalcRuntime ( )
private

Definition at line 180 of file CbmStsDigiSource.cxx.

References fTime.

Referenced by ConditionalRun().

◆ ConditionalRun()

bool CbmStsDigiSource::ConditionalRun ( )
protectedvirtual

◆ InitTask()

void CbmStsDigiSource::InitTask ( )
protectedvirtual

◆ IsChannelNameAllowed()

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

Definition at line 128 of file CbmStsDigiSource.cxx.

References fAllowedChannels.

Referenced by InitTask().

◆ PrintStsDigi()

void CbmStsDigiSource::PrintStsDigi ( const CbmStsDigi digi)
private

Definition at line 189 of file CbmStsDigiSource.cxx.

References CbmStsDigi::ToString().

Referenced by ConditionalRun().

◆ SendData()

bool CbmStsDigiSource::SendData ( )
private

Member Data Documentation

◆ fAllowedChannels

std::vector<std::string> CbmStsDigiSource::fAllowedChannels = {"stsdigi"}
private

Definition at line 47 of file CbmStsDigiSource.h.

Referenced by IsChannelNameAllowed().

◆ fEventCounter

uint64_t CbmStsDigiSource::fEventCounter
protected

Definition at line 31 of file CbmStsDigiSource.h.

Referenced by ConditionalRun().

◆ fEventNumber

uint64_t CbmStsDigiSource::fEventNumber
protected

Definition at line 30 of file CbmStsDigiSource.h.

◆ fFileCounter

uint64_t CbmStsDigiSource::fFileCounter
protected

Definition at line 28 of file CbmStsDigiSource.h.

◆ fFileName

std::string CbmStsDigiSource::fFileName
protected

Definition at line 26 of file CbmStsDigiSource.h.

Referenced by InitTask().

◆ fInputFileList

std::vector<std::string> CbmStsDigiSource::fInputFileList
protected

List of input files.

Definition at line 27 of file CbmStsDigiSource.h.

◆ fMaxEvents

uint64_t CbmStsDigiSource::fMaxEvents
protected

Definition at line 24 of file CbmStsDigiSource.h.

Referenced by ConditionalRun(), and InitTask().

◆ fMaxMemory

int CbmStsDigiSource::fMaxMemory = 0
protected

Definition at line 34 of file CbmStsDigiSource.h.

◆ fMessageCounter

uint64_t CbmStsDigiSource::fMessageCounter
protected

Definition at line 32 of file CbmStsDigiSource.h.

◆ fTime

std::chrono::steady_clock::time_point CbmStsDigiSource::fTime
private

Definition at line 45 of file CbmStsDigiSource.h.

Referenced by CalcRuntime(), and InitTask().


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