#include <CaloEllipse.h>
Public Member Functions | |
void | addPoint (double x, double y) |
CaloEllipse () | |
void | clearPoints () |
double | getEccentricity () const |
Point | getMajorMinorAxes (double sigma=1.0) const |
Point | getPosition () const |
double | getTheta () const |
void | makeCaches () |
void | reset () |
void | resetCaches () |
virtual | ~CaloEllipse () |
Public Attributes | |
double | cachedEccentricity_ |
double | cachedMajor_ |
double | cachedMinor_ |
double | cachedTheta_ |
Private Attributes | |
std::vector< Point > | dataPoints_ |
Definition at line 23 of file CaloEllipse.h.
CaloEllipse::CaloEllipse | ( | ) |
Definition at line 15 of file CaloEllipse.cc.
|
virtual |
Definition at line 20 of file CaloEllipse.cc.
|
inline |
Definition at line 29 of file CaloEllipse.h.
References dataPoints_, and point.
|
inline |
Definition at line 34 of file CaloEllipse.h.
References dataPoints_, getEccentricity(), getMajorMinorAxes(), getPosition(), getTheta(), and ctppsDiamondLocalTracks_cfi::sigma.
double CaloEllipse::getEccentricity | ( | ) | const |
Definition at line 87 of file CaloEllipse.cc.
References a, b, getMajorMinorAxes(), AlCaHLTBitMon_ParallelJobs::p, and mathSSE::sqrt().
Referenced by clearPoints(), and pftools::operator<<().
Point CaloEllipse::getMajorMinorAxes | ( | double | sigma = 1.0 | ) | const |
Definition at line 48 of file CaloEllipse.cc.
References a, b, funct::cos(), dataPoints_, getPosition(), getTheta(), RecoTauDiscriminantConfiguration::mean, AlCaHLTBitMon_ParallelJobs::p, funct::sin(), mathSSE::sqrt(), makeMuonMisalignmentScenario::sum_xx, makeMuonMisalignmentScenario::sum_yy, theta(), X, and DOFs::Y.
Referenced by clearPoints(), getEccentricity(), makeCaches(), and pftools::operator<<().
Point CaloEllipse::getPosition | ( | ) | const |
Definition at line 97 of file CaloEllipse.cc.
References dataPoints_, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by clearPoints(), getMajorMinorAxes(), getTheta(), and pftools::operator<<().
double CaloEllipse::getTheta | ( | ) | const |
Definition at line 23 of file CaloEllipse.cc.
References dataPoints_, getPosition(), RecoTauDiscriminantConfiguration::mean, AlCaHLTBitMon_ParallelJobs::p, lumiQueryAPI::q, and theta().
Referenced by clearPoints(), getMajorMinorAxes(), makeCaches(), and pftools::operator<<().
void CaloEllipse::makeCaches | ( | ) |
Definition at line 123 of file CaloEllipse.cc.
References cachedMajor_, cachedMinor_, cachedTheta_, getMajorMinorAxes(), and getTheta().
Referenced by pftools::CandidateWrapper::recompute().
void CaloEllipse::reset | ( | void | ) |
Definition at line 130 of file CaloEllipse.cc.
References dataPoints_, and resetCaches().
Referenced by pftools::CandidateWrapper::reset().
void CaloEllipse::resetCaches | ( | ) |
Definition at line 116 of file CaloEllipse.cc.
References cachedMajor_, cachedMinor_, and cachedTheta_.
Referenced by reset().
double pftools::CaloEllipse::cachedEccentricity_ |
Definition at line 49 of file CaloEllipse.h.
double pftools::CaloEllipse::cachedMajor_ |
Definition at line 47 of file CaloEllipse.h.
Referenced by makeCaches(), and resetCaches().
double pftools::CaloEllipse::cachedMinor_ |
Definition at line 48 of file CaloEllipse.h.
Referenced by makeCaches(), and resetCaches().
double pftools::CaloEllipse::cachedTheta_ |
Definition at line 46 of file CaloEllipse.h.
Referenced by makeCaches(), and resetCaches().
|
private |
Definition at line 59 of file CaloEllipse.h.
Referenced by addPoint(), clearPoints(), getMajorMinorAxes(), getPosition(), getTheta(), and reset().