|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnConverterTools.h>
Static Public Member Functions | |
| static BmnStatus | ParseComplexTLV (const uint32_t *buf, UInt_t &len, UInt_t &runId) |
| static SpillStatus | ParseJsonStatus (json &j, Int_t tai_utc_dif=0) |
| static BmnStatus | ParseJsonConfig (json &j, BmnTrigConfig &trig_conf) |
| static SysPoint | ParseTAI (json &j, Int_t tai_utc_dif=0) |
| static BmnStatus | ParseRawT0TextConfig (string &s, BmnT0Raw *rt0dig) |
| static BmnStatus | ParseRawFileName (const TString &s, BmnFileProp &prop) |
| static BmnStatus | ParseRawFileName (const string &s, BmnFileProp &prop) |
| static TString | GetSubNameAfterRunId (TString name) |
| static BmnT0Raw * | Process_T0Raw (const uint32_t *d, uint32_t len, TClonesArray *t0raw=nullptr) |
| template<typename IntType, typename LamType> | |
| static BmnStatus | Process_ADC64 (const uint32_t *d, UInt_t len, UInt_t serial, LamType arr_selector) |
| Parse ADC64 format Mstream Waveform V2 from https://afi.jinr.ru/MStreamWaveformDigitizer. | |
| static BmnStatus | ParseComplexTLV (const uint32_t *buf, UInt_t &len, UInt_t &runId) |
| static SpillStatus | ParseJsonStatus (json &j, Int_t tai_utc_dif=0) |
| static BmnStatus | ParseJsonConfig (json &j, BmnTrigConfig &trig_conf) |
| static SysPoint | ParseTAI (json &j, Int_t tai_utc_dif=0) |
| static BmnStatus | ParseRawT0TextConfig (string &s, BmnT0Raw *rt0dig) |
| static BmnStatus | ParseRawFileName (const TString &s, BmnFileProp &prop) |
| static BmnStatus | ParseRawFileName (const string &s, BmnFileProp &prop) |
| static TString | GetSubNameAfterRunId (TString name) |
| static BmnT0Raw * | Process_T0Raw (const uint32_t *d, uint32_t len, TClonesArray *t0raw=nullptr) |
| template<typename IntType, typename LamType> | |
| static BmnStatus | Process_ADC64 (const uint32_t *d, UInt_t len, UInt_t serial, LamType arr_selector) |
| Parse ADC64 format Mstream Waveform V2 from https://afi.jinr.ru/MStreamWaveformDigitizer. | |
Private Types | |
| enum | T0Config { Comment , Discriminators , DelayLines , Switches , LV , BDMult , ExtraDelaysMask , Undefined , Comment , Discriminators , DelayLines , Switches , LV , BDMult , ExtraDelaysMask , Undefined } |
| enum | T0Config { Comment , Discriminators , DelayLines , Switches , LV , BDMult , ExtraDelaysMask , Undefined , Comment , Discriminators , DelayLines , Switches , LV , BDMult , ExtraDelaysMask , Undefined } |
Static Private Member Functions | |
| template<typename ArrType> | |
| static void | TakeDataWords (UInt_t n, const uint32_t *d, ArrType &valI) |
| static T0Config | GetT0Cfg (string str) |
| template<typename ArrType> | |
| static void | TakeDataWords (UInt_t n, const uint32_t *d, ArrType &valI) |
| static T0Config | GetT0Cfg (string str) |
Definition at line 33 of file BmnConverterTools.h.
|
private |
| Enumerator | |
|---|---|
| Comment | |
| Discriminators | |
| DelayLines | |
| Switches | |
| LV | |
| BDMult | |
| ExtraDelaysMask | |
| Undefined | |
| Comment | |
| Discriminators | |
| DelayLines | |
| Switches | |
| LV | |
| BDMult | |
| ExtraDelaysMask | |
| Undefined | |
Definition at line 116 of file BmnConverterTools.h.
|
private |
| Enumerator | |
|---|---|
| Comment | |
| Discriminators | |
| DelayLines | |
| Switches | |
| LV | |
| BDMult | |
| ExtraDelaysMask | |
| Undefined | |
| Comment | |
| Discriminators | |
| DelayLines | |
| Switches | |
| LV | |
| BDMult | |
| ExtraDelaysMask | |
| Undefined | |
Definition at line 116 of file BmnConverterTools.h.
Definition at line 488 of file BmnConverterTools.cxx.
References TPRegexp::MatchB(), and TPRegexp::Substitute().
Referenced by BmnRawDataDecoder::BmnRawDataDecoder(), BmnRawSource::BmnRawSource(), and BmnConverter::FeedFile().
|
staticprivate |
Definition at line 18 of file BmnConverterTools.cxx.
Referenced by ParseRawT0TextConfig().
|
staticprivate |
|
static |
Referenced by BmnConverter::ConvertRawToRootIterateFileRead(), BmnRawSource::ConvertRawToRootIterateFileRead(), and BmnOnlineDecoder::ProcessStream().
|
static |
|
static |
Definition at line 388 of file BmnConverterTools.cxx.
References BmnTrigChannelConfig::after_protect_en, BmnTrigChannelConfig::after_protect_time, BmnTrigChannelConfig::before_protect_en, BmnTrigChannelConfig::before_protect_time, BmnTrigChannelConfig::delay, kBMNERROR, kBMNSUCCESS, BmnTrigChannelConfig::reduction_en, BmnTrigChannelConfig::reduction_factor, BmnTrigConfig::SetCalibCount(), BmnTrigConfig::SetCalibEn(), BmnTrigConfig::SetMatchWindow(), BmnTrigConfig::SetReadChannelMask(), BmnTrigConfig::SetStartChannelMask(), BmnTrigConfig::SetTrigDelay(), TRC_CLOCK_NS, and BmnTrigConfig::TrigChannelConfig().
Referenced by BmnConverter::ParseJsonTLV(), and BmnRawSource::ParseJsonTLV().
|
static |
|
static |
Referenced by BmnConverter::ParseJsonTLV(), and BmnRawSource::ParseJsonTLV().
|
static |
|
static |
Definition at line 511 of file BmnConverterTools.cxx.
References BmnFileProp::GetEventOrder(), BmnFileProp::GetFileId(), BmnFileProp::GetRunId(), kBMNERROR, kBMNSUCCESS, BmnFileProp::SetEventOrder(), BmnFileProp::SetFileId(), BmnFileProp::SetRunId(), and BmnFileProp::SetRunIndex().
|
static |
|
static |
Definition at line 506 of file BmnConverterTools.cxx.
References TString::Data(), and ParseRawFileName().
Referenced by BmnRawDataDecoder::BmnRawDataDecoder(), BmnRawSource::BmnRawSource(), BmnOnlineDecoder::BatchDirectory(), BmnOnlineDecoder::BatchDirectoryToSocket(), BmnConverter::FeedFile(), BmnOnlineDecoder::InitDecoder(), and ParseRawFileName().
|
static |
Definition at line 130 of file BmnConverterTools.cxx.
References IndentedConfigParser::Node::children, BmnT0Raw::DelayLines(), BmnT0Raw::Discriminators(), GetT0Cfg(), kBMNERROR, kBMNSUCCESS, BmnT0Raw::LVChannelConfig(), n, IndentedConfigParser::ParseIStringStream(), BmnT0Raw::SetBDMultH(), BmnT0Raw::SetBDMultL(), BmnT0Raw::SetComment(), BmnT0Raw::SetExtraDelaysMask(), BmnT0Raw::Switches(), and thr.
Referenced by Process_T0Raw().
|
inlinestatic |
| d | Data array ptr |
| len | payload length |
| serial | Serial number |
| arr_selector | Function for appropriate TClonesArray selection |
Definition at line 57 of file BmnConverterTools.h.
References TTimeStamp::AsString(), d, TObjArray::GetEntriesFast(), kBMNERROR, kBMNSUCCESS, kNBYTESINWORD, and TakeDataWords().
Referenced by BmnConverterThread::ProcessEvent(), and BmnRawSource::ProcessEvent().
|
inlinestatic |
| d | Data array ptr |
| len | payload length |
| serial | Serial number |
| arr_selector | Function for appropriate TClonesArray selection |
Definition at line 57 of file BmnConverterTools.h.
References TTimeStamp::AsString(), d, TObjArray::GetEntriesFast(), kBMNERROR, kBMNSUCCESS, kNBYTESINWORD, and TakeDataWords().
|
static |
Definition at line 45 of file BmnConverterTools.cxx.
References TTimeStamp::AsString(), d, TObjArray::GetEntriesFast(), TTimeStamp::GetNanoSec(), TTimeStamp::GetSec(), i, kBMNERROR, kT0_BIN_BLOCK_2020_SEC, kT0_BIN_BLOCK_BYTES, kT0_BIN_BLOCK_TIME_TXT, kT0_BIN_BLOCK_UNIX_SEC, kT0_BIN_BLOCK_WORDS, kWORDSIZE, ParseRawT0TextConfig(), TClonesArray::Remove(), BmnT0Raw::SetTime(), BmnT0Raw::SetTriggerMask(), BmnT0Raw::SetTS(), and BmnFunctionSet::TimePoint2String().
Referenced by BmnConverterThread::FillVirtualDevice(), BmnRawSource::FillVirtualDevice(), and BmnT0RawReader::ParseFile().
|
static |
References d.
|
inlinestaticprivate |
Definition at line 129 of file BmnConverterTools.h.
Referenced by Process_ADC64().
|
inlinestaticprivate |
Definition at line 129 of file BmnConverterTools.h.