LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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.

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  {}
float fHitMeasErr2
squared uncertainty of the hit position measurement
CryostatID_t Cryostat
Index of cryostat.
Definition: geo_types.h:211
WireID_t Wire
Index of the wire within its plane.
Definition: geo_types.h:563
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:481
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:399
unsigned int fTpcId
tpc id where the hit is located
recob::TrackFitHitInfo::TrackFitHitInfo ( )
inline

Definition at line 46 of file TrackFitHitInfo.h.

46 {}

Member Function Documentation

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

hit position measurement

Definition at line 49 of file TrackFitHitInfo.h.

References fHitMeas.

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

squared uncertainty of the hit position measurement

Definition at line 51 of file TrackFitHitInfo.h.

References fHitMeasErr2.

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

covariance matrix

Definition at line 56 of file TrackFitHitInfo.h.

References fTrackStateCov.

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

track parameters

Definition at line 54 of file TrackFitHitInfo.h.

References fTrackStatePar.

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

wire id where the hit is located

Definition at line 59 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
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 69 of file TrackFitHitInfo.h.

Referenced by WireId().

float recob::TrackFitHitInfo::fHitMeas
private

hit position measurement

Definition at line 62 of file TrackFitHitInfo.h.

Referenced by hitMeas().

float recob::TrackFitHitInfo::fHitMeasErr2
private

squared uncertainty of the hit position measurement

Definition at line 63 of file TrackFitHitInfo.h.

Referenced by hitMeasErr2().

unsigned int recob::TrackFitHitInfo::fPlaneId
private

plane id where the hit is located

Definition at line 67 of file TrackFitHitInfo.h.

Referenced by WireId().

unsigned int recob::TrackFitHitInfo::fTpcId
private

tpc id where the hit is located

Definition at line 68 of file TrackFitHitInfo.h.

Referenced by WireId().

SMatrixSym55 recob::TrackFitHitInfo::fTrackStateCov
private

covariance matrix

Definition at line 65 of file TrackFitHitInfo.h.

Referenced by trackStateCov().

SVector5 recob::TrackFitHitInfo::fTrackStatePar
private

track parameters

Definition at line 64 of file TrackFitHitInfo.h.

Referenced by trackStatePar().

unsigned int recob::TrackFitHitInfo::fWireId
private

wire id where the hit is located

Definition at line 66 of file TrackFitHitInfo.h.

Referenced by WireId().


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