17 typedef RKAdaptiveSolver<double,RKOneCashKarpStep, 5> Solver;
27 double pzSign = startmom.
z() > 0 ? 1.0 : -1.0;
32 start(0) = startpos.x();
33 start(1) = startpos.y();
34 start(2) = startmom.
x()/startmom.
z();
35 start(3) = startmom.
y()/startmom.
z();
42 CurvilinearLorentzForce<double,5> deriv(localField);
47 RKVector rkresult = solver( startpos.z(),
start, -startpos.z(), deriv, dist, eps);
50 rkresult(0), rkresult(1), pzSign),
53 catch (CurvilinearLorentzForceException&
e) {
67 std::pair< TrajectoryStateOnSurface, double>
70 return std::pair< TrajectoryStateOnSurface, double>();
73 std::pair< TrajectoryStateOnSurface, double>
76 return std::pair< TrajectoryStateOnSurface, double>();
81 return new RKPropagatorInZ(*
this);
tuple start
Check for commandline option errors.
ROOT::Math::Plane3D::Vector Vector
TrackCharge charge() const
LocalPoint toLocal(const GlobalPoint &gp) const
GlobalVector momentum() const
GlobalPoint position() const