LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
TrackFitHitInfo.h
Go to the documentation of this file.
1 #ifndef TRACKFITHITINFO_H
2 #define TRACKFITHITINFO_H
3 
6 
7 namespace recob {
8 
11 
28 
30  public:
31  TrackFitHitInfo(double aHitMeas,
32  double aHitMeasErr2,
33  const SVector5& aTrackStatePar,
34  const SMatrixSym55& aTrackStateCov,
35  const geo::WireID& aWireId)
36  : fHitMeas(aHitMeas)
37  , fHitMeasErr2(aHitMeasErr2)
38  , fTrackStatePar(aTrackStatePar)
39  , fTrackStateCov(aTrackStateCov)
40  , fWireId(aWireId.Wire)
41  , fPlaneId(aWireId.Plane)
42  , fTpcId(aWireId.TPC)
43  , fCryostatId(aWireId.Cryostat)
44  {}
45 
47 
49  double hitMeas() const { return fHitMeas; }
51  double hitMeasErr2() const { return fHitMeasErr2; }
52 
54  const SVector5& trackStatePar() const { return fTrackStatePar; }
56  const SMatrixSym55& trackStateCov() const { return fTrackStateCov; }
57 
60 
61  private:
62  float fHitMeas;
63  float fHitMeasErr2;
66  unsigned int fWireId;
67  unsigned int fPlaneId;
68  unsigned int fTpcId;
69  unsigned int fCryostatId;
70  };
71 
72 }
73 
74 #endif
float fHitMeasErr2
squared uncertainty of the hit position measurement
Reconstruction base classes.
double hitMeasErr2() const
squared uncertainty of the hit position measurement
const SMatrixSym55 & trackStateCov() const
covariance matrix
ROOT::Math::SMatrix< Double32_t, 5, 5, ROOT::Math::MatRepSym< Double32_t, 5 >> SMatrixSym55
unsigned int fPlaneId
plane id where the hit is located
geo::WireID WireId() const
wire id where the hit is located
unsigned int fWireId
wire id where the hit is located
TrackFitHitInfo(double aHitMeas, double aHitMeasErr2, const SVector5 &aTrackStatePar, const SMatrixSym55 &aTrackStateCov, const geo::WireID &aWireId)
IDparameter< geo::WireID > WireID
Member type of validated geo::WireID parameter.
tracking::SMatrixSym55 SMatrixSym55
Object storing per-hit information from a track fit.
double hitMeas() const
hit position measurement
float fHitMeas
hit position measurement
Definition of data types for geometry description.
SVector5 fTrackStatePar
track parameters
const SVector5 & trackStatePar() const
track parameters
tracking::SVector5 SVector5
SMatrixSym55 fTrackStateCov
covariance matrix
ROOT::Math::SVector< Double32_t, 5 > SVector5
Class holding the regions of interest of signal from a channel.
Definition: Wire.h:116
unsigned int fCryostatId
cryostat id where the hit is located
recob::tracking::Plane Plane
Definition: TrackState.h:17
unsigned int fTpcId
tpc id where the hit is located