5#ifndef CALOEVENT_CALOENERGYCLUSTER_H
6#define CALOEVENT_CALOENERGYCLUSTER_H
116 size_t size_hint = 0);
137 size_t size_hint = 0);
161 size_t size_hint = 0);
189 size_t size_hint = 0);
Container class for CaloCell.
Data object for each calorimeter readout cell.
void setRecoStatus(CaloRecoStatus::StatusIndicator recStatus)
Set the reconstruction status.
void addUniqueCellNoKine(const CaloCellContainer *theContainer, index_type theIndex, double weight, size_t size_hint=0)
Add a cell (very fast)
CaloEnergyCluster()
Default constructor.
Navigable< CaloCellContainer, double >::object_iter cell_iterator
Iterator type for cell store.
const CaloCellContainer * getCellContainer(const CaloCell *theCell) const
Retrieve the pointer to the original cell container for a given cell.
unsigned int getNumberOfCells() const
Return the number of cells in the store.
void removeCells()
Remove all cells without kinematic update.
Navigable< CaloCellContainer, double >::external_index_type index_type
Index type for CaloCellContainer.
void addCell(const CaloCellContainer *theContainer, const CaloCell *theCell, double weight)
Add a cell with global kinematic update (slow)
const CaloRecoStatus & getRecoStatus() const
Retrieve the reconstruction status.
double getCellWeight(const CaloCell *theCell) const
Retrieve the kinematic weight of a given cell.
void reweightCell(const CaloCell *theCell, double weight)
Reweight a cell with kinematic update.
virtual void updateKine(const CaloCell *theCell, double weight)=0
Interface to kinematic update implementation.
void removeCell(const CaloCell *theCell)
Remove a cell with kinematic update.
virtual double energy() const
Return energy.
virtual void setBasicEnergy(double theEnergy)
Set uncalibrated energy.
CaloCellContainer::const_reference const_cell_ptr
Const pointer type for objects in the CaloCellContainer.
virtual double getBasicEnergy() const
Return uncalibrated energy.
cell_iterator cell_begin() const
Retrieve a STL-type begin() iterator for the cell store.
cell_iterator cell_end() const
Retrieve a STL-type end() iterator for the cell store.
virtual ~CaloEnergyCluster()
Destructor.
bool getCellIndex(const CaloCell *theCell, index_type &theIndex) const
Retrieve the index of a given cell in the cell container.
virtual void addUniqueCell(const CaloCellContainer *theContainer, index_type theIndex, double weight, size_t size_hint=0)
Add a cell with global kinematic update (fast)
CaloRecoStatus m_status
Calorimeter reconstruction status.
reconstruction status indicator
StatusIndicator
reconstruction status word
CaloCell *const & const_reference
ElementLink implementation for ROOT usage.
NavigableIterator< CONT, RPAR, COLL > object_iter
SG::GenerateIndexingPolicy< CONT >::type::index_type external_index_type
virtual double e() const
get energy data member
P4EEtaPhiM(const double e, const double eta, const double phi, const double m)
constructor with all data members
virtual void setE(double theE)
set energy data member