ATLAS Offline Software
|
#include <CaloClusterCellLink.h>
Public Types | |
using | iterator_category = std::bidirectional_iterator_tag |
using | value_type = const CaloCell * |
using | difference_type = std::ptrdiff_t |
using | pointer = value_type * |
using | reference = value_type & |
Public Member Functions | |
iterator ()=delete | |
iterator (const CaloCellContainer *ccc, linkAndWeightCollType::iterator it) | |
constructor * More... | |
const CaloCell * | operator* () const |
const CaloCell * | operator-> () const |
weight_t | weight () const |
Accessor for weight associated to this cell. More... | |
unsigned | index () const |
Accessor for the index of the cell in the CaloCellContainer. More... | |
iterator | operator++ () |
iterator | operator-- () |
iterator | operator++ (int) |
iterator | operator-- (int) |
bool | operator== (const iterator &b) const |
bool | operator!= (const iterator &b) const |
void | reweight (const weight_t newWeight) |
Update the weight. More... | |
void | reindex (const unsigned newIndex) |
Update the index. More... | |
Private Attributes | |
const CaloCellContainer * | m_ccc |
linkAndWeightCollType::iterator | m_it |
Friends | |
class | CaloClusterCellLink |
Definition at line 125 of file CaloClusterCellLink.h.
using CaloClusterCellLink::iterator::difference_type = std::ptrdiff_t |
Definition at line 131 of file CaloClusterCellLink.h.
using CaloClusterCellLink::iterator::iterator_category = std::bidirectional_iterator_tag |
Definition at line 129 of file CaloClusterCellLink.h.
Definition at line 132 of file CaloClusterCellLink.h.
Definition at line 133 of file CaloClusterCellLink.h.
Definition at line 130 of file CaloClusterCellLink.h.
|
delete |
|
inline |
constructor *
[in] | cellCont | Pointer to the CaloCellContainer |
[in] | it | map-iterator to the map insinde CaloClusterLinkContainer |
Definition at line 141 of file CaloClusterCellLink.h.
|
inline |
Accessor for the index of the cell in the CaloCellContainer.
Definition at line 151 of file CaloClusterCellLink.h.
|
inline |
Definition at line 158 of file CaloClusterCellLink.h.
Definition at line 143 of file CaloClusterCellLink.h.
|
inline |
Definition at line 153 of file CaloClusterCellLink.h.
|
inline |
Definition at line 155 of file CaloClusterCellLink.h.
|
inline |
Definition at line 154 of file CaloClusterCellLink.h.
|
inline |
Definition at line 156 of file CaloClusterCellLink.h.
Definition at line 144 of file CaloClusterCellLink.h.
Definition at line 157 of file CaloClusterCellLink.h.
|
inline |
Update the index.
newWIndex | The new index |
Definition at line 169 of file CaloClusterCellLink.h.
Update the weight.
newWeight | The new weight |
Definition at line 164 of file CaloClusterCellLink.h.
|
inline |
|
friend |
Definition at line 127 of file CaloClusterCellLink.h.
|
private |
Definition at line 173 of file CaloClusterCellLink.h.
|
private |
Definition at line 174 of file CaloClusterCellLink.h.