14#ifndef SCT_MAJORITYCONDDATA_H
15#define SCT_MAJORITYCONDDATA_H
38 void setHVFraction(
const int& region,
const float& hvFraction);
63#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
Class for data object used in SCT_MajorityCondAlg and SCT_MajorityConditionsTool.
bool m_filled
Flag to check data are filled or not.
virtual ~SCT_MajorityCondData()=default
Destructor.
SCT_MajorityCondData()
Constructor.
float getHVFraction(const int ®ion) const
Get HV fraction for a region.
void clearHVFractions()
Clear HV fractions.
void setHVFraction(const int ®ion, const float &hvFraction)
Set HV fraction for a region.
std::map< int, bool > m_majorityState
Map to store majority state.
bool getMajorityState(const int ®ion) const
Get majority state for a region.
bool isFilled() const
Get filled variable.
void setFilled(const bool &filled)
Set filled variable.
void setMajorityState(const int ®ion, const bool &majorityState)
Set majority state for a region.
std::map< int, float > m_hvFraction
Map to store HV fraction.
void clearMajorityStates()
Clear majority state.