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

ElogRecord.h Class for the table: record_. More...

#include <ElogRecord.h>

Collaboration diagram for ElogRecord:

Public Member Functions

virtual ~ElogRecord ()
int GetRecordId ()
 get record id of the current record
TDatime GetRecordDate ()
 get record date of the current record
TString * GetShiftLeaderId ()
 get shift leader id of the current record
int GetTypeId ()
 get type id of the current record
int * GetPeriodNumber ()
 get period number of the current record
int * GetRunNumber ()
 get run number of the current record
int * GetTriggerId ()
 get trigger id of the current record
TString * GetDaqStatus ()
 get daq status of the current record
int * GetSp41 ()
 get sp 41 of the current record
int * GetSp57 ()
 get sp 57 of the current record
int * GetVkm2 ()
 get vkm2 of the current record
TString GetBeam ()
 get beam of the current record
double * GetEnergy ()
 get energy of the current record
TString GetTarget ()
 get target of the current record
double * GetTargetWidth ()
 get target width of the current record
TString * GetRecordComment ()
 get record comment of the current record
int * GetSystemStatusId ()
 get system status id of the current record
int SetRecordDate (TDatime record_date)
 set record date of the current record
int SetShiftLeaderId (TString *shift_leader_id)
 set shift leader id of the current record
int SetTypeId (int type_id)
 set type id of the current record
int SetPeriodNumber (int *period_number)
 set period number of the current record
int SetRunNumber (int *run_number)
 set run number of the current record
int SetTriggerId (int *trigger_id)
 set trigger id of the current record
int SetDaqStatus (TString *daq_status)
 set daq status of the current record
int SetSp41 (int *sp_41)
 set sp 41 of the current record
int SetSp57 (int *sp_57)
 set sp 57 of the current record
int SetVkm2 (int *vkm2)
 set vkm2 of the current record
int SetBeam (TString beam)
 set beam of the current record
int SetEnergy (double *energy)
 set energy of the current record
int SetTarget (TString target)
 set target of the current record
int SetTargetWidth (double *target_width)
 set target width of the current record
int SetRecordComment (TString *record_comment)
 set record comment of the current record
int SetSystemStatusId (int *system_status_id)
 set system status id of the current record
void Print ()
 print information about current record
virtual ~ElogRecord ()
int GetRecordId ()
 get record id of the current record
TDatime GetRecordDate ()
 get record date of the current record
TString * GetShiftLeaderId ()
 get shift leader id of the current record
int GetTypeId ()
 get type id of the current record
int * GetPeriodNumber ()
 get period number of the current record
int * GetRunNumber ()
 get run number of the current record
int * GetTriggerId ()
 get trigger id of the current record
TString * GetDaqStatus ()
 get daq status of the current record
int * GetSp41 ()
 get sp 41 of the current record
int * GetSp57 ()
 get sp 57 of the current record
int * GetVkm2 ()
 get vkm2 of the current record
TString GetBeam ()
 get beam of the current record
double * GetEnergy ()
 get energy of the current record
TString GetTarget ()
 get target of the current record
double * GetTargetWidth ()
 get target width of the current record
TString * GetRecordComment ()
 get record comment of the current record
int * GetSystemStatusId ()
 get system status id of the current record
int SetRecordDate (TDatime record_date)
 set record date of the current record
int SetShiftLeaderId (TString *shift_leader_id)
 set shift leader id of the current record
int SetTypeId (int type_id)
 set type id of the current record
int SetPeriodNumber (int *period_number)
 set period number of the current record
int SetRunNumber (int *run_number)
 set run number of the current record
int SetTriggerId (int *trigger_id)
 set trigger id of the current record
int SetDaqStatus (TString *daq_status)
 set daq status of the current record
int SetSp41 (int *sp_41)
 set sp 41 of the current record
int SetSp57 (int *sp_57)
 set sp 57 of the current record
int SetVkm2 (int *vkm2)
 set vkm2 of the current record
int SetBeam (TString beam)
 set beam of the current record
int SetEnergy (double *energy)
 set energy of the current record
int SetTarget (TString target)
 set target of the current record
int SetTargetWidth (double *target_width)
 set target width of the current record
int SetRecordComment (TString *record_comment)
 set record comment of the current record
int SetSystemStatusId (int *system_status_id)
 set system status id of the current record
void Print ()
 print information about current record

Static Public Member Functions

