LArSoft
v07_13_02
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... | |
Point_t const & | Vertex () const |
Access to track position at different points. More... | |
Point_t const & | End () const |
Access to track position at different points. More... | |
Point_t const & | LocationAtPoint (size_t i) const |
Access to track position at different points. More... | |
Vector_t | StartDirection () const |
Access to track direction at different points. More... | |
Vector_t | VertexDirection () const |
Access to track direction at different points. More... | |
Vector_t | EndDirection () const |
Access to track direction at different points. More... | |
Vector_t | DirectionAtPoint (size_t i) 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... | |
const SMatrixSym55 & | VertexCovariance () const |
Access to covariance matrices. More... | |
const SMatrixSym55 & | EndCovariance () 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... | |
Templated version of homonymous functions to access to position, direction, momentum information, and covariances. | |
template<typename T > | |
T | Start () const |
Start position. Use e.g. as: More... | |
template<typename T > | |
T | Vertex () const |
Start position. Use e.g. as: More... | |
template<typename T > | |
T | End () const |
End position. Use e.g. as: More... | |
template<typename T > | |
T | LocationAtPoint (unsigned int p) const |
Position at point p. Use e.g. as: More... | |
template<typename T > | |
T | StartDirection () const |
Start direction. Use e.g. as: More... | |
template<typename T > | |
T | VertexDirection () const |
Start direction. Use e.g. as: More... | |
template<typename T > | |
T | EndDirection () const |
End direction. Use e.g. as: More... | |
template<typename T > | |
T | DirectionAtPoint (unsigned int p) const |
Direction at point p. Use e.g. as: More... | |
template<typename T > | |
T | StartMomentumVector () const |
Momentum vector at start point. Use e.g. as: More... | |
template<typename T > | |
T | VertexMomentumVector () const |
Momentum vector at start point. Use e.g. as: More... | |
template<typename T > | |
T | EndMomentumVector () const |
Momentum vector at end point. Use e.g. as: More... | |
template<typename T > | |
T | MomentumVectorAtPoint (unsigned int p) const |
Momentum vector at point p. Use e.g. as: More... | |
template<typename T > | |
T | StartCovariance () const |
Covariance matrix at start point. Use e.g. as: More... | |
template<typename T > | |
T | VertexCovariance () const |
Covariance matrix at start point. Use e.g. as: More... | |
template<typename T > | |
T | EndCovariance () const |
Covariance matrix at end point. Use e.g. as: More... | |
template<typename T > | |
std::pair< T, T > | Extent () const |
Position at start and end points. Use e.g. as: More... | |
template<typename T > | |
std::pair< T, T > | Direction () const |
Direction at start and end points. Use e.g. as: More... | |
template<typename T > | |
T | GlobalToLocalRotationAtPoint (unsigned int p) const |
Returns a rotation matrix that brings trajectory direction along z. Use e.g. as: More... | |
template<typename T > | |
T | LocalToGlobalRotationAtPoint (unsigned int p) const |
Returns a rotation matrix bringing relative directions to global. Use e.g. as: 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... | |
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; for a discussion on the object type for coordinates see recob::tracking::Coord_t.
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 |
|
inline |
Definition at line 88 of file Track.h.
|
inline |
Definition at line 92 of file Track.h.
|
inline |
Definition at line 96 of file Track.h.
|
inline |
Access to spherical or geographical angles at vertex or at any point.
Definition at line 185 of file Track.h.
References recob::TrackTrajectory::AzimuthAngle().
|
inline |
Access to spherical or geographical angles at vertex or at any point.
Definition at line 186 of file Track.h.
References recob::TrackTrajectory::AzimuthAngle().
|
inline |
Access to various track properties.
Definition at line 171 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 172 of file Track.h.
References util::kBogusF.
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 115 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 |
Access to position, momentum or covariance at the start and end of the track.
Definition at line 165 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 164 of file Track.h.
References recob::TrackTrajectory::Direction().
|
inline |
Direction at start and end points. Use e.g. as:
.
Definition at line 269 of file Track.h.
References recob::TrackTrajectory::Direction().
|
inline |
Access to track direction at different points.
Definition at line 137 of file Track.h.
References recob::TrackTrajectory::DirectionAtPoint(), HasMomentum(), and recob::Trajectory::HasMomentum().
Referenced by lar_pandora::PFParticleTrackAna::analyze(), evd::RecoBaseDrawer::DrawTrack3D(), lar::util::TrackPitchInView(), and lar::util::TrackProjectedLength().
|
inline |
Direction at point p. Use e.g. as:
.
Definition at line 242 of file Track.h.
References recob::TrackTrajectory::DirectionAtPoint().
|
inline |
Access to track position at different points.
Definition at line 128 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(), EndParametersGlobal6D(), 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(), shower::TCShowerAlg::makeShowers(), trk::TrackContainmentAlg::MinDistanceEndPt(), cosmic::CosmicPFParticleTagger::produce(), cosmic::CosmicTrackTagger::produce(), and ems::ShowerInfo::ShowerInfo().
|
inline |
End position. Use e.g. as:
.
Definition at line 227 of file Track.h.
References recob::TrackTrajectory::End().
|
inline |
Access to covariance matrices.
Definition at line 158 of file Track.h.
References Extent(), recob::TrackTrajectory::Extent(), and fCovEnd.
Referenced by trkf::TrackAna::analyze(), and VertexCovariance().
|
inline |
Covariance matrix at end point. Use e.g. as:
.
Definition at line 296 of file Track.h.
References fCovEnd.
Track::SMatrixSym66 Track::EndCovarianceGlobal6D | ( | ) | const |
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates.
Definition at line 87 of file Track.cxx.
References recob::TrackTrajectory::EndDirection(), recob::TrackTrajectory::EndMomentumVector(), fCovEnd, fTraj, HasMomentum(), and recob::tracking::Plane::Local5DToGlobal6DCovariance().
Referenced by EndCovarianceLocal5D().
|
inline |
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates.
Definition at line 210 of file Track.h.
References EndCovarianceGlobal6D(), EndParametersGlobal6D(), fCovEnd, VertexCovarianceGlobal6D(), and VertexParametersGlobal6D().
Referenced by trkf::KalmanFilterFinalTrackFitter::produce().
|
inline |
Access to track direction at different points.
Definition at line 136 of file Track.h.
References recob::TrackTrajectory::EndDirection().
Referenced by lar_pandora::PFParticleAnalysis::analyze(), trkf::TrackAna::analyze(), recob::DumpTracks::DumpTrack(), EndParametersGlobal6D(), lar_pandora::PFParticleCosmicAna::FillRecoTree(), trkf::StitchAlg::FindHeadsAndTails(), DUNE::MuonTrackingEff::FuncDistanceAndAngleBetweenTracks(), shower::TCShowerAlg::makeShowers(), and recob::operator<<().
|
inline |
End direction. Use e.g. as:
.
Definition at line 239 of file Track.h.
References recob::TrackTrajectory::EndDirection().
|
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.
References recob::TrackTrajectory::EndMomentum().
Referenced by trkf::TrackAna::analyze(), and EndParametersLocal5D().
|
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::EndMomentumVector().
|
inline |
Momentum vector at end point. Use e.g. as:
.
Definition at line 251 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 62 of file Track.cxx.
References End(), and EndDirection().
Referenced by EndCovarianceLocal5D().
Track::SVector5 Track::EndParametersLocal5D | ( | ) | const |
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates.
Definition at line 78 of file Track.cxx.
References EndMomentum(), and HasMomentum().
Referenced by LocalToGlobalRotationAtPoint().
Access to position, momentum or covariance at the start and end of the track.
Definition at line 163 of file Track.h.
Referenced by EndCovariance().
|
inline |
Position at start and end points. Use e.g. as:
.
Definition at line 266 of file Track.h.
References recob::TrackTrajectory::Extent().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 107 of file Track.h.
References recob::Trajectory::FirstPoint().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 109 of file Track.h.
References recob::TrackTrajectory::FirstValidPoint().
|
inline |
Access to i-th TrajectoryPoint or its Flags.
Definition at line 121 of file Track.h.
References recob::TrackTrajectory::FlagsAtPoint(), Start(), and recob::TrackTrajectory::Start().
Referenced by trkf::KalmanFilterTrajectoryFitter::restoreInputPoints(), trkf::KalmanFilterFinalTrackFitter::restoreInputPoints(), and trkmkr::KalmanFilterFitTrackMaker::restoreInputPoints().
|
inline |
Definition at line 193 of file Track.h.
References recob::TrackTrajectory::GlobalToLocalRotationAtPoint().
Referenced by trkf::TrackAna::analyze().
|
inline |
Returns a rotation matrix that brings trajectory direction along z. Use e.g. as:
.
Definition at line 272 of file Track.h.
References recob::TrackTrajectory::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 143 of file Track.h.
Referenced by trkf::TrackAna::analyze(), DirectionAtPoint(), EndCovarianceGlobal6D(), EndParametersLocal5D(), VertexCovarianceGlobal6D(), and VertexParametersLocal5D().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 113 of file Track.h.
References recob::Trajectory::HasPoint().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 114 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 201 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(), and trkmkr::KalmanFilterFitTrackMaker::restoreInputPoints().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 108 of file Track.h.
References recob::Trajectory::LastPoint().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 112 of file Track.h.
References recob::TrackTrajectory::LastValidPoint().
|
inline |
Access to various track properties.
Definition at line 170 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(), cosmic::CosmicTrackTagger::length(), calo::TrackCalorimetryAlg::MakeCalorimetryObject(), lar_pandora::LArPandoraEventDump::PrintTrack(), cosmic::BeamFlashTrackMatchTaggerAlg::PrintTrackProperties(), DUNE::NeutrinoTrackingEff::processEff(), DUNE::MuonTrackingEff::processEff(), opdet::TrackTimeAssoc::produce(), cosmic::CosmicTrackTagger::produce(), cosmic::BeamFlashTrackMatchTaggerAlg::RunCompatibilityCheck(), cosmic::BeamFlashTrackMatchTaggerAlg::RunHypothesisComparison(), trkf::KalmanFilterFinalTrackFitter::setMomValue(), and opdet::TrackTimeAssoc_tracksort().
|
inline |
Definition at line 194 of file Track.h.
References EndParametersLocal5D(), fID, ID(), recob::TrackTrajectory::LocalToGlobalRotationAtPoint(), operator<, and VertexParametersLocal5D().
|
inline |
Returns a rotation matrix bringing relative directions to global. Use e.g. as:
.
Definition at line 275 of file Track.h.
References recob::TrackTrajectory::LocalToGlobalRotationAtPoint(), and operator<<.
|
inline |
Access to track position at different points.
Definition at line 129 of file Track.h.
References recob::TrackTrajectory::LocationAtPoint(), StartDirection(), and recob::TrackTrajectory::StartDirection().
Referenced by lar_pandora::PFParticleTrackAna::analyze(), 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(), trk::TrackContainmentAlg::MinDistanceEndPt(), trk::TrackContainmentAlg::MinDistanceStartPt(), cosmic::BeamFlashTrackMatchTaggerAlg::PrintTrackProperties(), cosmic::BeamFlashTrackMatchTaggerAlg::RunCompatibilityCheck(), cosmic::BeamFlashTrackMatchTaggerAlg::RunHypothesisComparison(), lar::util::TrackPitchInView(), and lar::util::TrackProjectedLength().
|
inline |
Position at point p. Use e.g. as:
.
Definition at line 230 of file Track.h.
References recob::TrackTrajectory::LocationAtPoint().
|
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 144 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 151 of file Track.h.
References fCovVertex, recob::TrackTrajectory::MomentumVectorAtPoint(), and StartCovariance().
|
inline |
Momentum vector at point p. Use e.g. as:
.
Definition at line 254 of file Track.h.
References recob::TrackTrajectory::MomentumVectorAtPoint(), and StartCovariance().
|
inline |
Access to various track properties.
Definition at line 173 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 110 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 106 of file Track.h.
References recob::Trajectory::NPoints().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 105 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(), trk::TrackContainmentAlg::MinDistanceEndPt(), trk::TrackContainmentAlg::MinDistanceStartPt(), recob::operator<<(), lar_pandora::LArPandoraEventDump::PrintTrack(), cosmic::BeamFlashTrackMatchTaggerAlg::PrintTrackProperties(), TrackProducerFromTrack::produce(), TrackProducerFromTrackTrajectory::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 174 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 181 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 182 of file Track.h.
References recob::TrackTrajectory::Phi().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 111 of file Track.h.
References recob::TrackTrajectory::PreviousValidPoint().
|
inline |
Access to track position at different points.
Definition at line 126 of file Track.h.
Referenced by trkf::Geometric3DVertexFitter::addTrackToVertex(), trkf::Geometric3DVertexFitter::closestPointAlongTrack(), trkf::TrackKalmanFitter::fillResult(), trkf::Geometric3DVertexFitter::fitTwoTracks(), and FlagsAtPoint().
|
inline |
Start position. Use e.g. as:
.
Definition at line 221 of file Track.h.
References recob::TrackTrajectory::Start().
|
inline |
Access to covariance matrices.
Definition at line 156 of file Track.h.
Referenced by trkf::TrackKalmanFitter::fillResult(), and MomentumVectorAtPoint().
|
inline |
Covariance matrix at start point. Use e.g. as:
.
Definition at line 286 of file Track.h.
References fCovVertex.
|
inline |
Access to track direction at different points.
Definition at line 134 of file Track.h.
Referenced by trkf::Geometric3DVertexFitter::addTrackToVertex(), trkf::TrackKalmanFitter::fillResult(), and LocationAtPoint().
|
inline |
Start direction. Use e.g. as:
.
Definition at line 233 of file Track.h.
References recob::TrackTrajectory::StartDirection().
|
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 146 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 149 of file Track.h.
References recob::TrackTrajectory::StartMomentumVector().
|
inline |
Momentum vector at start point. Use e.g. as:
.
Definition at line 245 of file Track.h.
References recob::TrackTrajectory::StartMomentumVector().
|
inline |
Access to spherical or geographical angles at vertex or at any point.
Definition at line 179 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 180 of file Track.h.
References recob::TrackTrajectory::Theta().
|
inline |
Access to the stored recob::TrackTrajectory.
Definition at line 101 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(), trkf::KalmanFilterFinalTrackFitter::produce(), and trkf::KalmanFilterFinalTrackFitter::setDirFlip().
|
inline |
Access to i-th TrajectoryPoint or its Flags.
Definition at line 120 of file Track.h.
Referenced by CountValidPoints().
|
inline |
Access to track position at different points.
Definition at line 127 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(), shower::TCShowerAlg::makeShowers(), trk::TrackContainmentAlg::MinDistanceStartPt(), DUNE::MuonTrackingEff::processEff(), cosmic::CosmicPFParticleTagger::produce(), cosmic::CosmicTrackTagger::produce(), ems::ShowerInfo::ShowerInfo(), and VertexParametersGlobal6D().
|
inline |
Start position. Use e.g. as:
.
Definition at line 224 of file Track.h.
References recob::TrackTrajectory::Vertex().
|
inline |
Access to covariance matrices.
Definition at line 157 of file Track.h.
References fCovVertex.
Referenced by trkf::TrackAna::analyze().
|
inline |
Covariance matrix at start point. Use e.g. as:
.
Definition at line 260 of file Track.h.
References EndCovariance().
Track::SMatrixSym66 Track::VertexCovarianceGlobal6D | ( | ) | const |
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates.
Definition at line 83 of file Track.cxx.
References fCovVertex, fTraj, HasMomentum(), recob::tracking::Plane::Local5DToGlobal6DCovariance(), recob::TrackTrajectory::VertexDirection(), and recob::TrackTrajectory::VertexMomentumVector().
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 209 of file Track.h.
References fCovVertex.
Referenced by trkf::Geometric3DVertexFitter::closestPointAlongTrack(), trkf::Geometric3DVertexFitter::fitTwoTracks(), trkf::Geometric3DVertexFitter::getParsCovsOnPlane(), and trkf::KalmanFilterFinalTrackFitter::produce().
|
inline |
Access to track direction at different points.
Definition at line 135 of file Track.h.
References 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(), shower::TCShowerAlg::makeShowers(), recob::operator<<(), cosmic::CosmicPFParticleTagger::produce(), trkf::KalmanFilterFinalTrackFitter::setDirFlip(), ems::ShowerInfo::ShowerInfo(), and VertexParametersGlobal6D().
|
inline |
Start direction. Use e.g. as:
.
Definition at line 236 of file Track.h.
References recob::TrackTrajectory::VertexDirection().
|
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 145 of file Track.h.
References recob::TrackTrajectory::VertexMomentum().
Referenced by trkf::TrackAna::analyze(), trkf::KalmanFilterTrajectoryFitter::restoreInputPoints(), trkf::KalmanFilterFinalTrackFitter::restoreInputPoints(), and VertexParametersLocal5D().
|
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::TrackTrajectory::VertexMomentumVector().
|
inline |
Momentum vector at start point. Use e.g. as:
.
Definition at line 248 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 51 of file Track.cxx.
References Vertex(), and VertexDirection().
Referenced by EndCovarianceLocal5D().
Track::SVector5 Track::VertexParametersLocal5D | ( | ) | const |
Accessors to track parameters and covariance matrices in Local5D and Global6D coordinates.
Definition at line 73 of file Track.cxx.
References HasMomentum(), and VertexMomentum().
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 183 of file Track.h.
References recob::TrackTrajectory::ZenithAngle().
|
inline |
Access to spherical or geographical angles at vertex or at any point.
Definition at line 184 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 42 of file Track.cxx.
Referenced by LocalToGlobalRotationAtPoint().
|
friend |
Definition at line 23 of file Track.cxx.
Referenced by LocalToGlobalRotationAtPoint().
|
protected |
|
protected |
Covariance matrix (local 5D representation) at end point.
Definition at line 80 of file Track.h.
Referenced by Covariances(), EndCovariance(), EndCovarianceGlobal6D(), and EndCovarianceLocal5D().
|
protected |
Covariance matrix (local 5D representation) at start point (vertex)
Definition at line 79 of file Track.h.
Referenced by Covariances(), MomentumVectorAtPoint(), StartCovariance(), VertexCovariance(), VertexCovarianceGlobal6D(), and VertexCovarianceLocal5D().
|
protected |
|
protected |
|
protected |
Particle ID hypothesis used in the fit (if any)
Definition at line 76 of file Track.h.
Referenced by ParticleId().
|
protected |
Stored trajectory data member.
Definition at line 75 of file Track.h.
Referenced by EndCovarianceGlobal6D(), Trajectory(), and VertexCovarianceGlobal6D().