LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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, double aHitMeasErr2, const SVector5& aTrackStatePar, const SMatrixSym55& aTrackStateCov, const geo::WireID& aWireId)
32  : fHitMeas(aHitMeas), fHitMeasErr2(aHitMeasErr2),
33  fTrackStatePar(aTrackStatePar), fTrackStateCov(aTrackStateCov),
34  fWireId(aWireId.Wire), fPlaneId(aWireId.Plane), fTpcId(aWireId.TPC), fCryostatId(aWireId.Cryostat) { }
35 
37 
39  double hitMeas() const { return fHitMeas; }
41  double hitMeasErr2() const { return fHitMeasErr2; }
42 
44  const SVector5& trackStatePar() const { return fTrackStatePar; }
46  const SMatrixSym55& trackStateCov() const { return fTrackStateCov; }
47 
50 
51  private:
52  double fHitMeas;
53  double fHitMeasErr2;
56  unsigned int fWireId;
57  unsigned int fPlaneId;
58  unsigned int fTpcId;
59  unsigned int fCryostatId;
60  };
61 
62 }
63 
64 #endif
Reconstruction base classes.
double hitMeasErr2() const
squared uncertainty of the hit position measurement
const SMatrixSym55 & trackStateCov() const
covariance matrix
double fHitMeas
hit position measurement
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)
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > SMatrixSym55
Definition: TrackingTypes.h:57
tracking::SMatrixSym55 SMatrixSym55
Object storing per-hit information from a track fit.
ROOT::Math::SVector< double, 5 > SVector5
Definition: TrackingTypes.h:64
double hitMeas() const
hit position measurement
double fHitMeasErr2
squared uncertainty of the 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
Class holding the deconvoluted signals from a channel.
Definition: Wire.h:80
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