#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 18 of file ThirdHitPredictionFromInvLine.h.
|
private |
Definition at line 79 of file ThirdHitPredictionFromInvLine.h.
typedef PixelRecoRange<float> ThirdHitPredictionFromInvLine::Range |
Definition at line 21 of file ThirdHitPredictionFromInvLine.h.
typedef TkRotation<double> ThirdHitPredictionFromInvLine::Rotation |
Definition at line 20 of file ThirdHitPredictionFromInvLine.h.
ThirdHitPredictionFromInvLine::ThirdHitPredictionFromInvLine | ( | const GlobalPoint & | P1, |
const GlobalPoint & | P2, | ||
double | errorRPhiP1 = 1. , |
||
double | errorRPhiP2 = 1. |
||
) |
Definition at line 23 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 58 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(), and ThirdHitPredictionFromInvLine().
|
private |
Definition at line 63 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 94 of file ThirdHitPredictionFromInvLine.cc.
References A, 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 46 of file ThirdHitPredictionFromInvLine.h.
References cms::cuda::assert(), hasParameters, and theChi2.
GlobalPoint ThirdHitPredictionFromInvLine::crossing | ( | double | radius | ) | const |
Definition at line 47 of file ThirdHitPredictionFromInvLine.cc.
References A, B, CommonMethods::delta(), sqr(), mathSSE::sqrt(), theRotation, theSum, theSumU, theSumUU, theSumUV, theSumV, createJobs::tmp, MetAnalyzer::u1, Basic2DVector< T >::x(), and Basic2DVector< T >::y().
|
inline |
Definition at line 36 of file ThirdHitPredictionFromInvLine.h.
References cms::cuda::assert(), hasParameters, and theCurvatureValue.
|
inline |
Definition at line 41 of file ThirdHitPredictionFromInvLine.h.
References cms::cuda::assert(), hasParameters, and theCurvatureError.
void ThirdHitPredictionFromInvLine::print | ( | void | ) | const |
Definition at line 89 of file ThirdHitPredictionFromInvLine.cc.
References gather_cfg::cout, nPoints, theSumU, theSumUU, theSumUV, and theSumV.
void ThirdHitPredictionFromInvLine::remove | ( | const GlobalPoint & | p, |
double | erroriRPhi = 1. |
||
) |
Definition at line 75 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 nPoints.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
private |
Definition at line 87 of file ThirdHitPredictionFromInvLine.h.
Referenced by add(), check(), chi2(), curvature(), errorCurvature(), and remove().
|
private |
|
private |
Definition at line 88 of file ThirdHitPredictionFromInvLine.h.
|
private |
Definition at line 88 of file ThirdHitPredictionFromInvLine.h.
Referenced by check(), and errorCurvature().
|
private |
Definition at line 88 of file ThirdHitPredictionFromInvLine.h.
Referenced by check(), and curvature().
|
private |
Definition at line 84 of file ThirdHitPredictionFromInvLine.h.
Referenced by add(), crossing(), remove(), and ThirdHitPredictionFromInvLine().
|
private |
Definition at line 86 of file ThirdHitPredictionFromInvLine.h.
Referenced by add(), check(), crossing(), and remove().
|
private |
Definition at line 86 of file ThirdHitPredictionFromInvLine.h.
Referenced by add(), check(), crossing(), print(), and remove().
|
private |
Definition at line 86 of file ThirdHitPredictionFromInvLine.h.
Referenced by add(), check(), crossing(), print(), and remove().
|
private |
Definition at line 86 of file ThirdHitPredictionFromInvLine.h.
Referenced by add(), check(), crossing(), print(), and remove().
|
private |
Definition at line 86 of file ThirdHitPredictionFromInvLine.h.
Referenced by add(), check(), crossing(), print(), and remove().
|
private |
Definition at line 86 of file ThirdHitPredictionFromInvLine.h.