5#ifndef LArBadChanBitPackingBase_H
6#define LArBadChanBitPackingBase_H
25 const std::string&
stringName(
typename T::ProblemType pb)
const;
27 std::pair<bool, typename T::ProblemType>
enumName(
const std::string&
str)
const;
55 std::vector< std::pair<typename T::ProblemType, GainDependence> >
m_enumVec;
58 std::map<std::string, typename T::ProblemType>
m_nameMap;
std::vector< std::string > m_nameVec
void setBit(typename T::ProblemType pb, LArBadChannel::BitWord &word, bool value=true) const
const std::string & stringName(typename T::ProblemType pb) const
int index(typename T::ProblemType pb) const
LArBadChannel::BitWord m_lowGainMask
std::vector< std::pair< typename LArBadChannel::LArBadChannelSCEnum::ProblemType, GainDependence > > m_enumVec
LArBadChannel::BitWord lowGainMask() const
LArBadChannel::BitWord highGainMask() const
std::vector< int > m_index
LArBadChannel::PosType wordSize() const
LArBadChannel::PosType bitPosition(typename T::ProblemType pb) const
TLArBadChanBitPackingBase()
LArBadChannel::BitWord m_mediumGainMask
int numberOfProblemTypes() const
bool setBit(const std::string &name, LArBadChannel &word, bool value=true) const
LArBadChannel::BitWord m_highGainMask
std::vector< LArBadChannel::PosType > PosContainer
void setBit(typename T::ProblemType pb, LArBadChannel &word, bool value=true) const
bool setBit(const std::string &name, LArBadChannel::BitWord &word, bool value=true) const
LArBadChannel::BitWord mediumGainMask() const
void addBit(typename T::ProblemType pb, const std::string &name, GainDependence gaindep)
std::string stringStatus(const LArBadChannel &bc) const
std::pair< bool, typename T::ProblemType > enumName(const std::string &str) const
std::map< std::string, typename LArBadChannel::LArBadChannelSCEnum::ProblemType > m_nameMap