|
ATLAS Offline Software
|
Go to the documentation of this file.
23 userVector.push_back(
m_values[
i][iparam]);
41 if (not
isValid(theValue, iparam))
return false;
42 std::array<float,N_PARAMETERS>& paramArray =
m_values[idHash];
44 if (not
isValid(paramArray[iparam], iparam)) {
45 paramArray[iparam] = theValue;
55 return !(iparam==
AVG_THRESHOLD and (parameterValue!=parameterValue));
62 result=std::numeric_limits<float>::quiet_NaN();
79 return (
m_n[iparam]!=0)?(
m_sum[iparam]/
m_n[iparam]):(std::numeric_limits<float>::quiet_NaN());
95 std::array<float, N_PARAMETERS>
init{};
float m_sum[N_PARAMETERS]
float m_max[N_PARAMETERS]
ParameterIndex
Parameters.
float m_sumsq[N_PARAMETERS]
void clear()
Clear all data members.
header file for data object for SCT_ConditionsParameterTool and SCT_ConditionsParameterCondAlg.
static float invalid(const unsigned int iparam)
What is the default error value for this parameter?
float getValue(const IdentifierHash &idHash, const SCT_CondParameterData::ParameterIndex iparam) const
Get the indicated value for a module identifier hash.
void getValues(std::vector< float > &userVector, const SCT_CondParameterData::ParameterIndex iparam) const
Fill a user-provided vector with the values.
unsigned int m_n[N_PARAMETERS]
float max(const SCT_CondParameterData::ParameterIndex iparam) const
Get maximum value.
unsigned int n(const SCT_CondParameterData::ParameterIndex iparam) const
Get the number of values.
def init(v_theApp, v_rootStream=None)
float avg(const SCT_CondParameterData::ParameterIndex iparam) const
Get average value.
std::array< std::array< float, N_PARAMETERS >, SCT_ConditionsData::NUMBER_OF_WAFERS > m_values
bool insert(const IdentifierHash &idHash, const SCT_CondParameterData::ParameterIndex iparam, const float value)
Extended methods for data structure insertion.
SCT_CondParameterData()
Constructor.
float m_min[N_PARAMETERS]
float sd(const SCT_CondParameterData::ParameterIndex iparam) const
Get standard deviation.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
static bool isValid(const float parameterValue, const SCT_CondParameterData::ParameterIndex iparam)
Is a given value within acceptable limits?
void setValue(const IdentifierHash &idHash, const SCT_CondParameterData::ParameterIndex iparam, const float value)
Get the indicated value for a module identifier hash.
float min(const SCT_CondParameterData::ParameterIndex iparam) const
Get minimum value.