24 :
Interactor(tcut), fInteract(detProp, tcut), fProp(detProp, -1., false)
58 std::shared_ptr<Surface> psurf(
59 new SurfXYZPlane(xyz[0], xyz[1], xyz[2], mom[0], mom[1], mom[2]));
65 std::optional<double> result =
70 if (!result)
return false;
80 TrackMatrix temp = prod(plane_noise, trans(prop_matrix));
82 noise_matrix = ublas::symmetric_adaptor<TrackMatrix>(temp2);
Interactor for planar surfaces.
KSymMatrix< 5 >::type TrackError
Track error matrix, dimension 5x5.
KMatrix< 5, 5 >::type TrackMatrix
General 5x5 matrix.
InteractGeneral(detinfo::DetectorPropertiesData const &detProp, double tcut)
void getPosition(double xyz[3]) const
Get position of track.
bool invert(ublas::matrix< T, L, A > &m)
std::optional< double > short_vec_prop(KTrack &trk, const std::shared_ptr< const Surface > &surf, Propagator::PropDirection dir, bool doDedx, TrackMatrix *prop_matrix=0, TrackError *noise_matrix=0) const override
Propagate without error.
void getMomentum(double mom[3]) const
Get momentum vector of track.
bool noise(const KTrack &trk, double s, TrackError &noise_matrix) const override
Calculate noise matrix.
bool noise(const KTrack &trk, double s, TrackError &noise_matrix) const override