#include <CaloTopoSplitterHashCluster.h>
◆ Base
◆ HashCell
◆ pointer_list
◆ pool_type
◆ CaloTopoSplitterHashCluster()
| CaloTopoSplitterHashCluster::CaloTopoSplitterHashCluster |
( |
pool_type & | pool | ) |
|
|
inline |
◆ ~CaloTopoSplitterHashCluster()
| CaloTopoSplitterHashCluster::~CaloTopoSplitterHashCluster |
( |
| ) |
|
|
default |
◆ add() [1/3]
Definition at line 65 of file CaloTopoSplitterHashCluster.cxx.
67{
71 }
72
76}
size_t m_parentClusterIndex
const xAOD::CaloCluster * m_parentCluster
std::optional< HepGeom::Vector3D< double > > m_centroid
void add(HashCell &hashCell)
◆ add() [2/3]
| void CaloTopoSplitterHashCluster::add |
( |
HashCell & | hashCell | ) |
|
Definition at line 29 of file CaloTopoSplitterHashCluster.cxx.
30{
32 const CaloTopoSplitterClusterCell* pCell = hashCell.getCaloTopoTmpClusterCell();
35 }
36
40}
const xAOD::CaloCluster * getParentCluster() const
size_t getParentClusterIndex() const
◆ add() [3/3]
◆ begin()
◆ calcCentroid()
| void CaloTopoSplitterHashCluster::calcCentroid |
( |
| ) |
|
|
private |
Definition at line 113 of file CaloTopoSplitterHashCluster.cxx.
114{
116
118 double thisAbsEng,absEng = 0;
119
121 {
122 CaloTopoSplitterClusterCell *pClusCell = *
iter;
124 float myWeight = itrCell.
weight();
128 else
130 }
131
132 thisAbsEng = fabs(myWeight*itrCell->
e());
133 absEng += thisAbsEng;
134 HepGeom::Vector3D<double> thisPos(itrCell->
x(), itrCell->
y(), itrCell->
z());
136 }
137 if ( absEng > 0 )
139 }
140}
virtual double e() const override final
get energy (data member) (synonym to method energy()
float y() const
get y (through CaloDetDescrElement)
float z() const
get z (through CaloDetDescrElement)
float x() const
get x (through CaloDetDescrElement)
weight_t weight() const
Accessor for weight associated to this cell.
const CaloTopoSplitterHashCluster * getCaloTopoTmpHashCluster() const
const xAOD::CaloCluster::cell_iterator & getCellIterator() const
const float & getSharedWeight()
CaloClusterCellLink::iterator cell_iterator
Iterator of the underlying CaloClusterCellLink (non-const version)
◆ calcEnergy()
| void CaloTopoSplitterHashCluster::calcEnergy |
( |
| ) |
|
|
private |
◆ end()
◆ getCentroid()
| const HepGeom::Vector3D< double > & CaloTopoSplitterHashCluster::getCentroid |
( |
| ) |
|
◆ getContainsLocalMax()
| bool CaloTopoSplitterHashCluster::getContainsLocalMax |
( |
| ) |
const |
|
inline |
◆ getEnergy()
| float CaloTopoSplitterHashCluster::getEnergy |
( |
| ) |
|
◆ getMaxRatio()
◆ getParentCluster()
◆ getParentClusterIndex()
| size_t CaloTopoSplitterHashCluster::getParentClusterIndex |
( |
| ) |
const |
|
inline |
◆ remove()
| void CaloTopoSplitterHashCluster::remove |
( |
const HashCell & | hashCell | ) |
|
Definition at line 42 of file CaloTopoSplitterHashCluster.cxx.
43{
44 const CaloTopoSplitterClusterCell*
cell = hashCell.getCaloTopoTmpClusterCell();
45 {
50 }
51
55 {
56 float myRatio =
iter->getSignedRatio();
59 }
60 }
63}
Forward iterator over the list.
◆ removeAll()
| void CaloTopoSplitterHashCluster::removeAll |
( |
| ) |
|
|
inline |
◆ setContainsLocalMax()
| void CaloTopoSplitterHashCluster::setContainsLocalMax |
( |
| ) |
|
|
inline |
◆ size()
◆ m_centroid
| std::optional<HepGeom::Vector3D<double> > CaloTopoSplitterHashCluster::m_centroid |
|
private |
◆ m_containsLocalMax
| bool CaloTopoSplitterHashCluster::m_containsLocalMax = false |
|
private |
◆ m_energy
| float CaloTopoSplitterHashCluster::m_energy = 0 |
|
private |
◆ m_hasValidEnergy
| bool CaloTopoSplitterHashCluster::m_hasValidEnergy = false |
|
private |
◆ m_maxRatio
◆ m_members
◆ m_parentCluster
◆ m_parentClusterIndex
| size_t CaloTopoSplitterHashCluster::m_parentClusterIndex = 0 |
|
private |
The documentation for this class was generated from the following files: