24 double sinp = std::sin(
phi0);
25 double cosp = std::cos(
phi0);
26 double sint = std::sin(
theta);
28 double rho = std::fabs(
qOverP);
33 double px = cosp*sint/rho;
34 double py = sinp*sint/rho;
36 double E = std::sqrt(1/rho/rho+mass*mass);
44 (*this)(0,3) =
pz*cosp;
47 (*this)(1,3) =
pz*sinp;
49 (*this)(2,3) = -sint/rho;
51 (*this)(3,4) = -
charge*1./(E*rho*rho*rho);
53 (*this)(4,2) = -
d0*cosp;
55 (*this)(5,2) = -
d0*sinp;
double charge(const T &p)
JacobianPerigeeToCartesian(const double d0, const double z0, const double phi0, const double theta, const double qOverP, const double mass=ParticleConstants::muonMassInMeV)
int cost(std::vector< std::string > &files, node &n, const std::string &directory="", bool deleteref=false, bool relocate=false)
AmgMatrix(3, 3) NeutralParticleParameterCalculator
@ pz
global momentum (cartesian)