LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Track from a non-cascading particle.A recob::Track
consists of a recob::TrackTrajectory
, plus additional members relevant for a "fitted" track:
More...
#include "Track.h"
Public Types | |
using | Point_t = tracking::Point_t |
using | Vector_t = tracking::Vector_t |
using | Positions_t = tracking::Positions_t |
using | Momenta_t = tracking::Momenta_t |
using | Rotation_t = tracking::Rotation_t |
using | TrajectoryPoint_t = tracking::TrajectoryPoint_t |
using | SMatrixSym55 = tracking::SMatrixSym55 |
using | SMatrixSym66 = tracking::SMatrixSym66 |
using | SMatrix65 = tracking::SMatrix65 |
using | SMatrix56 = tracking::SMatrix56 |
using | SVector6 = tracking::SVector6 |
using | SVector5 = tracking::SVector5 |
using | PointFlags_t = TrackTrajectory::PointFlags_t |
using | Flags_t = TrackTrajectory::Flags_t |
Public Member Functions | |
Track ()=default | |
Track (TrackTrajectory const &Traj, int PId, float Chi2, int Ndof, SMatrixSym55 const &CovVertex, SMatrixSym55 const &CovEnd, int tkID) | |
Track (TrackTrajectory &&Traj, int PId, float Chi2, int Ndof, SMatrixSym55 &&CovVertex, SMatrixSym55 &&CovEnd, int tkID) | |
Track (Positions_t &&positions, Momenta_t &&momenta, Flags_t &&flags, bool hasMomenta, int PId, float Chi2, int Ndof, SMatrixSym55 &&CovVertex, SMatrixSym55 &&CovEnd, int tkID) | |
const recob::TrackTrajectory & | Trajectory () const |
Access to the stored recob::TrackTrajectory. More... | |
size_t | NumberTrajectoryPoints () const |
Various functions related to the presence and the number of (valid) points. More... | |
size_t | NPoints () const |
Various functions related to the presence and the number of (valid) points. More... | |
size_t | FirstPoint () const |
Various functions related to the presence and the number of (valid) points. More... | |
size_t | LastPoint () const |
Various functions related to the presence and the number of (valid) points. More... | |
size_t | FirstValidPoint () const |
Various functions related to the presence and the number of (valid) points. More... | |
size_t | NextValidPoint (size_t index) const |
Various functions related to the presence and the number of (valid) points. More... | |
size_t | PreviousValidPoint (size_t index) const |
Various functions related to the presence and the number of (valid) points. More... | |
size_t | LastValidPoint () const |
Various functions related to the presence and the number of (valid) points. More... | |
bool | HasPoint (size_t i) const |
Various functions related to the presence and the number of (valid) points. More... | |
bool | HasValidPoint (size_t i) const |
Various functions related to the presence and the number of (valid) points. More... | |
unsigned int | CountValidPoints () const |
Various functions related to the presence and the number of (valid) points. More... | |
TrajectoryPoint_t | TrajectoryPoint (size_t i) const |
Access to i-th TrajectoryPoint or its Flags. More... | |
PointFlags_t const & | FlagsAtPoint (size_t i) const |
Access to i-th TrajectoryPoint or its Flags. More... | |
Point_t const & | Start () const |
Access to track position at different points. More... | |
Vector_t | StartDirection () const |
Access to track direction at different points. More... | |
bool | HasMomentum () const |
double | MomentumAtPoint (unsigned int p) const |
double | VertexMomentum () const |
double | StartMomentum () const |
double | EndMomentum () const |
Vector_t const & | VertexMomentumVector () const |
Vector_t const & | StartMomentumVector () const |
Vector_t const & | EndMomentumVector () const |
Vector_t const & | MomentumVectorAtPoint (size_t i) const |
const SMatrixSym55 & | StartCovariance () const |
Access to covariance matrices. More... | |
std::pair< Point_t, Point_t > | Extent () const |
Access to position, momentum or covariance at the start and end of the track. More... | |
std::pair< Vector_t, Vector_t > | Direction () const |
Access to position, momentum or covariance at the start and end of the track. More... | |
std::pair< SMatrixSym55, SMatrixSym55 > | Covariances () const |
Access to position, momentum or covariance at the start and end of the track. More... | |
double | Length (size_t p=0) const |
Access to various track properties. More... | |
float | Chi2 () const |
Access to various track properties. More... | |
float | Chi2PerNdof () const |
Access to various track properties. More... | |
int | Ndof () const |
Access to various track properties. More... | |
int | ParticleId () const |
Access to various track properties. More... | |
double | Theta () const |
Access to spherical or geographical angles at vertex or at any point. More... | |
double | Theta (size_t p) const |
Access to spherical or geographical angles at vertex or at any point. More... | |
double | Phi () const |
Access to spherical or geographical angles at vertex or at any point. More... | |
double | Phi (size_t p) const |
Access to spherical or geographical angles at vertex or at any point. More... | |
double | ZenithAngle () const |
Access to spherical or geographical angles at vertex or at any point. More... | |
double | ZenithAngle (size_t p) const |
Access to spherical or geographical angles at vertex or at any point. More... | |
double | AzimuthAngle () const |
Access to spherical or geographical angles at vertex or at any point. More... | |
double | AzimuthAngle (size_t p) const |
Access to spherical or geographical angles at vertex or at any point. More... | |
Rotation_t | GlobalToLocalRotationAtPoint (size_t p) const |
Rotation_t | LocalToGlobalRotationAtPoint (size_t p) const |
SVector5 | VertexParametersLocal5D () const |
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates. More... | |
SVector5 | EndParametersLocal5D () const |
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates. More... | |
const SMatrixSym55 & | VertexCovarianceLocal5D () const |
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates. More... | |
const SMatrixSym55 & | EndCovarianceLocal5D () const |
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates. More... | |
SVector6 | VertexParametersGlobal6D () const |
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates. More... | |
SVector6 | EndParametersGlobal6D () const |
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates. More... | |
SMatrixSym66 | VertexCovarianceGlobal6D () const |
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates. More... | |
SMatrixSym66 | EndCovarianceGlobal6D () const |
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates. More... | |
Deprecated methods | |
— BEGIN Deprecated methods ----------------------------------------— Temporarily kept for backward compatibility but soon to be removed.
| |
Track (std::vector< TVector3 > const &xyz, std::vector< TVector3 > const &dxdydz, std::vector< std::vector< double > > dQdx=std::vector< std::vector< double > >(0), std::vector< double > fitMomentum=std::vector< double >(2, util::kBogusD), int ID=-1) | |
Covariance matrices are either set or not. More... | |
Track (std::vector< TVector3 > const &xyz, std::vector< TVector3 > const &dxdydz, std::vector< TMatrixD > const &cov, std::vector< std::vector< double > > dQdx=std::vector< std::vector< double > >(0), std::vector< double > fitMomentum=std::vector< double >(2, util::kBogusD), int ID=-1) | |
Covariance matrices are either set or not. More... | |
size_t | NumberCovariance () const |
Covariance matrices are either set or not. More... | |
TVector3 | DirectionAtPoint (unsigned int p) const |
Covariance matrices are either set or not. More... | |
TVector3 | LocationAtPoint (unsigned int p) const |
Covariance matrices are either set or not. More... | |
TMatrixD | CovarianceAtPoint (unsigned int p) const |
Covariance matrices are either set or not. More... | |
size_t | NumberFitMomentum () const |
Covariance matrices are either set or not. More... | |
TVector3 | Vertex () const |
Covariance matrices are either set or not. More... | |
TVector3 | End () const |
Covariance matrices are either set or not. More... | |
TVector3 | VertexDirection () const |
Covariance matrices are either set or not. More... | |
TVector3 | EndDirection () const |
Covariance matrices are either set or not. More... | |
TMatrixD | VertexCovariance () const |
Covariance matrices are either set or not. More... | |
TMatrixD | EndCovariance () const |
Covariance matrices are either set or not. More... | |
void | TrajectoryAtPoint (unsigned int p, TVector3 &pos, TVector3 &dir) const |
Covariance matrices are either set or not. More... | |
void | Extent (std::vector< double > &xyzStart, std::vector< double > &xyzEnd) const |
Covariance matrices are either set or not. More... | |
void | Direction (double *dcosStart, double *dcosEnd) const |
Covariance matrices are either set or not. More... | |
size_t | NumberdQdx (geo::View_t view=geo::kUnknown) const |
Covariance matrices are either set or not. More... | |
const double & | DQdxAtPoint (unsigned int p, geo::View_t view=geo::kUnknown) const |
Covariance matrices are either set or not. More... | |
void | GlobalToLocalRotationAtPoint (unsigned int p, TMatrixD &rot) const |
Covariance matrices are either set or not. More... | |
void | LocalToGlobalRotationAtPoint (unsigned int p, TMatrixD &rot) const |
Covariance matrices are either set or not. More... | |
Protected Attributes | |
TrackTrajectory | fTraj |
Stored trajectory data member. More... | |
int | fPId = 0 |
Particle ID hypothesis used in the fit (if any) More... | |
float | fChi2 = -1. |
Fit chi2. More... | |
int | fNdof = 0. |
Number of degrees of freedom of the fit. More... | |
SMatrixSym55 | fCovVertex |
Covariance matrix (local 5D representation) at start point (vertex) More... | |
SMatrixSym55 | fCovEnd |
Covariance matrix (local 5D representation) at end point. More... | |
int | fID = -1 |
track's ID More... | |
std::vector< std::vector< double > > | fdQdx |
Friends | |
std::ostream & | operator<< (std::ostream &stream, Track const &a) |
int | ID () const |
bool | operator< (const Track &a, const Track &b) |
Track from a non-cascading particle.
A recob::Track
consists of a recob::TrackTrajectory
, plus additional members relevant for a "fitted" track:
Please refer to the recob::TrackTrajectory
documentation for more information about it.
In terms of interface, recob::Track
extends recob::TrackTrajectory
, so that methods of the stored recob::TrackTrajectory
can be called directly from the recob::Track interface
, e.g.:
Two different parameter conventions are used in a recob::Track
, and functions to convert from one to the other are provided:
lardataobj/RecoBase/TrackingPlane.h
for more information.
|
default |
Referenced by Track().
|
inline |
Definition at line 92 of file Track.h.
|
inline |
Definition at line 96 of file Track.h.
|
inline |
Definition at line 100 of file Track.h.
|
inline |
Covariance matrices are either set or not.
Definition at line 227 of file Track.h.
References ID(), util::kBogusD, Track(), and lar::dump::vector().
recob::Track::Track | ( | std::vector< TVector3 > const & | xyz, |
std::vector< TVector3 > const & | dxdydz, | ||
std::vector< TMatrixD > const & | cov, | ||
std::vector< std::vector< double > > | dQdx = std::vector< std::vector< double > >(0) , |
||
std::vector< double > | fitMomentum = std::vector< double >(2, util::kBogusD) , |
||
int | ID = -1 |
||
) |
Covariance matrices are either set or not.
|
inline |
Access to spherical or geographical angles at vertex or at any point.
Definition at line 189 of file Track.h.
References recob::TrackTrajectory::AzimuthAngle().
|
inline |
Access to spherical or geographical angles at vertex or at any point.
Definition at line 190 of file Track.h.
References recob::TrackTrajectory::AzimuthAngle().
|
inline |
Access to various track properties.
Definition at line 175 of file Track.h.
References fChi2.
Referenced by trkf::KalmanFilterTrajectoryFitter::restoreInputPoints(), trkf::KalmanFilterFinalTrackFitter::restoreInputPoints(), and trkmkr::KalmanFilterFitTrackMaker::restoreInputPoints().
|
inline |
Access to various track properties.
Definition at line 176 of file Track.h.
References util::kBogusF.
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 119 of file Track.h.
References recob::TrackTrajectory::CountValidPoints(), TrajectoryPoint(), and recob::Trajectory::TrajectoryPoint().
Referenced by trkf::Geometric3DVertexFitter::addTrackToVertex(), RecoProxyUsageExample::analyze(), trkf::Geometric3DVertexFitter::closestPointAlongTrack(), evd::RecoBaseDrawer::DrawTrack2D(), evd::RecoBaseDrawer::DrawTrack3D(), evd::RecoBaseDrawer::DrawTrackOrtho(), and trkf::Geometric3DVertexFitter::fitTwoTracks().
|
inline |
Covariance matrices are either set or not.
Definition at line 242 of file Track.h.
References EndCovariance(), and VertexCovariance().
|
inline |
Access to position, momentum or covariance at the start and end of the track.
Definition at line 169 of file Track.h.
References fCovEnd, fCovVertex, Length(), and recob::TrackTrajectory::Length().
Referenced by trkmkr::KalmanFilterFitTrackMaker::makeTrack(), trkf::KalmanFilterTrajectoryFitter::restoreInputPoints(), trkf::KalmanFilterFinalTrackFitter::restoreInputPoints(), and trkmkr::KalmanFilterFitTrackMaker::restoreInputPoints().
Access to position, momentum or covariance at the start and end of the track.
Definition at line 168 of file Track.h.
References recob::TrackTrajectory::Direction().
|
inline |
Covariance matrices are either set or not.
Definition at line 254 of file Track.h.
References recob::TrackTrajectory::Direction(), DQdxAtPoint(), geo::kUnknown, and NumberdQdx().
|
inline |
Covariance matrices are either set or not.
Definition at line 240 of file Track.h.
References dir, and recob::Trajectory::DirectionAtPoint().
Referenced by evd::RecoBaseDrawer::DrawTrack3D(), lar::util::TrackPitchInView(), and lar::util::TrackProjectedLength().
const double & Track::DQdxAtPoint | ( | unsigned int | p, |
geo::View_t | view = geo::kUnknown |
||
) | const |
Covariance matrices are either set or not.
Definition at line 80 of file Track.cxx.
References geo::kUnknown.
Referenced by lar_pandora::PFParticleTrackAna::analyze(), Direction(), calo::GeneralCalorimetry::produce(), and ems::ShowerInfo::ShowerInfo().
|
inline |
Covariance matrices are either set or not.
Definition at line 246 of file Track.h.
References recob::TrackTrajectory::End().
Referenced by lar_pandora::PFParticleAnalysis::analyze(), lar_pandora::PFParticleMonitoring::analyze(), trkf::TrackAna::analyze(), evd::RecoBaseDrawer::DrawTrackOrtho(), evd::RecoBaseDrawer::DrawTrackVertexAssns2D(), recob::DumpTracks::DumpTrack(), lar_pandora::PFParticleCosmicAna::FillRecoTree(), trkf::StitchAlg::FindHeadsAndTails(), mvapid::MVAAlg::FitAndSortTrack(), DUNE::MuonTrackingEff::FuncDistanceAndAngleBetweenTracks(), ems::MergeEMShower3D::getCos3D(), trk::TrackContainmentAlg::GetCosmicTagID(), trk::TrackContainmentAlg::IsContained(), mvapid::MVAAlg::LinFit(), trk::TrackContainmentAlg::MinDistanceEndPt(), cosmic::CosmicPFParticleTagger::produce(), cosmic::CosmicTrackTagger::produce(), and ems::ShowerInfo::ShowerInfo().
TMatrixD Track::EndCovariance | ( | ) | const |
Covariance matrices are either set or not.
Definition at line 142 of file Track.cxx.
Referenced by trkf::TrackAna::analyze(), CovarianceAtPoint(), and EndDirection().
Track::SMatrixSym66 Track::EndCovarianceGlobal6D | ( | ) | const |
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates.
Definition at line 193 of file Track.cxx.
Referenced by EndCovarianceLocal5D().
|
inline |
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates.
Definition at line 214 of file Track.h.
References EndCovarianceGlobal6D(), EndParametersGlobal6D(), fCovEnd, VertexCovarianceGlobal6D(), and VertexParametersGlobal6D().
Referenced by trkf::KalmanFilterFinalTrackFitter::produce().
|
inline |
Covariance matrices are either set or not.
Definition at line 248 of file Track.h.
References dir, EndCovariance(), recob::TrackTrajectory::EndDirection(), and VertexCovariance().
Referenced by lar_pandora::PFParticleAnalysis::analyze(), trkf::TrackAna::analyze(), recob::DumpTracks::DumpTrack(), lar_pandora::PFParticleCosmicAna::FillRecoTree(), trkf::StitchAlg::FindHeadsAndTails(), DUNE::MuonTrackingEff::FuncDistanceAndAngleBetweenTracks(), and recob::operator<<().
|
inline |
Access to track momentum at different points. The user must check that HasMomentum() returns true to ensure the validity of the result of these functions.
Definition at line 151 of file Track.h.
References recob::TrackTrajectory::EndMomentum().
Referenced by trkf::TrackAna::analyze().
|
inline |
Access to track momentum at different points. The user must check that HasMomentum() returns true to ensure the validity of the result of these functions.
Definition at line 154 of file Track.h.
References recob::TrackTrajectory::EndMomentumVector().
Track::SVector6 Track::EndParametersGlobal6D | ( | ) | const |
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates.
Definition at line 168 of file Track.cxx.
Referenced by EndCovarianceLocal5D().
Track::SVector5 Track::EndParametersLocal5D | ( | ) | const |
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates.
Definition at line 184 of file Track.cxx.
Referenced by LocalToGlobalRotationAtPoint().
Access to position, momentum or covariance at the start and end of the track.
Definition at line 167 of file Track.h.
Referenced by MomentumVectorAtPoint(), and TrajectoryAtPoint().
void Track::Extent | ( | std::vector< double > & | xyzStart, |
std::vector< double > & | xyzEnd | ||
) | const |
Covariance matrices are either set or not.
Definition at line 152 of file Track.cxx.
References recob::details::legacy::FillTwoVectors().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 111 of file Track.h.
References recob::Trajectory::FirstPoint().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 113 of file Track.h.
References recob::TrackTrajectory::FirstValidPoint().
|
inline |
Access to i-th TrajectoryPoint or its Flags.
Definition at line 125 of file Track.h.
References recob::TrackTrajectory::FlagsAtPoint(), HasMomentum(), recob::Trajectory::HasMomentum(), Start(), recob::TrackTrajectory::Start(), StartDirection(), and recob::TrackTrajectory::StartDirection().
Referenced by trkf::KalmanFilterTrajectoryFitter::restoreInputPoints(), trkf::KalmanFilterFinalTrackFitter::restoreInputPoints(), and trkmkr::KalmanFilterFitTrackMaker::restoreInputPoints().
|
inline |
Definition at line 197 of file Track.h.
References recob::Trajectory::GlobalToLocalRotationAtPoint().
Referenced by trkf::TrackAna::analyze().
|
inline |
Covariance matrices are either set or not.
Definition at line 257 of file Track.h.
References recob::Trajectory::GlobalToLocalRotationAtPoint().
|
inline |
Access to track momentum at different points. The user must check that HasMomentum() returns true to ensure the validity of the result of these functions.
Definition at line 147 of file Track.h.
Referenced by trkf::TrackAna::analyze(), FlagsAtPoint(), and NumberFitMomentum().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 117 of file Track.h.
References recob::Trajectory::HasPoint().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 118 of file Track.h.
References recob::TrackTrajectory::HasValidPoint().
Referenced by evd::RecoBaseDrawer::DrawTrack2D(), evd::RecoBaseDrawer::DrawTrack3D(), evd::RecoBaseDrawer::DrawTrackOrtho(), and trkf::TrackKalmanFitter::fillResult().
|
inline |
Track ID number, needed to relate a track to its possible track parent (e.g. in case of a refit). Note that art Assns to the same object are not currently supported. The < operator is based on the track ID.
Definition at line 205 of file Track.h.
Referenced by lar_pandora::PFParticleTrackAna::analyze(), lar_pandora::PFParticleAnalysis::analyze(), trkf::TrackAna::analyze(), evd::RecoBaseDrawer::DrawTrackOrtho(), evd::RecoBaseDrawer::DrawTrackVertexAssns2D(), recob::DumpTracks::DumpTrack(), LocalToGlobalRotationAtPoint(), trkmkr::TrackMaker::makeTrack(), trkmkr::KalmanFilterFitTrackMaker::makeTrack(), recob::operator<(), recob::operator<<(), DUNE::MuonTrackingEff::processEff(), cosmic::CosmicTrackTagger::produce(), trkf::KalmanFilterFinalTrackFitter::produce(), evd::RecoBaseDrawer::ProngOrtho(), trkf::KalmanFilterTrajectoryFitter::restoreInputPoints(), trkf::KalmanFilterFinalTrackFitter::restoreInputPoints(), trkmkr::KalmanFilterFitTrackMaker::restoreInputPoints(), and Track().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 112 of file Track.h.
References recob::Trajectory::LastPoint().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 116 of file Track.h.
References recob::TrackTrajectory::LastValidPoint().
|
inline |
Access to various track properties.
Definition at line 174 of file Track.h.
Referenced by trkf::Geometric3DVertexFitter::addTrackToVertex(), lar_pandora::PFParticleTrackAna::analyze(), lar_pandora::PFParticleAnalysis::analyze(), lar_pandora::PFParticleMonitoring::analyze(), RecoProxyUsageExample::analyze(), trkf::Geometric3DVertexFitter::closestPointAlongTrack(), Covariances(), calo::TrackCalorimetryAlg::CreatePathLengthFractionVector(), recob::DumpTracks::DumpTrack(), lar_pandora::PFParticleCosmicAna::FillRecoTree(), trkf::TrackKalmanFitter::fillResult(), trkf::Geometric3DVertexFitter::fitTwoTracks(), calo::TrackCalorimetryAlg::MakeCalorimetryObject(), cosmic::BeamFlashTrackMatchTaggerAlg::PrintTrackProperties(), DUNE::NeutrinoTrackingEff::processEff(), DUNE::MuonTrackingEff::processEff(), opdet::TrackTimeAssoc::produce(), calo::GeneralCalorimetry::produce(), cosmic::CosmicTrackTagger::produce(), cosmic::BeamFlashTrackMatchTaggerAlg::RunCompatibilityCheck(), cosmic::BeamFlashTrackMatchTaggerAlg::RunHypothesisComparison(), trkf::KalmanFilterFinalTrackFitter::setMomValue(), and opdet::TrackTimeAssoc_tracksort().
|
inline |
Definition at line 198 of file Track.h.
References EndParametersLocal5D(), fID, ID(), recob::Trajectory::LocalToGlobalRotationAtPoint(), operator<, and VertexParametersLocal5D().
|
inline |
Covariance matrices are either set or not.
Definition at line 258 of file Track.h.
References recob::Trajectory::LocalToGlobalRotationAtPoint(), and operator<<.
|
inline |
Covariance matrices are either set or not.
Definition at line 241 of file Track.h.
References recob::Trajectory::LocationAtPoint().
Referenced by calo::TrackCalorimetryAlg::AnalyzeHit(), calo::TrackCalorimetryAlg::CreatePathLengthFractionVector(), evd::RecoBaseDrawer::DrawTrack2D(), evd::RecoBaseDrawer::DrawTrack3D(), evd::RecoBaseDrawer::DrawTrackOrtho(), recob::DumpTracks::DumpTrack(), calo::TrackCalorimetryAlg::ExtractCalorimetry(), lar_pandora::PFParticleHitDumper::FillRecoTracks(), opdet::FlashHypothesisCreator::GetFlashHypothesisCollection(), cosmic::BeamFlashTrackMatchTaggerAlg::GetMIPHypotheses(), trkf::TrackMomentumCalculator::GetMomentumMultiScatterChi2(), trkf::TrackMomentumCalculator::GetMomentumMultiScatterLLHD(), trkf::TrackMomentumCalculator::GetMultiScatterStartingPoint(), trkf::TrackMomentumCalculator::GetMuMultiScatterLLHD3(), shower::TrackShowerSeparationAlg::Gradient(), cosmic::CosmicTrackTagger::length(), trk::TrackContainmentAlg::MinDistanceEndPt(), trk::TrackContainmentAlg::MinDistanceStartPt(), cosmic::BeamFlashTrackMatchTaggerAlg::PrintTrackProperties(), calo::GeneralCalorimetry::produce(), cosmic::BeamFlashTrackMatchTaggerAlg::RunCompatibilityCheck(), cosmic::BeamFlashTrackMatchTaggerAlg::RunHypothesisComparison(), lar::util::TrackPitchInView(), and lar::util::TrackProjectedLength().
|
inline |
Access to track momentum at different points. The user must check that HasMomentum() returns true to ensure the validity of the result of these functions.
Definition at line 148 of file Track.h.
References recob::Trajectory::MomentumAtPoint().
Referenced by trkf::TrackKalmanFitter::fillResult().
|
inline |
Access to track momentum at different points. The user must check that HasMomentum() returns true to ensure the validity of the result of these functions.
Definition at line 155 of file Track.h.
References Extent(), recob::TrackTrajectory::Extent(), fCovVertex, recob::Trajectory::MomentumVectorAtPoint(), and StartCovariance().
|
inline |
Access to various track properties.
Definition at line 177 of file Track.h.
References fNdof.
Referenced by trkf::KalmanFilterTrajectoryFitter::restoreInputPoints(), and trkf::KalmanFilterFinalTrackFitter::restoreInputPoints().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 114 of file Track.h.
References recob::TrackTrajectory::NextValidPoint().
Referenced by trkf::TrackKalmanFitter::fillResult().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 110 of file Track.h.
References recob::Trajectory::NPoints().
Referenced by NumberFitMomentum().
|
inline |
Covariance matrices are either set or not.
Definition at line 239 of file Track.h.
Referenced by recob::DumpTracks::DumpTrack(), and recob::operator<<().
size_t Track::NumberdQdx | ( | geo::View_t | view = geo::kUnknown | ) | const |
Covariance matrices are either set or not.
Definition at line 67 of file Track.cxx.
References geo::kUnknown.
Referenced by Direction(), and calo::GeneralCalorimetry::produce().
|
inline |
Covariance matrices are either set or not.
Definition at line 244 of file Track.h.
References HasMomentum(), and NPoints().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 109 of file Track.h.
Referenced by lar_pandora::PFParticleTrackAna::analyze(), lar_pandora::PFParticleAnalysis::analyze(), trkf::TrackAna::analyze(), trkf::Track3DKalmanHit::createOutputs(), calo::TrackCalorimetryAlg::CreatePathLengthFractionVector(), evd::RecoBaseDrawer::DrawTrack2D(), evd::RecoBaseDrawer::DrawTrack3D(), evd::RecoBaseDrawer::DrawTrackOrtho(), evd::RecoBaseDrawer::DrawTrackVertexAssns2D(), recob::DumpTracks::DumpTrack(), calo::TrackCalorimetryAlg::ExtractCalorimetry(), lar_pandora::PFParticleHitDumper::FillRecoTracks(), opdet::FlashHypothesisCreator::GetFlashHypothesisCollection(), cosmic::BeamFlashTrackMatchTaggerAlg::GetMIPHypotheses(), trkf::TrackMomentumCalculator::GetMomentumMultiScatterChi2(), trkf::TrackMomentumCalculator::GetMomentumMultiScatterLLHD(), trkf::TrackMomentumCalculator::GetMultiScatterStartingPoint(), trkf::TrackMomentumCalculator::GetMuMultiScatterLLHD3(), shower::TrackShowerSeparationAlg::Gradient(), cosmic::CosmicTrackTagger::length(), trk::TrackContainmentAlg::MinDistanceEndPt(), trk::TrackContainmentAlg::MinDistanceStartPt(), recob::operator<<(), cosmic::BeamFlashTrackMatchTaggerAlg::PrintTrackProperties(), TrackProducerFromTrack::produce(), TrackProducerFromTrackTrajectory::produce(), calo::GeneralCalorimetry::produce(), TrackProducerFromPFParticle::produce(), cosmic::CosmicTrackTagger::produce(), trkf::KalmanFilterTrajectoryFitter::restoreInputPoints(), trkf::KalmanFilterFinalTrackFitter::restoreInputPoints(), trkmkr::KalmanFilterFitTrackMaker::restoreInputPoints(), cosmic::BeamFlashTrackMatchTaggerAlg::RunCompatibilityCheck(), cosmic::BeamFlashTrackMatchTaggerAlg::RunHypothesisComparison(), lar::util::TrackPitchInView(), lar::util::TrackProjectedLength(), and Trajectory().
|
inline |
Access to various track properties.
Definition at line 178 of file Track.h.
References fPId, Theta(), and recob::TrackTrajectory::Theta().
Referenced by trkf::Geometric3DVertexFitter::closestPointAlongTrack(), trkf::Geometric3DVertexFitter::fitTwoTracks(), trkf::Geometric3DVertexFitter::getParsCovsOnPlane(), trkf::KalmanFilterTrajectoryFitter::restoreInputPoints(), trkf::KalmanFilterFinalTrackFitter::restoreInputPoints(), and trkmkr::KalmanFilterFitTrackMaker::restoreInputPoints().
|
inline |
Access to spherical or geographical angles at vertex or at any point.
Definition at line 185 of file Track.h.
References recob::TrackTrajectory::Phi().
Referenced by recob::DumpTracks::DumpTrack(), and recob::operator<<().
|
inline |
Access to spherical or geographical angles at vertex or at any point.
Definition at line 186 of file Track.h.
References recob::TrackTrajectory::Phi().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 115 of file Track.h.
References recob::TrackTrajectory::PreviousValidPoint().
|
inline |
Access to track position at different points.
Definition at line 130 of file Track.h.
Referenced by trkf::Geometric3DVertexFitter::addTrackToVertex(), trkf::Geometric3DVertexFitter::closestPointAlongTrack(), trkf::TrackKalmanFitter::fillResult(), trkf::Geometric3DVertexFitter::fitTwoTracks(), and FlagsAtPoint().
|
inline |
Access to covariance matrices.
Definition at line 160 of file Track.h.
Referenced by trkf::TrackKalmanFitter::fillResult(), and MomentumVectorAtPoint().
|
inline |
Access to track direction at different points.
Definition at line 138 of file Track.h.
Referenced by trkf::Geometric3DVertexFitter::addTrackToVertex(), trkf::TrackKalmanFitter::fillResult(), and FlagsAtPoint().
|
inline |
Access to track momentum at different points. The user must check that HasMomentum() returns true to ensure the validity of the result of these functions.
Definition at line 150 of file Track.h.
References recob::TrackTrajectory::StartMomentum().
|
inline |
Access to track momentum at different points. The user must check that HasMomentum() returns true to ensure the validity of the result of these functions.
Definition at line 153 of file Track.h.
References recob::TrackTrajectory::StartMomentumVector().
|
inline |
Access to spherical or geographical angles at vertex or at any point.
Definition at line 183 of file Track.h.
Referenced by recob::DumpTracks::DumpTrack(), recob::operator<<(), and ParticleId().
|
inline |
Access to spherical or geographical angles at vertex or at any point.
Definition at line 184 of file Track.h.
References recob::TrackTrajectory::Theta().
|
inline |
Access to the stored recob::TrackTrajectory.
Definition at line 105 of file Track.h.
References fTraj, NumberTrajectoryPoints(), and recob::Trajectory::NumberTrajectoryPoints().
Referenced by trkf::Geometric3DVertexFitter::closestPointAlongTrack(), trkf::TrajectoryMCSFitter::fitMcs(), trkf::Geometric3DVertexFitter::fitTwoTracks(), trkf::Geometric3DVertexFitter::getParsCovsOnPlane(), trkmkr::TrackMaker::makeTrack(), trkmkr::KalmanFilterFitTrackMaker::makeTrack(), trkf::Geometric3DVertexFitter::pDist(), TrackProducerFromTrack::produce(), TrackProducerFromTrackTrajectory::produce(), TrackProducerFromPFParticle::produce(), trkf::KalmanFilterFinalTrackFitter::produce(), and trkf::KalmanFilterFinalTrackFitter::setDirFlip().
|
inline |
Covariance matrices are either set or not.
Definition at line 251 of file Track.h.
References Extent(), and recob::Trajectory::TrajectoryAtPoint().
Referenced by lar_pandora::PFParticleTrackAna::analyze().
|
inline |
Access to i-th TrajectoryPoint or its Flags.
Definition at line 124 of file Track.h.
Referenced by CountValidPoints().
|
inline |
Covariance matrices are either set or not.
Definition at line 245 of file Track.h.
References recob::TrackTrajectory::Vertex().
Referenced by lar_pandora::PFParticleAnalysis::analyze(), lar_pandora::PFParticleMonitoring::analyze(), trkf::TrackAna::analyze(), evd::RecoBaseDrawer::DrawTrack2D(), recob::DumpTracks::DumpTrack(), lar_pandora::PFParticleCosmicAna::FillRecoTree(), trkf::StitchAlg::FindHeadsAndTails(), shower::EMShowerAlg::FindInitialTrack(), mvapid::MVAAlg::FitAndSortTrack(), DUNE::MuonTrackingEff::FuncDistanceAndAngleBetweenTracks(), DUNE::MuonTrackingEff::FuncDistanceAndAngleBetweenTruthAndRecoTrack(), ems::MergeEMShower3D::getCos3D(), trk::TrackContainmentAlg::GetCosmicTagID(), trk::TrackContainmentAlg::IsContained(), mvapid::MVAAlg::LinFit(), shower::EMShowerAlg::MakeShower(), trk::TrackContainmentAlg::MinDistanceStartPt(), DUNE::MuonTrackingEff::processEff(), cosmic::CosmicPFParticleTagger::produce(), cosmic::CosmicTrackTagger::produce(), and ems::ShowerInfo::ShowerInfo().
TMatrixD Track::VertexCovariance | ( | ) | const |
Covariance matrices are either set or not.
Definition at line 131 of file Track.cxx.
Referenced by trkf::TrackAna::analyze(), CovarianceAtPoint(), and EndDirection().
Track::SMatrixSym66 Track::VertexCovarianceGlobal6D | ( | ) | const |
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates.
Definition at line 189 of file Track.cxx.
Referenced by trkf::Geometric3DVertexFitter::addTrackToVertex(), trkf::Geometric3DVertexFitter::closestPointAlongTrack(), EndCovarianceLocal5D(), and trkf::Geometric3DVertexFitter::fitTwoTracks().
|
inline |
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates.
Definition at line 213 of file Track.h.
References fCovVertex.
Referenced by trkf::Geometric3DVertexFitter::closestPointAlongTrack(), trkf::Geometric3DVertexFitter::fitTwoTracks(), trkf::Geometric3DVertexFitter::getParsCovsOnPlane(), and trkf::KalmanFilterFinalTrackFitter::produce().
|
inline |
Covariance matrices are either set or not.
Definition at line 247 of file Track.h.
References dir, and recob::TrackTrajectory::VertexDirection().
Referenced by lar_pandora::PFParticleAnalysis::analyze(), lar_pandora::PFParticleMonitoring::analyze(), trkf::TrackAna::analyze(), evd::RecoBaseDrawer::DrawTrack2D(), recob::DumpTracks::DumpTrack(), lar_pandora::PFParticleCosmicAna::FillRecoTree(), trkf::StitchAlg::FindHeadsAndTails(), shower::EMShowerAlg::FindInitialTrack(), DUNE::MuonTrackingEff::FuncDistanceAndAngleBetweenTracks(), ems::MergeEMShower3D::getCos3D(), shower::TrackShowerSeparationAlg::Gradient(), shower::EMShowerAlg::MakeShower(), recob::operator<<(), cosmic::CosmicPFParticleTagger::produce(), trkf::KalmanFilterFinalTrackFitter::setDirFlip(), and ems::ShowerInfo::ShowerInfo().
|
inline |
Access to track momentum at different points. The user must check that HasMomentum() returns true to ensure the validity of the result of these functions.
Definition at line 149 of file Track.h.
References recob::TrackTrajectory::VertexMomentum().
Referenced by trkf::TrackAna::analyze(), trkf::KalmanFilterTrajectoryFitter::restoreInputPoints(), and trkf::KalmanFilterFinalTrackFitter::restoreInputPoints().
|
inline |
Access to track momentum at different points. The user must check that HasMomentum() returns true to ensure the validity of the result of these functions.
Definition at line 152 of file Track.h.
References recob::TrackTrajectory::VertexMomentumVector().
Track::SVector6 Track::VertexParametersGlobal6D | ( | ) | const |
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates.
Definition at line 157 of file Track.cxx.
Referenced by EndCovarianceLocal5D().
Track::SVector5 Track::VertexParametersLocal5D | ( | ) | const |
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates.
Definition at line 179 of file Track.cxx.
Referenced by trkf::Geometric3DVertexFitter::closestPointAlongTrack(), trkf::Geometric3DVertexFitter::fitTwoTracks(), trkf::Geometric3DVertexFitter::getParsCovsOnPlane(), and LocalToGlobalRotationAtPoint().
|
inline |
Access to spherical or geographical angles at vertex or at any point.
Definition at line 187 of file Track.h.
References recob::TrackTrajectory::ZenithAngle().
|
inline |
Access to spherical or geographical angles at vertex or at any point.
Definition at line 188 of file Track.h.
References recob::TrackTrajectory::ZenithAngle().
Track ID number, needed to relate a track to its possible track parent (e.g. in case of a refit). Note that art Assns to the same object are not currently supported. The < operator is based on the track ID.
Definition at line 122 of file Track.cxx.
Referenced by LocalToGlobalRotationAtPoint().
|
friend |
— END Deprecated methods ------------------------------------------—
Definition at line 95 of file Track.cxx.
Referenced by LocalToGlobalRotationAtPoint().
|
protected |
|
protected |
Covariance matrix (local 5D representation) at end point.
Definition at line 79 of file Track.h.
Referenced by Covariances(), and EndCovarianceLocal5D().
|
protected |
Covariance matrix (local 5D representation) at start point (vertex)
Definition at line 78 of file Track.h.
Referenced by Covariances(), MomentumVectorAtPoint(), and VertexCovarianceLocal5D().
|
protected |
charge deposition per unit length at points along track outer vector index is over view
Definition at line 83 of file Track.h.
Referenced by recob::operator<<().
|
protected |
|
protected |
|
protected |
Particle ID hypothesis used in the fit (if any)
Definition at line 75 of file Track.h.
Referenced by ParticleId().
|
protected |