static ElogRecord * CreateRecord (TDatime record_date, TString *shift_leader_id, int type_id, int *period_number, int *run_number, int *trigger_id, TString *daq_status, int *sp_41, int *sp_57, int *vkm2, TString beam, double *energy, TString target, double *target_width, TString *record_comment, int *system_status_id)
 add new record to the database
static ElogRecord * GetRecord (int record_id)
 get record from the database
static int CheckRecordExists (int record_id)
 check record exists in the database: 1- true, 0 - false, <0 - database operation error
static int DeleteRecord (int record_id)
 delete record from the database
static int PrintAll ()
 print all records
static TObjArray * GetRecords (int period_number, int run_number, int findNeighbourRun=0)
 get array of ElogRecord-s for a given or a neighbour run (the same period) from the database if findNeighbourRun == 0, then only the current run information will be found if findNeighbourRun == -1, then any records on a previous run will be found if findNeighbourRun == -2, then physics, calibratin or test type records on a previous run will be found if findNeighbourRun == 1, then any records on a next run will be found if findNeighbourRun == 2, then physics, calibratin or test type records on a next run will be found
static TObjArray * Search (const ElogSearchCondition &search_condition)
 get ELOG records corresponding to the specified single condition
static TObjArray * Search (const TObjArray &search_conditions)
 get ELOG records corresponding to the specified (vector) conditions
static ElogRecord * CreateRecord (TDatime record_date, TString *shift_leader_id, int type_id, int *period_number, int *run_number, int *trigger_id, TString *daq_status, int *sp_41, int *sp_57, int *vkm2, TString beam, double *energy, TString target, double *target_width, TString *record_comment, int *system_status_id)
 add new record to the database
static ElogRecord * GetRecord (int record_id)
 get record from the database
static int CheckRecordExists (int record_id)
 check record exists in the database: 1- true, 0 - false, <0 - database operation error
static int DeleteRecord (int record_id)
 delete record from the database
static int PrintAll ()
 print all records
static TObjArray * GetRecords (int period_number, int run_number, int findNeighbourRun=0)
 get array of ElogRecord-s for a given or a neighbour run (the same period) from the database if findNeighbourRun == 0, then only the current run information will be found if findNeighbourRun == -1, then any records on a previous run will be found if findNeighbourRun == -2, then physics, calibratin or test type records on a previous run will be found if findNeighbourRun == 1, then any records on a next run will be found if findNeighbourRun == 2, then physics, calibratin or test type records on a next run will be found
static TObjArray * Search (const ElogSearchCondition &search_condition)
 get ELOG records corresponding to the specified single condition
static TObjArray * Search (const TObjArray &search_conditions)
 get ELOG records corresponding to the specified (vector) conditions

Private Member Functions

 ElogRecord (ElogConnection *db_connect, int record_id, TDatime record_date, TString *shift_leader_id, int type_id, int *period_number, int *run_number, int *trigger_id, TString *daq_status, int *sp_41, int *sp_57, int *vkm2, TString beam, double *energy, TString target, double *target_width, TString *record_comment, int *system_status_id)
 ElogRecord (ElogConnection *db_connect, int record_id, TDatime record_date, TString *shift_leader_id, int type_id, int *period_number, int *run_number, int *trigger_id, TString *daq_status, int *sp_41, int *sp_57, int *vkm2, TString beam, double *energy, TString target, double *target_width, TString *record_comment, int *system_status_id)

Private Attributes

ElogConnection * connectionDB
 connection to the database
int i_record_id
 record id
TDatime dt_record_date
 record date
TString * str_shift_leader_id
 shift leader id
int i_type_id
 type id
int * i_period_number
 period number
int * i_run_number
 run number
int * i_trigger_id
 trigger id
TString * str_daq_status
 daq status
int * i_sp_41
 sp 41
int * i_sp_57
 sp 57
int * i_vkm2
 vkm2
TString str_beam
 beam
double * d_energy
 energy
TString str_target
 target
double * d_target_width
 target width
TString * str_record_comment
 record comment
int * i_system_status_id
 system status id

Detailed Description

Definition at line 19 of file ElogRecord.h.

Constructor & Destructor Documentation

◆ ElogRecord() [1/2]

ElogRecord::ElogRecord ( ElogConnection * db_connect,
int record_id,
TDatime record_date,
TString * shift_leader_id,
int type_id,
int * period_number,
int * run_number,
int * trigger_id,
TString * daq_status,
int * sp_41,
int * sp_57,
int * vkm2,
TString beam,
double * energy,
TString target,
double * target_width,
TString * record_comment,
int * system_status_id )
private

