#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 () |
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 19 of file ThirdHitPredictionFromInvLine.h.
|
private |
Definition at line 71 of file ThirdHitPredictionFromInvLine.h.
typedef PixelRecoRange<float> ThirdHitPredictionFromInvLine::Range |
Definition at line 24 of file ThirdHitPredictionFromInvLine.h.
typedef TkRotation<double> ThirdHitPredictionFromInvLine::Rotation |
Definition at line 23 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 48 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 54 of file ThirdHitPredictionFromInvLine.cc.
References check(), 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 88 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 add(), and remove().
|
inline |
Definition at line 40 of file ThirdHitPredictionFromInvLine.h.
References hasParameters, print(), and theChi2.
GlobalPoint ThirdHitPredictionFromInvLine::crossing | ( | double | radius | ) | const |
Definition at line 35 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 36 of file ThirdHitPredictionFromInvLine.h.
References hasParameters, and theCurvatureValue.
|
inline |
Definition at line 38 of file ThirdHitPredictionFromInvLine.h.
References hasParameters, and theCurvatureError.
void ThirdHitPredictionFromInvLine::print | ( | void | ) | const |
Definition at line 82 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 check(), 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 28 of file ThirdHitPredictionFromInvLine.h.
References add(), crossing(), nPoints, AlCaHLTBitMon_ParallelJobs::p, and TCMET_cfi::radius.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
private |
Definition at line 79 of file ThirdHitPredictionFromInvLine.h.
Referenced by add(), check(), chi2(), curvature(), errorCurvature(), and remove().
|
private |
|
private |
Definition at line 80 of file ThirdHitPredictionFromInvLine.h.
|
private |
Definition at line 80 of file ThirdHitPredictionFromInvLine.h.
Referenced by check(), and errorCurvature().
|
private |
Definition at line 80 of file ThirdHitPredictionFromInvLine.h.
Referenced by check(), and curvature().
|
private |
Definition at line 76 of file ThirdHitPredictionFromInvLine.h.
Referenced by add(), crossing(), remove(), and ThirdHitPredictionFromInvLine().
|
private |
Definition at line 78 of file ThirdHitPredictionFromInvLine.h.
Referenced by add(), check(), crossing(), and remove().
|
private |
Definition at line 78 of file ThirdHitPredictionFromInvLine.h.
Referenced by add(), check(), crossing(), print(), and remove().
|
private |
Definition at line 78 of file ThirdHitPredictionFromInvLine.h.
Referenced by add(), check(), crossing(), print(), and remove().
|
private |
Definition at line 78 of file ThirdHitPredictionFromInvLine.h.
Referenced by add(), check(), crossing(), print(), and remove().
|
private |
Definition at line 78 of file ThirdHitPredictionFromInvLine.h.
Referenced by add(), check(), crossing(), print(), and remove().
|
private |
Definition at line 78 of file ThirdHitPredictionFromInvLine.h.