ATLAS Offline Software
Loading...
Searching...
No Matches
CaloCellLink.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5
7
8#include <algorithm>
9
12
15{
16 this->copyStore(pLink);
17}
18
20 : INavigable (rLink),
21 Navigable<CaloCellContainer,double>(rLink)
22{
23 this->copyStore(&rLink);
24}
25
27{
28 if (this != &rLink) {
29 this->removeAll();
30 this->copyStore(&rLink);
31 }
32 return *this;
33}
34
36= default;
37
39{
40 cell_iterator fCell = pLink->begin();
41 cell_iterator lCell = pLink->end();
42 for ( ; fCell != lCell; fCell++ )
43 {
44 this->insertElement(pLink->getContainer(fCell),*fCell,
45 pLink->getParameter(fCell));
46 }
47}
Container class for CaloCell.
virtual object_iter begin() const
RPAR getParameter(const constituent_type *aConstituent) const
void insertElement(const CaloCellContainer *objectContainer, const constituent_type *constituentObject, const double &objectParameter=double(), size_t sizeHint=0)
virtual object_iter end() const
const CONT * getContainer(const constituent_type *aConstituent) const