Definition at line 16 of file ElogRecord.cxx.

References connectionDB, d_energy, d_target_width, dt_record_date, i_period_number, i_record_id, i_run_number, i_sp_41, i_sp_57, i_system_status_id, i_trigger_id, i_type_id, i_vkm2, str_beam, str_daq_status, str_record_comment, str_shift_leader_id, and str_target.

Referenced by CreateRecord(), GetRecord(), GetRecords(), and Search().

Here is the caller graph for this function:

◆ ~ElogRecord() [1/2]

◆ ElogRecord() [2/2]

ElogRecord::ElogRecord ( ElogConnection * db_connect,
int record_id,
TDatime record_date,
TString * shift_leader_id,
int type_id,
int * period_number,
int * run_number,
int * trigger_id,
TString * daq_status,
int * sp_41,
int * sp_57,
int * vkm2,
TString beam,
double * energy,
TString target,
double * target_width,
TString * record_comment,
int * system_status_id )
private

◆ ~ElogRecord() [2/2]

virtual ElogRecord::~ElogRecord ( )
virtual

Member Function Documentation

◆ CheckRecordExists() [1/2]

int ElogRecord::CheckRecordExists ( int record_id)
static

Definition at line 398 of file ElogRecord.cxx.

References TString::Format(), ElogConnection::GetSQLServer(), TSQLStatement::NextResultRow(), ElogConnection::Open(), TSQLStatement::Process(), TSQLServer::Statement(), and TSQLStatement::StoreResult().

Here is the call graph for this function:

◆ CheckRecordExists() [2/2]

int ElogRecord::CheckRecordExists ( int record_id)
static

◆ CreateRecord() [1/2]

ElogRecord * ElogRecord::CreateRecord ( TDatime record_date,
TString * shift_leader_id,
int type_id,
int * period_number,
int * run_number,
int * trigger_id,
TString * daq_status,
int * sp_41,
int * sp_57,
int * vkm2,
TString beam,
double * energy,
TString target,
double * target_width,
TString * record_comment,
int * system_status_id )
static

◆ CreateRecord() [2/2]

ElogRecord * ElogRecord::CreateRecord ( TDatime record_date,
TString * shift_leader_id,
int type_id,
int * period_number,
int * run_number,
int * trigger_id,
TString * daq_status,
int * sp_41,
int * sp_57,
int * vkm2,
TString beam,
double * energy,
TString target,
double * target_width,
TString * record_comment,
int * system_status_id )
static

References ElogRecord().

Here is the call graph for this function:

◆ DeleteRecord() [1/2]

int ElogRecord::DeleteRecord ( int record_id)
static

Definition at line 438 of file ElogRecord.cxx.

References TString::Format(), ElogConnection::GetSQLServer(), TSQLStatement::NextIteration(), ElogConnection::Open(), TSQLStatement::Process(), TSQLStatement::SetInt(), and TSQLServer::Statement().

Here is the call graph for this function:

◆ DeleteRecord() [2/2]

int ElogRecord::DeleteRecord ( int record_id)
static

◆ GetBeam() [1/2]

TString ElogRecord::GetBeam ( )
inline

Definition at line 185 of file ElogRecord.h.

References str_beam.

Referenced by compare_uniconda_elog(), BmnMonitor::GetAlikeRunsByElog(), and update_run_metadata_from_elog().

Here is the caller graph for this function:

◆ GetBeam() [2/2]

TString ElogRecord::GetBeam ( )
inline

Definition at line 185 of file ElogRecord.h.

References str_beam.

◆ GetDaqStatus() [1/2]

TString * ElogRecord::GetDaqStatus ( )
inline

Definition at line 153 of file ElogRecord.h.

References str_daq_status.

◆ GetDaqStatus() [2/2]

TString * ElogRecord::GetDaqStatus ( )
inline

Definition at line 153 of file ElogRecord.h.

References str_daq_status.

◆ GetEnergy() [1/2]

double * ElogRecord::GetEnergy ( )
inline

Definition at line 187 of file ElogRecord.h.

References d_energy.

Referenced by compare_uniconda_elog(), BmnMonitor::GetAlikeRunsByElog(), and update_run_metadata_from_elog().

Here is the caller graph for this function:

◆ GetEnergy() [2/2]

double * ElogRecord::GetEnergy ( )
inline

