LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "PmaTrkCandidate.h"
Public Member Functions | |
size_t | size (void) const |
void | resize (size_t n) |
bool | empty (void) const |
void | push_back (const TrkCandidate &trk) |
void | erase_at (size_t pos) |
void | clear (void) |
TrkCandidate & | operator[] (size_t i) |
TrkCandidate const & | operator[] (size_t i) const |
TrkCandidate & | front (void) |
TrkCandidate const & | front (void) const |
TrkCandidate & | back (void) |
TrkCandidate const & | back (void) const |
std::vector< TrkCandidate > const & | tracks (void) const |
std::vector< TrkCandidate > & | tracks (void) |
std::vector< TrkCandidate > const & | parents (void) 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) |
void | setTreeId (int id, size_t trkIdx, bool isRoot=true) |
int | setTreeIds (void) |
void | flipTreesToCoordinate (size_t coordinate) |
void | flipTreesByDQdx () |
bool | setTreeOriginAtFront (pma::Track3D *trk) |
bool | setTreeOriginAtBack (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 80 of file PmaTrkCandidate.h.
|
inline |
Definition at line 97 of file PmaTrkCandidate.h.
|
inline |
Definition at line 98 of file PmaTrkCandidate.h.
|
inline |
Definition at line 89 of file PmaTrkCandidate.h.
Referenced by pma::PMAlgVertexing::cleanTracks(), and pma::PMAlgVertexing::collectTracks().
|
inline |
Definition at line 85 of file PmaTrkCandidate.h.
Referenced by pma::PMAlgTracker::matchCluster().
|
inline |
Definition at line 88 of file PmaTrkCandidate.h.
Referenced by pma::VtxCandidate::JoinTracks(), and pma::PMAlgTracker::mergeCoLinear().
void pma::TrkCandidateColl::flipTreesByDQdx | ( | void | ) |
Definition at line 286 of file PmaTrkCandidate.cxx.
References pma::Track3D::AutoFlip(), pma::Track3D::CanFlip(), and pma::Track3D::kForward.
Referenced by pma::PMAlgTracker::build().
void pma::TrkCandidateColl::flipTreesToCoordinate | ( | size_t | coordinate | ) |
Definition at line 183 of file PmaTrkCandidate.cxx.
References pma::Track3D::back(), pma::Track3D::front(), and pma::Hit3D::Point3D().
Referenced by pma::PMAlgTracker::build().
|
inline |
Definition at line 94 of file PmaTrkCandidate.h.
|
inline |
Definition at line 95 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 332 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 321 of file PmaTrkCandidate.cxx.
References pma::TrkCandidate::Clusters(), pma::TrkCandidate::Track(), and pma::TrkCandidate::TreeId().
Referenced by pma::PMAlgStitching::StitchTracks().
|
inline |
Definition at line 91 of file PmaTrkCandidate.h.
|
inline |
Definition at line 92 of file PmaTrkCandidate.h.
|
inline |
Definition at line 103 of file PmaTrkCandidate.h.
|
inline |
Definition at line 87 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 84 of file PmaTrkCandidate.h.
void pma::TrkCandidateColl::setParentDaughterConnections | ( | void | ) |
Definition at line 63 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 125 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 | ( | void | ) |
Definition at line 161 of file PmaTrkCandidate.cxx.
Referenced by pma::PMAlgTracker::build(), and pma::VtxCandidate::JoinTracks().
bool pma::TrkCandidateColl::setTreeOriginAtBack | ( | pma::Track3D * | trk | ) |
Definition at line 269 of file PmaTrkCandidate.cxx.
References pma::Track3D::Flip().
bool pma::TrkCandidateColl::setTreeOriginAtFront | ( | pma::Track3D * | trk | ) |
Definition at line 233 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 83 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::reassignHits_2(), pma::PMAlgTracker::reassignSingleViewEnds_1(), pma::PMAlgTracker::reassignSingleViewEnds_2(), 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 100 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 101 of file PmaTrkCandidate.h.
|
private |
Definition at line 124 of file PmaTrkCandidate.h.
|
private |
Definition at line 125 of file PmaTrkCandidate.h.