|
BmnRoot
|
#include <BmnConverterTools.h>
Static Public Member Functions | |
| static BmnStatus | ParseComplexTLV (UInt_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< kT0_BIN_BLOCK_WORDS > *rt0dig) |
| static BmnStatus | ParseRawFileName (TString s, BmnFileProp &prop) |
| static BmnStatus | ParseRawFileName (string s, BmnFileProp &prop) |
| static TString | GetSubNameAfterRunId (TString name) |
| template<typename IntType , typename LamType > | |
| static BmnStatus | Process_ADC64 (UInt_t *d, UInt_t len, UInt_t serial, LamType arr_selector) |
| static BmnStatus | ParseComplexTLV (UInt_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< kT0_BIN_BLOCK_WORDS > *rt0dig) |
| static BmnStatus | ParseRawFileName (TString s, BmnFileProp &prop) |
| static BmnStatus | ParseRawFileName (string s, BmnFileProp &prop) |
| static TString | GetSubNameAfterRunId (TString name) |
| template<typename IntType , typename LamType > | |
| static BmnStatus | Process_ADC64 (UInt_t *d, UInt_t len, UInt_t serial, LamType arr_selector) |
Definition at line 32 of file BmnConverterTools.h.
|
static |
Definition at line 419 of file BmnConverterTools.cxx.
Referenced by BmnRawDataDecoder::BmnRawDataDecoder(), BmnRawSource::BmnRawSource(), and BmnConverter::FeedFile().
|
static |
|
static |
Definition at line 363 of file BmnConverterTools.cxx.
References d, kBMNERROR, kBMNSUCCESS, kNBYTESINWORD, RECORD_EVENT_ORDER, RECORD_FILE_ID, RECORD_RUN_INDEX, and RECORD_RUN_NUMBER.
Referenced by BmnRawSource::ConvertRawToRootIterateFileRead(), and BmnOnlineDecoder::ProcessStream().
|
static |
|
static |
Definition at line 319 of file BmnConverterTools.cxx.
References BmnTrigChannelConfig::after_protect_en, BmnTrigChannelConfig::after_protect_time, BmnTrigChannelConfig::before_protect_en, BmnTrigChannelConfig::before_protect_time, nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::begin(), 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 |
Definition at line 235 of file BmnConverterTools.cxx.
References SpillStatus::counters_cnt, i, min(), ParseTAI(), and BmnFunctionSet::TimePoint2String().
Referenced by BmnConverter::ParseJsonTLV(), and BmnRawSource::ParseJsonTLV().
|
static |
|
static |
Definition at line 442 of file BmnConverterTools.cxx.
References BmnFileProp::GetEventOrder(), BmnFileProp::GetFileId(), BmnFileProp::GetRunId(), BmnFileProp::GetRunIndex(), kBMNERROR, kBMNSUCCESS, BmnFileProp::SetEventOrder(), BmnFileProp::SetFileId(), BmnFileProp::SetRunId(), and BmnFileProp::SetRunIndex().
|
static |
|
static |
Definition at line 437 of file BmnConverterTools.cxx.
References ParseRawFileName().
Referenced by BmnOnlineDecoder::BatchDirectory(), BmnOnlineDecoder::BatchDirectoryToSocket(), BmnRawSource::BmnRawSource(), and ParseRawFileName().
|
static |
|
static |
Definition at line 45 of file BmnConverterTools.cxx.
References BmnT0Raw< counters_cnt >::DelayLines(), BmnT0Raw< counters_cnt >::Discriminators(), kBMNERROR, kBMNSUCCESS, BmnT0Raw< counters_cnt >::LVChannelConfig(), min(), IndentedConfigParser::ParseIStringStream(), BmnT0Raw< counters_cnt >::SetBDMultH(), BmnT0Raw< counters_cnt >::SetBDMultL(), BmnT0Raw< counters_cnt >::SetComment(), BmnT0Raw< counters_cnt >::SetExtraDelaysMask(), BmnT0Raw< counters_cnt >::Switches(), and thr.
|
static |
Definition at line 37 of file BmnConverterTools.cxx.
Referenced by ParseJsonStatus().
|
inlinestatic |
Parse ADC64 format Mstream Waveform V2 from https://afi.jinr.ru/MStreamWaveformDigitizer
| d | Data array ptr |
| len | payload length |
| serial | Serial number |
| arr_selector | Function for appropriate TClonesArray selection |
Definition at line 54 of file BmnConverterTools.h.
References d, kBMNERROR, kBMNSUCCESS, and kNBYTESINWORD.
|
inlinestatic |
Parse ADC64 format Mstream Waveform V2 from https://afi.jinr.ru/MStreamWaveformDigitizer
| d | Data array ptr |
| len | payload length |
| serial | Serial number |
| arr_selector | Function for appropriate TClonesArray selection |
Definition at line 54 of file BmnConverterTools.h.
References d, kBMNERROR, kBMNSUCCESS, and kNBYTESINWORD.