|
BmnRoot
|
#include <ElogRecord.h>
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 | |
| ClassDef (ElogRecord, 1) | |
| 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 | |
| ClassDef (ElogRecord, 1) | |
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, bool findPreviousRun=false) |
| get array of ElogRecord-s for a given or a previous run from the database | |
| 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, bool findPreviousRun=false) |
| get array of ElogRecord-s for a given or a previous run from the database | |
| 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 | |
ElogRecord.h Class for the table: record_
Definition at line 19 of file ElogRecord.h.
|
virtual |
Definition at line 57 of file ElogRecord.cxx.
|
virtual |
|
static |
check record exists in the database: 1- true, 0 - false, <0 - database operation error
Definition at line 398 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
check record exists in the database: 1- true, 0 - false, <0 - database operation error
| ElogRecord::ClassDef | ( | ElogRecord | , |
| 1 | |||
| ) |
| ElogRecord::ClassDef | ( | ElogRecord | , |
| 1 | |||
| ) |
|
static |
add new record to the database
Definition at line 88 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
add new record to the database
|
static |
delete record from the database
Definition at line 438 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
delete record from the database
|
inline |
get beam of the current record
Definition at line 185 of file ElogRecord.h.
Referenced by BmnMonitor::GetAlikeRunsByElog().
|
inline |
get beam of the current record
Definition at line 185 of file ElogRecord.h.
|
inline |
get daq status of the current record
Definition at line 153 of file ElogRecord.h.
|
inline |
get daq status of the current record
Definition at line 153 of file ElogRecord.h.
|
inline |
get energy of the current record
Definition at line 187 of file ElogRecord.h.
Referenced by BmnMonitor::GetAlikeRunsByElog().
|
inline |
get energy of the current record
Definition at line 187 of file ElogRecord.h.
|
inline |
get period number of the current record
Definition at line 129 of file ElogRecord.h.
|
inline |
get period number of the current record
Definition at line 129 of file ElogRecord.h.
|
static |
get record from the database
Definition at line 282 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
get record from the database
|
inline |
get record comment of the current record
Definition at line 205 of file ElogRecord.h.
|
inline |
get record comment of the current record
Definition at line 205 of file ElogRecord.h.
|
inline |
get record date of the current record
Definition at line 117 of file ElogRecord.h.
|
inline |
get record date of the current record
Definition at line 117 of file ElogRecord.h.
|
inline |
get record id of the current record
Definition at line 115 of file ElogRecord.h.
|
inline |
get record id of the current record
Definition at line 115 of file ElogRecord.h.
|
static |
get array of ElogRecord-s for a given or a previous run from the database
Definition at line 1211 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
Referenced by BmnMonitor::GetAlikeRunsByElog(), BmnTrackingQaOffline::GetTrigger(), BmnDataTriggerInfo::GetTrigger(), and BmnMscRaw2Digit::ParseTxtSpillLog().
|
static |
get array of ElogRecord-s for a given or a previous run from the database
|
inline |
get run number of the current record
Definition at line 137 of file ElogRecord.h.
|
inline |
get run number of the current record
Definition at line 137 of file ElogRecord.h.
|
inline |
get shift leader id of the current record
Definition at line 119 of file ElogRecord.h.
|
inline |
get shift leader id of the current record
Definition at line 119 of file ElogRecord.h.
|
inline |
get sp 41 of the current record
Definition at line 161 of file ElogRecord.h.
Referenced by BmnMonitor::GetAlikeRunsByElog().
|
inline |
get sp 41 of the current record
Definition at line 161 of file ElogRecord.h.
|
inline |
get sp 57 of the current record
Definition at line 169 of file ElogRecord.h.
|
inline |
get sp 57 of the current record
Definition at line 169 of file ElogRecord.h.
|
inline |
get system status id of the current record
Definition at line 213 of file ElogRecord.h.
|
inline |
get system status id of the current record
Definition at line 213 of file ElogRecord.h.
|
inline |
get target of the current record
Definition at line 195 of file ElogRecord.h.
Referenced by BmnMonitor::GetAlikeRunsByElog().
|
inline |
get target of the current record
Definition at line 195 of file ElogRecord.h.
|
inline |
get target width of the current record
Definition at line 197 of file ElogRecord.h.
|
inline |
get target width of the current record
Definition at line 197 of file ElogRecord.h.
|
inline |
get trigger id of the current record
Definition at line 145 of file ElogRecord.h.
Referenced by BmnTrackingQaOffline::GetTrigger(), and BmnDataTriggerInfo::GetTrigger().
|
inline |
get trigger id of the current record
Definition at line 145 of file ElogRecord.h.
|
inline |
get type id of the current record
Definition at line 127 of file ElogRecord.h.
|
inline |
get type id of the current record
Definition at line 127 of file ElogRecord.h.
|
inline |
get vkm2 of the current record
Definition at line 177 of file ElogRecord.h.
|
inline |
get vkm2 of the current record
Definition at line 177 of file ElogRecord.h.
| void ElogRecord::Print | ( | ) |
print information about current record
Definition at line 1186 of file ElogRecord.cxx.
| void ElogRecord::Print | ( | ) |
print information about current record
|
static |
print all records
Definition at line 468 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer(), and ElogConnection::Open().
|
static |
print all records
|
static |
get ELOG records corresponding to the specified single condition
Definition at line 1596 of file ElogRecord.cxx.
References Search().
Referenced by Search().
|
static |
get ELOG records corresponding to the specified single condition
|
static |
get ELOG records corresponding to the specified (vector) conditions
Definition at line 1348 of file ElogRecord.cxx.
References 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, ElogSearchCondition::GetColumn(), ElogSearchCondition::GetCondition(), ElogSearchCondition::GetDatimeValue(), ElogSearchCondition::GetDoubleValue(), ElogSearchCondition::GetIntValue(), ElogConnection::GetSQLServer(), ElogSearchCondition::GetStringValue(), ElogSearchCondition::GetUIntValue(), ElogSearchCondition::GetValueType(), and ElogConnection::Open().
|
static |
get ELOG records corresponding to the specified (vector) conditions
| int ElogRecord::SetBeam | ( | TString | beam | ) |
set beam of the current record
Definition at line 961 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer().
| int ElogRecord::SetBeam | ( | TString | beam | ) |
set beam of the current record
| int ElogRecord::SetDaqStatus | ( | TString * | daq_status | ) |
set daq status of the current record
Definition at line 801 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer().
| int ElogRecord::SetDaqStatus | ( | TString * | daq_status | ) |
set daq status of the current record
| int ElogRecord::SetEnergy | ( | double * | energy | ) |
set energy of the current record
Definition at line 993 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer().
| int ElogRecord::SetEnergy | ( | double * | energy | ) |
set energy of the current record
| int ElogRecord::SetPeriodNumber | ( | int * | period_number | ) |
set period number of the current record
Definition at line 681 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer().
| int ElogRecord::SetPeriodNumber | ( | int * | period_number | ) |
set period number of the current record
| int ElogRecord::SetRecordComment | ( | TString * | record_comment | ) |
set record comment of the current record
Definition at line 1105 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer().
| int ElogRecord::SetRecordComment | ( | TString * | record_comment | ) |
set record comment of the current record
| int ElogRecord::SetRecordDate | ( | TDatime | record_date | ) |
set record date of the current record
Definition at line 577 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer().
| int ElogRecord::SetRecordDate | ( | TDatime | record_date | ) |
set record date of the current record
| int ElogRecord::SetRunNumber | ( | int * | run_number | ) |
set run number of the current record
Definition at line 721 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer().
| int ElogRecord::SetRunNumber | ( | int * | run_number | ) |
set run number of the current record
| int ElogRecord::SetShiftLeaderId | ( | TString * | shift_leader_id | ) |
set shift leader id of the current record
Definition at line 609 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer().
| int ElogRecord::SetShiftLeaderId | ( | TString * | shift_leader_id | ) |
set shift leader id of the current record
| int ElogRecord::SetSp41 | ( | int * | sp_41 | ) |
set sp 41 of the current record
Definition at line 841 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer().
| int ElogRecord::SetSp41 | ( | int * | sp_41 | ) |
set sp 41 of the current record
| int ElogRecord::SetSp57 | ( | int * | sp_57 | ) |
set sp 57 of the current record
Definition at line 881 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer().
| int ElogRecord::SetSp57 | ( | int * | sp_57 | ) |
set sp 57 of the current record
| int ElogRecord::SetSystemStatusId | ( | int * | system_status_id | ) |
set system status id of the current record
Definition at line 1145 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer().
| int ElogRecord::SetSystemStatusId | ( | int * | system_status_id | ) |
set system status id of the current record
| int ElogRecord::SetTarget | ( | TString | target | ) |
set target of the current record
Definition at line 1033 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer().
| int ElogRecord::SetTarget | ( | TString | target | ) |
set target of the current record
| int ElogRecord::SetTargetWidth | ( | double * | target_width | ) |
set target width of the current record
Definition at line 1065 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer().
| int ElogRecord::SetTargetWidth | ( | double * | target_width | ) |
set target width of the current record
| int ElogRecord::SetTriggerId | ( | int * | trigger_id | ) |
set trigger id of the current record
Definition at line 761 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer().
| int ElogRecord::SetTriggerId | ( | int * | trigger_id | ) |
set trigger id of the current record
| int ElogRecord::SetTypeId | ( | int | type_id | ) |
set type id of the current record
Definition at line 649 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer().
| int ElogRecord::SetTypeId | ( | int | type_id | ) |
set type id of the current record
| int ElogRecord::SetVkm2 | ( | int * | vkm2 | ) |
set vkm2 of the current record
Definition at line 921 of file ElogRecord.cxx.
References ElogConnection::GetSQLServer().
| int ElogRecord::SetVkm2 | ( | int * | vkm2 | ) |
set vkm2 of the current record