State for solving the equation of motion with radius (in cylindrical coordinates) as free variable. The dependent variables are phi - azimuthal angle z - z coordinate dphi/dr - derivative of phi versus r dz/dr - derivative of z versus r q/p - charge over momentum magnitude
The coordinate system is externally defined
Definition at line 21 of file CylindricalState.h.
Definition at line 29 of file CylindricalState.h.
References RecoTauCleanerPlugins::charge, gather_cfg::cout, PV3DBase< T, PVType, FrameType >::mag(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), position, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
33 Scalar p_rho = mom.
x() * cosphi + mom.
y() * sinphi;
34 Scalar p_phi = -mom.
x() * sinphi + mom.
y() * cosphi;
39 par_(3) = mom.
z() / p_rho;
42 prSign_ = p_rho > 0 ? 1.0 : -1.0;
44 std::cout <<
"CylindricalState built from pos " << pos <<
" mom " << mom <<
" charge " << ch << std::endl;
45 std::cout <<
"p_rho " << p_rho <<
" p_phi " << p_phi <<
" dphi_drho " <<
par_(2) << std::endl;
47 <<
" charge " <<
charge() << std::endl;
const LocalPoint position() const
Geom::Phi< T > phi() const
Scalar prSign_
sign of local p_r
const LocalVector momentum() const