#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 40 of file PFMatchPositions.cxx.
40 {
41
42
43 if(cluster->calVarianceStatus()) {
44 return {eflowEtaPhiPosition(cluster->etaMean(), cluster->phiMean()), cluster->etaVariance(), cluster->phiVariance()};
45 }
46 cluster->setCalVarianceStatus();
47
48
49 unsigned int nCells = cluster->nCells();
50
51 PFClusterWidthCalculator widthCalc;
53
54 if (nCells > 1){
55 cluster->etaMean(
width.etaMean);
56 cluster->phiMean(
width.phiMean);
57 }
59 cluster->phiVariance(
width.phiVariance);
60
62
63
64
65}
PFClusterWidth getPFClusterCoordinateWidth(const std::vector< double > &eta, const std::vector< double > &phi, double clusterEta, double clusterPhi, unsigned int nCells) const
setRawEt setRawPhi nCells
◆ m_etaPhiLowerLimit
| const double PFMatch::ClusterGeometricalCenterProvider::m_etaPhiLowerLimit |
|
staticprivate |
The documentation for this class was generated from the following files: