#include <RZLine.h>
Classes | |
struct | ErrZ2_tag |
Public Member Functions | |
float | chi2 () const |
float | cotTheta () const |
float | covii () const |
float | covsi () const |
float | covss () const |
float | intercept () const |
template<typename P , typename E , typename B > | |
RZLine (const P &points, const E &errors, const B &isBarrel) | |
RZLine (const std::vector< float > &r, const std::vector< float > &z, const std::vector< float > &errZ) | |
template<size_t N> | |
RZLine (const std::array< float, N > &r, const std::array< float, N > &z, const std::array< float, N > &errZ) | |
template<typename T > | |
RZLine (const T &r, const T &z, const T &errZ2, ErrZ2_tag) | |
Private Member Functions | |
template<typename R , typename Z , typename E > | |
void | calculate (const R &r, const Z &z, const E &errZ2) |
template<typename T > | |
T | sqr (T t) |
Private Attributes | |
float | chi2_ |
float | cotTheta_ |
float | covii_ |
float | covsi_ |
float | covss_ |
float | intercept_ |
|
inline |
Constructor for containers of GlobalPoint, GlobalError, and bool
P | Container of GlobalPoint |
E | Container of GlobalError |
B | Container of bool |
Container can be e.g. std::vector, std::array, or DynArray.
Although for std::array use this constructor could be specialized to use std::array instead of DynArray for temporary storage.
Definition at line 29 of file RZLine.h.
References calculate(), declareDynArray, mps_fire::i, dqmiodumpmetadata::n, AlCaHLTBitMon_ParallelJobs::p, PV3DBase< T, PVType, FrameType >::perp(), alignCSCRings::r, sqr(), z, and PV3DBase< T, PVType, FrameType >::z().
|
inline |
Constructor for std::vector of r, z, and z standard deviation
Definition at line 51 of file RZLine.h.
References calculate(), declareDynArray, mps_fire::i, dqmiodumpmetadata::n, and sqr().
|
inline |
Constructor for std::array of r, z, and z standard deviation
Definition at line 63 of file RZLine.h.
References calculate(), mps_fire::i, N, and sqr().
|
inline |
Constructor for container of r, z, and z variance
T | Container of float |
Container can be e.g. std::vector, std::array, or DynArray.
The ErrZ2_tag parameter is used to distinguish this constructor from other 3-parameter constructors.
Passing variance is useful in cases where it is already available to avoid making a square of a square root.
Definition at line 84 of file RZLine.h.
References calculate().
|
inlineprivate |
Definition at line 98 of file RZLine.h.
References chi2_, cotTheta_, covii_, covsi_, covss_, mps_fire::i, intercept_, linearFit(), dqmiodumpmetadata::n, and sqr().
Referenced by RZLine().
|
inline |
Definition at line 94 of file RZLine.h.
References chi2_.
Referenced by TrackingNtuple::fillSeeds(), CAHitTripletGenerator::hitNtuplets(), CAHitQuadrupletGenerator::hitNtuplets(), MultiHitGeneratorFromChi2::hitSets(), PixelFitterByHelixProjections::run(), PixelFitterByConformalMappingAndLine::run(), and TrackFitter::run().
|
inline |
Definition at line 88 of file RZLine.h.
References cotTheta_.
Referenced by PixelFitterByConformalMappingAndLine::run().
|
inline |
Definition at line 91 of file RZLine.h.
References covii_.
Referenced by PixelFitterByConformalMappingAndLine::run().
|
inline |
Definition at line 90 of file RZLine.h.
References covss_.
Referenced by PixelFitterByConformalMappingAndLine::run().
|
inline |
Definition at line 89 of file RZLine.h.
References intercept_.
Referenced by PixelFitterByConformalMappingAndLine::run().
Definition at line 108 of file RZLine.h.
References submitPVValidationJobs::t.
Referenced by calculate(), and RZLine().
|
private |
Definition at line 117 of file RZLine.h.
Referenced by calculate(), and chi2().
|
private |
Definition at line 112 of file RZLine.h.
Referenced by calculate(), and cotTheta().
|
private |
Definition at line 115 of file RZLine.h.
Referenced by calculate(), and covii().
|
private |
Definition at line 116 of file RZLine.h.
Referenced by calculate(), and covsi().
|
private |
Definition at line 114 of file RZLine.h.
Referenced by calculate(), and covss().
|
private |
Definition at line 113 of file RZLine.h.
Referenced by calculate(), and intercept().