Go to the documentation of this file.
35 tscblBuilder(ftsAtProduction,
bs);
41 sParameters[2] =
p.phi();
42 sParameters[3] = (-
v.x() *
sin(
p.phi()) +
v.y() *
cos(
p.phi()));
43 sParameters[4] =
v.z() *
p.perp() /
p.mag() - (
v.x() *
p.x() +
v.y() *
p.y()) /
p.perp() *
p.z() /
p.mag();
45 return std::make_pair(
true, sParameters);
47 return std::make_pair(
false, sParameters);
GlobalVector momentum() const
TrackCharge charge() const
GlobalPoint position() const
Global3DVector GlobalVector
Sin< T >::type sin(const T &t)
T y() const
Cartesian y coordinate.
Cos< T >::type cos(const T &t)
math::Vector< dimension >::type ParameterVector
parameter vector
Global3DPoint GlobalPoint
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalVector
vector in glovbal coordinate system
std::pair< bool, reco::TrackBase::ParameterVector > trackingParametersAtClosestApproachToBeamSpot(const Basic3DVector< double > &vertex, const Basic3DVector< double > &momAtVtx, float charge, const MagneticField &magField, const BeamSpot &bs)
constexpr double halfPi()
T x() const
Cartesian x coordinate.
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalPoint
point in global coordinate system
FTS const & trackStateAtPCA() const
T z() const
Cartesian z coordinate.