LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "PmaTrkCandidate.h"
Public Member Functions | |
size_t | size () const |
void | resize (size_t n) |
bool | empty () const |
void | push_back (const TrkCandidate &trk) |
void | erase_at (size_t pos) |
void | clear () |
TrkCandidate & | operator[] (size_t i) |
TrkCandidate const & | operator[] (size_t i) const |
TrkCandidate & | front () |
TrkCandidate const & | front () const |
TrkCandidate & | back () |
TrkCandidate const & | back () const |
std::vector< TrkCandidate > const & | tracks () const |
std::vector< TrkCandidate > & | tracks () |
std::vector< TrkCandidate > const & | parents () const |
int | getCandidateIndex (pma::Track3D const *candidate) const |
int | getCandidateTreeId (pma::Track3D const *candidate) const |
void | merge (size_t idx1, size_t idx2) |
void | setParentDaughterConnections () |
void | setTreeId (int id, size_t trkIdx, bool isRoot=true) |
int | setTreeIds () |
void | flipTreesToCoordinate (detinfo::DetectorPropertiesData const &detProp, size_t coordinate) |
void | flipTreesByDQdx () |
bool | setTreeOriginAtFront (detinfo::DetectorPropertiesData const &detProp, pma::Track3D *trk) |
bool | setTreeOriginAtBack (detinfo::DetectorPropertiesData const &detProp, pma::Track3D *trk) |
pma::Track3D * | getTreeCopy (pma::TrkCandidateColl &dst, size_t trkIdx, bool isRoot=true) |
Private Attributes | |
std::vector< TrkCandidate > | fCandidates |
std::vector< TrkCandidate > | fParents |
Definition at line 86 of file PmaTrkCandidate.h.
|
inline |
Definition at line 102 of file PmaTrkCandidate.h.
|
inline |
Definition at line 103 of file PmaTrkCandidate.h.
|
inline |
Definition at line 94 of file PmaTrkCandidate.h.
Referenced by pma::PMAlgVertexing::cleanTracks(), and pma::PMAlgVertexing::collectTracks().
|
inline |
Definition at line 90 of file PmaTrkCandidate.h.
Referenced by pma::PMAlgTracker::matchCluster().
|
inline |
Definition at line 93 of file PmaTrkCandidate.h.
Referenced by pma::VtxCandidate::JoinTracks(), and pma::PMAlgTracker::mergeCoLinear().
void pma::TrkCandidateColl::flipTreesByDQdx | ( | ) |
Definition at line 310 of file PmaTrkCandidate.cxx.
References pma::Track3D::AutoFlip(), pma::Track3D::CanFlip(), and pma::Track3D::kForward.
Referenced by pma::PMAlgTracker::build().
void pma::TrkCandidateColl::flipTreesToCoordinate | ( | detinfo::DetectorPropertiesData const & | detProp, |
size_t | coordinate | ||
) |
Definition at line 182 of file PmaTrkCandidate.cxx.
References pma::Track3D::back(), pma::Track3D::front(), and pma::Hit3D::Point3D().
Referenced by pma::PMAlgTracker::build().
|
inline |
Definition at line 99 of file PmaTrkCandidate.h.
|
inline |
Definition at line 100 of file PmaTrkCandidate.h.
int pma::TrkCandidateColl::getCandidateIndex | ( | pma::Track3D const * | candidate | ) | const |
Definition at line 49 of file PmaTrkCandidate.cxx.
References pma::TrkCandidate::Track().
Referenced by pma::VtxCandidate::JoinTracks(), and pma::PMAlgStitching::StitchTracks().
int pma::TrkCandidateColl::getCandidateTreeId | ( | pma::Track3D const * | candidate | ) | const |
Definition at line 56 of file PmaTrkCandidate.cxx.
Referenced by pma::PMAlgStitching::StitchTracks().
pma::Track3D * pma::TrkCandidateColl::getTreeCopy | ( | pma::TrkCandidateColl & | dst, |
size_t | trkIdx, | ||
bool | isRoot = true |
||
) |
Definition at line 342 of file PmaTrkCandidate.cxx.
References pma::Track3D::AttachTo(), pma::SortedObjectBase::Next(), pma::SortedBranchBase::Next(), pma::SortedBranchBase::NextCount(), pma::Track3D::NextSegment(), pma::Track3D::Nodes(), pma::Segment3D::Parent(), and tracks().
Referenced by pma::VtxCandidate::JoinTracks().
void pma::TrkCandidateColl::merge | ( | size_t | idx1, |
size_t | idx2 | ||
) |
Definition at line 329 of file PmaTrkCandidate.cxx.
References pma::TrkCandidate::Clusters(), pma::TrkCandidate::Track(), and pma::TrkCandidate::TreeId().
Referenced by pma::PMAlgStitching::StitchTracks().
|
inline |
Definition at line 96 of file PmaTrkCandidate.h.
|
inline |
Definition at line 97 of file PmaTrkCandidate.h.
|
inline |
Definition at line 108 of file PmaTrkCandidate.h.
|
inline |
Definition at line 92 of file PmaTrkCandidate.h.
Referenced by pma::PMAlgTracker::build(), pma::PMAlgFitter::buildShowers(), pma::PMAlgFitter::buildTracks(), pma::PMAlgVertexing::collectTracks(), pma::PMAlgTracker::fromMaxCluster_tpc(), pma::VtxCandidate::JoinTracks(), pma::PMAlgTracker::matchCluster(), and pma::PMAlgTracker::reassignHits_1().
|
inline |
Definition at line 89 of file PmaTrkCandidate.h.
void pma::TrkCandidateColl::setParentDaughterConnections | ( | ) |
Definition at line 65 of file PmaTrkCandidate.cxx.
References pma::TrkCandidate::IsValid(), n, pma::SortedBranchBase::Next(), pma::SortedBranchBase::NextCount(), pma::Track3D::Nodes(), pma::TrkCandidate::Parent(), pma::SortedObjectBase::Prev(), pma::TrkCandidate::SetParent(), and pma::TrkCandidate::TreeId().
Referenced by pma::PMAlgTracker::build().
void pma::TrkCandidateColl::setTreeId | ( | int | id, |
size_t | trkIdx, | ||
bool | isRoot = true |
||
) |
Definition at line 122 of file PmaTrkCandidate.cxx.
References pma::SortedObjectBase::Next(), pma::SortedBranchBase::Next(), pma::SortedBranchBase::NextCount(), pma::Track3D::NextSegment(), pma::Track3D::Nodes(), and pma::Segment3D::Parent().
int pma::TrkCandidateColl::setTreeIds | ( | ) |
Definition at line 158 of file PmaTrkCandidate.cxx.
Referenced by pma::PMAlgTracker::build(), and pma::VtxCandidate::JoinTracks().
bool pma::TrkCandidateColl::setTreeOriginAtBack | ( | detinfo::DetectorPropertiesData const & | detProp, |
pma::Track3D * | trk | ||
) |
Definition at line 290 of file PmaTrkCandidate.cxx.
References pma::Track3D::Flip().
bool pma::TrkCandidateColl::setTreeOriginAtFront | ( | detinfo::DetectorPropertiesData const & | detProp, |
pma::Track3D * | trk | ||
) |
Definition at line 245 of file PmaTrkCandidate.cxx.
References pma::Track3D::Flip(), pma::Track3D::index_of(), n, pma::Track3D::NextSegment(), pma::Track3D::Nodes(), pma::Segment3D::Parent(), pma::SortedObjectBase::Prev(), and pma::Track3D::Split().
Referenced by pma::PMAlgStitching::StitchTracks().
|
inline |
Definition at line 88 of file PmaTrkCandidate.h.
Referenced by pma::PMAlgFitter::build(), pma::PMAlgTracker::build(), pma::PMAlgVertexing::collectTracks(), pma::PMAlgVertexing::findKinksOnTracks(), pma::PMAlgVertexing::firstPassCandidates(), pma::PMAlgVertexing::getKinks(), pma::PMAlgVertexing::getVertices(), pma::VtxCandidate::JoinTracks(), pma::PMAlgTracker::matchCluster(), pma::PMAlgVertexing::mergeBrokenTracks(), pma::PMAlgTracker::mergeCoLinear(), pma::PMAlgTracker::reassignHits_1(), pma::PMAlgTracker::reassignSingleViewEnds_1(), pma::PMAlgVertexing::run(), pma::PMAlgVertexing::secondPassCandidates(), pma::PMAlgVertexing::sortTracks(), pma::PMAlgVertexing::splitMergedTracks(), pma::PMAlgStitching::StitchTracks(), pma::PMAlgStitching::StitchTracksAPA(), pma::PMAlgStitching::StitchTracksCPA(), and pma::PMAlgCosmicTagger::tag().
|
inline |
Definition at line 105 of file PmaTrkCandidate.h.
Referenced by pma::PMAlgVertexing::cleanTracks(), pma::PMAlgVertexing::collectTracks(), pma::PMAlgTracker::freezeBranchingNodes(), pma::PMAlgCosmicTagger::fullCrossingTagger(), getTreeCopy(), pma::PMAlgTrackingBase::guideEndpoints(), pma::VtxCandidate::JoinTracks(), pma::PMAlgTracker::matchTrack(), pma::PMAlgTracker::maxCluster(), pma::PMAlgTracker::mergeCoLinear(), pma::PMAlgCosmicTagger::nonBeamT0Tag(), pma::PMAlgCosmicTagger::outOfDriftWindow(), pma::PMAlgTracker::releaseAllNodes(), pma::PMAlgVertexing::sortTracks(), pma::PMAlgStitching::StitchTracks(), pma::PMAlgCosmicTagger::tagApparentStopper(), pma::PMAlgCosmicTagger::tagTopFrontBack(), and pma::PMAlgTrackingBase::~PMAlgTrackingBase().
|
inline |
Definition at line 106 of file PmaTrkCandidate.h.
|
private |
Definition at line 129 of file PmaTrkCandidate.h.
|
private |
Definition at line 130 of file PmaTrkCandidate.h.