Definition at line 187 of file ElogRecord.h.

References d_energy.

◆ GetPeriodNumber() [1/2]

int * ElogRecord::GetPeriodNumber ( )
inline

Definition at line 129 of file ElogRecord.h.

References i_period_number.

Referenced by selecting_records().

Here is the caller graph for this function:

◆ GetPeriodNumber() [2/2]

int * ElogRecord::GetPeriodNumber ( )
inline

Definition at line 129 of file ElogRecord.h.

References i_period_number.

◆ GetRecord() [1/2]

ElogRecord * ElogRecord::GetRecord ( int record_id)
static

◆ GetRecord() [2/2]

ElogRecord * ElogRecord::GetRecord ( int record_id)
static

References ElogRecord().

Here is the call graph for this function:

◆ GetRecordComment() [1/2]

TString * ElogRecord::GetRecordComment ( )
inline

Definition at line 205 of file ElogRecord.h.

References str_record_comment.

◆ GetRecordComment() [2/2]

TString * ElogRecord::GetRecordComment ( )
inline

Definition at line 205 of file ElogRecord.h.

References str_record_comment.

◆ GetRecordDate() [1/2]

TDatime ElogRecord::GetRecordDate ( )
inline

Definition at line 117 of file ElogRecord.h.

References dt_record_date.

Referenced by selecting_records().

Here is the caller graph for this function:

◆ GetRecordDate() [2/2]

TDatime ElogRecord::GetRecordDate ( )
inline

Definition at line 117 of file ElogRecord.h.

References dt_record_date.

◆ GetRecordId() [1/2]

int ElogRecord::GetRecordId ( )
inline

Definition at line 115 of file ElogRecord.h.

References i_record_id.

◆ GetRecordId() [2/2]

int ElogRecord::GetRecordId ( )
inline

Definition at line 115 of file ElogRecord.h.

References i_record_id.

◆ GetRecords() [1/2]

TObjArray * ElogRecord::GetRecords ( int period_number,
int run_number,
int findNeighbourRun = 0 )
static

if findNeighbourRun == 0, then only the current run information will be found/// if findNeighbourRun == -1, then any records on a previous run will be found if findNeighbourRun == -2, then physics, calibratin or test type records on a previous run will be found if findNeighbourRun == 1, then any records on a next run will be found if findNeighbourRun == 2, then physics, calibratin or test type records on a next run will be found

Definition at line 1215 of file ElogRecord.cxx.

References ElogRecord(), TObjArray::Add(), TString::Data(), TString::Format(), TSQLStatement::GetDatime(), TSQLStatement::GetDouble(), TSQLStatement::GetInt(), ElogConnection::GetSQLServer(), TSQLStatement::GetString(), TSQLStatement::IsNull(), TSQLStatement::NextResultRow(), ElogConnection::Open(), TSQLStatement::Process(), TCollection::SetOwner(), TSQLServer::Statement(), and TSQLStatement::StoreResult().

Referenced by check_missing_files(), compare_avg_field(), compare_uniconda_elog(), get_trigger(), BmnMonitor::GetAlikeRunsByElog(), BmnDataTriggerInfo::GetTrigger(), BmnTrackingQaOffline::GetTrigger(), BmnMscRaw2Digit::ParseTxtSpillLog(), show_avg_field(), Spill(), and update_run_metadata_from_elog().

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

◆ GetRecords() [2/2]

TObjArray * ElogRecord::GetRecords ( int period_number,
int run_number,
int findNeighbourRun = 0 )
static

◆ GetRunNumber() [1/2]

int * ElogRecord::GetRunNumber ( )
inline

Definition at line 137 of file ElogRecord.h.

References i_run_number.

Referenced by selecting_records().

Here is the caller graph for this function:

◆ GetRunNumber() [2/2]

int * ElogRecord::GetRunNumber ( )
inline

Definition at line 137 of file ElogRecord.h.

References i_run_number.

◆ GetShiftLeaderId() [1/2]

TString * ElogRecord::GetShiftLeaderId ( )
inline

Definition at line 119 of file ElogRecord.h.

References str_shift_leader_id.

◆ GetShiftLeaderId() [2/2]

TString * ElogRecord::GetShiftLeaderId ( )
inline

Definition at line 119 of file ElogRecord.h.

References str_shift_leader_id.

◆ GetSp41() [1/2]

int * ElogRecord::GetSp41 ( )
inline

Definition at line 161 of file ElogRecord.h.

