ATLAS Offline Software
|
#include <CaloProtoCluster.h>
Public Member Functions | |
CaloProtoCluster ()=delete | |
No default constructor, always need a CaloCellContainer to work with. More... | |
CaloProtoCluster (const CaloCellContainer *cellCont) | |
Constructor with a CaloCellContainer. More... | |
CaloProtoCluster (const DataLink< CaloCellContainer > &cellCont) | |
Constructor with a CaloCellContainer link. More... | |
CaloProtoCluster (const CaloClusterCellLink *cellLink) | |
Constructor (almost a copy constructor) More... | |
double | e () |
Return the weighted energy sum of the list of cells. More... | |
double | et () |
Return the weighted Et of the list of cells. More... | |
void | addCell (const unsigned cellIdx, const CaloClusterCellLink::weight_t weight=1.0) |
Add a cell (forward to underlying CaloClusterCellLink) More... | |
CaloClusterCellLink * | releaseCellLinks () |
Hand over ownership of CaloClusterCellLink to client. More... | |
CaloClusterCellLink * | getCellLinks () |
Get a pointer to the underlying CaloClusterCellLink object. More... | |
size_t | size () |
Get the size of the underlying CaloClusterCellLink object. More... | |
Private Member Functions | |
void | getKine () |
update m_e and m_et More... | |
Private Attributes | |
std::unique_ptr< CaloClusterCellLink > | m_cellLinks |
bool | m_haveKine |
double | m_e |
double | m_et |
Definition at line 14 of file CaloProtoCluster.h.
|
delete |
No default constructor, always need a CaloCellContainer to work with.
CaloProtoCluster::CaloProtoCluster | ( | const CaloCellContainer * | cellCont | ) |
CaloProtoCluster::CaloProtoCluster | ( | const DataLink< CaloCellContainer > & | cellCont | ) |
CaloProtoCluster::CaloProtoCluster | ( | const CaloClusterCellLink * | cellLink | ) |
Constructor (almost a copy constructor)
cellLink | Ptr to an existng CaloClusterCellLink. Will create a deep copy of the CaloClusterCellLink |
Definition at line 24 of file CaloProtoCluster.cxx.
|
inline |
Add a cell (forward to underlying CaloClusterCellLink)
Definition at line 46 of file CaloProtoCluster.h.
|
inline |
Return the weighted energy sum of the list of cells.
Definition at line 34 of file CaloProtoCluster.h.
|
inline |
Return the weighted Et of the list of cells.
Definition at line 40 of file CaloProtoCluster.h.
|
inline |
Get a pointer to the underlying CaloClusterCellLink object.
Definition at line 58 of file CaloProtoCluster.h.
|
private |
update m_e and m_et
Definition at line 32 of file CaloProtoCluster.cxx.
|
inline |
Hand over ownership of CaloClusterCellLink to client.
Definition at line 53 of file CaloProtoCluster.h.
|
inline |
Get the size of the underlying CaloClusterCellLink object.
Definition at line 63 of file CaloProtoCluster.h.
|
private |
Definition at line 71 of file CaloProtoCluster.h.
|
private |
Definition at line 73 of file CaloProtoCluster.h.
|
private |
Definition at line 74 of file CaloProtoCluster.h.
|
private |
Definition at line 72 of file CaloProtoCluster.h.