#include <ThirdHitPredictionFromInvLine.h>
Classes | |
class | MappedPoint |
Public Types | |
typedef PixelRecoRange< float > | Range |
typedef TkRotation< double > | Rotation |
Public Member Functions | |
void | add (const GlobalPoint &p, double erroriRPhi=1.) |
double | chi2 () const |
GlobalPoint | crossing (double radius) const |
double | curvature () const |
double | errorCurvature () const |
void | print () const |
void | remove (const GlobalPoint &p, double erroriRPhi=1.) |
int | size () const |
ThirdHitPredictionFromInvLine (const GlobalPoint &P1, const GlobalPoint &P2, double errorRPhiP1=1., double errorRPhiP2=1.) | |
Private Types | |
typedef MappedPoint< double > | PointUV |
Private Member Functions | |
void | add (const ThirdHitPredictionFromInvLine::PointUV &point, double weight) |
void | check () const |
Private Attributes | |
bool | hasParameters |
int | nPoints |
double | theChi2 |
double | theCurvatureError |
double | theCurvatureValue |
Rotation | theRotation |
long double | theSum |
long double | theSumU |
long double | theSumUU |
long double | theSumUV |
long double | theSumV |
long double | theSumVV |
Definition at line 17 of file ThirdHitPredictionFromInvLine.h.
|
private |
Definition at line 69 of file ThirdHitPredictionFromInvLine.h.
typedef PixelRecoRange<float> ThirdHitPredictionFromInvLine::Range |
Definition at line 22 of file ThirdHitPredictionFromInvLine.h.
typedef TkRotation<double> ThirdHitPredictionFromInvLine::Rotation |
Definition at line 21 of file ThirdHitPredictionFromInvLine.h.
ThirdHitPredictionFromInvLine::ThirdHitPredictionFromInvLine | ( | const GlobalPoint & | P1, |
const GlobalPoint & | P2, | ||
double | errorRPhiP1 = 1. , |
||
double | errorRPhiP2 = 1. |
||
) |
Definition at line 20 of file ThirdHitPredictionFromInvLine.cc.
References add(), theRotation, Vector3DBase< T, FrameTag >::unit(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
void ThirdHitPredictionFromInvLine::add | ( | const GlobalPoint & | p, |
double | erroriRPhi = 1. |
||
) |
Definition at line 49 of file ThirdHitPredictionFromInvLine.cc.
References PV3DBase< T, PVType, FrameType >::perp(), sqr(), theRotation, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by counter.Counter::register(), size(), and ThirdHitPredictionFromInvLine().
|
private |
Definition at line 55 of file ThirdHitPredictionFromInvLine.cc.
References hasParameters, nPoints, sqr(), theSum, theSumU, theSumUU, theSumUV, theSumV, theSumVV, ThirdHitPredictionFromInvLine::MappedPoint< T >::u(), and ThirdHitPredictionFromInvLine::MappedPoint< T >::v().
Referenced by counter.Counter::register().
|
private |
Definition at line 87 of file ThirdHitPredictionFromInvLine.cc.
References patCaloMETCorrections_cff::A, TtFullHadDaughter::B, hasParameters, rho, sqr(), mathSSE::sqrt(), theChi2, theCurvatureError, theCurvatureValue, theSum, theSumU, theSumUU, theSumUV, theSumV, and theSumVV.
Referenced by chi2(), curvature(), and errorCurvature().
|
inline |
Definition at line 38 of file ThirdHitPredictionFromInvLine.h.
References check(), print(), and theChi2.
GlobalPoint ThirdHitPredictionFromInvLine::crossing | ( | double | radius | ) | const |
Definition at line 36 of file ThirdHitPredictionFromInvLine.cc.
References patCaloMETCorrections_cff::A, TtFullHadDaughter::B, delta, sqr(), mathSSE::sqrt(), theRotation, theSum, theSumU, theSumUU, theSumUV, theSumV, tmp, MetAnalyzer::u1, Basic2DVector< T >::x(), and Basic2DVector< T >::y().
Referenced by size().
|
inline |
Definition at line 34 of file ThirdHitPredictionFromInvLine.h.
References check(), and theCurvatureValue.
|
inline |
Definition at line 36 of file ThirdHitPredictionFromInvLine.h.
References check(), and theCurvatureError.
void ThirdHitPredictionFromInvLine::print | ( | void | ) | const |
Definition at line 81 of file ThirdHitPredictionFromInvLine.cc.
References gather_cfg::cout, nPoints, theSumU, theSumUU, theSumUV, and theSumV.
Referenced by chi2().
void ThirdHitPredictionFromInvLine::remove | ( | const GlobalPoint & | p, |
double | erroriRPhi = 1. |
||
) |
Definition at line 67 of file ThirdHitPredictionFromInvLine.cc.
References hasParameters, nPoints, PV3DBase< T, PVType, FrameType >::perp(), point, sqr(), theRotation, theSum, theSumU, theSumUU, theSumUV, theSumV, theSumVV, ThirdHitPredictionFromInvLine::MappedPoint< T >::u(), ThirdHitPredictionFromInvLine::MappedPoint< T >::v(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
inline |
Definition at line 26 of file ThirdHitPredictionFromInvLine.h.
References add(), crossing(), nPoints, AlCaHLTBitMon_ParallelJobs::p, and TCMET_cfi::radius.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
mutableprivate |
Definition at line 77 of file ThirdHitPredictionFromInvLine.h.
|
private |
|
mutableprivate |
Definition at line 78 of file ThirdHitPredictionFromInvLine.h.
|
mutableprivate |
Definition at line 78 of file ThirdHitPredictionFromInvLine.h.
Referenced by check(), and errorCurvature().
|
mutableprivate |
Definition at line 78 of file ThirdHitPredictionFromInvLine.h.
Referenced by check(), and curvature().
|
private |
Definition at line 74 of file ThirdHitPredictionFromInvLine.h.
Referenced by add(), crossing(), remove(), and ThirdHitPredictionFromInvLine().
|
private |
Definition at line 76 of file ThirdHitPredictionFromInvLine.h.
Referenced by add(), check(), crossing(), and remove().
|
private |
Definition at line 76 of file ThirdHitPredictionFromInvLine.h.
Referenced by add(), check(), crossing(), print(), and remove().
|
private |
Definition at line 76 of file ThirdHitPredictionFromInvLine.h.
Referenced by add(), check(), crossing(), print(), and remove().
|
private |
Definition at line 76 of file ThirdHitPredictionFromInvLine.h.
Referenced by add(), check(), crossing(), print(), and remove().
|
private |
Definition at line 76 of file ThirdHitPredictionFromInvLine.h.
Referenced by add(), check(), crossing(), print(), and remove().
|
private |
Definition at line 76 of file ThirdHitPredictionFromInvLine.h.