#include <FastCircleFit.h>
Public Member Functions | |
float | chi2 () const |
template<typename P , typename E > | |
FastCircleFit (const P &points, const E &errors) | |
template<size_t N> | |
FastCircleFit (const std::array< GlobalPoint, N > &points, const std::array< GlobalError, N > &errors) | |
float | rho () const |
float | x0 () const |
float | y0 () const |
~FastCircleFit ()=default | |
Private Member Functions | |
template<typename P , typename E , typename C > | |
void | calculate (const P &points, const E &errors, C &x, C &y, C &z, C &weight) |
template<typename T > | |
T | sqr (T t) |
Private Attributes | |
float | chi2_ |
float | rho_ |
float | x0_ |
float | y0_ |
Same (almost) as FastCircle but with arbitrary number of hits.
Strandlie, Wroldsen, Frühwirth NIM A 488 (2002) 332-341. Frühwirth, Strandlie, Waltenberger NIM A 490 (2002) 366-378.
Definition at line 27 of file FastCircleFit.h.
|
inline |
Constructor for containers of GlobalPoint and GlobalError
P | Container of GlobalPoint |
E | Container of GlobalError |
Container can be e.g. std::vector or DynArray.
Definition at line 38 of file FastCircleFit.h.
References calculate(), declareDynArray, N, x, y, and z.
|
inline |
Constructor for std::array of GlobalPoint and GlobalError
Definition at line 51 of file FastCircleFit.h.
References calculate(), mps_merge::weight, x, y, z, and ~FastCircleFit().
|
default |
Referenced by FastCircleFit().
|
private |
Definition at line 82 of file FastCircleFit.h.
References patCaloMETCorrections_cff::A, EnergyCorrector::c, chi2_, SoftLeptonByDistance_cfi::distance, mps_fire::i, RecoTauDiscriminantConfiguration::mean, N, gen::n, AlCaHLTBitMon_ParallelJobs::p, point, PRINT, rho_, S(), sqr(), mathSSE::sqrt(), tmp, w, x0_, and y0_.
Referenced by chi2(), and FastCircleFit().
|
inline |
Definition at line 66 of file FastCircleFit.h.
References patCaloMETCorrections_cff::C, calculate(), chi2_, PixelPairStep_cff::points, x, y, and z.
Referenced by CAHitQuadrupletGenerator::hitNtuplets(), PixelQuadrupletGenerator::hitQuadruplets(), and CAHitQuadrupletGenerator::hitQuadruplets().
|
inline |
Definition at line 63 of file FastCircleFit.h.
References rho_.
Referenced by Lepton.Lepton::absIsoFromEA(), and Muon.Muon::absIsoWithFSR().
Definition at line 73 of file FastCircleFit.h.
References lumiQTWidget::t.
Referenced by calculate().
|
inline |
|
inline |
|
private |
Definition at line 78 of file FastCircleFit.h.
Referenced by calculate(), and chi2().
|
private |
Definition at line 77 of file FastCircleFit.h.
Referenced by calculate(), and rho().
|
private |
Definition at line 75 of file FastCircleFit.h.
Referenced by calculate(), and x0().
|
private |
Definition at line 76 of file FastCircleFit.h.
Referenced by calculate(), and y0().