![]() |
ATLAS Offline Software
|
store the compact cell with index iCell More...
#include <CaloCompactCellContainer.h>
Public Member Functions | |
| compact_input_iterator (std::vector< value_type >::const_iterator it) | |
| Constructor. | |
| CaloCompactCell::value_type | next () |
| Return the current value and advance to the next one. | |
| std::vector< value_type >::const_iterator | base () const |
| Return the underlying container iterator. | |
Private Attributes | |
| std::vector< value_type >::const_iterator | m_it |
| The iterator in the underlying container type. | |
| value_type | m_word |
| The current word. | |
| int | m_count |
Count; used to tell how many more times we need to shift m_word. | |
store the compact cell with index iCell
| theCompactCell | the compact CaloCell data |
| iCell | the index in the CaloCompactCellContainer |
| headerLength | the space reserved for the header information |
Simple iterator-like object for reading from the container.
This allows reading one CaloCompactCell::value_type object at a time from the container. There is only one method, next(), which returns the next value (and advances the iterator).
Definition at line 127 of file CaloCompactCellContainer.h.
|
inline |
Constructor.
| it | value_type iterator at the start of the data (after the header). |
Definition at line 239 of file CaloCompactCellContainer.h.
|
inline |
Return the underlying container iterator.
Definition at line 281 of file CaloCompactCellContainer.h.
|
inline |
Return the current value and advance to the next one.
Definition at line 250 of file CaloCompactCellContainer.h.
|
private |
Count; used to tell how many more times we need to shift m_word.
Definition at line 159 of file CaloCompactCellContainer.h.
|
private |
The iterator in the underlying container type.
Definition at line 152 of file CaloCompactCellContainer.h.
|
private |
The current word.
This gets shifted to the right as we consume values from it.
Definition at line 156 of file CaloCompactCellContainer.h.