|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef SCT_MAJORITYCONDDATA_H
15 #define SCT_MAJORITYCONDDATA_H
38 void setHVFraction(
const int& region,
const float& hvFraction);
63 #include "AthenaKernel/CondCont.h"
66 #endif // SCT_MAJORITYDATA_H
void clearMajorityStates()
Clear majority state.
void clearHVFractions()
Clear HV fractions.
Class for data object used in SCT_MajorityCondAlg and SCT_MajorityConditionsTool.
bool isFilled() const
Get filled variable.
void setMajorityState(const int ®ion, const bool &majorityState)
Set majority state for a region.
void setHVFraction(const int ®ion, const float &hvFraction)
Set HV fraction for a region.
SCT_MajorityCondData()
Constructor.
bool getMajorityState(const int ®ion) const
Get majority state for a region.
virtual ~SCT_MajorityCondData()=default
Destructor.
void setFilled(const bool &filled)
Set filled variable.
std::map< int, float > m_hvFraction
Map to store HV fraction.
CONDCONT_DEF(SCT_MajorityCondData, 80083480)
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
std::map< int, bool > m_majorityState
Map to store majority state.
macros to associate a CLID to a type
float getHVFraction(const int ®ion) const
Get HV fraction for a region.
bool m_filled
Flag to check data are filled or not.