ATLAS Offline Software
|
template class for use for I/O of conditions data correction sets More...
#include <LArConditionsChannelSet.h>
Classes | |
class | PairSort |
Public Types | |
typedef unsigned int | ChannelId |
Public typedefs. More... | |
typedef std::pair< ChannelId, T > | ChanIdTPair |
typedef std::vector< ChanIdTPair > | ChannelVector |
typedef ChannelVector::const_iterator | ConstChannelIt |
typedef ChannelVector::iterator | ChannelIt |
Public Member Functions | |
LArConditionsChannelSet () | |
Default constructor. More... | |
virtual | ~LArConditionsChannelSet () |
destructor More... | |
ConstChannelIt | find (ChannelId id) const |
Access to a conditions object pair for a given channel id. More... | |
ConstChannelIt | begin () const |
Iterators over channel set. More... | |
ConstChannelIt | end () const |
size_t | size () const |
Size of channel set. More... | |
void | insert (ChannelId id, const T &cond) |
Insert a new channel id / T pair. More... | |
Private Attributes | |
ChannelVector | m_channelVec |
template class for use for I/O of conditions data correction sets
This class contains a vector of pairs of hardware channels ids and a conditions object T. This class allows to store the conditions for a subset of channels. It's original purpose is to allow correction sets to be saved with corrections on a channel by channel basis. The LArConditionsSubset is the corresponding primary conditions container which is more optimal on space.
Definition at line 36 of file LArConditionsChannelSet.h.
typedef std::pair<ChannelId, T> LArConditionsChannelSet< T >::ChanIdTPair |
Definition at line 42 of file LArConditionsChannelSet.h.
typedef unsigned int LArConditionsChannelSet< T >::ChannelId |
Public typedefs.
Definition at line 41 of file LArConditionsChannelSet.h.
typedef ChannelVector::iterator LArConditionsChannelSet< T >::ChannelIt |
Definition at line 45 of file LArConditionsChannelSet.h.
typedef std::vector<ChanIdTPair> LArConditionsChannelSet< T >::ChannelVector |
Definition at line 43 of file LArConditionsChannelSet.h.
typedef ChannelVector::const_iterator LArConditionsChannelSet< T >::ConstChannelIt |
Definition at line 44 of file LArConditionsChannelSet.h.
|
inline |
|
inlinevirtual |
|
inline |
Iterators over channel set.
Definition at line 125 of file LArConditionsChannelSet.h.
|
inline |
Definition at line 133 of file LArConditionsChannelSet.h.
|
inline |
Access to a conditions object pair for a given channel id.
Definition at line 105 of file LArConditionsChannelSet.h.
|
inline |
Insert a new channel id / T pair.
If new channel id is the same as an existing one, the new T replaces the old T
Definition at line 151 of file LArConditionsChannelSet.h.
|
inline |
Size of channel set.
Definition at line 143 of file LArConditionsChannelSet.h.
|
private |
Definition at line 83 of file LArConditionsChannelSet.h.