LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
recob::TrackFitHitInfo Class Reference

Object storing per-hit information from a track fit. More...

#include "TrackFitHitInfo.h"

Public Member Functions

 TrackFitHitInfo (double aHitMeas, double aHitMeasErr2, const SVector5 &aTrackStatePar, const SMatrixSym55 &aTrackStateCov, const geo::WireID &aWireId)
 
 TrackFitHitInfo ()
 
double hitMeas () const
 hit position measurement More...
 
double hitMeasErr2 () const
 squared uncertainty of the hit position measurement More...
 
const SVector5trackStatePar () const
 track parameters More...
 
const SMatrixSym55trackStateCov () const
 covariance matrix More...
 
geo::WireID WireId () const
 wire id where the hit is located More...
 

Private Attributes

float fHitMeas
 hit position measurement More...
 
float fHitMeasErr2
 squared uncertainty of the hit position measurement More...
 
SVector5 fTrackStatePar
 track parameters More...
 
SMatrixSym55 fTrackStateCov
 covariance matrix More...
 
unsigned int fWireId
 wire id where the hit is located More...
 
unsigned int fPlaneId
 plane id where the hit is located More...
 
unsigned int fTpcId
 tpc id where the hit is located More...
 
unsigned int fCryostatId
 cryostat id where the hit is located More...
 

Detailed Description

Object storing per-hit information from a track fit.

Author
G. Cerati (FNAL, MicroBooNE)
Date
2017
Version
1.0

This object stores the information related to each hit from a track fit. In particular it stores the 1D hit position measurement (TrackFitHitInfo::fHitMeas) and its squared uncertainty (TrackFitHitInfo::fHitMeasErr2), the ids of the wire where the hit is found (TrackFitHitInfo::fCryostatId,TrackFitHitInfo::fTpcId,TrackFitHitInfo::fPlaneId,TrackFitHitInfo::fWireId), the track parameters (TrackFitHitInfo::fTrackStatePar) and correspoding covariance matrix (TrackFitHitInfo::fTrackStateCov). The track parameters need to be defined at the wire location, and, in order to make and unbiased comparison of the hit and track parameters, they should be obtained without using this hit in the fit.

Definition at line 29 of file TrackFitHitInfo.h.

Constructor & Destructor Documentation

recob::TrackFitHitInfo::TrackFitHitInfo ( double  aHitMeas,
double  aHitMeasErr2,
const SVector5 aTrackStatePar,
const SMatrixSym55 aTrackStateCov,
const geo::WireID aWireId 
)
inline

Definition at line 31 of file TrackFitHitInfo.h.

32  : fHitMeas(aHitMeas), fHitMeasErr2(aHitMeasErr2),
33  fTrackStatePar(aTrackStatePar), fTrackStateCov(aTrackStateCov),
34  fWireId(aWireId.Wire), fPlaneId(aWireId.Plane), fTpcId(aWireId.TPC), fCryostatId(aWireId.Cryostat) { }
float fHitMeasErr2
squared uncertainty of the hit position measurement
CryostatID_t Cryostat
Index of cryostat.
Definition: geo_types.h:130
WireID_t Wire
Index of the wire within its plane.
Definition: geo_types.h:313
unsigned int fPlaneId
plane id where the hit is located
unsigned int fWireId
wire id where the hit is located
float fHitMeas
hit position measurement
PlaneID_t Plane
Index of the plane within its TPC.
Definition: geo_types.h:258
SVector5 fTrackStatePar
track parameters
SMatrixSym55 fTrackStateCov
covariance matrix
unsigned int fCryostatId
cryostat id where the hit is located
TPCID_t TPC
Index of the TPC within its cryostat.
Definition: geo_types.h:203
unsigned int fTpcId
tpc id where the hit is located
recob::TrackFitHitInfo::TrackFitHitInfo ( )
inline

Definition at line 36 of file TrackFitHitInfo.h.

36 {}

Member Function Documentation

double recob::TrackFitHitInfo::hitMeas ( ) const
inline

hit position measurement

Definition at line 39 of file TrackFitHitInfo.h.

References fHitMeas.

39 { return fHitMeas; }
float fHitMeas
hit position measurement
double recob::TrackFitHitInfo::hitMeasErr2 ( ) const
inline

squared uncertainty of the hit position measurement

Definition at line 41 of file TrackFitHitInfo.h.

References fHitMeasErr2.

41 { return fHitMeasErr2; }
float fHitMeasErr2
squared uncertainty of the hit position measurement
const SMatrixSym55& recob::TrackFitHitInfo::trackStateCov ( ) const
inline

covariance matrix

Definition at line 46 of file TrackFitHitInfo.h.

References fTrackStateCov.

46 { return fTrackStateCov; }
SMatrixSym55 fTrackStateCov
covariance matrix
const SVector5& recob::TrackFitHitInfo::trackStatePar ( ) const
inline

track parameters

Definition at line 44 of file TrackFitHitInfo.h.

References fTrackStatePar.

44 { return fTrackStatePar; }
SVector5 fTrackStatePar
track parameters
geo::WireID recob::TrackFitHitInfo::WireId ( ) const
inline

wire id where the hit is located

Definition at line 49 of file TrackFitHitInfo.h.

References fCryostatId, fPlaneId, fTpcId, and fWireId.

unsigned int fPlaneId
plane id where the hit is located
unsigned int fWireId
wire id where the hit is located
unsigned int fCryostatId
cryostat id where the hit is located
unsigned int fTpcId
tpc id where the hit is located

Member Data Documentation

unsigned int recob::TrackFitHitInfo::fCryostatId
private

cryostat id where the hit is located

Definition at line 59 of file TrackFitHitInfo.h.

Referenced by WireId().

float recob::TrackFitHitInfo::fHitMeas
private

hit position measurement

Definition at line 52 of file TrackFitHitInfo.h.

Referenced by hitMeas().

float recob::TrackFitHitInfo::fHitMeasErr2
private

squared uncertainty of the hit position measurement

Definition at line 53 of file TrackFitHitInfo.h.

Referenced by hitMeasErr2().

unsigned int recob::TrackFitHitInfo::fPlaneId
private

plane id where the hit is located

Definition at line 57 of file TrackFitHitInfo.h.

Referenced by WireId().

unsigned int recob::TrackFitHitInfo::fTpcId
private

tpc id where the hit is located

Definition at line 58 of file TrackFitHitInfo.h.

Referenced by WireId().

SMatrixSym55 recob::TrackFitHitInfo::fTrackStateCov
private

covariance matrix

Definition at line 55 of file TrackFitHitInfo.h.

Referenced by trackStateCov().

SVector5 recob::TrackFitHitInfo::fTrackStatePar
private

track parameters

Definition at line 54 of file TrackFitHitInfo.h.

Referenced by trackStatePar().

unsigned int recob::TrackFitHitInfo::fWireId
private

wire id where the hit is located

Definition at line 56 of file TrackFitHitInfo.h.

Referenced by WireId().


The documentation for this class was generated from the following file: