|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef BadChanContainerHashed_H
6 #define BadChanContainerHashed_H
8 template <
class Chan,
class State,
class Hasher>
55 template <
class Chan,
class State,
class Hasher>
61 template <
class Chan,
class State,
class Hasher>
65 if (m_vec.size() == maxHash()) {
71 std::vector<State>
tmp( maxHash(),
good);
74 for (
typename BadChanVec::const_iterator
i=cont.begin();
i!=cont.end(); ++
i) {
77 if (
h < maxHash()) m_vec[
h] =
i->second;
JetConstituentVector::iterator iterator
BadChanContainerHashed(const Hasher &h)
const_iterator begin() const
void setHasher(const Hasher &hasher)
void clear()
Deletes the contents and sets size to 0 (same as stl::vector<T>::clear())
std::vector< BadChanEntry > BadChanVec
std::vector< size_t > vec
BadChanContainerHashed(const BadChanVec &vec)
void set(const BadChanVec &cont)
HashType hash(Chan ch) const
State status(const Chan &feb, int ch) const
std::pair< Chan, State > BadChanEntry
const_iterator end() const
CalibratedSpacePoint::State State
State status(const Chan &channel) const
std::vector< State > m_vec
BadChanVec::const_iterator const_iterator
BadChanVec::size_type size_type