|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
UniRun.h Class for the table: run_. More...
#include <UniRun.h>
Public Member Functions | |
| virtual | ~UniRun () |
| int | GetPeriodNumber () |
| get period number of the current run | |
| int | GetRunNumber () |
| get run number of the current run | |
| int | GetRunType () |
| get run type of the current run | |
| TDatime | GetStartDatetime () |
| get start datetime of the current run | |
| TDatime * | GetEndDatetime () |
| get end datetime of the current run | |
| TString | GetBeamParticle () |
| get beam particle of the current run | |
| TString | GetTargetParticle () |
| get target particle of the current run | |
| double * | GetEnergy () |
| get energy of the current run | |
| double * | GetFieldVoltage () |
| get field voltage of the current run | |
| int * | GetEventCount () |
| get event count of the current run | |
| int | GetRunQuality () |
| get run quality of the current run | |
| int | SetPeriodNumber (int period_number) |
| set period number of the current run | |
| int | SetRunNumber (int run_number) |
| set run number of the current run | |
| int | SetRunType (int run_type) |
| set run type of the current run | |
| int | SetStartDatetime (TDatime start_datetime) |
| set start datetime of the current run | |
| int | SetEndDatetime (TDatime *end_datetime) |
| set end datetime of the current run | |
| int | SetBeamParticle (TString beam_particle) |
| set beam particle of the current run | |
| int | SetTargetParticle (TString target_particle) |
| set target particle of the current run | |
| int | SetEnergy (double *energy) |
| set energy of the current run | |
| int | SetFieldVoltage (double *field_voltage) |
| set field voltage of the current run | |
| int | SetEventCount (int *event_count) |
| set event count of the current run | |
| int | SetRunQuality (int run_quality) |
| set run quality of the current run | |
| void | Print () |
| print information about current run | |
| TObjArray * | GetRawFiles () |
| get array of raw files (UniRawFile*) corresponding to the run (return nullptr if an error occured) | |
| virtual | ~UniRun () |
| int | GetPeriodNumber () |
| get period number of the current run | |
| int | GetRunNumber () |
| get run number of the current run | |
| int | GetRunType () |
| get run type of the current run | |
| TDatime | GetStartDatetime () |
| get start datetime of the current run | |
| TDatime * | GetEndDatetime () |
| get end datetime of the current run | |
| TString | GetBeamParticle () |
| get beam particle of the current run | |
| TString | GetTargetParticle () |
| get target particle of the current run | |
| double * | GetEnergy () |
| get energy of the current run | |
| double * | GetFieldVoltage () |
| get field voltage of the current run | |
| int * | GetEventCount () |
| get event count of the current run | |
| int | GetRunQuality () |
| get run quality of the current run | |
| int | SetPeriodNumber (int period_number) |
| set period number of the current run | |
| int | SetRunNumber (int run_number) |
| set run number of the current run | |
| int | SetRunType (int run_type) |
| set run type of the current run | |
| int | SetStartDatetime (TDatime start_datetime) |
| set start datetime of the current run | |
| int | SetEndDatetime (TDatime *end_datetime) |
| set end datetime of the current run | |
| int | SetBeamParticle (TString beam_particle) |
| set beam particle of the current run | |
| int | SetTargetParticle (TString target_particle) |
| set target particle of the current run | |
| int | SetEnergy (double *energy) |
| set energy of the current run | |
| int | SetFieldVoltage (double *field_voltage) |
| set field voltage of the current run | |
| int | SetEventCount (int *event_count) |
| set event count of the current run | |
| int | SetRunQuality (int run_quality) |
| set run quality of the current run | |
| void | Print () |
| print information about current run | |
| TObjArray * | GetRawFiles () |
| get array of raw files (UniRawFile*) corresponding to the run (return nullptr if an error occured) | |
Static Public Member Functions | |
| static UniRun * | CreateRun (int period_number, int run_number, int run_type, TDatime start_datetime, TDatime *end_datetime, TString beam_particle, TString target_particle, double *energy, double *field_voltage, int *event_count, int run_quality) |
| add new run to the database | |
| static UniRun * | GetRun (int period_number, int run_number) |
| get run from the database | |
| static int | CheckRunExists (int period_number, int run_number) |
| check run exists in the database: 1- true, 0 - false, <0 - database operation error | |
| static int | DeleteRun (int period_number, int run_number) |
| delete run from the database | |
| static int | PrintAll () |
| print all runs | |
| static int | GetRunNumbers (UniqueRunNumber *&run_numbers, int start_period, int start_run=0, int end_period=-1, int end_run=-1) |
| get numbers of runs stored in the Database for a selected range | |
| static int | GetRunNumbers (UniqueRunNumber *&run_numbers) |
| get all numbers of stored runs in the Database | |
| static double | FindPreviousFieldVoltage (int &period_number, int &run_number) |
| get field voltage value if period_number > 0 and run_number > 0: from the closest previous run, below (period:run) in another case: for the latest run in the database ATTENTION: changes the input period and run numbers to the correspoding ones of the previous run with the field voltage | |
| static TObjArray * | Search (UniSearchCondition &search_condition) |
| get runs corresponding to the specified single condition and set owner for search_condition to kTRUE | |
| static TObjArray * | Search (TObjArray &search_conditions) |
| get runs corresponding to the specified (vector) conditions and set owner for search_condition to kTRUE | |
| static UniRun * | GetRun (int &period_number, int &run_number, bool usePrevRunIfMissing) |
| get run from the database with the given period and run numbers if usePrevRunIfMissing is true then find and get the previous (existing) run in case the given run is absent ATTENTION: changes the input period and run numbers to ones of the found run (if usePrevRunIfMissing is true) | |
| static int | FindPreviousRun (int &period_number, int &run_number) |
| get number of the closest run below the given one or return the latest run in the database if period_number < 1 or run_number < 1 | |
| static UniRun * | CreateRun (int period_number, int run_number, int run_type, TDatime start_datetime, TDatime *end_datetime, TString beam_particle, TString target_particle, double *energy, double *field_voltage, int *event_count, int run_quality) |
| add new run to the database | |
| static UniRun * | GetRun (int period_number, int run_number) |
| get run from the database | |
| static int | CheckRunExists (int period_number, int run_number) |
| check run exists in the database: 1- true, 0 - false, <0 - database operation error | |
| static int | DeleteRun (int period_number, int run_number) |
| delete run from the database | |
| static int | PrintAll () |
| print all runs | |
| static int | GetRunNumbers (UniqueRunNumber *&run_numbers, int start_period, int start_run=0, int end_period=-1, int end_run=-1) |
| get numbers of runs stored in the Database for a selected range | |
| static int | GetRunNumbers (UniqueRunNumber *&run_numbers) |
| get all numbers of stored runs in the Database | |
| static double | FindPreviousFieldVoltage (int &period_number, int &run_number) |
| get field voltage value if period_number > 0 and run_number > 0: from the closest previous run, below (period:run) in another case: for the latest run in the database ATTENTION: changes the input period and run numbers to the correspoding ones of the previous run with the field voltage | |
| static TObjArray * | Search (UniSearchCondition &search_condition) |
| get runs corresponding to the specified single condition and set owner for search_condition to kTRUE | |
| static TObjArray * | Search (TObjArray &search_conditions) |
| get runs corresponding to the specified (vector) conditions and set owner for search_condition to kTRUE | |
| static UniRun * | GetRun (int &period_number, int &run_number, bool usePrevRunIfMissing) |
| get run from the database with the given period and run numbers if usePrevRunIfMissing is true then find and get the previous (existing) run in case the given run is absent ATTENTION: changes the input period and run numbers to ones of the found run (if usePrevRunIfMissing is true) | |
| static int | FindPreviousRun (int &period_number, int &run_number) |
| get number of the closest run below the given one or return the latest run in the database if period_number < 1 or run_number < 1 | |
Private Member Functions | |
| UniRun (UniConnection *db_connect, int period_number, int run_number, int run_type, TDatime start_datetime, TDatime *end_datetime, TString beam_particle, TString target_particle, double *energy, double *field_voltage, int *event_count, int run_quality) | |
| UniRun (UniConnection *db_connect, int period_number, int run_number, int run_type, TDatime start_datetime, TDatime *end_datetime, TString beam_particle, TString target_particle, double *energy, double *field_voltage, int *event_count, int run_quality) | |
Private Attributes | |
| UniConnection * | connectionDB |
| connection to the database | |
| int | i_period_number |
| period number | |
| int | i_run_number |
| run number | |
| int | i_run_type |
| run type | |
| TDatime | ts_start_datetime |
| start datetime | |
| TDatime * | ts_end_datetime |
| end datetime | |
| TString | str_beam_particle |
| beam particle | |
| TString | str_target_particle |
| target particle | |
| double * | d_energy |
| energy | |
| double * | d_field_voltage |
| field voltage | |
| int * | i_event_count |
| event count | |
| int | i_run_quality |
| run quality | |
|
private |
Definition at line 18 of file UniRun.cxx.
References connectionDB, d_energy, d_field_voltage, i_event_count, i_period_number, i_run_number, i_run_quality, i_run_type, str_beam_particle, str_target_particle, ts_end_datetime, and ts_start_datetime.
Referenced by CreateRun(), FindPreviousRun(), GetRun(), GetRun(), and Search().
|
virtual |
Definition at line 47 of file UniRun.cxx.
References connectionDB, d_energy, d_field_voltage, i_event_count, and ts_end_datetime.
|
private |
|
virtual |
|
static |
Definition at line 241 of file UniRun.cxx.
References TString::Format(), UniConnection::GetSQLServer(), TSQLStatement::NextResultRow(), UniConnection::Open(), TSQLStatement::Process(), TSQLServer::Statement(), and TSQLStatement::StoreResult().
Referenced by create_fictitious_run(), remove_odd_runs(), and remove_runs().
|
static |
|
static |
Definition at line 62 of file UniRun.cxx.
References UniRun(), TString::Format(), UniConnection::GetSQLServer(), TSQLStatement::NextIteration(), UniConnection::Open(), TSQLStatement::Process(), TSQLStatement::SetDatime(), TSQLStatement::SetDouble(), TSQLStatement::SetInt(), TSQLStatement::SetNull(), TSQLStatement::SetString(), and TSQLServer::Statement().
Referenced by BmnOnlineDecoder::AddRun2DB(), and create_fictitious_run().
|
static |
Definition at line 281 of file UniRun.cxx.
References TString::Format(), UniConnection::GetSQLServer(), TSQLStatement::NextIteration(), UniConnection::Open(), TSQLStatement::Process(), TSQLStatement::SetInt(), and TSQLServer::Statement().
Referenced by remove_odd_runs(), remove_raw_files(), and remove_runs().
|
static |
|
static |
Definition at line 908 of file UniRun.cxx.
References TString::Format(), TSQLStatement::GetDouble(), TSQLStatement::GetInt(), UniConnection::GetSQLServer(), TSQLStatement::NextResultRow(), UniConnection::Open(), TSQLStatement::Process(), TSQLServer::Statement(), and TSQLStatement::StoreResult().
Referenced by run_reco_bmn(), run_reco_bmn(), and run_reco_bmn().
|
static |
|
static |
Definition at line 1187 of file UniRun.cxx.
References TString::Format(), TSQLStatement::GetInt(), UniConnection::GetSQLServer(), TSQLStatement::NextResultRow(), UniConnection::Open(), TSQLStatement::Process(), TSQLServer::Statement(), and TSQLStatement::StoreResult().
Referenced by GetRun(), and prerun_create().
|
static |
|
inline |
Definition at line 109 of file UniRun.h.
References str_beam_particle.
Referenced by BmnRunInfo::BmnRunInfo(), BmnZDCRaw2Digit::BmnZDCRaw2Digit(), compare_uniconda_elog(), BmnMassSpectrumAnal::createFilelist(), BmnTriggerEfficiencyRun7::createFilelist(), BmnTrackingQaOffline::DoAnalisys(), BmnLambdaEmbedding::Embedding(), eventdisplay(), BmnFillDstTask::Init(), BmnEfficiencyTools::Process(), run8_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_src(), SRC_EventCounter(), update_run_metadata_from_elog(), and BmnMonitor::UpdateRuns().
|
inline |
Definition at line 109 of file UniRun.h.
References str_beam_particle.
|
inline |
Definition at line 101 of file UniRun.h.
References ts_end_datetime.
Referenced by BmnOnlineDecoder::AddRun2DB(), check_event_and_time(), GatherStatusBlocksFromDigis(), BmnFillDstTask::Init(), BmnMscRaw2Digit::ParseTxtSpillLog(), run_beam_info(), TangoData::SetRunRangeDates(), show_avg_field(), show_field_graph(), show_run_stats(), Spill(), tango_gem_trip(), tango_gem_u(), and write_avg_field_db().
|
inline |
Definition at line 101 of file UniRun.h.
References ts_end_datetime.
|
inline |
Definition at line 113 of file UniRun.h.
References d_energy.
Referenced by BmnRunInfo::BmnRunInfo(), BmnDataSelector(), compare_uniconda_elog(), BmnSRCTriggersCheck::Exec(), BmnMonitor::GetAlikeRunsByElog(), BmnFillDstTask::Init(), run_reco_bmn(), SRC_EventCounter(), update_run_metadata_from_elog(), and BmnMonitor::UpdateRuns().
|
inline |
Definition at line 129 of file UniRun.h.
References i_event_count.
Referenced by BmnRunInfo::BmnRunInfo(), BmnOnlineDecoder::AddRun2DB(), check_event_and_time(), check_event_count(), show_run_stats(), and SRC_EventCounter().
|
inline |
Definition at line 129 of file UniRun.h.
References i_event_count.
|
inline |
Definition at line 121 of file UniRun.h.
References d_field_voltage.
Referenced by BmnEfficiency::BmnEfficiency(), BmnEfficiency::BmnEfficiency(), BmnRunInfo::BmnRunInfo(), BmnDataSelector(), compare_avg_field(), convert_current_2_voltage(), BmnTrackingQaOffline::DoAnalisys(), BmnLambdaEmbeddingQa::DoDrawEventsWithEmbeddedSignals(), BmnLambdaEmbedding::Embedding(), eventdisplay(), BmnMonitor::GetAlikeRunsByElog(), BmnGlobalAlignment::Init(), BmnQaOffline::Init(), BmnTwoParticleDecay::Init(), move_field_2_parameter(), offlineQA(), run8_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_src(), SRC_EventCounter(), update_run_metadata_from_elog(), BmnMonitor::UpdateRuns(), and write_avg_field_db().
|
inline |
Definition at line 121 of file UniRun.h.
References d_field_voltage.
|
inline |
Definition at line 93 of file UniRun.h.
References i_period_number.
Referenced by BmnRunInfo::BmnRunInfo(), and selecting_runs().
|
inline |
Definition at line 93 of file UniRun.h.
References i_period_number.
| TObjArray * UniRun::GetRawFiles | ( | ) |
Definition at line 798 of file UniRun.cxx.
References UniRawFile::GetRawFiles(), i_period_number, and i_run_number.
Referenced by check_db_paths_exist(), check_event_and_time(), BmnMetadataDecoder::SetDigiDirectory(), and show_raw_stats().
| TObjArray * UniRun::GetRawFiles | ( | ) |
|
static |
Definition at line 1166 of file UniRun.cxx.
References UniRun(), FindPreviousRun(), and GetRun().
|
static |
|
static |
Definition at line 161 of file UniRun.cxx.
References UniRun(), TString::Format(), TSQLStatement::GetDatime(), TSQLStatement::GetDouble(), TSQLStatement::GetInt(), UniConnection::GetSQLServer(), TSQLStatement::GetString(), TSQLStatement::IsNull(), TSQLStatement::NextResultRow(), UniConnection::Open(), TSQLStatement::Process(), TSQLServer::Statement(), and TSQLStatement::StoreResult().
Referenced by BmnEfficiency::BmnEfficiency(), BmnEfficiency::BmnEfficiency(), BmnZDCRaw2Digit::BmnZDCRaw2Digit(), BmnOnlineDecoder::AddRun2DB(), BmnDataSelector(), check_db_paths_exist(), check_event_and_time(), check_event_count(), compare_avg_field(), compare_uniconda_elog(), convert_current_2_voltage(), BmnMassSpectrumAnal::createFilelist(), BmnTriggerEfficiencyRun7::createFilelist(), BmnQaMonitor::CreateInfoLists(), del_files_not_in_db(), BmnTrackingQaOffline::DoAnalisys(), BmnLambdaEmbeddingQa::DoDrawEventsWithEmbeddedSignals(), BmnLambdaEmbedding::Embedding(), eventdisplay(), BmnSRCTriggersCheck::Exec(), GatherStatusBlocksFromDigis(), BmnMonitor::GetAlikeRunsByUniDB(), GetRun(), BmnFillDstTask::Init(), BmnGlobalAlignment::Init(), BmnQaOffline::Init(), BmnTwoParticleDecay::Init(), move_field_2_parameter(), move_field_2_run(), offlineQA(), BmnMscRaw2Digit::ParseTxtSpillLog(), BmnEfficiencyTools::Process(), run8_reco_bmn(), run_beam_info(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_src(), BmnMetadataDecoder::SetDigiDirectory(), TangoData::SetRunRangeDates(), bmn::online::ReconstructionProcessor::SetupExperimentalRun(), show_avg_field(), show_field_graph(), show_raw_stats(), show_run_stats(), Spill(), SRC_EventCounter(), tango_gem_trip(), tango_gem_u(), update_run_metadata_from_elog(), write_avg_field_db(), and write_checksum_db().
|
static |
|
inline |
Definition at line 95 of file UniRun.h.
References i_run_number.
Referenced by BmnRunInfo::BmnRunInfo(), BmnMonitor::GetAlikeRunsByElog(), selecting_runs(), and BmnMonitor::UpdateRuns().
|
inline |
Definition at line 95 of file UniRun.h.
References i_run_number.
|
static |
| [out] | run_numbers | pairs (period number+run numbers) of all runs |
Definition at line 857 of file UniRun.cxx.
References TString::Format(), TSQLStatement::GetInt(), UniConnection::GetSQLServer(), i, TSQLStatement::NextResultRow(), UniConnection::Open(), UniqueRunNumber::period_number, TSQLStatement::Process(), UniqueRunNumber::run_number, TSQLServer::Statement(), and TSQLStatement::StoreResult().
|
static |
| [out] | run_numbers | pairs (period number+run numbers) of all runs |
|
static |
| [in] | start_period | start period number for selected run numbers' range |
| [in] | start_run | start run number for selected run numbers' range (default, 0 means "from the first run of the start period") |
| [in] | end_period | end period number for selected run numbers' range (default, -1 means "end_period = start_period") |
| [in] | end_run | end run number for selected run numbers' range (default, -1 means "up to the last run of the end period") |
| [out] | run_numbers | pairs (period number+run numbers) of existing runs for a selected range (from start to end) |
Definition at line 804 of file UniRun.cxx.
References TString::Format(), TSQLStatement::GetInt(), UniConnection::GetSQLServer(), i, TSQLStatement::NextResultRow(), UniConnection::Open(), UniqueRunNumber::period_number, TSQLStatement::Process(), UniqueRunNumber::run_number, TSQLServer::Statement(), and TSQLStatement::StoreResult().
Referenced by check_event_and_time(), compare_avg_field(), compare_uniconda_elog(), convert_current_2_voltage(), dch_noise_hist(), move_field_2_parameter(), move_field_2_run(), print_parameter(), TangoData::SetRunRangeDates(), show_avg_field(), show_raw_stats(), show_run_stats(), update_run_metadata_from_elog(), and write_avg_field_db().
|
static |
| [in] | start_period | start period number for selected run numbers' range |
| [in] | start_run | start run number for selected run numbers' range (default, 0 means "from the first run of the start period") |
| [in] | end_period | end period number for selected run numbers' range (default, -1 means "end_period = start_period") |
| [in] | end_run | end run number for selected run numbers' range (default, -1 means "up to the last run of the end period") |
| [out] | run_numbers | pairs (period number+run numbers) of existing runs for a selected range (from start to end) |
|
inline |
Definition at line 137 of file UniRun.h.
References i_run_quality.
|
inline |
Definition at line 137 of file UniRun.h.
References i_run_quality.
|
inline |
Definition at line 97 of file UniRun.h.
References i_run_type.
Referenced by compare_uniconda_elog(), and update_run_metadata_from_elog().
|
inline |
Definition at line 97 of file UniRun.h.
References i_run_type.
|
inline |
Definition at line 99 of file UniRun.h.
References ts_start_datetime.
Referenced by BmnOnlineDecoder::AddRun2DB(), check_event_and_time(), GatherStatusBlocksFromDigis(), BmnMonitor::GetAlikeRunsByElog(), BmnFillDstTask::Init(), BmnMscRaw2Digit::ParseTxtSpillLog(), run_beam_info(), TangoData::SetRunRangeDates(), show_avg_field(), show_field_graph(), show_run_stats(), Spill(), tango_gem_trip(), tango_gem_u(), BmnMonitor::UpdateRuns(), and write_avg_field_db().
|
inline |
Definition at line 99 of file UniRun.h.
References ts_start_datetime.
|
inline |
Definition at line 111 of file UniRun.h.
References str_target_particle.
Referenced by BmnRunInfo::BmnRunInfo(), BmnDataSelector(), compare_uniconda_elog(), BmnMassSpectrumAnal::createFilelist(), BmnTriggerEfficiencyRun7::createFilelist(), BmnTrackingQaOffline::DoAnalisys(), eventdisplay(), BmnSRCTriggersCheck::Exec(), BmnFillDstTask::Init(), BmnEfficiencyTools::Process(), run8_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_src(), SRC_EventCounter(), update_run_metadata_from_elog(), and BmnMonitor::UpdateRuns().
|
inline |
Definition at line 111 of file UniRun.h.
References str_target_particle.
| void UniRun::Print | ( | ) |
Definition at line 781 of file UniRun.cxx.
References d_energy, d_field_voltage, TString::Format(), i_event_count, i_period_number, i_run_number, i_run_quality, i_run_type, str_beam_particle, str_target_particle, ts_end_datetime, and ts_start_datetime.
| void UniRun::Print | ( | ) |
|
static |
Definition at line 312 of file UniRun.cxx.
References TDatime::AsSQLString(), TString::Format(), TSQLStatement::GetDatime(), TSQLStatement::GetDouble(), TSQLStatement::GetInt(), UniConnection::GetSQLServer(), TSQLStatement::GetString(), TSQLStatement::IsNull(), TSQLStatement::NextResultRow(), UniConnection::Open(), TSQLStatement::Process(), TSQLServer::Statement(), and TSQLStatement::StoreResult().
|
static |
Definition at line 955 of file UniRun.cxx.
References UniRun(), TObjArray::Add(), TDatime::AsSQLString(), UniSearchCondition::columnBeamParticle, UniSearchCondition::columnEndDateTime, UniSearchCondition::columnEnergy, UniSearchCondition::columnEventCount, UniSearchCondition::columnFieldVoltage, UniSearchCondition::columnPeriodNumber, UniSearchCondition::columnRunNumber, UniSearchCondition::columnStartDatetime, UniSearchCondition::columnTargetParticle, UniSearchCondition::conditionEqual, UniSearchCondition::conditionGreater, UniSearchCondition::conditionGreaterOrEqual, UniSearchCondition::conditionLess, UniSearchCondition::conditionLessOrEqual, UniSearchCondition::conditionLike, UniSearchCondition::conditionNotEqual, UniSearchCondition::conditionNotNull, UniSearchCondition::conditionNull, TString::Data(), TString::Format(), UniSearchCondition::GetColumn(), UniSearchCondition::GetCondition(), TSQLStatement::GetDatime(), UniSearchCondition::GetDatimeValue(), TSQLStatement::GetDouble(), UniSearchCondition::GetDoubleValue(), TSQLStatement::GetInt(), UniSearchCondition::GetIntValue(), UniConnection::GetSQLServer(), TSQLStatement::GetString(), UniSearchCondition::GetStringValue(), UniSearchCondition::GetUIntValue(), UniSearchCondition::GetValueType(), TSQLStatement::IsNull(), TSQLStatement::NextResultRow(), UniConnection::Open(), TSQLStatement::Process(), TCollection::SetOwner(), TSQLServer::Statement(), and TSQLStatement::StoreResult().
|
static |
Definition at line 1155 of file UniRun.cxx.
References TObjArray::Add(), and Search().
Referenced by BmnMonitor::GetAlikeRunsByElog(), BmnMonitor::GetAlikeRunsByUniDB(), run_beam_info(), Search(), selecting_runs(), and Spill().
|
static |
| int UniRun::SetBeamParticle | ( | TString | beam_particle | ) |
Definition at line 558 of file UniRun.cxx.
References connectionDB, TString::Format(), i_period_number, i_run_number, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetString(), TSQLServer::Statement(), and str_beam_particle.
Referenced by update_run_metadata_from_elog().
| int UniRun::SetBeamParticle | ( | TString | beam_particle | ) |
| int UniRun::SetEndDatetime | ( | TDatime * | end_datetime | ) |
Definition at line 517 of file UniRun.cxx.
References connectionDB, TString::Format(), i_period_number, i_run_number, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetDatime(), TSQLStatement::SetInt(), TSQLStatement::SetNull(), TSQLServer::Statement(), and ts_end_datetime.
Referenced by BmnOnlineDecoder::AddRun2DB().
| int UniRun::SetEndDatetime | ( | TDatime * | end_datetime | ) |
| int UniRun::SetEnergy | ( | double * | energy | ) |
Definition at line 624 of file UniRun.cxx.
References connectionDB, d_energy, TString::Format(), i_period_number, i_run_number, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetDouble(), TSQLStatement::SetInt(), TSQLStatement::SetNull(), and TSQLServer::Statement().
Referenced by update_run_metadata_from_elog().
| int UniRun::SetEnergy | ( | double * | energy | ) |
| int UniRun::SetEventCount | ( | int * | event_count | ) |
Definition at line 706 of file UniRun.cxx.
References connectionDB, TString::Format(), i_event_count, i_period_number, i_run_number, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetNull(), and TSQLServer::Statement().
Referenced by BmnOnlineDecoder::AddRun2DB().
| int UniRun::SetEventCount | ( | int * | event_count | ) |
| int UniRun::SetFieldVoltage | ( | double * | field_voltage | ) |
Definition at line 665 of file UniRun.cxx.
References connectionDB, d_field_voltage, TString::Format(), i_period_number, i_run_number, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetDouble(), TSQLStatement::SetInt(), TSQLStatement::SetNull(), and TSQLServer::Statement().
Referenced by convert_current_2_voltage(), move_field_2_run(), update_run_metadata_from_elog(), and write_avg_field_db().
| int UniRun::SetFieldVoltage | ( | double * | field_voltage | ) |
| int UniRun::SetPeriodNumber | ( | int | period_number | ) |
Definition at line 385 of file UniRun.cxx.
References connectionDB, TString::Format(), i_period_number, i_run_number, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), and TSQLServer::Statement().
| int UniRun::SetPeriodNumber | ( | int | period_number | ) |
| int UniRun::SetRunNumber | ( | int | run_number | ) |
Definition at line 418 of file UniRun.cxx.
References connectionDB, TString::Format(), i_period_number, i_run_number, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), and TSQLServer::Statement().
| int UniRun::SetRunNumber | ( | int | run_number | ) |
| int UniRun::SetRunQuality | ( | int | run_quality | ) |
Definition at line 747 of file UniRun.cxx.
References connectionDB, TString::Format(), i_period_number, i_run_number, i_run_quality, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), and TSQLServer::Statement().
| int UniRun::SetRunQuality | ( | int | run_quality | ) |
| int UniRun::SetRunType | ( | int | run_type | ) |
Definition at line 451 of file UniRun.cxx.
References connectionDB, TString::Format(), i_period_number, i_run_number, i_run_type, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), and TSQLServer::Statement().
Referenced by compare_uniconda_elog(), and update_run_metadata_from_elog().
| int UniRun::SetRunType | ( | int | run_type | ) |
| int UniRun::SetStartDatetime | ( | TDatime | start_datetime | ) |
Definition at line 484 of file UniRun.cxx.
References connectionDB, TString::Format(), i_period_number, i_run_number, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetDatime(), TSQLStatement::SetInt(), TSQLServer::Statement(), and ts_start_datetime.
Referenced by BmnOnlineDecoder::AddRun2DB().
| int UniRun::SetStartDatetime | ( | TDatime | start_datetime | ) |
| int UniRun::SetTargetParticle | ( | TString | target_particle | ) |
Definition at line 591 of file UniRun.cxx.
References connectionDB, TString::Format(), i_period_number, i_run_number, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetString(), TSQLServer::Statement(), and str_target_particle.
Referenced by update_run_metadata_from_elog().
| int UniRun::SetTargetParticle | ( | TString | target_particle | ) |
|
private |
Definition at line 25 of file UniRun.h.
Referenced by UniRun(), ~UniRun(), SetBeamParticle(), SetEndDatetime(), SetEnergy(), SetEventCount(), SetFieldVoltage(), SetPeriodNumber(), SetRunNumber(), SetRunQuality(), SetRunType(), SetStartDatetime(), and SetTargetParticle().
|
private |
Definition at line 42 of file UniRun.h.
Referenced by UniRun(), ~UniRun(), GetEnergy(), Print(), and SetEnergy().
|
private |
Definition at line 44 of file UniRun.h.
Referenced by UniRun(), ~UniRun(), GetFieldVoltage(), Print(), and SetFieldVoltage().
|
private |
Definition at line 46 of file UniRun.h.
Referenced by UniRun(), ~UniRun(), GetEventCount(), Print(), and SetEventCount().
|
private |
Definition at line 28 of file UniRun.h.
Referenced by UniRun(), GetPeriodNumber(), GetRawFiles(), Print(), SetBeamParticle(), SetEndDatetime(), SetEnergy(), SetEventCount(), SetFieldVoltage(), SetPeriodNumber(), SetRunNumber(), SetRunQuality(), SetRunType(), SetStartDatetime(), and SetTargetParticle().
|
private |
Definition at line 30 of file UniRun.h.
Referenced by UniRun(), GetRawFiles(), GetRunNumber(), Print(), SetBeamParticle(), SetEndDatetime(), SetEnergy(), SetEventCount(), SetFieldVoltage(), SetPeriodNumber(), SetRunNumber(), SetRunQuality(), SetRunType(), SetStartDatetime(), and SetTargetParticle().
|
private |
Definition at line 48 of file UniRun.h.
Referenced by UniRun(), GetRunQuality(), Print(), and SetRunQuality().
|
private |
Definition at line 32 of file UniRun.h.
Referenced by UniRun(), GetRunType(), Print(), and SetRunType().
|
private |
Definition at line 38 of file UniRun.h.
Referenced by UniRun(), GetBeamParticle(), Print(), and SetBeamParticle().
|
private |
Definition at line 40 of file UniRun.h.
Referenced by UniRun(), GetTargetParticle(), Print(), and SetTargetParticle().
|
private |
Definition at line 36 of file UniRun.h.
Referenced by UniRun(), ~UniRun(), GetEndDatetime(), Print(), and SetEndDatetime().
|
private |
Definition at line 34 of file UniRun.h.
Referenced by UniRun(), GetStartDatetime(), Print(), and SetStartDatetime().