Public Member Functions | Private Attributes | List of all members
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:212
WireID_t Wire
Index of the wire within its plane.
Definition: geo_types.h:580
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:493
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:406
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.

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.

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.

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

track parameters

Definition at line 44 of file TrackFitHitInfo.h.

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.

unsigned int fPlaneId
plane id where the hit is located
unsigned int fWireId
wire id where the hit is located
IDparameter< geo::WireID > WireID
Member type of validated geo::WireID parameter.
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.

float recob::TrackFitHitInfo::fHitMeas
private

hit position measurement

Definition at line 52 of file TrackFitHitInfo.h.

float recob::TrackFitHitInfo::fHitMeasErr2
private

squared uncertainty of the hit position measurement

Definition at line 53 of file TrackFitHitInfo.h.

unsigned int recob::TrackFitHitInfo::fPlaneId
private

plane id where the hit is located

Definition at line 57 of file TrackFitHitInfo.h.

unsigned int recob::TrackFitHitInfo::fTpcId
private

tpc id where the hit is located

Definition at line 58 of file TrackFitHitInfo.h.

SMatrixSym55 recob::TrackFitHitInfo::fTrackStateCov
private

covariance matrix

Definition at line 55 of file TrackFitHitInfo.h.

SVector5 recob::TrackFitHitInfo::fTrackStatePar
private

track parameters

Definition at line 54 of file TrackFitHitInfo.h.

unsigned int recob::TrackFitHitInfo::fWireId
private

wire id where the hit is located

Definition at line 56 of file TrackFitHitInfo.h.


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