BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnDecoSource Class Reference

#include <BmnDecoSource.h>

Inheritance diagram for BmnDecoSource:
Collaboration diagram for BmnDecoSource:

Public Member Functions

 BmnDecoSource (TString addr="tcp://localhost:5555", Int_t periodId=9)
virtual ~BmnDecoSource ()
Bool_t Init ()
Int_t ReadEvent (UInt_t i=0)
void Close ()
virtual Int_t CheckMaxEventNo (Int_t end_ev)
FairRunAna * GetRunInstance ()
void SetRunInstance (FairRunAna *run)
uint32_t GetPeriodId ()
 BmnDecoSource (TString addr="tcp://localhost:5555", Int_t periodId=9)
virtual ~BmnDecoSource ()
Bool_t Init ()
Int_t ReadEvent (UInt_t i=0)
void Close ()
virtual Int_t CheckMaxEventNo (Int_t end_ev)
FairRunAna * GetRunInstance ()
void SetRunInstance (FairRunAna *run)
uint32_t GetPeriodId ()

Private Member Functions

TString GetDstNameFromRunId (Int_t runId)
TString GetDstNameFromRunId (Int_t runId)

Private Attributes

FairRunAna * fRunInst
zmq_msg_t _msg
TBufferFile * _tBuf
void * _ctx
void * _decoSocket
TString _addrString
DigiArrays * fDigiArrays
Bool_t fFirstEvent
uint32_t fPeriodId
Int_t iEventNumber
Int_t iT0BranchIndex
BmnEventHeader * fEventHeader
TClonesArray * fGemDigits
TClonesArray * fVspDigits
TClonesArray * fSilDigits
TClonesArray * fSiBTDigits
TClonesArray * fCscDigits
TClonesArray * fTof400Digits
TClonesArray * fTof700Digits
vector< TClonesArray * > fT0Digits
bool fInitDone
const Int_t TimeDelta = 50000

Detailed Description

Definition at line 28 of file BmnDecoSource.h.

Constructor & Destructor Documentation

◆ BmnDecoSource() [1/2]

BmnDecoSource::BmnDecoSource ( TString addr = "tcp://localhost:5555",
Int_t periodId = 9 )

◆ ~BmnDecoSource() [1/2]

BmnDecoSource::~BmnDecoSource ( )
virtual

Definition at line 37 of file BmnDecoSource.cxx.

◆ BmnDecoSource() [2/2]

BmnDecoSource::BmnDecoSource ( TString addr = "tcp://localhost:5555",
Int_t periodId = 9 )

◆ ~BmnDecoSource() [2/2]

virtual BmnDecoSource::~BmnDecoSource ( )
virtual

Member Function Documentation

◆ CheckMaxEventNo() [1/2]

virtual Int_t BmnDecoSource::CheckMaxEventNo ( Int_t end_ev)
inlinevirtual

Definition at line 39 of file BmnDecoSource.h.

◆ CheckMaxEventNo() [2/2]

virtual Int_t BmnDecoSource::CheckMaxEventNo ( Int_t end_ev)
inlinevirtual

Definition at line 39 of file BmnDecoSource.h.

◆ Close() [1/2]

void BmnDecoSource::Close ( )

Definition at line 163 of file BmnDecoSource.cxx.

References _ctx, _decoSocket, _tBuf, fEventHeader, fGemDigits, fSiBTDigits, fSilDigits, fT0Digits, fTof400Digits, fTof700Digits, fVspDigits, and signal().

Here is the call graph for this function:

◆ Close() [2/2]

void BmnDecoSource::Close ( )

◆ GetDstNameFromRunId() [1/2]

TString BmnDecoSource::GetDstNameFromRunId ( Int_t runId)
inlineprivate

Definition at line 45 of file BmnDecoSource.h.

◆ GetDstNameFromRunId() [2/2]

TString BmnDecoSource::GetDstNameFromRunId ( Int_t runId)
inlineprivate

Definition at line 45 of file BmnDecoSource.h.

◆ GetPeriodId() [1/2]

uint32_t BmnDecoSource::GetPeriodId ( )
inline

Definition at line 42 of file BmnDecoSource.h.

References fPeriodId.

◆ GetPeriodId() [2/2]

uint32_t BmnDecoSource::GetPeriodId ( )
inline

Definition at line 42 of file BmnDecoSource.h.

References fPeriodId.

◆ GetRunInstance() [1/2]

FairRunAna * BmnDecoSource::GetRunInstance ( )
inline

Definition at line 40 of file BmnDecoSource.h.

References fRunInst.

◆ GetRunInstance() [2/2]

FairRunAna * BmnDecoSource::GetRunInstance ( )
inline

Definition at line 40 of file BmnDecoSource.h.

References fRunInst.

◆ Init() [1/2]

Bool_t BmnDecoSource::Init ( )

Definition at line 39 of file BmnDecoSource.cxx.

References _addrString, _ctx, _decoSocket, _msg, _tBuf, TObject::Class(), fCscDigits, fDigiArrays, fEventHeader, fGemDigits, fInitDone, fPeriodId, fRunId, fSiBTDigits, fSilDigits, fT0Digits, fTof400Digits, fTof700Digits, fVspDigits, TCollection::GetName(), TBuffer::kRead, TCollection::SetName(), signal(), and TimeDelta.

