|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnMQSource.h>
Public Member Functions | |
| BmnMQSource (std::string addr="tcp://localhost:6666", Bool_t toFile=kFALSE) | |
| virtual | ~BmnMQSource () |
| Bool_t | Init () |
| Int_t | ReadEvent (UInt_t i=0) |
| void | Close () |
| void | FillEventHeader (FairEventHeader *feh) |
| virtual Int_t | CheckMaxEventNo (Int_t end_ev) |
| FairRunAna * | GetRunInstance () |
| void | SetRunInstance (FairRunAna *run) |
| uint32_t | GetPeriodId () |
| BmnMQSource (std::string addr="tcp://localhost:6666", Bool_t toFile=kFALSE) | |
| virtual | ~BmnMQSource () |
| Bool_t | Init () |
| Int_t | ReadEvent (UInt_t i=0) |
| void | Close () |
| void | FillEventHeader (FairEventHeader *feh) |
| 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) |
| Bool_t | InitZMQ () |
| TString | GetDstNameFromRunId (Int_t runId) |
| Bool_t | InitZMQ () |
Private Attributes | |
| FairRunAna * | fRunInst |
| zmq_msg_t | _msg |
| TBufferFile * | _tBuf |
| void * | _ctx |
| void * | _decoSocket |
| std::string | _addrString |
| std::vector< TNamed * > | fNamVec |
| std::vector< TClonesArray * > | fArrVec |
| const Int_t | TimeDelta = 50000 |
| Bool_t | fFirstEvent |
| Bool_t | fToFile |
| uint32_t | fPeriodId |
| Int_t | iEventNumber |
| Int_t | iT0BranchIndex |
| FairEventHeader * | fEventHeader |
Definition at line 26 of file BmnMQSource.h.
Definition at line 21 of file BmnMQSource.cxx.
References _addrString, _tBuf, fEventHeader, fFirstEvent, fPeriodId, fToFile, and iEventNumber.
Referenced by InitZMQ().
|
virtual |
Definition at line 32 of file BmnMQSource.cxx.
|
virtual |
Definition at line 37 of file BmnMQSource.h.
Definition at line 37 of file BmnMQSource.h.
| void BmnMQSource::Close | ( | ) |
Definition at line 112 of file BmnMQSource.cxx.
References _ctx, _decoSocket, _tBuf, fArrVec, and fNamVec.
| void BmnMQSource::Close | ( | ) |
| void BmnMQSource::FillEventHeader | ( | FairEventHeader * | feh | ) |
Definition at line 209 of file BmnMQSource.cxx.
References fEventHeader.
| void BmnMQSource::FillEventHeader | ( | FairEventHeader * | feh | ) |
Definition at line 44 of file BmnMQSource.h.
Definition at line 44 of file BmnMQSource.h.
|
inline |
Definition at line 41 of file BmnMQSource.h.
References fPeriodId.
|
inline |
Definition at line 41 of file BmnMQSource.h.
References fPeriodId.
|
inline |
Definition at line 38 of file BmnMQSource.h.
References fRunInst.
|
inline |
Definition at line 38 of file BmnMQSource.h.
References fRunInst.
| Bool_t BmnMQSource::Init | ( | ) |
Definition at line 34 of file BmnMQSource.cxx.
References _decoSocket, _msg, _tBuf, TObject::Class(), TObject::ClassName(), fArrVec, fNamVec, fPeriodId, fRunId, BmnParts::GetArrays(), TCollection::GetName(), BmnParts::GetObjects(), BmnEventHeader::GetPeriodId(), DstEventHeader::GetPeriodId(), InitZMQ(), TCollection::SetName(), and TimeDelta.
| Bool_t BmnMQSource::Init | ( | ) |
|
private |
Definition at line 220 of file BmnMQSource.cxx.
References _addrString, _ctx, _decoSocket, _tBuf, DBGERR, and TBuffer::kRead.
Referenced by Init().
|
private |
References BmnMQSource(), _addrString, _ctx, _decoSocket, _msg, _tBuf, fArrVec, fEventHeader, fFirstEvent, fNamVec, fPeriodId, fRunInst, fToFile, iEventNumber, iT0BranchIndex, and TimeDelta.
Definition at line 128 of file BmnMQSource.cxx.
References _decoSocket, _msg, _tBuf, TObject::Class(), fArrVec, fEventHeader, fNamVec, BmnParts::GetArrays(), BmnParts::GetObjects(), i, signal(), and TimeDelta.
|
inline |
Definition at line 39 of file BmnMQSource.h.
References fRunInst.
|
inline |
Definition at line 39 of file BmnMQSource.h.
References fRunInst.
|
private |
Definition at line 55 of file BmnMQSource.h.
Referenced by BmnMQSource(), and InitZMQ().
|
private |
Definition at line 53 of file BmnMQSource.h.
|
private |
Definition at line 54 of file BmnMQSource.h.
Referenced by Close(), Init(), InitZMQ(), and ReadEvent().
|
private |
Definition at line 51 of file BmnMQSource.h.
Referenced by Init(), InitZMQ(), and ReadEvent().
|
private |
Definition at line 52 of file BmnMQSource.h.
Referenced by BmnMQSource(), Close(), Init(), InitZMQ(), and ReadEvent().
|
private |
Definition at line 57 of file BmnMQSource.h.
Referenced by Close(), Init(), InitZMQ(), and ReadEvent().
|
private |
Definition at line 68 of file BmnMQSource.h.
Referenced by BmnMQSource(), FillEventHeader(), InitZMQ(), and ReadEvent().
|
private |
Definition at line 60 of file BmnMQSource.h.
Referenced by BmnMQSource(), and InitZMQ().
|
private |
Definition at line 56 of file BmnMQSource.h.
Referenced by Close(), Init(), InitZMQ(), and ReadEvent().
|
private |
Definition at line 64 of file BmnMQSource.h.
Referenced by BmnMQSource(), GetPeriodId(), Init(), and InitZMQ().
|
private |
Definition at line 50 of file BmnMQSource.h.
Referenced by GetRunInstance(), InitZMQ(), and SetRunInstance().
|
private |
Definition at line 61 of file BmnMQSource.h.
Referenced by BmnMQSource(), and InitZMQ().
|
private |
Definition at line 66 of file BmnMQSource.h.
Referenced by BmnMQSource(), and InitZMQ().
|
private |
Definition at line 67 of file BmnMQSource.h.
Referenced by InitZMQ().
|
private |
Definition at line 59 of file BmnMQSource.h.
Referenced by Init(), InitZMQ(), and ReadEvent().