References i_sp_41.

Referenced by compare_avg_field(), BmnMonitor::GetAlikeRunsByElog(), selecting_records(), show_avg_field(), and update_run_metadata_from_elog().

Here is the caller graph for this function:

◆ GetSp41() [2/2]

int * ElogRecord::GetSp41 ( )
inline

Definition at line 161 of file ElogRecord.h.

References i_sp_41.

◆ GetSp57() [1/2]

int * ElogRecord::GetSp57 ( )
inline

Definition at line 169 of file ElogRecord.h.

References i_sp_57.

◆ GetSp57() [2/2]

int * ElogRecord::GetSp57 ( )
inline

Definition at line 169 of file ElogRecord.h.

References i_sp_57.

◆ GetSystemStatusId() [1/2]

int * ElogRecord::GetSystemStatusId ( )
inline

Definition at line 213 of file ElogRecord.h.

References i_system_status_id.

◆ GetSystemStatusId() [2/2]

int * ElogRecord::GetSystemStatusId ( )
inline

Definition at line 213 of file ElogRecord.h.

References i_system_status_id.

◆ GetTarget() [1/2]

TString ElogRecord::GetTarget ( )
inline

Definition at line 195 of file ElogRecord.h.

References str_target.

Referenced by compare_uniconda_elog(), BmnMonitor::GetAlikeRunsByElog(), and update_run_metadata_from_elog().

Here is the caller graph for this function:

◆ GetTarget() [2/2]

TString ElogRecord::GetTarget ( )
inline

Definition at line 195 of file ElogRecord.h.

References str_target.

◆ GetTargetWidth() [1/2]

double * ElogRecord::GetTargetWidth ( )
inline

Definition at line 197 of file ElogRecord.h.

References d_target_width.

◆ GetTargetWidth() [2/2]

double * ElogRecord::GetTargetWidth ( )
inline

Definition at line 197 of file ElogRecord.h.

References d_target_width.

◆ GetTriggerId() [1/2]

int * ElogRecord::GetTriggerId ( )
inline

Definition at line 145 of file ElogRecord.h.

References i_trigger_id.

Referenced by get_trigger(), BmnDataTriggerInfo::GetTrigger(), and BmnTrackingQaOffline::GetTrigger().

Here is the caller graph for this function:

◆ GetTriggerId() [2/2]

int * ElogRecord::GetTriggerId ( )
inline

Definition at line 145 of file ElogRecord.h.

References i_trigger_id.

◆ GetTypeId() [1/2]

int ElogRecord::GetTypeId ( )
inline

Definition at line 127 of file ElogRecord.h.

References i_type_id.

Referenced by compare_uniconda_elog(), and update_run_metadata_from_elog().

Here is the caller graph for this function:

◆ GetTypeId() [2/2]

int ElogRecord::GetTypeId ( )
inline

Definition at line 127 of file ElogRecord.h.

References i_type_id.

◆ GetVkm2() [1/2]

int * ElogRecord::GetVkm2 ( )
inline

Definition at line 177 of file ElogRecord.h.

References i_vkm2.

◆ GetVkm2() [2/2]

int * ElogRecord::GetVkm2 ( )
inline

Definition at line 177 of file ElogRecord.h.

References i_vkm2.

◆ Print() [1/2]

void ElogRecord::Print ( )

Definition at line 1186 of file ElogRecord.cxx.

References d_energy, d_target_width, dt_record_date, TString::Format(), i_period_number, i_record_id, i_run_number, i_sp_41, i_sp_57, i_system_status_id, i_trigger_id, i_type_id, i_vkm2, str_beam, str_daq_status, str_record_comment, str_shift_leader_id, and str_target.

Here is the call graph for this function:

◆ Print() [2/2]

void ElogRecord::Print ( )

◆ PrintAll() [1/2]

int ElogRecord::PrintAll ( )
static

Definition at line 468 of file ElogRecord.cxx.

References TString::Format(), TSQLStatement::GetDatime(), TSQLStatement::GetDouble(), TSQLStatement::GetInt(), ElogConnection::GetSQLServer(), TSQLStatement::GetString(), TSQLStatement::IsNull(), TSQLStatement::NextResultRow(), ElogConnection::Open(), TSQLStatement::Process(), TSQLServer::Statement(), and TSQLStatement::StoreResult().

Here is the call graph for this function:

◆ PrintAll() [2/2]

int ElogRecord::PrintAll ( )
static

