LArSoft
v09_90_00
Liquid Argon Software toolkit - https://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 83 of file Track.h.
|
inline |
Definition at line 98 of file Track.h.
|
inline |
Definition at line 113 of file Track.h.
|
inline |
Access to spherical or geographical angles at vertex or at any point.
Definition at line 222 of file Track.h.
References recob::TrackTrajectory::AzimuthAngle().
|
inline |
Access to spherical or geographical angles at vertex or at any point.
Definition at line 223 of file Track.h.
References recob::TrackTrajectory::AzimuthAngle().
|
inline |
Access to various track properties.
Definition at line 208 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 209 of file Track.h.
References util::kBogusF.
Referenced by trkf::TrackKalmanFitter::fillResult().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 146 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::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 199 of file Track.h.
References fCovEnd, fCovVertex, Length(), and recob::TrackTrajectory::Length().
Referenced by 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 198 of file Track.h.
References recob::TrackTrajectory::Direction().
|
inline |
Direction at start and end points. Use e.g. as:
.
Definition at line 371 of file Track.h.
References recob::TrackTrajectory::Direction().
|
inline |
Access to track direction at different points.
Definition at line 168 of file Track.h.
References recob::TrackTrajectory::DirectionAtPoint(), HasMomentum(), and recob::Trajectory::HasMomentum().
Referenced by lar_pandora::PFParticleTrackAna::analyze(), ShowerRecoTools::ShowerTrackDirection::CalculateElement(), ShowerRecoTools::ShowerTrackTrajPointDirection::CalculateElement(), ShowerRecoTools::ShowerTrackColinearTrajPointDirection::CalculateElement(), ShowerRecoTools::ShowerTrajPointdEdx::CalculateElement(), evd::RecoBaseDrawer::DrawTrack3D(), calo::GnocchiCalorimetry::GetPitch(), calo::GnocchiCalorimetry::produce(), and lar::util::TrackProjectedLength().
|
inline |
Direction at point p. Use e.g. as:
.
Definition at line 314 of file Track.h.
References recob::TrackTrajectory::DirectionAtPoint().
|
inline |
Access to track position at different points.
Definition at line 159 of file Track.h.
References recob::TrackTrajectory::End().
Referenced by lar_pandora::PFParticleAnalysis::analyze(), lar_pandora::PFParticleMonitoring::analyze(), trkf::TrackAna::analyze(), ShowerRecoTools::ShowerPandoraSlidingFitTrackFinder::CalculateElement(), evd::RecoBaseDrawer::DrawTrackOrtho(), evd::RecoBaseDrawer::DrawTrackVertexAssns2D(), recob::DumpTracks::DumpTrack(), EndParametersGlobal6D(), lar_pandora::PFParticleCosmicAna::FillRecoTree(), trkf::StitchAlg::FindHeadsAndTails(), mvapid::MVAAlg::FitAndSortTrack(), DUNE::MuonTrackingEff::FuncDistanceAndAngleBetweenTracks(), trk::TrackContainmentAlg::GetCosmicTagID(), trk::TrackContainmentAlg::IsContained(), mvapid::MVAAlg::LinFit(), shower::TCShowerAlg::makeShowers(), trk::TrackContainmentAlg::MinDistanceEndPt(), cosmic::CosmicTrackTagger::produce(), and cosmic::CosmicPFParticleTagger::produce().
|
inline |
End position. Use e.g. as:
.
Definition at line 279 of file Track.h.
References recob::TrackTrajectory::End().
|
inline |
Access to covariance matrices.
Definition at line 192 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 409 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 253 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 167 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 307 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 178 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 181 of file Track.h.
References recob::TrackTrajectory::EndMomentumVector().
|
inline |
Momentum vector at end point. Use e.g. as:
.
Definition at line 335 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 57 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 75 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 197 of file Track.h.
Referenced by EndCovariance().
|
inline |
Position at start and end points. Use e.g. as:
.
Definition at line 364 of file Track.h.
References recob::TrackTrajectory::Extent().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 138 of file Track.h.
References recob::Trajectory::FirstPoint().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 140 of file Track.h.
References recob::TrackTrajectory::FirstValidPoint().
|
inline |
Access to i-th TrajectoryPoint or its Flags.
Definition at line 152 of file Track.h.
References recob::TrackTrajectory::FlagsAtPoint(), Start(), and recob::TrackTrajectory::Start().
Referenced by ShowerRecoTools::ShowerTrackDirection::CalculateElement(), ShowerRecoTools::ShowerTrackTrajPointDirection::CalculateElement(), ShowerRecoTools::ShowerTrackTrajToSpacePoint::CalculateElement(), ShowerRecoTools::ShowerTrackColinearTrajPointDirection::CalculateElement(), ShowerRecoTools::ShowerTrajPointdEdx::CalculateElement(), shower::LArPandoraShowerAlg::DebugEVD(), trkf::KalmanFilterTrajectoryFitter::restoreInputPoints(), trkf::KalmanFilterFinalTrackFitter::restoreInputPoints(), and trkmkr::KalmanFilterFitTrackMaker::restoreInputPoints().
|
inline |
Definition at line 230 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 378 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 174 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 144 of file Track.h.
References recob::Trajectory::HasPoint().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 145 of file Track.h.
References recob::TrackTrajectory::HasValidPoint().
Referenced by evd::RecoBaseDrawer::DrawTrack2D(), evd::RecoBaseDrawer::DrawTrack3D(), evd::RecoBaseDrawer::DrawTrackOrtho(), trkf::TrackKalmanFitter::fillResult(), trkf::TrackMomentumCalculator::GetMomentumMultiScatterChi2(), trkf::TrackMomentumCalculator::GetMomentumMultiScatterLLHD(), and calo::GnocchiCalorimetry::HitIsValid().
|
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 244 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(), 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 139 of file Track.h.
References recob::Trajectory::LastPoint().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 143 of file Track.h.
References recob::TrackTrajectory::LastValidPoint().
|
inline |
Access to various track properties.
Definition at line 207 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(), lar_pandora::LArPandoraEventDump::PrintTrack(), cosmic::BeamFlashTrackMatchTaggerAlg::PrintTrackProperties(), DUNE::MuonTrackingEff::processEff(), DUNE::NeutrinoTrackingEff::processEff(), cosmic::CosmicTrackTagger::produce(), cosmic::BeamFlashTrackMatchTaggerAlg::RunCompatibilityCheck(), cosmic::BeamFlashTrackMatchTaggerAlg::RunHypothesisComparison(), and trkf::KalmanFilterFinalTrackFitter::setMomValue().
|
inline |
Definition at line 234 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 385 of file Track.h.
References recob::TrackTrajectory::LocalToGlobalRotationAtPoint(), and operator<<.
|
inline |
Access to track position at different points.
Definition at line 160 of file Track.h.
References recob::TrackTrajectory::LocationAtPoint(), StartDirection(), and recob::TrackTrajectory::StartDirection().
Referenced by lar_pandora::PFParticleTrackAna::analyze(), calo::TrackCalorimetryAlg::AnalyzeHit(), ShowerRecoTools::ShowerTrackStartPosition::CalculateElement(), ShowerRecoTools::ShowerTrackDirection::CalculateElement(), ShowerRecoTools::ShowerTrackTrajPointDirection::CalculateElement(), ShowerRecoTools::ShowerTrackTrajToSpacePoint::CalculateElement(), ShowerRecoTools::ShowerTrackColinearTrajPointDirection::CalculateElement(), ShowerRecoTools::ShowerTrajPointdEdx::CalculateElement(), calo::TrackCalorimetryAlg::CreatePathLengthFractionVector(), shower::LArPandoraShowerAlg::DebugEVD(), evd::RecoBaseDrawer::DrawTrack2D(), evd::RecoBaseDrawer::DrawTrack3D(), evd::RecoBaseDrawer::DrawTrackOrtho(), recob::DumpTracks::DumpTrack(), calo::TrackCalorimetryAlg::ExtractCalorimetry(), lar_pandora::PFParticleHitDumper::FillRecoTracks(), opdet::FlashHypothesisCreator::GetFlashHypothesisCollection(), calo::GnocchiCalorimetry::GetLocation(), calo::GnocchiCalorimetry::GetLocationAtWires(), cosmic::BeamFlashTrackMatchTaggerAlg::GetMIPHypotheses(), trkf::TrackMomentumCalculator::GetMomentumMultiScatterChi2(), trkf::TrackMomentumCalculator::GetMomentumMultiScatterLLHD(), trkf::TrackMomentumCalculator::GetMultiScatterStartingPoint(), trkf::TrackMomentumCalculator::GetMuMultiScatterLLHD3(), calo::GnocchiCalorimetry::GetPitch(), shower::TrackShowerSeparationAlg::Gradient(), trk::TrackContainmentAlg::MinDistanceEndPt(), trk::TrackContainmentAlg::MinDistanceStartPt(), cosmic::BeamFlashTrackMatchTaggerAlg::PrintTrackProperties(), calo::GnocchiCalorimetry::produce(), cosmic::BeamFlashTrackMatchTaggerAlg::RunCompatibilityCheck(), cosmic::BeamFlashTrackMatchTaggerAlg::RunHypothesisComparison(), and lar::util::TrackProjectedLength().
|
inline |
Position at point p. Use e.g. as:
.
Definition at line 286 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 175 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 182 of file Track.h.
References fCovVertex, recob::TrackTrajectory::MomentumVectorAtPoint(), and StartCovariance().
|
inline |
Momentum vector at point p. Use e.g. as:
.
Definition at line 342 of file Track.h.
References recob::TrackTrajectory::MomentumVectorAtPoint(), and StartCovariance().
|
inline |
Access to various track properties.
Definition at line 210 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 141 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 137 of file Track.h.
References recob::Trajectory::NPoints().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 136 of file Track.h.
Referenced by lar_pandora::PFParticleTrackAna::analyze(), lar_pandora::PFParticleAnalysis::analyze(), trkf::TrackAna::analyze(), ShowerRecoTools::ShowerTrackDirection::CalculateElement(), ShowerRecoTools::ShowerTrackTrajPointDirection::CalculateElement(), ShowerRecoTools::ShowerTrackTrajToSpacePoint::CalculateElement(), ShowerRecoTools::ShowerTrackColinearTrajPointDirection::CalculateElement(), ShowerRecoTools::ShowerTrajPointdEdx::CalculateElement(), trkf::Track3DKalmanHit::createOutputs(), calo::TrackCalorimetryAlg::CreatePathLengthFractionVector(), shower::LArPandoraShowerAlg::DebugEVD(), 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(), cosmic::CosmicTrackTagger::produce(), TrackProducerFromTrack::produce(), TrackProducerFromTrackTrajectory::produce(), TrackProducerFromPFParticle::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 211 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 218 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 219 of file Track.h.
References recob::TrackTrajectory::Phi().
|
inline |
Various functions related to the presence and the number of (valid) points.
Definition at line 142 of file Track.h.
References recob::TrackTrajectory::PreviousValidPoint().
|
inline |
Access to track position at different points.
Definition at line 157 of file Track.h.
Referenced by trkf::Geometric3DVertexFitter::addTrackToVertex(), ShowerRecoTools::ShowerTrackDirection::CalculateElement(), ShowerRecoTools::ShowerTrackTrajPointDirection::CalculateElement(), ShowerRecoTools::ShowerTrackSpacePointDirection::CalculateElement(), ShowerRecoTools::ShowerTrackHitDirection::CalculateElement(), ShowerRecoTools::ShowerTrackColinearTrajPointDirection::CalculateElement(), ShowerRecoTools::ShowerPandoraSlidingFitTrackFinder::CalculateElement(), trkf::Geometric3DVertexFitter::closestPointAlongTrack(), trkf::TrackKalmanFitter::fillResult(), trkf::Geometric3DVertexFitter::fitTwoTracks(), and FlagsAtPoint().
|
inline |
Start position. Use e.g. as:
.
Definition at line 265 of file Track.h.
References recob::TrackTrajectory::Start().
|
inline |
Access to covariance matrices.
Definition at line 190 of file Track.h.
Referenced by trkf::TrackKalmanFitter::fillResult(), and MomentumVectorAtPoint().
|
inline |
Covariance matrix at start point. Use e.g. as:
.
Definition at line 397 of file Track.h.
References fCovVertex.
|
inline |
Access to track direction at different points.
Definition at line 165 of file Track.h.
Referenced by trkf::Geometric3DVertexFitter::addTrackToVertex(), trkf::TrackKalmanFitter::fillResult(), and LocationAtPoint().
|
inline |
Start direction. Use e.g. as:
.
Definition at line 293 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 177 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 180 of file Track.h.
References recob::TrackTrajectory::StartMomentumVector().
|
inline |
Momentum vector at start point. Use e.g. as:
.
Definition at line 321 of file Track.h.
References recob::TrackTrajectory::StartMomentumVector().
|
inline |
Access to spherical or geographical angles at vertex or at any point.
Definition at line 216 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 217 of file Track.h.
References recob::TrackTrajectory::Theta().
|
inline |
Access to the stored recob::TrackTrajectory.
Definition at line 132 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(), trkf::Geometric3DVertexFitter::pDist(), TrackProducerFromTrack::produce(), TrackProducerFromTrackTrajectory::produce(), calo::GnocchiCalorimetry::produce(), trkf::KalmanFilterFinalTrackFitter::produce(), and trkf::KalmanFilterFinalTrackFitter::setDirFlip().
|
inline |
Access to i-th TrajectoryPoint or its Flags.
Definition at line 151 of file Track.h.
Referenced by CountValidPoints(), and lar::util::TrackPitchInView().
|
inline |
Access to track position at different points.
Definition at line 158 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(), trk::TrackContainmentAlg::GetCosmicTagID(), trk::TrackContainmentAlg::IsContained(), mvapid::MVAAlg::LinFit(), shower::EMShowerAlg::MakeShower(), shower::TCShowerAlg::makeShowers(), trk::TrackContainmentAlg::MinDistanceStartPt(), DUNE::MuonTrackingEff::processEff(), cosmic::CosmicTrackTagger::produce(), cosmic::CosmicPFParticleTagger::produce(), and VertexParametersGlobal6D().
|
inline |
Start position. Use e.g. as:
.
Definition at line 272 of file Track.h.
References recob::TrackTrajectory::Vertex().
|
inline |
Access to covariance matrices.
Definition at line 191 of file Track.h.
References fCovVertex.
Referenced by trkf::TrackAna::analyze().
|
inline |
Covariance matrix at start point. Use e.g. as:
.
Definition at line 353 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 81 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 252 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 166 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(), shower::TrackShowerSeparationAlg::Gradient(), shower::EMShowerAlg::MakeShower(), shower::TCShowerAlg::makeShowers(), recob::operator<<(), cosmic::CosmicPFParticleTagger::produce(), trkf::KalmanFilterFinalTrackFitter::setDirFlip(), and VertexParametersGlobal6D().
|
inline |
Start direction. Use e.g. as:
.
Definition at line 300 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 176 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 179 of file Track.h.
References recob::TrackTrajectory::VertexMomentumVector().
|
inline |
Momentum vector at start point. Use e.g. as:
.
Definition at line 328 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 45 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 69 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 220 of file Track.h.
References recob::TrackTrajectory::ZenithAngle().
|
inline |
Access to spherical or geographical angles at vertex or at any point.
Definition at line 221 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 37 of file Track.cxx.
Referenced by LocalToGlobalRotationAtPoint().
|
friend |
Definition at line 20 of file Track.cxx.
Referenced by LocalToGlobalRotationAtPoint().
|
protected |
|
protected |
Covariance matrix (local 5D representation) at end point.
Definition at line 76 of file Track.h.
Referenced by Covariances(), EndCovariance(), EndCovarianceGlobal6D(), and EndCovarianceLocal5D().
|
protected |
Covariance matrix (local 5D representation) at start point (vertex)
Definition at line 75 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 71 of file Track.h.
Referenced by ParticleId().
|
protected |
Stored trajectory data member.
Definition at line 70 of file Track.h.
Referenced by EndCovarianceGlobal6D(), Trajectory(), and VertexCovarianceGlobal6D().