|
BmnRoot
|
#include <UniDetectorParameter.h>
Public Member Functions | |
| virtual | ~UniDetectorParameter () |
| int | GetValueId () |
| get value id of the current detector parameter | |
| TString | GetDetectorName () |
| get detector name of the current detector parameter | |
| int | GetParameterId () |
| get parameter id of the current detector parameter | |
| int | GetStartPeriod () |
| get start period of the current detector parameter | |
| int | GetStartRun () |
| get start run of the current detector parameter | |
| int | GetEndPeriod () |
| get end period of the current detector parameter | |
| int | GetEndRun () |
| get end run of the current detector parameter | |
| int | GetValueKey () |
| get value key of the current detector parameter | |
| unsigned char * | GetParameterValue () |
| get parameter value of the current detector parameter | |
| Long_t | GetParameterValueSize () |
| get size of parameter value of the current detector parameter | |
| TDatime * | GetExpiryDate () |
| get expiry date of the current detector parameter | |
| int | SetDetectorName (TString detector_name) |
| set detector name of the current detector parameter | |
| int | SetParameterId (int parameter_id) |
| set parameter id of the current detector parameter | |
| int | SetStartPeriod (int start_period) |
| set start period of the current detector parameter | |
| int | SetStartRun (int start_run) |
| set start run of the current detector parameter | |
| int | SetEndPeriod (int end_period) |
| set end period of the current detector parameter | |
| int | SetEndRun (int end_run) |
| set end run of the current detector parameter | |
| int | SetValueKey (int value_key) |
| set value key of the current detector parameter | |
| int | SetParameterValue (unsigned char *parameter_value, Long_t size_parameter_value) |
| set parameter value of the current detector parameter | |
| int | SetExpiryDate (TDatime *expiry_date) |
| set expiry date of the current detector parameter | |
| void | Print () |
| print information about current detector parameter | |
| int | GetValue (vector< UniValue * > ¶meter_value) |
| get value of detector parameter presented by an array | |
| UniValue * | GetValue () |
| get value of detector parameter presented by a single value | |
| int | SetValue (vector< UniValue * > parameter_value) |
| set value to detector parameter presented by an array | |
| int | SetValue (UniValue *parameter_value) |
| set value to detector parameter presented by a single value | |
| TString | GetParameterName () |
| get parameter name of the current parameter value | |
| enumValueType | GetParameterType () |
| get parameter type of the current parameter value | |
| void | GetStart (int &start_period, int &start_run) |
| get start period and run of the current parameter value | |
| void | GetEnd (int &end_period, int &end_run) |
| get end period and run of the current parameter value | |
| int | SetStart (int start_period, int start_run) |
| set start period and run of the current parameter value | |
| int | SetEnd (int end_period, int end_run) |
| set end period and run of the current parameter value | |
| virtual | ~UniDetectorParameter () |
| int | GetValueId () |
| get value id of the current detector parameter | |
| TString | GetDetectorName () |
| get detector name of the current detector parameter | |
| int | GetParameterId () |
| get parameter id of the current detector parameter | |
| int | GetStartPeriod () |
| get start period of the current detector parameter | |
| int | GetStartRun () |
| get start run of the current detector parameter | |
| int | GetEndPeriod () |
| get end period of the current detector parameter | |
| int | GetEndRun () |
| get end run of the current detector parameter | |
| int | GetValueKey () |
| get value key of the current detector parameter | |
| unsigned char * | GetParameterValue () |
| get parameter value of the current detector parameter | |
| Long_t | GetParameterValueSize () |
| get size of parameter value of the current detector parameter | |
| TDatime * | GetExpiryDate () |
| get expiry date of the current detector parameter | |
| int | SetDetectorName (TString detector_name) |
| set detector name of the current detector parameter | |
| int | SetParameterId (int parameter_id) |
| set parameter id of the current detector parameter | |
| int | SetStartPeriod (int start_period) |
| set start period of the current detector parameter | |
| int | SetStartRun (int start_run) |
| set start run of the current detector parameter | |
| int | SetEndPeriod (int end_period) |
| set end period of the current detector parameter | |
| int | SetEndRun (int end_run) |
| set end run of the current detector parameter | |
| int | SetValueKey (int value_key) |
| set value key of the current detector parameter | |
| int | SetParameterValue (unsigned char *parameter_value, Long_t size_parameter_value) |
| set parameter value of the current detector parameter | |
| int | SetExpiryDate (TDatime *expiry_date) |
| set expiry date of the current detector parameter | |
| void | Print () |
| print information about current detector parameter | |
| int | GetValue (vector< UniValue * > ¶meter_value) |
| get value of detector parameter presented by an array | |
| UniValue * | GetValue () |
| get value of detector parameter presented by a single value | |
| int | SetValue (vector< UniValue * > parameter_value) |
| set value to detector parameter presented by an array | |
| int | SetValue (UniValue *parameter_value) |
| set value to detector parameter presented by a single value | |
| TString | GetParameterName () |
| get parameter name of the current parameter value | |
| enumValueType | GetParameterType () |
| get parameter type of the current parameter value | |
| void | GetStart (int &start_period, int &start_run) |
| get start period and run of the current parameter value | |
| void | GetEnd (int &end_period, int &end_run) |
| get end period and run of the current parameter value | |
| int | SetStart (int start_period, int start_run) |
| set start period and run of the current parameter value | |
| int | SetEnd (int end_period, int end_run) |
| set end period and run of the current parameter value | |
Static Public Member Functions | |
| static UniDetectorParameter * | CreateDetectorParameter (TString detector_name, int parameter_id, int start_period, int start_run, int end_period, int end_run, int value_key, unsigned char *parameter_value, Long_t size_parameter_value, TDatime *expiry_date) |
| add new detector parameter to the database | |
| static UniDetectorParameter * | GetDetectorParameter (int value_id) |
| get detector parameter from the database | |
| static int | CheckDetectorParameterExists (int value_id) |
| check detector parameter exists in the database: 1- true, 0 - false, <0 - database operation error | |
| static int | DeleteDetectorParameter (int value_id) |
| delete detector parameter from the database | |
| static int | PrintAll () |
| print all detector parameters | |
| static UniDetectorParameter * | CreateDetectorParameter (TString detector_name, TString parameter_name, int start_period, int start_run, int end_period, int end_run, vector< UniValue * > parameter_value, int value_key=0) |
| write detector parameter value presented by an array (integer value key is optional, default, 0) | |
| static UniDetectorParameter * | CreateDetectorParameter (TString detector_name, TString parameter_name, int start_period, int start_run, int end_period, int end_run, UniValue *parameter_value, int value_key=0) |
| write detector parameter value presented by a single value (integer value key is optional, default, 0) | |
| static UniDetectorParameter * | GetDetectorParameter (TString detector_name, TString parameter_name, int period_number, int run_number, TDatime *usage_time=nullptr, int value_key=0) |
| get detector parameter value (integer value key is optional, default, 0) | |
| static int | DeleteDetectorParameter (TString detector_name, TString parameter_name, int start_period, int start_run, int end_period, int end_run, TDatime *usage_time, int value_key=0) |
| delete detector parameter value (integer value key is optional, default, 0) | |
| static int | WriteFile (const char *detector_name, const char *parameter_name, int start_period, int start_run, int end_period, int end_run, const char *file_path) |
| static int | ReadFile (const char *detector_name, const char *parameter_name, int period_number, int run_number, const char *file_path) |
| static TObjArray * | Search (UniSearchCondition &search_condition) |
| static TObjArray * | Search (TObjArray &search_conditions) |
| static UniDetectorParameter * | CreateDetectorParameter (TString detector_name, int parameter_id, int start_period, int start_run, int end_period, int end_run, int value_key, unsigned char *parameter_value, Long_t size_parameter_value, TDatime *expiry_date) |
| add new detector parameter to the database | |
| static UniDetectorParameter * | GetDetectorParameter (int value_id) |
| get detector parameter from the database | |
| static int | CheckDetectorParameterExists (int value_id) |
| check detector parameter exists in the database: 1- true, 0 - false, <0 - database operation error | |
| static int | DeleteDetectorParameter (int value_id) |
| delete detector parameter from the database | |
| static int | PrintAll () |
| print all detector parameters | |
| static UniDetectorParameter * | CreateDetectorParameter (TString detector_name, TString parameter_name, int start_period, int start_run, int end_period, int end_run, vector< UniValue * > parameter_value, int value_key=0) |
| write detector parameter value presented by an array (integer value key is optional, default, 0) | |
| static UniDetectorParameter * | CreateDetectorParameter (TString detector_name, TString parameter_name, int start_period, int start_run, int end_period, int end_run, UniValue *parameter_value, int value_key=0) |
| write detector parameter value presented by a single value (integer value key is optional, default, 0) | |
| static UniDetectorParameter * | GetDetectorParameter (TString detector_name, TString parameter_name, int period_number, int run_number, TDatime *usage_time=nullptr, int value_key=0) |
| get detector parameter value (integer value key is optional, default, 0) | |
| static int | DeleteDetectorParameter (TString detector_name, TString parameter_name, int start_period, int start_run, int end_period, int end_run, TDatime *usage_time, int value_key=0) |
| delete detector parameter value (integer value key is optional, default, 0) | |
| static int | WriteFile (const char *detector_name, const char *parameter_name, int start_period, int start_run, int end_period, int end_run, const char *file_path) |
| static int | ReadFile (const char *detector_name, const char *parameter_name, int period_number, int run_number, const char *file_path) |
| static TObjArray * | Search (UniSearchCondition &search_condition) |
| static TObjArray * | Search (TObjArray &search_conditions) |
Protected Member Functions | |
| unsigned char * | GetUNC (enumValueType enum_parameter_type=UndefinedType) |
| int | SetUNC (unsigned char *p_parameter_value, Long_t size_parameter_value) |
| ClassDef (UniDetectorParameter, 1) | |
| unsigned char * | GetUNC (enumValueType enum_parameter_type=UndefinedType) |
| int | SetUNC (unsigned char *p_parameter_value, Long_t size_parameter_value) |
| ClassDef (UniDetectorParameter, 1) | |
Static Protected Member Functions | |
| static UniDetectorParameter * | CreateDetectorParameter (TString detector_name, TString parameter_name, int start_period, int start_run, int end_period, int end_run, unsigned char *parameter_value, Long_t size_parameter_value, enumValueType enum_parameter_type, int value_key=0) |
| static UniDetectorParameter * | CreateDetectorParameter (TString detector_name, TString parameter_name, int start_period, int start_run, int end_period, int end_run, unsigned char *parameter_value, Long_t size_parameter_value, enumValueType enum_parameter_type, int value_key=0) |
Definition at line 22 of file UniDetectorParameter.h.
|
virtual |
Definition at line 49 of file UniDetectorParameter.cxx.
|
virtual |
|
static |
check detector parameter exists in the database: 1- true, 0 - false, <0 - database operation error
Definition at line 233 of file UniDetectorParameter.cxx.
References UniConnection::GetSQLServer(), and UniConnection::Open().
|
static |
check detector parameter exists in the database: 1- true, 0 - false, <0 - database operation error
|
protected |
|
protected |
|
static |
add new detector parameter to the database
Definition at line 60 of file UniDetectorParameter.cxx.
References UniConnection::GetSQLServer(), and UniConnection::Open().
Referenced by CreateDetectorParameter(), CreateDetectorParameter(), UniParser::ParseTxtNoise2Db(), and WriteFile().
|
static |
add new detector parameter to the database
|
static |
write detector parameter value presented by a single value (integer value key is optional, default, 0)
Definition at line 924 of file UniDetectorParameter.cxx.
References CreateDetectorParameter(), UniRunPeriod::GetFirstRunNumber(), UniRunPeriod::GetLastRunNumber(), UniValue::GetStorageSize(), UniValue::GetType(), and UniValue::WriteValue().
|
static |
write detector parameter value presented by a single value (integer value key is optional, default, 0)
|
staticprotected |
Definition at line 776 of file UniDetectorParameter.cxx.
References UniParameter::CheckAndGetParameterID(), UniConnection::GetSQLServer(), and UniConnection::Open().
|
staticprotected |
|
static |
write detector parameter value presented by an array (integer value key is optional, default, 0)
Definition at line 868 of file UniDetectorParameter.cxx.
References CreateDetectorParameter(), UniRunPeriod::GetFirstRunNumber(), UniRunPeriod::GetLastRunNumber(), and i.
|
static |
write detector parameter value presented by an array (integer value key is optional, default, 0)
|
static |
delete detector parameter from the database
Definition at line 273 of file UniDetectorParameter.cxx.
References UniConnection::GetSQLServer(), and UniConnection::Open().
Referenced by delete_Tof1_INL(), and delete_Tof1_mapping().
|
static |
delete detector parameter from the database
|
static |
delete detector parameter value (integer value key is optional, default, 0)
Definition at line 1046 of file UniDetectorParameter.cxx.
References UniConnection::GetSQLServer(), and UniConnection::Open().
|
static |
delete detector parameter value (integer value key is optional, default, 0)
|
inline |
get detector name of the current detector parameter
Definition at line 96 of file UniDetectorParameter.h.
|
inline |
get detector name of the current detector parameter
Definition at line 96 of file UniDetectorParameter.h.
|
static |
get detector parameter from the database
Definition at line 163 of file UniDetectorParameter.cxx.
References UniConnection::GetSQLServer(), and UniConnection::Open().
Referenced by BmnInnTrackerAlign::BmnInnTrackerAlign(), ReadFile(), BmnTof1Raw2Digit::setRun(), and BmnTof701Raw2Digit::setRun().
|
static |
get detector parameter from the database
|
static |
get detector parameter value (integer value key is optional, default, 0)
Definition at line 967 of file UniDetectorParameter.cxx.
References UniConnection::GetSQLServer(), and UniConnection::Open().
|
static |
get detector parameter value (integer value key is optional, default, 0)
| void UniDetectorParameter::GetEnd | ( | int & | end_period, |
| int & | end_run | ||
| ) |
get end period and run of the current parameter value
Definition at line 1530 of file UniDetectorParameter.cxx.
| void UniDetectorParameter::GetEnd | ( | int & | end_period, |
| int & | end_run | ||
| ) |
get end period and run of the current parameter value
|
inline |
get end period of the current detector parameter
Definition at line 104 of file UniDetectorParameter.h.
|
inline |
get end period of the current detector parameter
Definition at line 104 of file UniDetectorParameter.h.
|
inline |
get end run of the current detector parameter
Definition at line 106 of file UniDetectorParameter.h.
|
inline |
get end run of the current detector parameter
Definition at line 106 of file UniDetectorParameter.h.
|
inline |
get expiry date of the current detector parameter
Definition at line 119 of file UniDetectorParameter.h.
|
inline |
get expiry date of the current detector parameter
Definition at line 119 of file UniDetectorParameter.h.
|
inline |
get parameter id of the current detector parameter
Definition at line 98 of file UniDetectorParameter.h.
|
inline |
get parameter id of the current detector parameter
Definition at line 98 of file UniDetectorParameter.h.
| TString UniDetectorParameter::GetParameterName | ( | ) |
get parameter name of the current parameter value
Definition at line 1491 of file UniDetectorParameter.cxx.
References UniParameter::GetParameter(), and UniParameter::GetParameterName().
| TString UniDetectorParameter::GetParameterName | ( | ) |
get parameter name of the current parameter value
| enumValueType UniDetectorParameter::GetParameterType | ( | ) |
get parameter type of the current parameter value
Definition at line 1506 of file UniDetectorParameter.cxx.
References UniParameter::GetParameter(), UniParameter::GetParameterType(), and UndefinedType.
Referenced by GetValue(), and GetValue().
| enumValueType UniDetectorParameter::GetParameterType | ( | ) |
get parameter type of the current parameter value
|
inline |
get parameter value of the current detector parameter
Definition at line 110 of file UniDetectorParameter.h.
|
inline |
get parameter value of the current detector parameter
Definition at line 110 of file UniDetectorParameter.h.
|
inline |
get size of parameter value of the current detector parameter
Definition at line 117 of file UniDetectorParameter.h.
|
inline |
get size of parameter value of the current detector parameter
Definition at line 117 of file UniDetectorParameter.h.
| void UniDetectorParameter::GetStart | ( | int & | start_period, |
| int & | start_run | ||
| ) |
get start period and run of the current parameter value
Definition at line 1521 of file UniDetectorParameter.cxx.
| void UniDetectorParameter::GetStart | ( | int & | start_period, |
| int & | start_run | ||
| ) |
get start period and run of the current parameter value
|
inline |
get start period of the current detector parameter
Definition at line 100 of file UniDetectorParameter.h.
|
inline |
get start period of the current detector parameter
Definition at line 100 of file UniDetectorParameter.h.
|
inline |
get start run of the current detector parameter
Definition at line 102 of file UniDetectorParameter.h.
|
inline |
get start run of the current detector parameter
Definition at line 102 of file UniDetectorParameter.h.
|
protected |
Parse detector parameter's values and write them to the database: txtFile - path to the text file with parameter values separated by spaces or tabs, e.g.: "value1 value2..." if line is started with '#' symbol - it will be skipped (as comments) detector_name - detector corresponding to the parameter values parameter name - parameter filled by values start_period - start period of validity range for the parameter values start_run - start run of validity range for the parameter values end_period - end period of validity range for the parameter values end_run - end run of validity range for the parameter values. Function returns row count added to the database.
Definition at line 683 of file UniDetectorParameter.cxx.
References UniConnection::GetSQLServer().
Referenced by GetValue(), and GetValue().
|
protected |
Parse detector parameter's values and write them to the database: txtFile - path to the text file with parameter values separated by spaces or tabs, e.g.: "value1 value2..." if line is started with '#' symbol - it will be skipped (as comments) detector_name - detector corresponding to the parameter values parameter name - parameter filled by values start_period - start period of validity range for the parameter values start_run - start run of validity range for the parameter values end_period - end period of validity range for the parameter values end_run - end run of validity range for the parameter values. Function returns row count added to the database.
| UniValue * UniDetectorParameter::GetValue | ( | ) |
get value of detector parameter presented by a single value
Definition at line 1127 of file UniDetectorParameter.cxx.
References CreateParameterValue(), GetParameterType(), GetUNC(), and UniValue::ReadValue().
| UniValue * UniDetectorParameter::GetValue | ( | ) |
get value of detector parameter presented by a single value
| int UniDetectorParameter::GetValue | ( | vector< UniValue * > & | parameter_value | ) |
get value of detector parameter presented by an array
Definition at line 1107 of file UniDetectorParameter.cxx.
References CreateParameterValue(), GetParameterType(), UniValue::GetStorageSize(), GetUNC(), and UniValue::ReadValue().
Referenced by BmnInnTrackerAlign::BmnInnTrackerAlign(), ReadFile(), BmnTof1Raw2Digit::setRun(), and BmnTof701Raw2Digit::setRun().
| int UniDetectorParameter::GetValue | ( | vector< UniValue * > & | parameter_value | ) |
get value of detector parameter presented by an array
|
inline |
get value id of the current detector parameter
Definition at line 94 of file UniDetectorParameter.h.
|
inline |
get value id of the current detector parameter
Definition at line 94 of file UniDetectorParameter.h.
|
inline |
get value key of the current detector parameter
Definition at line 108 of file UniDetectorParameter.h.
|
inline |
get value key of the current detector parameter
Definition at line 108 of file UniDetectorParameter.h.
| void UniDetectorParameter::Print | ( | ) |
print information about current detector parameter
Definition at line 668 of file UniDetectorParameter.cxx.
| void UniDetectorParameter::Print | ( | ) |
print information about current detector parameter
|
static |
print all detector parameters
Definition at line 303 of file UniDetectorParameter.cxx.
References UniConnection::GetSQLServer(), and UniConnection::Open().
|
static |
print all detector parameters
|
static |
read a whole file with parameter value (with given detector and parameter names) from the Database for the selected run
Definition at line 1256 of file UniDetectorParameter.cxx.
References GetDetectorParameter(), GetValue(), BinaryValue::size, and BinaryValue::value.
Referenced by BmnInnTrackerAlign::BmnInnTrackerAlign().
|
static |
read a whole file with parameter value (with given detector and parameter names) from the Database for the selected run
|
static |
get parameters' values corresponding to the specified (vector) conditions and set owner for search_condition to kTRUE
Definition at line 1303 of file UniDetectorParameter.cxx.
References UniSearchCondition::columnDetectorName, UniSearchCondition::columnEndPeriod, UniSearchCondition::columnEndRun, UniSearchCondition::columnParameterName, UniSearchCondition::columnStartPeriod, UniSearchCondition::columnStartRun, UniSearchCondition::conditionEqual, UniSearchCondition::conditionGreater, UniSearchCondition::conditionGreaterOrEqual, UniSearchCondition::conditionLess, UniSearchCondition::conditionLessOrEqual, UniSearchCondition::conditionLike, UniSearchCondition::conditionNotEqual, UniSearchCondition::conditionNotNull, UniSearchCondition::conditionNull, UniSearchCondition::GetColumn(), UniSearchCondition::GetCondition(), UniSearchCondition::GetDatimeValue(), UniSearchCondition::GetDoubleValue(), UniSearchCondition::GetIntValue(), UniConnection::GetSQLServer(), UniSearchCondition::GetStringValue(), UniSearchCondition::GetUIntValue(), UniSearchCondition::GetValueType(), and UniConnection::Open().
|
static |
get parameters' values corresponding to the specified (vector) conditions and set owner for search_condition to kTRUE
|
static |
get parameters' values corresponding to the specified single condition and set owner for search_condition to kTRUE
Definition at line 1482 of file UniDetectorParameter.cxx.
References Search().
Referenced by Search().
|
static |
get parameters' values corresponding to the specified single condition and set owner for search_condition to kTRUE
| int UniDetectorParameter::SetDetectorName | ( | TString | detector_name | ) |
set detector name of the current detector parameter
Definition at line 367 of file UniDetectorParameter.cxx.
References UniConnection::GetSQLServer().
| int UniDetectorParameter::SetDetectorName | ( | TString | detector_name | ) |
set detector name of the current detector parameter
| int UniDetectorParameter::SetEnd | ( | int | end_period, |
| int | end_run | ||
| ) |
set end period and run of the current parameter value
Definition at line 1574 of file UniDetectorParameter.cxx.
References UniConnection::GetSQLServer().
| int UniDetectorParameter::SetEnd | ( | int | end_period, |
| int | end_run | ||
| ) |
set end period and run of the current parameter value
| int UniDetectorParameter::SetEndPeriod | ( | int | end_period | ) |
set end period of the current detector parameter
Definition at line 495 of file UniDetectorParameter.cxx.
References UniConnection::GetSQLServer().
| int UniDetectorParameter::SetEndPeriod | ( | int | end_period | ) |
set end period of the current detector parameter
| int UniDetectorParameter::SetEndRun | ( | int | end_run | ) |
set end run of the current detector parameter
Definition at line 527 of file UniDetectorParameter.cxx.
References UniConnection::GetSQLServer().
| int UniDetectorParameter::SetEndRun | ( | int | end_run | ) |
set end run of the current detector parameter
| int UniDetectorParameter::SetExpiryDate | ( | TDatime * | expiry_date | ) |
set expiry date of the current detector parameter
Definition at line 627 of file UniDetectorParameter.cxx.
References UniConnection::GetSQLServer().
| int UniDetectorParameter::SetExpiryDate | ( | TDatime * | expiry_date | ) |
set expiry date of the current detector parameter
| int UniDetectorParameter::SetParameterId | ( | int | parameter_id | ) |
set parameter id of the current detector parameter
Definition at line 399 of file UniDetectorParameter.cxx.
References UniConnection::GetSQLServer().
| int UniDetectorParameter::SetParameterId | ( | int | parameter_id | ) |
set parameter id of the current detector parameter
| int UniDetectorParameter::SetParameterValue | ( | unsigned char * | parameter_value, |
| Long_t | size_parameter_value | ||
| ) |
set parameter value of the current detector parameter
Definition at line 591 of file UniDetectorParameter.cxx.
References UniConnection::GetSQLServer().
| int UniDetectorParameter::SetParameterValue | ( | unsigned char * | parameter_value, |
| Long_t | size_parameter_value | ||
| ) |
set parameter value of the current detector parameter
| int UniDetectorParameter::SetStart | ( | int | start_period, |
| int | start_run | ||
| ) |
set start period and run of the current parameter value
Definition at line 1539 of file UniDetectorParameter.cxx.
References UniConnection::GetSQLServer().
| int UniDetectorParameter::SetStart | ( | int | start_period, |
| int | start_run | ||
| ) |
set start period and run of the current parameter value
| int UniDetectorParameter::SetStartPeriod | ( | int | start_period | ) |
set start period of the current detector parameter
Definition at line 431 of file UniDetectorParameter.cxx.
References UniConnection::GetSQLServer().
| int UniDetectorParameter::SetStartPeriod | ( | int | start_period | ) |
set start period of the current detector parameter
| int UniDetectorParameter::SetStartRun | ( | int | start_run | ) |
set start run of the current detector parameter
Definition at line 463 of file UniDetectorParameter.cxx.
References UniConnection::GetSQLServer().
| int UniDetectorParameter::SetStartRun | ( | int | start_run | ) |
set start run of the current detector parameter
|
protected |
Definition at line 733 of file UniDetectorParameter.cxx.
References UniConnection::GetSQLServer().
Referenced by SetValue(), and SetValue().
|
protected |
| int UniDetectorParameter::SetValue | ( | UniValue * | parameter_value | ) |
set value to detector parameter presented by a single value
Definition at line 1170 of file UniDetectorParameter.cxx.
References UniValue::GetStorageSize(), SetUNC(), and UniValue::WriteValue().
| int UniDetectorParameter::SetValue | ( | UniValue * | parameter_value | ) |
set value to detector parameter presented by a single value
| int UniDetectorParameter::SetValue | ( | vector< UniValue * > | parameter_value | ) |
set value to detector parameter presented by an array
Definition at line 1140 of file UniDetectorParameter.cxx.
References i, SetUNC(), and UniValue::WriteValue().
| int UniDetectorParameter::SetValue | ( | vector< UniValue * > | parameter_value | ) |
set value to detector parameter presented by an array
| int UniDetectorParameter::SetValueKey | ( | int | value_key | ) |
set value key of the current detector parameter
Definition at line 559 of file UniDetectorParameter.cxx.
References UniConnection::GetSQLServer().
| int UniDetectorParameter::SetValueKey | ( | int | value_key | ) |
set value key of the current detector parameter
|
static |
write a whole file with parameter value (with given detector and parameter names) to the Database from start run to end one
Definition at line 1193 of file UniDetectorParameter.cxx.
References CreateDetectorParameter(), BinaryValue::size, and BinaryValue::value.
|
static |
write a whole file with parameter value (with given detector and parameter names) to the Database from start run to end one