ATLAS Offline Software
|
Navigable part of CaloCluster, use CaloCellLink. More...
#include <CaloClusterNavigable.h>
Public Types | |
typedef CaloCellLink::cell_iterator | object_iter |
external cell iterator type More... | |
typedef CaloClusterLinkTemplate< CaloCellLinkContainer >::link_type | cell_link_type |
Public Member Functions | |
CaloClusterNavigable () | |
default constructor More... | |
CaloClusterNavigable (CaloCellLinkContainer *pLinkCont, CaloCellLink *pLink) | |
constructor More... | |
CaloClusterNavigable (CaloCellLink *pLink) | |
constructor More... | |
virtual | ~CaloClusterNavigable () |
destructor More... | |
void | putElement (const CaloCellContainer *pContainer, const CaloCell *pCell, const double &weight=double(1.)) |
add element to the Navigable: use pointer More... | |
void | putElement (const CaloCellContainer *pContainer, size_t &iCell, const double &weight=double(1.)) |
add element to the Navigable: use element index (direct access!) More... | |
void | insertElement (const CaloCellContainer *pContainer, const CaloCell *pCell, const double &weight=double(1.)) |
insert element without checking if already in store: use element pointer More... | |
void | insertElement (const CaloCellContainer *pContainer, size_t &iCell, const double &weight=double(1.)) |
insert element without checking if already in store: use index More... | |
void | insertElement (const CaloCellContainer *pContainer, size_t iCell, const double weight, size_t size_hint) |
same, with a size hint. More... | |
void | insertElement (const ElementLink< CaloCellContainer > &el, const double weight, size_t size_hint=0) |
Insert element via ElementLink. More... | |
void | reweight (const CaloCell *pCell, const double &weight=double(1.)) |
re-weight (overwrite old weight) More... | |
void | reweight (const CaloCellContainer *pContainer, size_t &iCell, const double &weight=double(1.)) |
re-weight (overwrite old weight) More... | |
void | reweight (object_iter &cellIter, const double &weight=double(1.)) |
re-weight (overwrite old weight) More... | |
bool | remove (const CaloCell *pCell) |
remove object from the Navigable More... | |
bool | remove (const CaloCellContainer *pContainer, size_t &iCell) |
remove object from the Navigable More... | |
bool | removeAll () |
remove all objects from the Navigable More... | |
bool | contains (const CaloCell *pCell) const |
check if constituent is already there More... | |
bool | contains (const CaloCellContainer *pContainer, size_t &iCell) const |
check if constituent is already there More... | |
virtual object_iter | begin () const |
begin iterator for public object access More... | |
virtual object_iter | end () const |
end iterator for public object access More... | |
virtual unsigned int | nCells () const |
size of object access More... | |
double | getParameter (const CaloCell *pCell) const |
public container access: relational parameter retrieval More... | |
double | getParameter (const CaloCellContainer *pContainer, size_t &iCell) const |
public container access: relational parameter retrieval More... | |
double | getParameter (object_iter &cellIter) const |
public container access: relational parameter retrieval More... | |
const CaloCellContainer * | getContainer (const CaloCell *pCell) const |
public container access: retrieve Container for given object pointer More... | |
const CaloCellContainer * | getContainer (object_iter cellIter) const |
public container access: retrieve Container for given object iterator More... | |
bool | getIndex (const CaloCell *pCell, size_t &iCell) const |
get index of child in original container, given a pointer More... | |
bool | getIndex (object_iter cellIter, size_t &iCell) const |
get index of child in original container, given an iterator More... | |
virtual void | fillToken (INavigationToken &iToken) const |
fill token for navigation More... | |
virtual void | fillToken (INavigationToken &iToken, const std::any &rPar) const |
fill token for navigation More... | |
virtual bool | isCellLinkValid () const |
const cell_link_type & | cellLink () const |
Access to underlying link. More... | |
void | resetCellLink (const cell_link_type &cellLink) |
Protected Member Functions | |
CaloCellLink * | getCellLink () |
const CaloCellLink * | getCellLink () const |
bool | setCellLink (CaloCellLinkContainer *pLink) |
bool | setLinkStore (CaloCellLink *pLink, bool ownStores=true) |
CaloCellLink * | getCellLinkPtr () |
const CaloCellLink * | getCellLinkPtr () const |
Protected Attributes | |
bool | m_ownLinkStore |
Private Attributes | |
cell_link_type | m_cellLink |
Local pointer to cell store. More... | |
Friends | |
class | CaloClusterStoreHelper |
class | CaloClusterContainerCnv_p2 |
class | CaloClusterContainerCnv_p3 |
class | CaloClusterContainerCnv_p4 |
class | CaloClusterContainerCnv_p5 |
class | CaloClusterContainerCnv_p6 |
class | CaloClusterContainerCnv_p7 |
class | CaloClusterContainerCnvTestMakeCluster |
Navigable part of CaloCluster, use CaloCellLink.
Definition at line 33 of file CaloClusterNavigable.h.
typedef CaloClusterLinkTemplate<CaloCellLinkContainer>::link_type CaloClusterNavigable::cell_link_type |
Definition at line 146 of file CaloClusterNavigable.h.
external cell iterator type
Definition at line 51 of file CaloClusterNavigable.h.
CaloClusterNavigable::CaloClusterNavigable | ( | ) |
CaloClusterNavigable::CaloClusterNavigable | ( | CaloCellLinkContainer * | pLinkCont, |
CaloCellLink * | pLink | ||
) |
CaloClusterNavigable::CaloClusterNavigable | ( | CaloCellLink * | pLink | ) |
constructor
Definition at line 28 of file CaloClusterNavigable.cxx.
|
virtual |
destructor
Definition at line 34 of file CaloClusterNavigable.cxx.
|
inlinevirtual |
begin iterator for public object access
Definition at line 303 of file CaloClusterNavigable.h.
|
inline |
check if constituent is already there
Definition at line 290 of file CaloClusterNavigable.h.
|
inline |
check if constituent is already there
Definition at line 296 of file CaloClusterNavigable.h.
|
inlinevirtual |
end iterator for public object access
Definition at line 309 of file CaloClusterNavigable.h.
|
inlinevirtual |
fill token for navigation
Implements INavigable.
Definition at line 390 of file CaloClusterNavigable.h.
|
inlinevirtual |
fill token for navigation
Implements INavigable.
Definition at line 397 of file CaloClusterNavigable.h.
|
protected |
Definition at line 39 of file CaloClusterNavigable.cxx.
|
protected |
Definition at line 68 of file CaloClusterNavigable.cxx.
|
inlineprotected |
Definition at line 426 of file CaloClusterNavigable.h.
|
inlineprotected |
Definition at line 438 of file CaloClusterNavigable.h.
|
inline |
public container access: retrieve Container for given object pointer
Definition at line 347 of file CaloClusterNavigable.h.
|
inline |
public container access: retrieve Container for given object iterator
Definition at line 354 of file CaloClusterNavigable.h.
get index of child in original container, given a pointer
Definition at line 360 of file CaloClusterNavigable.h.
|
inline |
get index of child in original container, given an iterator
Definition at line 366 of file CaloClusterNavigable.h.
public container access: relational parameter retrieval
Definition at line 327 of file CaloClusterNavigable.h.
|
inline |
public container access: relational parameter retrieval
Definition at line 333 of file CaloClusterNavigable.h.
|
inline |
public container access: relational parameter retrieval
Definition at line 340 of file CaloClusterNavigable.h.
|
inline |
insert element without checking if already in store: use element pointer
Definition at line 217 of file CaloClusterNavigable.h.
|
inline |
insert element without checking if already in store: use index
Definition at line 225 of file CaloClusterNavigable.h.
|
inline |
same, with a size hint.
Definition at line 233 of file CaloClusterNavigable.h.
|
inline |
Insert element via ElementLink.
Definition at line 243 of file CaloClusterNavigable.h.
|
inlinevirtual |
Definition at line 449 of file CaloClusterNavigable.h.
|
inlinevirtual |
|
inline |
add element to the Navigable: use pointer
Definition at line 201 of file CaloClusterNavigable.h.
|
inline |
add element to the Navigable: use element index (direct access!)
Definition at line 209 of file CaloClusterNavigable.h.
remove object from the Navigable
Definition at line 271 of file CaloClusterNavigable.h.
|
inline |
remove object from the Navigable
Definition at line 277 of file CaloClusterNavigable.h.
|
inline |
remove all objects from the Navigable
Definition at line 284 of file CaloClusterNavigable.h.
|
inline |
Definition at line 151 of file CaloClusterNavigable.h.
|
inline |
re-weight (overwrite old weight)
Definition at line 251 of file CaloClusterNavigable.h.
|
inline |
re-weight (overwrite old weight)
Definition at line 257 of file CaloClusterNavigable.h.
|
inline |
re-weight (overwrite old weight)
Definition at line 265 of file CaloClusterNavigable.h.
|
inlineprotected |
Definition at line 405 of file CaloClusterNavigable.h.
|
inlineprotected |
Definition at line 191 of file CaloClusterNavigable.h.
|
friend |
Definition at line 160 of file CaloClusterNavigable.h.
|
friend |
Definition at line 161 of file CaloClusterNavigable.h.
|
friend |
Definition at line 162 of file CaloClusterNavigable.h.
|
friend |
Definition at line 163 of file CaloClusterNavigable.h.
|
friend |
Definition at line 164 of file CaloClusterNavigable.h.
|
friend |
Definition at line 165 of file CaloClusterNavigable.h.
|
friend |
Definition at line 166 of file CaloClusterNavigable.h.
|
friend |
Definition at line 159 of file CaloClusterNavigable.h.
|
private |
Local pointer to cell store.
Link to cell links object
Definition at line 186 of file CaloClusterNavigable.h.
|
protected |
Definition at line 178 of file CaloClusterNavigable.h.