LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
PropYZLine.h
Go to the documentation of this file.
1 
13 #ifndef PROPYZLINE_H
14 #define PROPYZLINE_H
15 
17 
18 namespace trkf {
19 
21  {
22  public:
23 
25  PropYZLine(double tcut, bool doDedx);
26 
28  virtual ~PropYZLine();
29 
30  // Overrides.
31 
33  Propagator* clone() const {return new PropYZLine(*this);}
34 
36  boost::optional<double> short_vec_prop(KTrack& trk,
37  const std::shared_ptr<const Surface>& surf,
39  bool doDedx,
40  TrackMatrix* prop_matrix = 0,
41  TrackError* noise_matrix = 0) const;
42 
44  virtual boost::optional<double> origin_vec_prop(KTrack& trk,
45  const std::shared_ptr<const Surface>& porient,
46  TrackMatrix* prop_matrix = 0) const;
47 
48  private:
49 
58 
60 
61  bool transformYZLine(double phi1,
62  double phi2,
63  TrackVector& vec,
65  TrackMatrix* prop_matrix) const;
66 
68 
69  bool transformYZPlane(double phi1,
70  double phi2,
71  TrackVector& vec,
73  TrackMatrix* prop_matrix) const;
75 
76  bool transformXYZPlane(double theta1, double phi1,
77  double phi2,
78  TrackVector& vec,
80  TrackMatrix* prop_matrix) const;
81  };
82 }
83 
84 #endif
TrackDirection
Track direction enum.
Definition: Surface.h:56
bool transformXYZPlane(double theta1, double phi1, double phi2, TrackVector &vec, Surface::TrackDirection &dir, TrackMatrix *prop_matrix) const
Transform xyz plane -> yz line.
Definition: PropYZLine.cxx:737
virtual boost::optional< double > origin_vec_prop(KTrack &trk, const std::shared_ptr< const Surface > &porient, TrackMatrix *prop_matrix=0) const
Propagate without error to surface whose origin parameters coincide with track position.
Definition: PropYZLine.cxx:272
KSymMatrix< 5 >::type TrackError
Track error matrix, dimension 5x5.
bool transformYZLine(double phi1, double phi2, TrackVector &vec, Surface::TrackDirection &dir, TrackMatrix *prop_matrix) const
Transform yz line -> yz line.
Definition: PropYZLine.cxx:376
Propagator * clone() const
Clone method.
Definition: PropYZLine.h:33
boost::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
Propagate without error.
Definition: PropYZLine.cxx:53
bool transformYZPlane(double phi1, double phi2, TrackVector &vec, Surface::TrackDirection &dir, TrackMatrix *prop_matrix) const
Transform yz plane -> yz line.
Definition: PropYZLine.cxx:564
Base class for Kalman filter track propagator.
KVector< 5 >::type TrackVector
Track state vector, dimension 5.
PropYZLine(double tcut, bool doDedx)
Constructor.
Definition: PropYZLine.cxx:28
virtual ~PropYZLine()
Destructor.
Definition: PropYZLine.cxx:35
TDirectory * dir
Definition: macro.C:5
KMatrix< 5, 5 >::type TrackMatrix
General 5x5 matrix.
PropDirection
Propagation direction enum.
Definition: Propagator.h:92