◆ Search() [1/4]

TObjArray * ElogRecord::Search ( const ElogSearchCondition & search_condition)
static

Definition at line 1613 of file ElogRecord.cxx.

References TObjArray::Add(), and Search().

Referenced by Search(), and selecting_records().

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

◆ Search() [2/4]

TObjArray * ElogRecord::Search ( const ElogSearchCondition & search_condition)
static

◆ Search() [3/4]

TObjArray * ElogRecord::Search ( const TObjArray & search_conditions)
static

Definition at line 1365 of file ElogRecord.cxx.

References ElogRecord(), TObjArray::Add(), TDatime::AsSQLString(), ElogSearchCondition::columnBeamParticle, ElogSearchCondition::columnDaqStatus, ElogSearchCondition::columnEnergy, ElogSearchCondition::columnPeriodNumber, ElogSearchCondition::columnRecordDate, ElogSearchCondition::columnRunNumber, ElogSearchCondition::columnShiftLeader, ElogSearchCondition::columnSp41, ElogSearchCondition::columnSp57, ElogSearchCondition::columnTargetParticle, ElogSearchCondition::columnTrigger, ElogSearchCondition::columnType, ElogSearchCondition::columnVkm2, ElogSearchCondition::conditionEqual, ElogSearchCondition::conditionGreater, ElogSearchCondition::conditionGreaterOrEqual, ElogSearchCondition::conditionLess, ElogSearchCondition::conditionLessOrEqual, ElogSearchCondition::conditionLike, ElogSearchCondition::conditionNotEqual, ElogSearchCondition::conditionNotNull, ElogSearchCondition::conditionNull, TString::Data(), TString::Format(), ElogSearchCondition::GetColumn(), ElogSearchCondition::GetCondition(), TSQLStatement::GetDatime(), ElogSearchCondition::GetDatimeValue(), TSQLStatement::GetDouble(), ElogSearchCondition::GetDoubleValue(), TSQLStatement::GetInt(), ElogSearchCondition::GetIntValue(), ElogConnection::GetSQLServer(), TSQLStatement::GetString(), ElogSearchCondition::GetStringValue(), ElogSearchCondition::GetUIntValue(), ElogSearchCondition::GetValueType(), TSQLStatement::IsNull(), TSQLStatement::NextResultRow(), ElogConnection::Open(), TSQLStatement::Process(), TCollection::SetOwner(), TSQLServer::Statement(), and TSQLStatement::StoreResult().

Here is the call graph for this function:

◆ Search() [4/4]

TObjArray * ElogRecord::Search ( const TObjArray & search_conditions)
static

References ElogRecord().

Here is the call graph for this function:

◆ SetBeam() [1/2]

int ElogRecord::SetBeam ( TString beam)

Definition at line 961 of file ElogRecord.cxx.

References connectionDB, TString::Format(), i_record_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetString(), TSQLServer::Statement(), and str_beam.

Here is the call graph for this function:

◆ SetBeam() [2/2]

int ElogRecord::SetBeam ( TString beam)

◆ SetDaqStatus() [1/2]

int ElogRecord::SetDaqStatus ( TString * daq_status)

Definition at line 801 of file ElogRecord.cxx.

References connectionDB, TString::Format(), i_record_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetNull(), TSQLStatement::SetString(), TSQLServer::Statement(), and str_daq_status.

Here is the call graph for this function:

◆ SetDaqStatus() [2/2]

int ElogRecord::SetDaqStatus ( TString * daq_status)

◆ SetEnergy() [1/2]

int ElogRecord::SetEnergy ( double * energy)

Definition at line 993 of file ElogRecord.cxx.

References connectionDB, d_energy, TString::Format(), i_record_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetDouble(), TSQLStatement::SetInt(), TSQLStatement::SetNull(), and TSQLServer::Statement().

Here is the call graph for this function:

◆ SetEnergy() [2/2]

int ElogRecord::SetEnergy ( double * energy)

◆ SetPeriodNumber() [1/2]

int ElogRecord::SetPeriodNumber ( int * period_number)

Definition at line 681 of file ElogRecord.cxx.

References connectionDB, TString::Format(), i_period_number, i_record_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetNull(), and TSQLServer::Statement().

Here is the call graph for this function:

◆ SetPeriodNumber() [2/2]

int ElogRecord::SetPeriodNumber ( int * period_number)

◆ SetRecordComment() [1/2]

int ElogRecord::SetRecordComment ( TString * record_comment)

