1 #ifndef CylindricalState_H
2 #define CylindricalState_H
32 Scalar p_rho = mom.
x() * cosphi + mom.
y() * sinphi;
33 Scalar p_phi = -mom.
x() * sinphi + mom.
y() * cosphi;
38 par_(3) = mom.
z() / p_rho;
41 prSign_ = p_rho > 0 ? 1.0 : -1.0;
43 std::cout <<
"CylindricalState built from pos " << pos <<
" mom " << mom <<
" charge " << ch << std::endl;
44 std::cout <<
"p_rho " << p_rho <<
" p_phi " << p_phi <<
" dphi_drho " <<
par_(2) << std::endl;
46 <<
" charge " <<
charge() << std::endl;
66 p_rho*sinphi + p_phi*cosphi,
const LocalPoint position() const
const Vector & parameters() const
Sin< T >::type sin(const T &t)
Geom::Phi< T > phi() const
CylindricalState(Scalar rho, const Vector &par, Scalar prSign)
Scalar prSign_
sign of local p_r
RKSmallVector< Scalar, 5 > Vector
CylindricalState(const LocalPoint &pos, const LocalVector &mom, Scalar ch)
Cos< T >::type cos(const T &t)
const LocalVector momentum() const
const double par[8 *NPar][4]