ATLAS Offline Software
|
#include <LArBadChanBitPackingBase.h>
Public Types | |
typedef std::vector< LArBadChannel::PosType > | PosContainer |
Public Member Functions | |
TLArBadChanBitPackingBase () | |
const std::string & | stringName (typename T::ProblemType pb) const |
std::pair< bool, typename T::ProblemType > | enumName (const std::string &str) const |
LArBadChannel::PosType | bitPosition (typename T::ProblemType pb) const |
LArBadChannel::PosType | wordSize () const |
void | setBit (typename T::ProblemType pb, LArBadChannel::BitWord &word, bool value=true) const |
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 |
bool | setBit (const std::string &name, LArBadChannel &word, bool value=true) const |
std::string | stringStatus (const LArBadChannel &bc) const |
LArBadChannel::BitWord | highGainMask () const |
LArBadChannel::BitWord | mediumGainMask () const |
LArBadChannel::BitWord | lowGainMask () const |
int | numberOfProblemTypes () const |
Protected Types | |
enum | GainDependence { independent, low, medium, high } |
Protected Member Functions | |
void | addBit (typename T::ProblemType pb, const std::string &name, GainDependence gaindep) |
int | index (typename T::ProblemType pb) const |
void | initMasks () |
Protected Attributes | |
PosContainer | m_bitPos |
std::vector< int > | m_index |
std::vector< std::pair< typename T::ProblemType, GainDependence > > | m_enumVec |
std::vector< std::string > | m_nameVec |
std::map< std::string, typename T::ProblemType > | m_nameMap |
LArBadChannel::BitWord | m_highGainMask |
LArBadChannel::BitWord | m_mediumGainMask |
LArBadChannel::BitWord | m_lowGainMask |
Definition at line 14 of file LArBadChanBitPackingBase.h.
typedef std::vector<LArBadChannel::PosType> TLArBadChanBitPackingBase< T >::PosContainer |
Definition at line 17 of file LArBadChanBitPackingBase.h.
|
protected |
|
inline |
Definition at line 19 of file LArBadChanBitPackingBase.h.
|
protected |
|
inline |
Definition at line 29 of file LArBadChanBitPackingBase.h.
std::pair<bool, typename T::ProblemType> TLArBadChanBitPackingBase< T >::enumName | ( | const std::string & | str | ) | const |
|
inline |
Definition at line 42 of file LArBadChanBitPackingBase.h.
|
inlineprotected |
Definition at line 66 of file LArBadChanBitPackingBase.h.
|
protected |
|
inline |
Definition at line 44 of file LArBadChanBitPackingBase.h.
|
inline |
Definition at line 43 of file LArBadChanBitPackingBase.h.
|
inline |
Definition at line 46 of file LArBadChanBitPackingBase.h.
bool TLArBadChanBitPackingBase< T >::setBit | ( | const std::string & | name, |
LArBadChannel & | word, | ||
bool | value = true |
||
) | const |
bool TLArBadChanBitPackingBase< T >::setBit | ( | const std::string & | name, |
LArBadChannel::BitWord & | word, | ||
bool | value = true |
||
) | const |
void TLArBadChanBitPackingBase< T >::setBit | ( | typename T::ProblemType | pb, |
LArBadChannel & | word, | ||
bool | value = true |
||
) | const |
void TLArBadChanBitPackingBase< T >::setBit | ( | typename T::ProblemType | pb, |
LArBadChannel::BitWord & | word, | ||
bool | value = true |
||
) | const |
const std::string& TLArBadChanBitPackingBase< T >::stringName | ( | typename T::ProblemType | pb | ) | const |
std::string TLArBadChanBitPackingBase< T >::stringStatus | ( | const LArBadChannel & | bc | ) | const |
|
inline |
Definition at line 31 of file LArBadChanBitPackingBase.h.
|
protected |
Definition at line 53 of file LArBadChanBitPackingBase.h.
|
protected |
Definition at line 55 of file LArBadChanBitPackingBase.h.
|
protected |
Definition at line 61 of file LArBadChanBitPackingBase.h.
|
protected |
Definition at line 54 of file LArBadChanBitPackingBase.h.
|
protected |
Definition at line 63 of file LArBadChanBitPackingBase.h.
|
protected |
Definition at line 62 of file LArBadChanBitPackingBase.h.
|
protected |
Definition at line 58 of file LArBadChanBitPackingBase.h.
|
protected |
Definition at line 57 of file LArBadChanBitPackingBase.h.