![]() |
ATLAS Offline Software
|
#include <LArBadFebBitPacking.h>
Public Types | |
| typedef std::vector< PosType > | PosContainer |
| enum | ProblemType { deadAllBit = 0 , deadReadoutBit = 1 , inErrorBit = 2 , deactivatedInOKSBit = 3 , maskParity = 16 , maskBCID =17 , maskSampleHeader = 18 , maskEVTID = 19 , maskScacStatus = 20 , maskScaOutOfRange = 21 , maskGainMismatch = 22 , maskTypeMismatch = 23 , maskNumOfSamples = 24 , maskEmptyDataBlock = 25 , maskDspBlockSize = 26 , maskCheckSum = 27 , maskMissingHeader = 28 , maskBadGain = 29 } |
| typedef unsigned int | PosType |
| typedef unsigned int | BitWord |
Public Member Functions | |
| LArBadFebBitPacking () | |
| const std::string & | stringName (ProblemType pb) const |
| std::pair< bool, ProblemType > | enumName (const std::string &str) const |
| PosType | bitPosition (ProblemType pb) const |
| PosType | wordSize () const |
| void | setBit (ProblemType pb, BitWord &word, bool value=true) const |
| void | setBit (ProblemType pb, LArBadFeb &word, bool value=true) const |
| bool | setBit (const std::string &name, BitWord &word, bool value=true) const |
| bool | setBit (const std::string &name, LArBadFeb &word, bool value=true) const |
| std::string | stringStatus (const LArBadFeb &bc) const |
| int | numberOfProblemTypes () const |
Private Member Functions | |
| void | addBit (ProblemType pb, const std::string &name) |
| int | index (ProblemType pb) const |
Private Attributes | |
| std::vector< int > | m_index |
| std::vector< ProblemType > | m_enumVec |
| std::vector< std::string > | m_nameVec |
| std::map< std::string, ProblemType > | m_nameMap |
Definition at line 16 of file LArBadFebBitPacking.h.
|
inherited |
Definition at line 13 of file LArBadFebEnum.h.
| typedef std::vector<PosType> LArBadFebBitPacking::PosContainer |
Definition at line 19 of file LArBadFebBitPacking.h.
|
inherited |
Definition at line 12 of file LArBadFebEnum.h.
|
inherited |
Definition at line 15 of file LArBadFebEnum.h.
| LArBadFebBitPacking::LArBadFebBitPacking | ( | ) |
Definition at line 8 of file LArBadFebBitPacking.cxx.
|
private |
Definition at line 36 of file LArBadFebBitPacking.cxx.
|
inline |
Definition at line 27 of file LArBadFebBitPacking.h.
| std::pair< bool, LArBadFebEnum::ProblemType > LArBadFebBitPacking::enumName | ( | const std::string & | str | ) | const |
Definition at line 50 of file LArBadFebBitPacking.cxx.
|
inlineprivate |
Definition at line 50 of file LArBadFebBitPacking.h.
|
inline |
Definition at line 39 of file LArBadFebBitPacking.h.
| bool LArBadFebBitPacking::setBit | ( | const std::string & | name, |
| BitWord & | word, | ||
| bool | value = true ) const |
Definition at line 65 of file LArBadFebBitPacking.cxx.
| bool LArBadFebBitPacking::setBit | ( | const std::string & | name, |
| LArBadFeb & | word, | ||
| bool | value = true ) const |
Definition at line 81 of file LArBadFebBitPacking.cxx.
| void LArBadFebBitPacking::setBit | ( | ProblemType | pb, |
| BitWord & | word, | ||
| bool | value = true ) const |
Definition at line 58 of file LArBadFebBitPacking.cxx.
| void LArBadFebBitPacking::setBit | ( | ProblemType | pb, |
| LArBadFeb & | word, | ||
| bool | value = true ) const |
Definition at line 76 of file LArBadFebBitPacking.cxx.
| const std::string & LArBadFebBitPacking::stringName | ( | ProblemType | pb | ) | const |
Definition at line 44 of file LArBadFebBitPacking.cxx.
Definition at line 86 of file LArBadFebBitPacking.cxx.
|
inline |
Definition at line 29 of file LArBadFebBitPacking.h.
|
private |
Definition at line 45 of file LArBadFebBitPacking.h.
|
private |
Definition at line 43 of file LArBadFebBitPacking.h.
|
private |
Definition at line 47 of file LArBadFebBitPacking.h.
|
private |
Definition at line 46 of file LArBadFebBitPacking.h.