![]() |
ATLAS Offline Software
|
#include <LArBadChannelState.h>
Classes | |
class | CoolChannelData |
Public Types | |
enum | { NCoolChannels =8 } |
enum | CaloPartEnum { EMB, EMEC, HEC, FCAL } |
enum | PosNegEnum { NEG, POS } |
enum | CoolChannelEnum { EMBA, EMBC, EMECA, EMECC, HECA, HECC, FCALA, FCALC, MAXCOOLCHAN } |
typedef std::pair< HWIdentifier, LArBadChannel > | BadChanEntry |
typedef CoolChannelData::BadChanVec | BadChanVec |
Public Member Functions | |
LArBadChannelState () | |
int | nCoolChannels () const |
bool | empty () const |
Returns true if all cool channels are empty. More... | |
void | reset () |
Reset to an empty state, erasing all data in all cool channels. More... | |
void | addFromDB (const BadChanVec &stateVec, CoolChannelEnum chan) |
Add a complete cool channel from DB, with duplicate removal. More... | |
void | add (const BadChanEntry &entry, CoolChannelEnum chan) |
Add a bad channel entry to a specified cool channel data. More... | |
void | setFromDB (const BadChanVec &stateVec, CoolChannelEnum chan) |
Set cool channel from vector<BadChanEntry>, for example when reading from DB. More... | |
void | addUpdate (const BadChanVec &stateVec, CoolChannelEnum chan) |
Add updates, e.g. More... | |
const CoolChannelData & | coolChannel (CoolChannelEnum chan) const |
Static Public Member Functions | |
static std::string | coolChannelName (CoolChannelEnum chan) |
static CoolChannelEnum | coolChannelEnum (CaloPartEnum part, PosNegEnum side) |
static int | barrelEndcap (CoolChannelEnum chan) |
static CaloPartEnum | caloPart (CoolChannelEnum chan) |
static int | posNeg (CoolChannelEnum chan) |
static void | mergeFlags (BadChanEntry &a, const BadChanEntry &b) |
Private Member Functions | |
CoolChannelData & | coolChannel (int i) |
Private Attributes | |
std::vector< CoolChannelData > | m_DataVec |
Definition at line 15 of file LArBadChannelState.h.
typedef std::pair<HWIdentifier, LArBadChannel> LArBadChannelState::BadChanEntry |
Definition at line 18 of file LArBadChannelState.h.
Definition at line 99 of file LArBadChannelState.h.
anonymous enum |
LArBadChannelState::LArBadChannelState | ( | ) |
Definition at line 9 of file LArBadChannelState.cxx.
void LArBadChannelState::add | ( | const BadChanEntry & | entry, |
CoolChannelEnum | chan | ||
) |
Add a bad channel entry to a specified cool channel data.
Definition at line 16 of file LArBadChannelState.cxx.
void LArBadChannelState::addFromDB | ( | const BadChanVec & | stateVec, |
CoolChannelEnum | chan | ||
) |
Add a complete cool channel from DB, with duplicate removal.
Definition at line 27 of file LArBadChannelState.cxx.
|
inline |
Add updates, e.g.
from an ASCII file or interactively. The new entries are appended to the existing container.
Definition at line 129 of file LArBadChannelState.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 150 of file LArBadChannelState.h.
|
inline |
Definition at line 134 of file LArBadChannelState.h.
|
inlineprivate |
Definition at line 168 of file LArBadChannelState.h.
|
inlinestatic |
Definition at line 140 of file LArBadChannelState.h.
|
static |
Definition at line 40 of file LArBadChannelState.cxx.
|
inline |
Returns true if all cool channels are empty.
Definition at line 106 of file LArBadChannelState.h.
|
inlinestatic |
Definition at line 158 of file LArBadChannelState.h.
|
inline |
Definition at line 103 of file LArBadChannelState.h.
|
inlinestatic |
Definition at line 154 of file LArBadChannelState.h.
void LArBadChannelState::reset | ( | ) |
Reset to an empty state, erasing all data in all cool channels.
Definition at line 33 of file LArBadChannelState.cxx.
void LArBadChannelState::setFromDB | ( | const BadChanVec & | stateVec, |
CoolChannelEnum | chan | ||
) |
Set cool channel from vector<BadChanEntry>, for example when reading from DB.
Definition at line 21 of file LArBadChannelState.cxx.
|
private |
Definition at line 165 of file LArBadChannelState.h.