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