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

Class presenting File Info (Metadata) Structure. More...

#include <FileCatalogue.h>

Public Member Functions

void Print () const
 Print all file metadata to the standard output.
void Print () const
 Print all file metadata to the standard output.

Public Attributes

int PeriodNumber = -1
 number of experiment session, when the events was collected
int RunNumber = -1
 number of experiment run, when the events was collected
int RunType = -1
 run type (1 - physics run, 2 - calibration run, 3 - test run)
string StartDateTime
 start datetime of the stored event set (YYYY-MM-DD HH-MM-SS format)
string EndDateTime = "1970-01-01 00-00-00"
 end datetime of the stored event set (YYYY-MM-DD HH-MM-SS format)
string BeamParticle = ""
 beam particle name
string TargetParticle = ""
 target particle name
float Energy = 0.0
 beam energy
float FieldVoltage = 0.0
 field voltage
int StartEvent = -1
 event number from which stored event set begins
int EndEvent = -1
 event number with which event set ends
int EventCount = -1
 event count stored in the file
float FileSize = -1
 file size in bytes

Static Public Attributes

static const int Version = 1
 structure (API) version

Detailed Description

Definition at line 25 of file FileCatalogue.h.

Member Function Documentation

◆ Print() [1/2]

void FileInfo::Print ( ) const
inline

Definition at line 50 of file FileCatalogue.h.

References BeamParticle, EndDateTime, EndEvent, Energy, EventCount, FieldVoltage, FileSize, PeriodNumber, RunNumber, RunType, StartDateTime, StartEvent, TargetParticle, and Version.

Referenced by get_file_metadata().

Here is the caller graph for this function:

◆ Print() [2/2]

void FileInfo::Print ( ) const
inline

Member Data Documentation

◆ BeamParticle

string FileInfo::BeamParticle = ""

Definition at line 37 of file FileCatalogue.h.

Referenced by FileCatalogue::AddFileInfo(), FileCatalogue::GetFileInfo(), and Print().

◆ EndDateTime

string FileInfo::EndDateTime = "1970-01-01 00-00-00"

Definition at line 36 of file FileCatalogue.h.

Referenced by FileCatalogue::AddFileInfo(), FileCatalogue::GetFileInfo(), and Print().

◆ EndEvent

int FileInfo::EndEvent = -1

Definition at line 44 of file FileCatalogue.h.

Referenced by FileCatalogue::AddFileInfo(), FileCatalogue::GetFileInfo(), and Print().

◆ Energy

float FileInfo::Energy = 0.0

Definition at line 40 of file FileCatalogue.h.

Referenced by FileCatalogue::AddFileInfo(), FileCatalogue::GetFileInfo(), and Print().

◆ EventCount

int FileInfo::EventCount = -1

Definition at line 45 of file FileCatalogue.h.

Referenced by FileCatalogue::AddFileInfo(), FileCatalogue::GetFileInfo(), and Print().

◆ FieldVoltage

float FileInfo::FieldVoltage = 0.0

Definition at line 41 of file FileCatalogue.h.

Referenced by FileCatalogue::AddFileInfo(), FileCatalogue::GetFileInfo(), and Print().

◆ FileSize

float FileInfo::FileSize = -1

Definition at line 47 of file FileCatalogue.h.

Referenced by FileCatalogue::AddFileInfo(), FileCatalogue::GetFileInfo(), and Print().

◆ PeriodNumber

int FileInfo::PeriodNumber = -1

Definition at line 30 of file FileCatalogue.h.

Referenced by FileCatalogue::GetFileInfo(), and Print().

◆ RunNumber

int FileInfo::RunNumber = -1

Definition at line 31 of file FileCatalogue.h.

Referenced by FileCatalogue::AddFileInfo(), FileCatalogue::GetFileInfo(), and Print().

◆ RunType

int FileInfo::RunType = -1

Definition at line 32 of file FileCatalogue.h.

Referenced by FileCatalogue::AddFileInfo(), FileCatalogue::GetFileInfo(), and Print().

◆ StartDateTime

string FileInfo::StartDateTime
Initial value:
=
"1970-01-01 00-00-00"

Definition at line 34 of file FileCatalogue.h.

Referenced by FileCatalogue::AddFileInfo(), FileCatalogue::GetFileInfo(), and Print().

◆ StartEvent

int FileInfo::StartEvent = -1

Definition at line 43 of file FileCatalogue.h.

Referenced by FileCatalogue::AddFileInfo(), FileCatalogue::GetFileInfo(), and Print().

◆ TargetParticle

string FileInfo::TargetParticle = ""

Definition at line 38 of file FileCatalogue.h.

Referenced by FileCatalogue::AddFileInfo(), FileCatalogue::GetFileInfo(), and Print().

◆ Version

const int FileInfo::Version = 1
static

Definition at line 28 of file FileCatalogue.h.

Referenced by FileCatalogue::FileCatalogue(), and Print().


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