BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
BmnRunInfo.cxx
Go to the documentation of this file.
1
/*
2
* File: BmnRunInfo.h
3
* Author: ilnur
4
*
5
* Created on February 10 2018, 17:25
6
*/
7
8
#include "
BmnRunInfo.h
"
9
10
BmnRunInfo::BmnRunInfo
()
11
{
12
i_period_number
= 0;
13
i_run_number
= 0;
14
str_file_path
=
""
;
15
str_beam_particle
=
""
;
16
str_target_particle
=
""
;
17
d_energy
= 0;
18
i_event_count
= 0;
19
d_field_voltage
= 0;
20
i_trigger_id
= 0;
21
}
22
23
BmnRunInfo::BmnRunInfo
(
UniRun
* orig)
24
{
25
i_period_number
= orig->
GetPeriodNumber
();
26
i_run_number
= orig->
GetRunNumber
();
27
str_beam_particle
= orig->
GetBeamParticle
();
28
str_target_particle
= orig->
GetTargetParticle
();
29
d_energy
= orig->
GetEnergy
() ? *orig->
GetEnergy
() : -1;
30
// dt_start_datetime = orig->GetStartDatetime();
31
// dt_end_datetime = orig->GetEndDatetime() ? *orig->GetEndDatetime() : dt_end_datetime;
32
i_event_count
= orig->
GetEventCount
() ? *orig->
GetEventCount
() : -1;
33
d_field_voltage
= orig->
GetFieldVoltage
() ? *orig->
GetFieldVoltage
() : -1;
34
// i_trigger_id = orig->Get;
35
}
36
37
BmnRunInfo::~BmnRunInfo
() {}
BmnRunInfo.h
BmnRunInfo::i_period_number
Int_t i_period_number
period number
Definition
BmnRunInfo.h:63
BmnRunInfo::i_event_count
Int_t i_event_count
start datetime
Definition
BmnRunInfo.h:79
BmnRunInfo::d_field_voltage
Double_t d_field_voltage
field voltage
Definition
BmnRunInfo.h:81
BmnRunInfo::~BmnRunInfo
virtual ~BmnRunInfo()
Definition
BmnRunInfo.cxx:37
BmnRunInfo::str_file_path
TString str_file_path
file path
Definition
BmnRunInfo.h:67
BmnRunInfo::str_target_particle
TString str_target_particle
target particle
Definition
BmnRunInfo.h:71
BmnRunInfo::str_beam_particle
TString str_beam_particle
beam particle
Definition
BmnRunInfo.h:69
BmnRunInfo::i_trigger_id
Int_t i_trigger_id
trigger id
Definition
BmnRunInfo.h:83
BmnRunInfo::i_run_number
Int_t i_run_number
run number
Definition
BmnRunInfo.h:65
BmnRunInfo::BmnRunInfo
BmnRunInfo()
Definition
BmnRunInfo.cxx:10
BmnRunInfo::d_energy
Double_t d_energy
energy
Definition
BmnRunInfo.h:73
UniRun
UniRun.h Class for the table: run_.
Definition
UniRun.h:21
UniRun::GetEnergy
double * GetEnergy()
get energy of the current run
Definition
UniRun.h:113
UniRun::GetRunNumber
int GetRunNumber()
get run number of the current run
Definition
UniRun.h:95
UniRun::GetPeriodNumber
int GetPeriodNumber()
get period number of the current run
Definition
UniRun.h:93
UniRun::GetBeamParticle
TString GetBeamParticle()
get beam particle of the current run
Definition
UniRun.h:109
UniRun::GetFieldVoltage
double * GetFieldVoltage()
get field voltage of the current run
Definition
UniRun.h:121
UniRun::GetEventCount
int * GetEventCount()
get event count of the current run
Definition
UniRun.h:129
UniRun::GetTargetParticle
TString GetTargetParticle()
get target particle of the current run
Definition
UniRun.h:111
QA
report
BmnRunInfo.cxx
Generated on
for BmnRoot by
1.17.0