Here is the call graph for this function:

◆ Init() [2/2]

Bool_t BmnDecoSource::Init ( )

◆ ReadEvent() [1/2]

◆ ReadEvent() [2/2]

Int_t BmnDecoSource::ReadEvent ( UInt_t i = 0)

References i.

◆ SetRunInstance() [1/2]

void BmnDecoSource::SetRunInstance ( FairRunAna * run)
inline

Definition at line 41 of file BmnDecoSource.h.

References fRunInst.

◆ SetRunInstance() [2/2]

void BmnDecoSource::SetRunInstance ( FairRunAna * run)
inline

Definition at line 41 of file BmnDecoSource.h.

References fRunInst.

Member Data Documentation

◆ _addrString

TString BmnDecoSource::_addrString
private

Definition at line 55 of file BmnDecoSource.h.

Referenced by BmnDecoSource(), and Init().

◆ _ctx

void * BmnDecoSource::_ctx
private

Definition at line 53 of file BmnDecoSource.h.

Referenced by Close(), and Init().

◆ _decoSocket

void * BmnDecoSource::_decoSocket
private

Definition at line 54 of file BmnDecoSource.h.

Referenced by Close(), Init(), and ReadEvent().

◆ _msg

zmq_msg_t BmnDecoSource::_msg
private

Definition at line 51 of file BmnDecoSource.h.

Referenced by Init(), and ReadEvent().

◆ _tBuf

TBufferFile * BmnDecoSource::_tBuf
private

Definition at line 52 of file BmnDecoSource.h.

Referenced by Close(), Init(), and ReadEvent().

◆ fCscDigits

TClonesArray * BmnDecoSource::fCscDigits
private

Definition at line 70 of file BmnDecoSource.h.

Referenced by BmnDecoSource(), Init(), and ReadEvent().

◆ fDigiArrays

DigiArrays * BmnDecoSource::fDigiArrays
private

Definition at line 56 of file BmnDecoSource.h.

Referenced by BmnDecoSource(), Init(), and ReadEvent().

◆ fEventHeader

BmnEventHeader * BmnDecoSource::fEventHeader
private

Definition at line 65 of file BmnDecoSource.h.

Referenced by Close(), Init(), and ReadEvent().

◆ fFirstEvent

Bool_t BmnDecoSource::fFirstEvent
private

Definition at line 58 of file BmnDecoSource.h.

Referenced by BmnDecoSource().

◆ fGemDigits

TClonesArray * BmnDecoSource::fGemDigits
private

Definition at line 66 of file BmnDecoSource.h.

Referenced by BmnDecoSource(), Close(), Init(), and ReadEvent().

◆ fInitDone

bool BmnDecoSource::fInitDone
private

Definition at line 75 of file BmnDecoSource.h.

Referenced by BmnDecoSource(), and Init().

◆ fPeriodId

uint32_t BmnDecoSource::fPeriodId
private

Definition at line 61 of file BmnDecoSource.h.

Referenced by BmnDecoSource(), GetPeriodId(), and Init().

◆ fRunInst

FairRunAna * BmnDecoSource::fRunInst
private

Definition at line 50 of file BmnDecoSource.h.

Referenced by GetRunInstance(), and SetRunInstance().

◆ fSiBTDigits

TClonesArray * BmnDecoSource::fSiBTDigits
private

Definition at line 69 of file BmnDecoSource.h.

Referenced by BmnDecoSource(), Close(), Init(), and ReadEvent().

◆ fSilDigits

TClonesArray * BmnDecoSource::fSilDigits
private

Definition at line 68 of file BmnDecoSource.h.

Referenced by BmnDecoSource(), Close(), Init(), and ReadEvent().

◆ fT0Digits

vector< TClonesArray * > BmnDecoSource::fT0Digits
private

Definition at line 73 of file BmnDecoSource.h.

Referenced by Close(), Init(), and ReadEvent().

◆ fTof400Digits

TClonesArray * BmnDecoSource::fTof400Digits
private

Definition at line 71 of file BmnDecoSource.h.

Referenced by BmnDecoSource(), Close(), Init(), and ReadEvent().

◆ fTof700Digits

TClonesArray * BmnDecoSource::fTof700Digits
private

Definition at line 72 of file BmnDecoSource.h.

Referenced by BmnDecoSource(), Close(), Init(), and ReadEvent().

◆ fVspDigits

TClonesArray * BmnDecoSource::fVspDigits
private

Definition at line 67 of file BmnDecoSource.h.

Referenced by BmnDecoSource(), Close(), Init(), and ReadEvent().

◆ iEventNumber

Int_t BmnDecoSource::iEventNumber
private

Definition at line 63 of file BmnDecoSource.h.

Referenced by BmnDecoSource().

◆ iT0BranchIndex

Int_t BmnDecoSource::iT0BranchIndex
private

Definition at line 64 of file BmnDecoSource.h.

Referenced by BmnDecoSource().

◆ TimeDelta

const Int_t BmnDecoSource::TimeDelta = 50000
private

Definition at line 76 of file BmnDecoSource.h.

Referenced by Init().


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