16#ifndef LARRAWCONDITIONS_LARCONDITIONSCHANNELSET_H
17#define LARRAWCONDITIONS_LARCONDITIONSCHANNELSET_H
75 return (
x.first <
y.first);
79 return (
x.first <
id);
113 if ((*result).first ==
id) {
bool operator()(const ChanIdTPair &x, const ChanIdTPair &y)
unsigned int ChannelId
Public typedefs.
std::vector< ChanIdTPair > ChannelVector
size_t size() const
Size of channel set.
void insert(ChannelId id, const T &cond)
Insert a new channel id / T pair.
ConstChannelIt find(ChannelId id) const
Access to a conditions object pair for a given channel id.
ChannelVector m_channelVec
ConstChannelIt begin() const
Iterators over channel set.
virtual ~LArConditionsChannelSet()
destructor
ConstChannelIt end() const
LArConditionsChannelSet()
Default constructor.
ChannelVector::iterator ChannelIt
std::pair< ChannelId, T > ChanIdTPair
ChannelVector::const_iterator ConstChannelIt
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.