LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
PropAny.h
Go to the documentation of this file.
1 
15 #ifndef PROPANY_H
16 #define PROPANY_H
17 
22 
23 namespace trkf {
24 
25  class PropAny : public trkf::Propagator {
26  public:
28  PropAny(detinfo::DetectorPropertiesData const& detProp, double tcut, bool doDedx);
29 
30  Propagator* clone() const override { return new PropAny(*this); }
31 
33  std::optional<double> short_vec_prop(KTrack& trk,
34  const std::shared_ptr<const Surface>& surf,
36  bool doDedx,
37  TrackMatrix* prop_matrix = 0,
38  TrackError* noise_matrix = 0) const override;
39 
41  virtual std::optional<double> origin_vec_prop(KTrack& trk,
42  const std::shared_ptr<const Surface>& porient,
43  TrackMatrix* prop_matrix = 0) const override;
44 
45  private:
47 
51  };
52 }
53 
54 #endif
Propagate to PropYZPlane surface.
virtual std::optional< double > origin_vec_prop(KTrack &trk, const std::shared_ptr< const Surface > &porient, TrackMatrix *prop_matrix=0) const override
Propagate without error to surface whose origin parameters coincide with track position.
Definition: PropAny.cxx:94
KSymMatrix< 5 >::type TrackError
Track error matrix, dimension 5x5.
PropYZPlane fPropYZPlane
Definition: PropAny.h:49
KMatrix< 5, 5 >::type TrackMatrix
General 5x5 matrix.
PropYZLine fPropYZLine
Underlying propagators.
Definition: PropAny.h:48
Propagate to SurfYZLine surface.
Propagate to SurfXYZPlane surface.
Propagator * clone() const override
Clone method.
Definition: PropAny.h:30
Base class for Kalman filter track propagator.
PropXYZPlane fPropXYZPlane
Definition: PropAny.h:50
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.
Definition: PropAny.cxx:54
TDirectory * dir
Definition: macro.C:5
PropAny(detinfo::DetectorPropertiesData const &detProp, double tcut, bool doDedx)
Constructor.
Definition: PropAny.cxx:27
PropDirection
Propagation direction enum.
Definition: Propagator.h:94