|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef CALOEVENT_CALOCOMPOSITECELLBASE_H
6 #define CALOEVENT_CALOCOMPOSITECELLBASE_H
50 size_t iCell=
static_cast<size_t>(-1));
87 size_t size_hint = 0);
109 size_t size_hint = 0);
191 size_t& iCell)
const;
233 size_t& iCell)
const;
250 size_t& iCell)
const;
void addCell(const CaloCellContainer *pContainer, const CaloCell *pCell, double weight, size_t iCell=static_cast< size_t >(-1))
Add a cell with global kinematic update (slow)
bool getCellIndex(cell_iterator &iterCell, size_t &iCell) const
Retrieve the index of a given cell in the cell container.
void reweightCell(const CaloCell *pCell, double weight)
Reweight a cell with kinematic update.
const CaloCellContainer * getCellContainer(cell_iterator &iterCell) const
Retrieve the pointer to the original cell container for a given cell.
virtual ~CaloCompositeCellBase()
Destructor.
bool getCellIndex(const CaloCell *pCell, size_t &iCell) const
Retrieve the index of a given cell in the cell container.
void reweightCell(const CaloCellContainer *pContainer, size_t &iCell, double weight)
Reweight a cell with kinematic update.
const CaloCellContainer * getCellContainer(const CaloCell *pCell) const
Retrieve the pointer to the original cell container for a given cell.
cell_iterator cell_end() const
Retrieve a STL-type end() iterator for the cell store.
void addCell(const CaloCellContainer *pContainer, size_t &iCell, double weight)
Add a cell with global kinematic update (fast)
unsigned int getNumberOfCells() const
Return the number of cells in the store.
void removeCell(const CaloCellContainer *pContainer, size_t &iCell)
Remove a cell with kinematic update.
void removeCells()
Remove all cells without kinematic update.
virtual void updateKine(const CaloCell *pCell, double weight)=0
update kinematics
double getCellWeight(const CaloCellContainer *pContainer, size_t &iCell) const
Retrieve the kinematic weight of a given cell.
cell_iterator cell_begin() const
Retrieve a STL-type begin() iterator for the cell store.
Container class for CaloCell.
NAV::object_iter cell_iterator
Iterator type for cell store.
Data object for each calorimeter readout cell.
void addUniqueCellNoKine(const CaloCellContainer *theContainer, size_t theIndex, double weight, size_t size_hint=0)
Add a cell with no kinematic update (fast)
void addUniqueCell(const CaloCellContainer *theContainer, size_t theIndex, double weight, size_t size_hint=0)
Add a cell with global kinematic update (fast)
CaloCompositeCellBase()
Constructor.
void reweightCell(cell_iterator &iterCell, double weight)
Reweight a cell with kinematic update.
double getCellWeight(cell_iterator &iterCell) const
Retrieve the kinematic weight of a given cell.
base class for methods and store of cell links
void removeCell(const CaloCell *pCell)
Remove a cell with kinematic update.
double getCellWeight(const CaloCell *pCell) const
Retrieve the kinematic weight of a given cell.