#include <PFClusterWidthCalculator.h>
Definition at line 6 of file PFClusterWidthCalculator.h.
◆ PFClusterWidthCalculator()
PFClusterWidthCalculator::PFClusterWidthCalculator |
( |
| ) |
|
◆ ~PFClusterWidthCalculator()
PFClusterWidthCalculator::~PFClusterWidthCalculator |
( |
| ) |
|
|
default |
◆ getEtaMean()
double PFClusterWidthCalculator::getEtaMean |
( |
| ) |
const |
|
inline |
◆ getPFClusterCoordinateWidth()
std::pair< double, double > PFClusterWidthCalculator::getPFClusterCoordinateWidth |
( |
const std::vector< double > & |
eta, |
|
|
const std::vector< double > & |
phi, |
|
|
const double & |
clusterEta, |
|
|
const double & |
clusterPhi, |
|
|
unsigned int |
nCells |
|
) |
| |
Definition at line 11 of file PFClusterWidthCalculator.cxx.
24 for(
unsigned int iCell=0; iCell<
nCells; ++iCell){
26 etaSum2 +=
eta[iCell]*
eta[iCell];
28 phiSum += thisCellPhi;
29 phiSum2 += thisCellPhi*thisCellPhi;
40 return std::make_pair(etaVariance,phiVariance);
◆ getPhiMean()
double PFClusterWidthCalculator::getPhiMean |
( |
| ) |
const |
|
inline |
◆ m_etaMean
double PFClusterWidthCalculator::m_etaMean |
|
private |
◆ m_etaPhiLowerLimit
double PFClusterWidthCalculator::m_etaPhiLowerLimit |
|
private |
◆ m_phiMean
double PFClusterWidthCalculator::m_phiMean |
|
private |
The documentation for this class was generated from the following files: