#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, hiPixelPairStep_cff::points, x, y, and z.
|
inline |
Constructor for std::array of GlobalPoint and GlobalError
Definition at line 51 of file FastCircleFit.h.
References calculate(), hiPixelPairStep_cff::points, mps_merge::weight, x, y, and z.
|
default |
|
private |
Definition at line 84 of file FastCircleFit.h.
References A, HltBtagPostValidation_cff::c, chi2_, HLT_2024v11_cff::distance, mps_fire::i, SiStripPI::mean, N, dqmiodumpmetadata::n, AlCaHLTBitMon_ParallelJobs::p, point, hiPixelPairStep_cff::points, PRINT, rho_, sqr(), mathSSE::sqrt(), createJobs::tmp, w(), x, x0_, y, y0_, and z.
Referenced by FastCircleFit().
|
inline |
|
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 submitPVValidationJobs::t.
Referenced by calculate().
|
inline |
|
inline |
|
private |
Definition at line 80 of file FastCircleFit.h.
Referenced by calculate(), and chi2().
|
private |
Definition at line 79 of file FastCircleFit.h.
Referenced by calculate(), and rho().
|
private |
Definition at line 77 of file FastCircleFit.h.
Referenced by calculate(), and x0().
|
private |
Definition at line 78 of file FastCircleFit.h.
Referenced by calculate(), and y0().