LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
TrackTrajectoryAlg.h
Go to the documentation of this file.
1 #ifndef TRACKTRAJECTORYALG_H
11 #define TRACKTRAJECTORYALG_H
12 
13 #include <array>
14 #include <vector>
15 
17 
20 namespace geo {
21  struct WireID;
22 }
23 
24 #include "TVector3.h"
25 
26 namespace trkf {
27 
29  public:
30  void TrackTrajectory(std::array<std::vector<geo::WireID>, 3> trkWID,
31  std::array<std::vector<double>, 3> trkX,
32  std::array<std::vector<double>, 3> trkXErr,
33  std::vector<TVector3>& TrajPos,
34  std::vector<TVector3>& TrajDir);
35 
36  private:
38 
39  double minX;
40  unsigned short minXPln;
41  double maxX;
42  unsigned short maxXPln;
43  bool prt;
44 
45  unsigned short fMaxTrajPoints; // maximum number of trajectory points
46  double fHitWidthFactor; // scales the number of trajectory points to the hit rms
47 
49 
50  void ShortTrackTrajectory(std::array<std::vector<geo::WireID>, 3> trkWID,
51  std::array<std::vector<double>, 3> trkX,
52  std::array<std::vector<double>, 3> trkXErr,
53  std::vector<TVector3>& TrajPos,
54  std::vector<TVector3>& TrajDir);
55 
56  }; // class TrackTrajectoryAlg
57 
58 } // namespace trkf
59 
60 #endif // ifndef TRACKTRAJECTORYALG_H
TrackLineFitAlg fTrackLineFitAlg
auto array(Array const &a)
Returns a manipulator which will print the specified array.
Definition: DumpUtils.h:250
IDparameter< geo::WireID > WireID
Member type of validated geo::WireID parameter.
art::ServiceHandle< geo::Geometry const > geom
Namespace collecting geometry-related classes utilities.
art framework interface to geometry description