![]() |
ATLAS Offline Software
|
Data object for SCT_ConditionsParameterTool and SCT_ConditionsParameterCondAlg. More...
#include <SCT_CondParameterData.h>
Public Types | |
| enum | ParameterIndex { AVG_THRESHOLD, N_PARAMETERS, INVALID_PARAMETER } |
| Parameters. More... | |
Public Member Functions | |
| SCT_CondParameterData () | |
| Constructor. More... | |
| virtual | ~SCT_CondParameterData ()=default |
| Destructor. More... | |
| float | getValue (const IdentifierHash &idHash, const SCT_CondParameterData::ParameterIndex iparam) const |
| Get the indicated value for a module identifier hash. More... | |
| void | getValues (std::vector< float > &userVector, const SCT_CondParameterData::ParameterIndex iparam) const |
| Fill a user-provided vector with the values. More... | |
| void | setValue (const IdentifierHash &idHash, const SCT_CondParameterData::ParameterIndex iparam, const float value) |
| Get the indicated value for a module identifier hash. More... | |
| bool | insert (const IdentifierHash &idHash, const SCT_CondParameterData::ParameterIndex iparam, const float value) |
| Extended methods for data structure insertion. More... | |
| float | max (const SCT_CondParameterData::ParameterIndex iparam) const |
| Get maximum value. More... | |
| float | min (const SCT_CondParameterData::ParameterIndex iparam) const |
| Get minimum value. More... | |
| float | avg (const SCT_CondParameterData::ParameterIndex iparam) const |
| Get average value. More... | |
| float | sd (const SCT_CondParameterData::ParameterIndex iparam) const |
| Get standard deviation. More... | |
| unsigned int | n (const SCT_CondParameterData::ParameterIndex iparam) const |
| Get the number of values. More... | |
| void | clear () |
| Clear all data members. More... | |
Static Public Member Functions | |
| static bool | isValid (const float parameterValue, const SCT_CondParameterData::ParameterIndex iparam) |
| Is a given value within acceptable limits? More... | |
| static float | invalid (const unsigned int iparam) |
| What is the default error value for this parameter? More... | |
Private Attributes | |
| std::array< std::array< float, N_PARAMETERS >, SCT_ConditionsData::NUMBER_OF_WAFERS > | m_values {} |
| float | m_min [N_PARAMETERS] {} |
| float | m_max [N_PARAMETERS] {} |
| unsigned int | m_n [N_PARAMETERS] {} |
| float | m_sum [N_PARAMETERS] {} |
| float | m_sumsq [N_PARAMETERS] {} |
Data object for SCT_ConditionsParameterTool and SCT_ConditionsParameterCondAlg.
Definition at line 32 of file SCT_CondParameterData.h.
Parameters.
| Enumerator | |
|---|---|
| AVG_THRESHOLD | |
| N_PARAMETERS | |
| INVALID_PARAMETER | |
Definition at line 35 of file SCT_CondParameterData.h.
| SCT_CondParameterData::SCT_CondParameterData | ( | ) |
|
virtualdefault |
Destructor.
| float SCT_CondParameterData::avg | ( | const SCT_CondParameterData::ParameterIndex | iparam | ) | const |
Get average value.
Definition at line 78 of file SCT_CondParameterData.cxx.
| void SCT_CondParameterData::clear | ( | ) |
| float SCT_CondParameterData::getValue | ( | const IdentifierHash & | idHash, |
| const SCT_CondParameterData::ParameterIndex | iparam | ||
| ) | const |
Get the indicated value for a module identifier hash.
Definition at line 16 of file SCT_CondParameterData.cxx.
| void SCT_CondParameterData::getValues | ( | std::vector< float > & | userVector, |
| const SCT_CondParameterData::ParameterIndex | iparam | ||
| ) | const |
| bool SCT_CondParameterData::insert | ( | const IdentifierHash & | idHash, |
| const SCT_CondParameterData::ParameterIndex | iparam, | ||
| const float | value | ||
| ) |
Extended methods for data structure insertion.
Definition at line 39 of file SCT_CondParameterData.cxx.
|
static |
What is the default error value for this parameter?
Definition at line 59 of file SCT_CondParameterData.cxx.
|
static |
| float SCT_CondParameterData::max | ( | const SCT_CondParameterData::ParameterIndex | iparam | ) | const |
Get maximum value.
Definition at line 68 of file SCT_CondParameterData.cxx.
| float SCT_CondParameterData::min | ( | const SCT_CondParameterData::ParameterIndex | iparam | ) | const |
Get minimum value.
Definition at line 73 of file SCT_CondParameterData.cxx.
| unsigned int SCT_CondParameterData::n | ( | const SCT_CondParameterData::ParameterIndex | iparam | ) | const |
Get the number of values.
Definition at line 89 of file SCT_CondParameterData.cxx.
| float SCT_CondParameterData::sd | ( | const SCT_CondParameterData::ParameterIndex | iparam | ) | const |
| void SCT_CondParameterData::setValue | ( | const IdentifierHash & | idHash, |
| const SCT_CondParameterData::ParameterIndex | iparam, | ||
| const float | value | ||
| ) |
Get the indicated value for a module identifier hash.
Definition at line 28 of file SCT_CondParameterData.cxx.
|
private |
Definition at line 74 of file SCT_CondParameterData.h.
|
private |
Definition at line 73 of file SCT_CondParameterData.h.
|
private |
Definition at line 75 of file SCT_CondParameterData.h.
|
private |
Definition at line 76 of file SCT_CondParameterData.h.
|
private |
Definition at line 77 of file SCT_CondParameterData.h.
|
private |
Definition at line 71 of file SCT_CondParameterData.h.
1.8.18