#include <TangoData.h>
|
| enum | enumConditions {
conditionLess
, conditionLessOrEqual
, conditionEqual
, conditionNotEqual
,
conditionGreater
, conditionGreaterOrEqual
, conditionLike
, conditionNull
,
conditionNotNull
, conditionLess
, conditionLessOrEqual
, conditionEqual
,
conditionNotEqual
, conditionGreater
, conditionGreaterOrEqual
, conditionLike
,
conditionNull
, conditionNotNull
} |
| |
| enum | enumConditions {
conditionLess
, conditionLessOrEqual
, conditionEqual
, conditionNotEqual
,
conditionGreater
, conditionGreaterOrEqual
, conditionLike
, conditionNull
,
conditionNotNull
, conditionLess
, conditionLessOrEqual
, conditionEqual
,
conditionNotEqual
, conditionGreater
, conditionGreaterOrEqual
, conditionLike
,
conditionNull
, conditionNotNull
} |
| |
|
| | TangoData (const char *start_date, const char *end_date, const char *system_name, const char *parameter_name, const char *member_name="", int verbose=0) |
| |
| virtual | ~TangoData () |
| |
| TObjArray * | GetTangoData () |
| |
| TString | GetStartDate () |
| |
| TString | GetEndDate () |
| |
| TString | GetSystemName () |
| |
| TString | GetParameterName () |
| |
| TString | GetMemberName () |
| |
| TString | GetUserName () |
| |
| void | SetUserName (TString user_name) |
| |
| TString | GetFullName () |
| |
| void | PrintTangoDataConsole () |
| |
| void | PrintTangoDataSurface (const char *y_axis="tango parameter") |
| |
| int | PrintTangoDataMultiGraph (const char *y_axis="parameter", bool is3D=false) |
| |
| std::vector< double > | GetAverageTangoData () |
| |
| TObjArray * | SearchTangoIntervals (enumConditions condition=conditionEqual, bool value=true, std::vector< int > *mapChannel=nullptr) |
| |
| void | PrintTangoIntervalConsole (TObjArray *tango_intervals, TString channel_name="Channel", bool isShowOnlyExists=false) |
| |
| | TangoData (const char *start_date, const char *end_date, const char *system_name, const char *parameter_name, const char *member_name="", int verbose=0) |
| |
| virtual | ~TangoData () |
| |
| TObjArray * | GetTangoData () |
| |
| TString | GetStartDate () |
| |
| TString | GetEndDate () |
| |
| TString | GetSystemName () |
| |
| TString | GetParameterName () |
| |
| TString | GetMemberName () |
| |
| TString | GetUserName () |
| |
| void | SetUserName (TString user_name) |
| |
| TString | GetFullName () |
| |
| void | PrintTangoDataConsole () |
| |
| void | PrintTangoDataSurface (const char *y_axis="tango parameter") |
| |
| int | PrintTangoDataMultiGraph (const char *y_axis="parameter", bool is3D=false) |
| |
| std::vector< double > | GetAverageTangoData () |
| |
| TObjArray * | SearchTangoIntervals (enumConditions condition=conditionEqual, bool value=true, std::vector< int > *mapChannel=nullptr) |
| |
| void | PrintTangoIntervalConsole (TObjArray *tango_intervals, TString channel_name="Channel", bool isShowOnlyExists=false) |
| |
Definition at line 72 of file TangoData.h.
◆ enumConditions [1/2]
| Enumerator |
|---|
| conditionLess | |
| conditionLessOrEqual | |
| conditionEqual | |
| conditionNotEqual | |
| conditionGreater | |
| conditionGreaterOrEqual | |
| conditionLike | |
| conditionNull | |
| conditionNotNull | |
| conditionLess | |
| conditionLessOrEqual | |
| conditionEqual | |
| conditionNotEqual | |
| conditionGreater | |
| conditionGreaterOrEqual | |
| conditionLike | |
| conditionNull | |
| conditionNotNull | |
Definition at line 75 of file TangoData.h.
◆ enumConditions [2/2]
| Enumerator |
|---|
| conditionLess | |
| conditionLessOrEqual | |
| conditionEqual | |
| conditionNotEqual | |
| conditionGreater | |
| conditionGreaterOrEqual | |
| conditionLike | |
| conditionNull | |
| conditionNotNull | |
| conditionLess | |
| conditionLessOrEqual | |
| conditionEqual | |
| conditionNotEqual | |
| conditionGreater | |
| conditionGreaterOrEqual | |
| conditionLike | |
| conditionNull | |
| conditionNotNull | |
Definition at line 75 of file TangoData.h.
◆ TangoData() [1/2]
| TangoData::TangoData |
( |
const char * |
start_date, |
|
|
const char * |
end_date, |
|
|
const char * |
system_name, |
|
|
const char * |
parameter_name, |
|
|
const char * |
member_name = "", |
|
|
int |
verbose = 0 |
|
) |
| |
Single Constructor: fill Tango data array according to the given parameters Tango database connection is defined in the 'tango_db_settings.h' file Parameters: system_name - name of the system (e.g. ""magnet, "zdc" or "gem") parameter_name - name of hardware parameter stored in Tango (e.g. "uset" for ZDC or "u" for GEM) start_date - time from which to start reading the parameter, format: "YYYY-MM-DD HH:MM:SS" (e.g. "2015-03-13
23:00:00") end_date - end time of reading the parameter, the same format (e.g. "2015-03-13 24:00:00")
TangoData CLASS IMPLEMENTATION Single Constructor: fill Tango data array according to the given parameters Tango database connection is defined in the 'tango_db_settings.h' file Parameters: system_name - name of the system (e.g. "zdc" or "gem") parameter_name - name of hardware parameter stored in Tango (e.g. "uset" for ZDC or "u" for GEM) date_start - time from which to start reading the parameter, format: "YYYY-MM-DD HH:MM:SS" (e.g. "2015-03-13
23:00:00") date_end - end time of reading the parameter, the same format (e.g. "2015-03-13 24:00:00")
Definition at line 70 of file TangoData.cxx.
◆ ~TangoData() [1/2]
| TangoData::~TangoData |
( |
| ) |
|
|
virtual |
◆ TangoData() [2/2]
| TangoData::TangoData |
( |
const char * |
start_date, |
|
|
const char * |
end_date, |
|
|
const char * |
system_name, |
|
|
const char * |
parameter_name, |
|
|
const char * |
member_name = "", |
|
|
int |
verbose = 0 |
|
) |
| |
Single Constructor: fill Tango data array according to the given parameters Tango database connection is defined in the 'tango_db_settings.h' file Parameters: system_name - name of the system (e.g. ""magnet, "zdc" or "gem") parameter_name - name of hardware parameter stored in Tango (e.g. "uset" for ZDC or "u" for GEM) start_date - time from which to start reading the parameter, format: "YYYY-MM-DD HH:MM:SS" (e.g. "2015-03-13
23:00:00") end_date - end time of reading the parameter, the same format (e.g. "2015-03-13 24:00:00")
◆ ~TangoData() [2/2]
| virtual TangoData::~TangoData |
( |
| ) |
|
|
virtual |
◆ GetAverageTangoData() [1/2]
| vector< double > TangoData::GetAverageTangoData |
( |
| ) |
|
◆ GetAverageTangoData() [2/2]
| std::vector< double > TangoData::GetAverageTangoData |
( |
| ) |
|
◆ GetEndDate() [1/2]
| TString TangoData::GetEndDate |
( |
| ) |
|
|
inline |
◆ GetEndDate() [2/2]
| TString TangoData::GetEndDate |
( |
| ) |
|
|
inline |
◆ GetFullName() [1/2]
| TString TangoData::GetFullName |
( |
| ) |
|
◆ GetFullName() [2/2]
| TString TangoData::GetFullName |
( |
| ) |
|
◆ GetMemberName() [1/2]
| TString TangoData::GetMemberName |
( |
| ) |
|
|
inline |
◆ GetMemberName() [2/2]
| TString TangoData::GetMemberName |
( |
| ) |
|
|
inline |
◆ GetParameterName() [1/2]
| TString TangoData::GetParameterName |
( |
| ) |
|
|
inline |
◆ GetParameterName() [2/2]
| TString TangoData::GetParameterName |
( |
| ) |
|
|
inline |
◆ GetStartDate() [1/2]
| TString TangoData::GetStartDate |
( |
| ) |
|
|
inline |
◆ GetStartDate() [2/2]
| TString TangoData::GetStartDate |
( |
| ) |
|
|
inline |
◆ GetSystemName() [1/2]
| TString TangoData::GetSystemName |
( |
| ) |
|
|
inline |
◆ GetSystemName() [2/2]
| TString TangoData::GetSystemName |
( |
| ) |
|
|
inline |
◆ GetTangoData() [1/2]
| TObjArray * TangoData::GetTangoData |
( |
| ) |
|
|
inline |
◆ GetTangoData() [2/2]
| TObjArray * TangoData::GetTangoData |
( |
| ) |
|
|
inline |
◆ GetUserName() [1/2]
| TString TangoData::GetUserName |
( |
| ) |
|
|
inline |
◆ GetUserName() [2/2]
| TString TangoData::GetUserName |
( |
| ) |
|
|
inline |
◆ PrintTangoArrayConsole() [1/2]
| void TangoData::PrintTangoArrayConsole |
( |
std::vector< TangoData * > |
vecTangoData | ) |
|
|
static |
◆ PrintTangoArrayConsole() [2/2]
| static void TangoData::PrintTangoArrayConsole |
( |
std::vector< TangoData * > |
vecTangoData | ) |
|
|
static |
◆ PrintTangoArrayMultiGraph() [1/2]
| int TangoData::PrintTangoArrayMultiGraph |
( |
std::vector< TangoData * > |
vecTangoData, |
|
|
const char * |
y_axis = "parameter", |
|
|
bool |
is3D = false |
|
) |
| |
|
static |
◆ PrintTangoArrayMultiGraph() [2/2]
| static int TangoData::PrintTangoArrayMultiGraph |
( |
std::vector< TangoData * > |
vecTangoData, |
|
|
const char * |
y_axis = "parameter", |
|
|
bool |
is3D = false |
|
) |
| |
|
static |
◆ PrintTangoDataConsole() [1/2]
| void TangoData::PrintTangoDataConsole |
( |
| ) |
|
◆ PrintTangoDataConsole() [2/2]
| void TangoData::PrintTangoDataConsole |
( |
| ) |
|
◆ PrintTangoDataMultiGraph() [1/2]
| int TangoData::PrintTangoDataMultiGraph |
( |
const char * |
y_axis = "parameter", |
|
|
bool |
is3D = false |
|
) |
| |
◆ PrintTangoDataMultiGraph() [2/2]
| int TangoData::PrintTangoDataMultiGraph |
( |
const char * |
y_axis = "parameter", |
|
|
bool |
is3D = false |
|
) |
| |
◆ PrintTangoDataSurface() [1/2]
| void TangoData::PrintTangoDataSurface |
( |
const char * |
y_axis = "tango parameter" | ) |
|
◆ PrintTangoDataSurface() [2/2]
| void TangoData::PrintTangoDataSurface |
( |
const char * |
y_axis = "tango parameter" | ) |
|
◆ PrintTangoIntervalConsole() [1/2]
| void TangoData::PrintTangoIntervalConsole |
( |
TObjArray * |
tango_intervals, |
|
|
TString |
channel_name = "Channel", |
|
|
bool |
isShowOnlyExists = false |
|
) |
| |
Function displays (in console) time intervals obtained from Tango for a defined condition Parameters: tango_intervals - TObjArray with TObjArray objects containing TangoTimeInterval objects obtained from 'SearchTangoIntervals' function channel_name - name of the dimension to display on the screen, default: Channel isShowOnlyExists - if true, print only intervals which satisfy the condition (skip empty intervals)
Definition at line 856 of file TangoData.cxx.
References TangoTimeInterval::end_time, i, and TangoTimeInterval::start_time.
◆ PrintTangoIntervalConsole() [2/2]
| void TangoData::PrintTangoIntervalConsole |
( |
TObjArray * |
tango_intervals, |
|
|
TString |
channel_name = "Channel", |
|
|
bool |
isShowOnlyExists = false |
|
) |
| |
Function displays (in console) time intervals obtained from Tango for a defined condition Parameters: tango_intervals - TObjArray with TObjArray objects containing TangoTimeInterval objects obtained from 'SearchTangoIntervals' function channel_name - name of the dimension to display on the screen, default: Channel isShowOnlyExists - if true, print only intervals which satisfy the condition (skip empty intervals)
◆ SearchTangoIntervals() [1/2]
| TObjArray * TangoData::SearchTangoIntervals |
( |
enumConditions |
condition = conditionEqual, |
|
|
bool |
value = true, |
|
|
std::vector< int > * |
mapChannel = nullptr |
|
) |
| |
Function SearchTangoIntervals gets time intervals for defined condition on the parameter NOTE: now it works only if channel count is constant during given time period Parameters: condition - condition of time interval sampling, default: conditionEqual (the possible list is presented above in 'enumConditions') value - boolean value for the condition with which the comparison is performed, default: true mapChannel - vector of integer values (map) to change the order of result TObjArray-s in the common result array, if, for example, channels go in a different sequence; nullptr - if not used Returns common TObjArray with TObjArray objects containing TangoTimeInterval (i.e. conditionally TObjArray<TObjArray<TangoTimeInterval*>>), If there are no intervals found, it returns an empty TObjArray with zero elements In case of errors it returns nullptr
Definition at line 689 of file TangoData.cxx.
References Add(), TangoTimeParameter::bool_parameter_value, conditionEqual, conditionGreater, conditionGreaterOrEqual, conditionLess, conditionLessOrEqual, conditionNotEqual, and i.
◆ SearchTangoIntervals() [2/2]
| TObjArray * TangoData::SearchTangoIntervals |
( |
enumConditions |
condition = conditionEqual, |
|
|
bool |
value = true, |
|
|
std::vector< int > * |
mapChannel = nullptr |
|
) |
| |
Function SearchTangoIntervals gets time intervals for defined condition on the parameter NOTE: now it works only if channel count is constant during given time period Parameters: condition - condition of time interval sampling, default: conditionEqual (the possible list is presented above in 'enumConditions') value - boolean value for the condition with which the comparison is performed, default: true mapChannel - vector of integer values (map) to change the order of result TObjArray-s in the common result array, if, for example, channels go in a different sequence; nullptr - if not used Returns common TObjArray with TObjArray objects containing TangoTimeInterval (i.e. conditionally TObjArray<TObjArray<TangoTimeInterval*>>), If there are no intervals found, it returns an empty TObjArray with zero elements In case of errors it returns nullptr
◆ SetUserName() [1/2]
| void TangoData::SetUserName |
( |
TString |
user_name | ) |
|
|
inline |
◆ SetUserName() [2/2]
| void TangoData::SetUserName |
( |
TString |
user_name | ) |
|
|
inline |
The documentation for this class was generated from the following files: