#include <PFMatchPositions.h>
Definition at line 63 of file PFMatchPositions.h.
◆ ClusterGeometricalCenterProvider()
| PFMatch::ClusterGeometricalCenterProvider::ClusterGeometricalCenterProvider |
( |
| ) |
|
|
inline |
◆ ~ClusterGeometricalCenterProvider()
| virtual PFMatch::ClusterGeometricalCenterProvider::~ClusterGeometricalCenterProvider |
( |
| ) |
|
|
inlinevirtual |
◆ getPosition()
Implements PFMatch::PositionProvider< ICluster, EtaPhiWithVariance >.
Definition at line 43 of file PFMatchPositions.cxx.
43 {
44
45
46 if(cluster->calVarianceStatus()) {
47 return {eflowEtaPhiPosition(cluster->etaMean(), cluster->phiMean()), cluster->etaVariance(), cluster->phiVariance()};
48 }
49 cluster->setCalVarianceStatus();
50
51
52 unsigned int nCells = cluster->nCells();
53
54 PFClusterWidthCalculator widthCalc;
56
57 if (nCells > 1){
60 }
61 cluster->etaVariance(
width.first);
62 cluster->phiVariance(
width.second);
63
65
66
67
68}
double getEtaMean() const
std::pair< double, double > getPFClusterCoordinateWidth(const std::vector< double > &eta, const std::vector< double > &phi, const double &clusterEta, const double &clusterPhi, unsigned int nCells)
double getPhiMean() const
setRawEt setRawPhi nCells
◆ m_etaPhiLowerLimit
| const double PFMatch::ClusterGeometricalCenterProvider::m_etaPhiLowerLimit |
|
staticprivate |
The documentation for this class was generated from the following files: