BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnMetadataTest.C File Reference
#include <ROOT/RDF/RInterface.hxx>
#include <ROOT/RDataFrame.hxx>
#include <filesystem>
Include dependency graph for BmnMetadataTest.C:

Go to the source code of this file.

Typedefs

using SysPoint = std::chrono::time_point<SysClock>

Functions

void GatherStatusBlocksFromDigis ()
void BmnMetadataTest (vector< string > files, TString meta_file, UInt_t run_id, UInt_t period=8)

Variables

SysPoint fRunStartTime
SysPoint fRunEndTime
UInt_t fRunId
UInt_t fPeriodId
bool get_run_interval_from_file = false
unique_ptr< DigiRunHeader > digiRunHeader
vector< string > fDigiFileNames

Typedef Documentation

◆ SysPoint

using SysPoint = std::chrono::time_point<SysClock>

Definition at line 8 of file BmnMetadataTest.C.

Function Documentation

◆ BmnMetadataTest()

void BmnMetadataTest ( vector< string > files,
TString meta_file,
UInt_t run_id,
UInt_t period = 8 )

◆ GatherStatusBlocksFromDigis()

void GatherStatusBlocksFromDigis ( )

Definition at line 18 of file BmnMetadataTest.C.

References TDatime::Convert(), fPeriodId, fRunEndTime, fRunId, fRunStartTime, get_run_interval_from_file, UniRun::GetEndDatetime(), UniRun::GetRun(), UniRun::GetStartDatetime(), and BmnFunctionSet::TimePoint2String().

Referenced by BmnMetadataTest().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ digiRunHeader

unique_ptr<DigiRunHeader> digiRunHeader

Definition at line 15 of file BmnMetadataTest.C.

Referenced by BmnToCbmHitConverter::Init().

◆ fDigiFileNames

vector<string> fDigiFileNames

Definition at line 16 of file BmnMetadataTest.C.

Referenced by BmnMetadataTest().

◆ fPeriodId

UInt_t fPeriodId

Definition at line 13 of file BmnMetadataTest.C.

Referenced by BmnMetadataTest(), and GatherStatusBlocksFromDigis().

◆ fRunEndTime

SysPoint fRunEndTime

Definition at line 11 of file BmnMetadataTest.C.

Referenced by BmnOnlineDecoder::AddRun2DB(), and GatherStatusBlocksFromDigis().

◆ fRunId

◆ fRunStartTime

SysPoint fRunStartTime

Definition at line 10 of file BmnMetadataTest.C.

Referenced by BmnOnlineDecoder::AddRun2DB(), and GatherStatusBlocksFromDigis().

◆ get_run_interval_from_file

bool get_run_interval_from_file = false

Definition at line 14 of file BmnMetadataTest.C.

Referenced by GatherStatusBlocksFromDigis().