![]() |
ATLAS Offline Software
|
#include <CaloProtoCluster.h>
Public Member Functions | |
| CaloProtoCluster ()=delete | |
| No default constructor, always need a CaloCellContainer to work with. | |
| CaloProtoCluster (const CaloCellContainer *cellCont) | |
| Constructor with a CaloCellContainer. | |
| CaloProtoCluster (const DataLink< CaloCellContainer > &cellCont) | |
| Constructor with a CaloCellContainer link. | |
| CaloProtoCluster (const CaloClusterCellLink *cellLink) | |
| Constructor (almost a copy constructor). | |
| double | e () |
| Return the weighted energy sum of the list of cells. | |
| double | et () |
| Return the weighted Et of the list of cells. | |
| void | addCell (const unsigned cellIdx, const CaloClusterCellLink::weight_t weight=1.0) |
| Add a cell (forward to underlying CaloClusterCellLink). | |
| CaloClusterCellLink * | releaseCellLinks () |
| Hand over ownership of CaloClusterCellLink to client. | |
| CaloClusterCellLink * | getCellLinks () |
| Get a pointer to the underlying CaloClusterCellLink object. | |
| size_t | size () |
| Get the size of the underlying CaloClusterCellLink object. | |
Private Member Functions | |
| void | getKine () |
| update m_e and m_et | |
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 | ) |
Constructor with a CaloCellContainer.
Definition at line 10 of file CaloProtoCluster.cxx.
| CaloProtoCluster::CaloProtoCluster | ( | const DataLink< CaloCellContainer > & | cellCont | ) |
Constructor with a CaloCellContainer link.
Definition at line 17 of file CaloProtoCluster.cxx.
| 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.