14#ifndef SCT_CONDPARAMETERDATA_H
15#define SCT_CONDPARAMETERDATA_H
55 static float invalid(
const unsigned int iparam) ;
85#include "AthenaKernel/CondCont.h"
#define CONDCONT_DEF(...)
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
header file containing the number of elements and enumerated type of parameters which may be retrieve...
This is a "hash" representation of an Identifier.
Data object for SCT_ConditionsParameterTool and SCT_ConditionsParameterCondAlg.
unsigned int m_n[N_PARAMETERS]
static float invalid(const unsigned int iparam)
What is the default error value for this parameter?
float m_min[N_PARAMETERS]
float m_sum[N_PARAMETERS]
SCT_CondParameterData()
Constructor.
ParameterIndex
Parameters.
float sd(const SCT_CondParameterData::ParameterIndex iparam) const
Get standard deviation.
bool insert(const IdentifierHash &idHash, const SCT_CondParameterData::ParameterIndex iparam, const float value)
Extended methods for data structure insertion.
void setValue(const IdentifierHash &idHash, const SCT_CondParameterData::ParameterIndex iparam, const float value)
Get the indicated value for a module identifier hash.
virtual ~SCT_CondParameterData()=default
Destructor.
std::array< std::array< float, N_PARAMETERS >, SCT_ConditionsData::NUMBER_OF_WAFERS > m_values
float avg(const SCT_CondParameterData::ParameterIndex iparam) const
Get average value.
unsigned int n(const SCT_CondParameterData::ParameterIndex iparam) const
Get the number of values.
void getValues(std::vector< float > &userVector, const SCT_CondParameterData::ParameterIndex iparam) const
Fill a user-provided vector with the values.
float m_max[N_PARAMETERS]
float m_sumsq[N_PARAMETERS]
float getValue(const IdentifierHash &idHash, const SCT_CondParameterData::ParameterIndex iparam) const
Get the indicated value for a module identifier hash.
static bool isValid(const float parameterValue, const SCT_CondParameterData::ParameterIndex iparam)
Is a given value within acceptable limits?
void clear()
Clear all data members.