 |
ATLAS Offline Software
|
Go to the documentation of this file.
6 #ifndef LARRECCONDITIONS_LARBADCHANNELCONT_H
7 #define LARRECCONDITIONS_LARBADCHANNELCONT_H
27 template<
class LArBC_t>
93 return a.first <
b.first;
110 #include "AthenaKernel/CondCont.h"
void setOflVec(BadChanVec &input)
Conditions-Data class holding LAr Bad Channel or Bad Feb information.
LArBadXCont(const BadChanVec &vec)
Constructor with payload.
LArBadXCont()
Default Constructor.
std::vector< size_t > vec
void sort()
Sort and purge the list of bad channels The list of bad channels get sorted by channel-ID For channel...
std::vector< BadChanEntry > BadChanVec
LArBC_t offlineStatus(const Identifier id) const
Query the status of a particular channel by offline ID This is the main client access method.
LArBC_t status(const HWIdentifier channel) const
Query the status of a particular channel or FEB This is the main client access method.
LArBadXCont< LArBadChannel > LArBadChannelCont
LArBadXCont< LArBadFeb > LArBadFebCont
const BadChanVec & fullCont() const
bool operator()(const BadChanEntry &a, const BadChanEntry &b) const
CONDCONT_MIXED_DEF(LArBadChannelCont, 144954956)
std::pair< ChanId_t, LArBC_t > BadChanEntry
BadChanVec::const_iterator const_iterator
size_type size() const
Number of known bad channels.
Comparison functor for sorting and searching.
Hold mapping of ranges to condition objects.
BadChanVec::size_type size_type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
void add(const HWIdentifier channel, const LArBC_t stat)
Add a channel/FEB to the list of bad channels.
const_iterator begin() const
Access to the begin iterator of the underlying vector.
macros to associate a CLID to a type
void clear()
Deletes the contents and sets size to 0 (same as stl::vector<T>::clear())
const_iterator end() const
Access to the end iterator of the underlying vector.