24 :
Interactor(tcut), fInteract(detProp, tcut), fProp(detProp, -1.,
false)
59 std::shared_ptr<Surface> psurf(
60 new SurfXYZPlane(xyz[0], xyz[1], xyz[2], mom[0], mom[1], mom[2]));
66 std::optional<double> result =
71 if (!result)
return false;
81 TrackMatrix temp = prod(plane_noise, trans(prop_matrix));
83 noise_matrix = ublas::symmetric_adaptor<TrackMatrix>(temp2);
Interactor for planar surfaces.
KSymMatrix< 5 >::type TrackError
Track error matrix, dimension 5x5.
bool noise(const KTrack &trk, double s, TrackError &noise_matrix) const override
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)
bool noise(const KTrack &trk, double s, TrackError &noise_matrix) const override
Calculate noise matrix.
KMatrix< 5, 5 >::type TrackMatrix
General 5x5 matrix.
then echo File list $list not found else cat $list while read file do echo $file sed s
void getMomentum(double mom[3]) const
Get momentum vector of track.
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.