6#ifndef CALOPROTOCLUSTER
7#define CALOPROTOCLUSTER
Container class for CaloCell.
Bookkeeping of cells that make up a cluster Simplified replacement for CaloCellLink,...
CaloClusterCellLink * getCellLinks()
Get a pointer to the underlying CaloClusterCellLink object.
std::unique_ptr< CaloClusterCellLink > m_cellLinks
size_t size()
Get the size of the underlying CaloClusterCellLink object.
void addCell(const unsigned cellIdx, const CaloClusterCellLink::weight_t weight=1.0)
Add a cell (forward to underlying CaloClusterCellLink)
double et()
Return the weighted Et of the list of cells.
CaloClusterCellLink * releaseCellLinks()
Hand over ownership of CaloClusterCellLink to client.
double e()
Return the weighted energy sum of the list of cells.
CaloProtoCluster()=delete
No default constructor, always need a CaloCellContainer to work with.
void getKine()
update m_e and m_et
Object reference supporting deferred reading from StoreGate.