Definition at line 1105 of file ElogRecord.cxx.

References connectionDB, TString::Format(), i_record_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetNull(), TSQLStatement::SetString(), TSQLServer::Statement(), and str_record_comment.

Here is the call graph for this function:

◆ SetRecordComment() [2/2]

int ElogRecord::SetRecordComment ( TString * record_comment)

◆ SetRecordDate() [1/2]

int ElogRecord::SetRecordDate ( TDatime record_date)

Definition at line 577 of file ElogRecord.cxx.

References connectionDB, dt_record_date, TString::Format(), i_record_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetDatime(), TSQLStatement::SetInt(), and TSQLServer::Statement().

Here is the call graph for this function:

◆ SetRecordDate() [2/2]

int ElogRecord::SetRecordDate ( TDatime record_date)

◆ SetRunNumber() [1/2]

int ElogRecord::SetRunNumber ( int * run_number)

Definition at line 721 of file ElogRecord.cxx.

References connectionDB, TString::Format(), i_record_id, i_run_number, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetNull(), and TSQLServer::Statement().

Here is the call graph for this function:

◆ SetRunNumber() [2/2]

int ElogRecord::SetRunNumber ( int * run_number)

◆ SetShiftLeaderId() [1/2]

int ElogRecord::SetShiftLeaderId ( TString * shift_leader_id)

Definition at line 609 of file ElogRecord.cxx.

References connectionDB, TString::Format(), i_record_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetNull(), TSQLStatement::SetString(), TSQLServer::Statement(), and str_shift_leader_id.

Here is the call graph for this function:

◆ SetShiftLeaderId() [2/2]

int ElogRecord::SetShiftLeaderId ( TString * shift_leader_id)

◆ SetSp41() [1/2]

int ElogRecord::SetSp41 ( int * sp_41)

Definition at line 841 of file ElogRecord.cxx.

References connectionDB, TString::Format(), i_record_id, i_sp_41, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetNull(), and TSQLServer::Statement().

Here is the call graph for this function:

◆ SetSp41() [2/2]

int ElogRecord::SetSp41 ( int * sp_41)

◆ SetSp57() [1/2]

int ElogRecord::SetSp57 ( int * sp_57)

Definition at line 881 of file ElogRecord.cxx.

References connectionDB, TString::Format(), i_record_id, i_sp_57, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetNull(), and TSQLServer::Statement().

Here is the call graph for this function:

◆ SetSp57() [2/2]

int ElogRecord::SetSp57 ( int * sp_57)

◆ SetSystemStatusId() [1/2]

int ElogRecord::SetSystemStatusId ( int * system_status_id)

Definition at line 1145 of file ElogRecord.cxx.

References connectionDB, TString::Format(), i_record_id, i_system_status_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetNull(), and TSQLServer::Statement().

Here is the call graph for this function:

◆ SetSystemStatusId() [2/2]

int ElogRecord::SetSystemStatusId ( int * system_status_id)

◆ SetTarget() [1/2]

int ElogRecord::SetTarget ( TString target)

Definition at line 1033 of file ElogRecord.cxx.

References connectionDB, TString::Format(), i_record_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetString(), TSQLServer::Statement(), and str_target.

Here is the call graph for this function:

◆ SetTarget() [2/2]

int ElogRecord::SetTarget ( TString target)

◆ SetTargetWidth() [1/2]

int ElogRecord::SetTargetWidth ( double * target_width)

Definition at line 1065 of file ElogRecord.cxx.

References connectionDB, d_target_width, TString::Format(), i_record_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetDouble(), TSQLStatement::SetInt(), TSQLStatement::SetNull(), and TSQLServer::Statement().

Here is the call graph for this function:

◆ SetTargetWidth() [2/2]

int ElogRecord::SetTargetWidth ( double * target_width)

◆ SetTriggerId() [1/2]

int ElogRecord::SetTriggerId ( int * trigger_id)

Definition at line 761 of file ElogRecord.cxx.

References connectionDB, TString::Format(), i_record_id, i_trigger_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetNull(), and TSQLServer::Statement().

Here is the call graph for this function:

◆ SetTriggerId() [2/2]

int ElogRecord::SetTriggerId ( int * trigger_id)

◆ SetTypeId() [1/2]

int ElogRecord::SetTypeId ( int type_id)

Definition at line 649 of file ElogRecord.cxx.

References connectionDB, TString::Format(), i_record_id, i_type_id, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), and TSQLServer::Statement().

