|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef CALOEVENT_CALOCELLPREFETCHITERATOR_H
15 #define CALOEVENT_CALOCELLPREFETCHITERATOR_H
51 template <
class T,
class TAG>
79 typedef typename T::tokenParameter
param_t;
189 template <
class CONTAINER>
232 #endif // not CALOEVENT_CALOCELLPREFETCHITERATOR_H
param_t m_param
The current parameter.
CaloCellPrefetchIterator(const CONTAINER &cont)
Constructor, from a container.
CaloEvent_detail::paramholder< T, typename T::iterator_category > paramholder
The base paramholder class.
T m_it
Current iterator. Points at the next element.
const CaloCell * operator*() const
Dereference the iterator.
Interface to NavigableToken weights.
void fetch(const T &it)
Fetch the next weight from the iterator (a no-op).
bool next()
Move to the next element.
void next()
Move to the next weight (a no-op).
T::tokenParameter param_t
Type for the parameter (from the token iterator).
param_t getParameter() const
Return the current parameter.
const CaloCell * m_cellp
Current cell pointer.
CaloCellPrefetchIterator(const base_iterator &begin, const base_iterator &end)
Constructor.
std::forward_iterator_tag iterator_category
void init()
Initialize before first use.
param_t getParameter() const
Return the current parameter (will always be 1).
void next()
Move to the next weight.
T base_iterator
The base iterator, on which we're templated.
param_t m_next_param
The next parameter.
const CaloCell * m_next_cellp
Next cell pointer.
Data object for each calorimeter readout cell.
std::ptrdiff_t difference_type
void fetch(const T &it)
Fetch the next weight from the iterator (a no-op).
int param_t
Type for the parameter (a dummy here).