#include <PathToPlane2Order.h>
Public Types | |
typedef GloballyPositioned< Scalar > | Frame |
typedef Plane::Scalar | Scalar |
typedef Basic3DVector< Scalar > | Vector3D |
Public Member Functions | |
std::pair< bool, double > | operator() (const Plane &plane, const Vector3D &position, const Vector3D &momentum, double charge, const PropagationDirection propDir=alongMomentum) |
std::pair< bool, double > | operator() (const Plane &plane, const GlobalPoint &position, const GlobalVector &momentum, double charge, const PropagationDirection propDir=alongMomentum) |
PathToPlane2Order (const RKLocalFieldProvider &fld, const Frame *fieldFrame) | |
Private Attributes | |
const RKLocalFieldProvider & | theField |
const Frame * | theFieldFrame |
Definition at line 21 of file PathToPlane2Order.h.
Definition at line 26 of file PathToPlane2Order.h.
Definition at line 24 of file PathToPlane2Order.h.
Definition at line 25 of file PathToPlane2Order.h.
|
inline |
Definition at line 28 of file PathToPlane2Order.h.
References alongMomentum, ALCARECOTkAlJpsiMuMu_cff::charge, and position.
std::pair< bool, double > PathToPlane2Order::operator() | ( | const Plane & | plane, |
const Vector3D & | position, | ||
const Vector3D & | momentum, | ||
double | charge, | ||
const PropagationDirection | propDir = alongMomentum |
||
) |
the position and momentum are local in the FieldFrame; the plane is in the global frame
Definition at line 9 of file PathToPlane2Order.cc.
References TtFullHadDaughter::B, PV3DBase< T, PVType, FrameType >::basicVector(), Vector3DBase< T, FrameTag >::cross(), PixelRecoUtilities::curvature(), RKLocalFieldProvider::inTesla(), gen::k, phase1PixelTopology::localX(), phase1PixelTopology::localY(), PV3DBase< T, PVType, FrameType >::mag(), Basic3DVector< T >::mag(), PV3DBase< T, PVType, FrameType >::perp(), theField, theFieldFrame, GloballyPositioned< T >::toGlobal(), GloballyPositioned< T >::toLocal(), FrameChanger::transformPlane(), Vector3DBase< T, FrameTag >::unit(), Basic3DVector< T >::unit(), Basic3DVector< T >::x(), Basic3DVector< T >::y(), and Basic3DVector< T >::z().
|
inline |
Definition at line 39 of file PathToPlane2Order.h.
References PV3DBase< T, PVType, FrameType >::basicVector(), ALCARECOTkAlJpsiMuMu_cff::charge, and GloballyPositioned< T >::toLocal().
|
private |
Definition at line 50 of file PathToPlane2Order.h.
Referenced by operator()().
|
private |
Definition at line 51 of file PathToPlane2Order.h.
Referenced by operator()().