Here is the call graph for this function:

◆ SetTypeId() [2/2]

int ElogRecord::SetTypeId ( int type_id)

◆ SetVkm2() [1/2]

int ElogRecord::SetVkm2 ( int * vkm2)

Definition at line 921 of file ElogRecord.cxx.

References connectionDB, TString::Format(), i_record_id, i_vkm2, TSQLStatement::NextIteration(), TSQLStatement::Process(), TSQLStatement::SetInt(), TSQLStatement::SetNull(), and TSQLServer::Statement().

Here is the call graph for this function:

◆ SetVkm2() [2/2]

int ElogRecord::SetVkm2 ( int * vkm2)

Member Data Documentation

◆ connectionDB

◆ d_energy

double * ElogRecord::d_energy
private

Definition at line 51 of file ElogRecord.h.

Referenced by ElogRecord(), ~ElogRecord(), GetEnergy(), Print(), and SetEnergy().

◆ d_target_width

double * ElogRecord::d_target_width
private

Definition at line 55 of file ElogRecord.h.

Referenced by ElogRecord(), ~ElogRecord(), GetTargetWidth(), Print(), and SetTargetWidth().

◆ dt_record_date

TDatime ElogRecord::dt_record_date
private

Definition at line 29 of file ElogRecord.h.

Referenced by ElogRecord(), GetRecordDate(), Print(), and SetRecordDate().

◆ i_period_number

int * ElogRecord::i_period_number
private

Definition at line 35 of file ElogRecord.h.

Referenced by ElogRecord(), ~ElogRecord(), GetPeriodNumber(), Print(), and SetPeriodNumber().

◆ i_record_id

◆ i_run_number

int * ElogRecord::i_run_number
private

Definition at line 37 of file ElogRecord.h.

Referenced by ElogRecord(), ~ElogRecord(), GetRunNumber(), Print(), and SetRunNumber().

◆ i_sp_41

int * ElogRecord::i_sp_41
private

Definition at line 43 of file ElogRecord.h.

Referenced by ElogRecord(), ~ElogRecord(), GetSp41(), Print(), and SetSp41().

◆ i_sp_57

int * ElogRecord::i_sp_57
private

Definition at line 45 of file ElogRecord.h.

Referenced by ElogRecord(), ~ElogRecord(), GetSp57(), Print(), and SetSp57().

◆ i_system_status_id

int * ElogRecord::i_system_status_id
private

Definition at line 59 of file ElogRecord.h.

Referenced by ElogRecord(), ~ElogRecord(), GetSystemStatusId(), Print(), and SetSystemStatusId().

◆ i_trigger_id

int * ElogRecord::i_trigger_id
private

Definition at line 39 of file ElogRecord.h.

Referenced by ElogRecord(), ~ElogRecord(), GetTriggerId(), Print(), and SetTriggerId().

◆ i_type_id

int ElogRecord::i_type_id
private

Definition at line 33 of file ElogRecord.h.

Referenced by ElogRecord(), GetTypeId(), Print(), and SetTypeId().

◆ i_vkm2

int * ElogRecord::i_vkm2
private

Definition at line 47 of file ElogRecord.h.

Referenced by ElogRecord(), ~ElogRecord(), GetVkm2(), Print(), and SetVkm2().

◆ str_beam

TString ElogRecord::str_beam
private

Definition at line 49 of file ElogRecord.h.

Referenced by ElogRecord(), GetBeam(), Print(), and SetBeam().

◆ str_daq_status

TString * ElogRecord::str_daq_status
private

Definition at line 41 of file ElogRecord.h.

Referenced by ElogRecord(), ~ElogRecord(), GetDaqStatus(), Print(), and SetDaqStatus().

◆ str_record_comment

TString * ElogRecord::str_record_comment
private

Definition at line 57 of file ElogRecord.h.

Referenced by ElogRecord(), ~ElogRecord(), GetRecordComment(), Print(), and SetRecordComment().

◆ str_shift_leader_id

TString * ElogRecord::str_shift_leader_id
private

Definition at line 31 of file ElogRecord.h.

Referenced by ElogRecord(), ~ElogRecord(), GetShiftLeaderId(), Print(), and SetShiftLeaderId().

◆ str_target

TString ElogRecord::str_target
private

Definition at line 53 of file ElogRecord.h.

Referenced by ElogRecord(), GetTarget(), Print(), and SetTarget().


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