79 int* system_status_id);
101 double* target_width,
103 int* system_status_id);
#define ClassDef(name, id)
ElogRecord.h Class for the table: record_.
TString * str_shift_leader_id
shift leader id
int * i_system_status_id
system status id
TDatime GetRecordDate()
get record date of the current record
int SetShiftLeaderId(TString *shift_leader_id)
set shift leader id of the current record
int SetSystemStatusId(int *system_status_id)
set system status id of the current record
int * GetSp41()
get sp 41 of the current record
int SetTypeId(int type_id)
set type id of the current record
int SetVkm2(int *vkm2)
set vkm2 of the current record
int * i_run_number
run number
int * GetSystemStatusId()
get system status id of the current record
static int PrintAll()
print all records
int SetRunNumber(int *run_number)
set run number of the current record
double * d_target_width
target width
int SetTarget(TString target)
set target of the current record
TString * GetShiftLeaderId()
get shift leader id of the current record
double * GetEnergy()
get energy of the current record
int * GetVkm2()
get vkm2 of the current record
int * i_period_number
period number
TString * str_record_comment
record comment
int SetPeriodNumber(int *period_number)
set period number of the current record
int GetRecordId()
get record id of the current record
ElogConnection * connectionDB
connection to the database
int SetDaqStatus(TString *daq_status)
set daq status of the current record
int SetTriggerId(int *trigger_id)
set trigger id of the current record
int * GetRunNumber()
get run number of the current record
int * i_trigger_id
trigger 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)
int SetTargetWidth(double *target_width)
set target width of the current record
TString * GetDaqStatus()
get daq status of the current record
TString GetBeam()
get beam of the current record
TString * str_daq_status
daq status
int SetSp57(int *sp_57)
set sp 57 of the current record
TString GetTarget()
get target of the current record
int SetRecordComment(TString *record_comment)
set record comment of the current record
static int DeleteRecord(int record_id)
delete record from the database
double * GetTargetWidth()
get target width of the current record
TString * GetRecordComment()
get record comment of the current record
int SetSp41(int *sp_41)
set sp 41 of the current record
int SetBeam(TString beam)
set beam of the current record
int GetTypeId()
get type id of the current record
int SetEnergy(double *energy)
set energy of the current record
static ElogRecord * GetRecord(int record_id)
get record from the database
static TObjArray * Search(const ElogSearchCondition &search_condition)
get ELOG records corresponding to the specified single condition
int * GetPeriodNumber()
get period number of the current record
int * GetTriggerId()
get trigger id of the current record
static int CheckRecordExists(int record_id)
check record exists in the database: 1- true, 0 - false, <0 - database operation error
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 findN...
TDatime dt_record_date
record date
void Print()
print information about current record
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
int SetRecordDate(TDatime record_date)
set record date of the current record
int * GetSp57()
get sp 57 of the current record