#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 158 of file PmaTrkCandidate.h.
|
inline |
Definition at line 207 of file PmaTrkCandidate.h.
|
inline |
Definition at line 212 of file PmaTrkCandidate.h.
|
inline |
Definition at line 187 of file PmaTrkCandidate.h.
|
inline |
Definition at line 171 of file PmaTrkCandidate.h.
|
inline |
Definition at line 182 of file PmaTrkCandidate.h.
void pma::TrkCandidateColl::flipTreesByDQdx | ( | ) |
Definition at line 321 of file PmaTrkCandidate.cxx.
void pma::TrkCandidateColl::flipTreesToCoordinate | ( | detinfo::DetectorPropertiesData const & | detProp, |
size_t | coordinate | ||
) |
Definition at line 190 of file PmaTrkCandidate.cxx.
|
inline |
Definition at line 196 of file PmaTrkCandidate.h.
|
inline |
Definition at line 201 of file PmaTrkCandidate.h.
int pma::TrkCandidateColl::getCandidateIndex | ( | pma::Track3D const * | candidate | ) | const |
Definition at line 52 of file PmaTrkCandidate.cxx.
int pma::TrkCandidateColl::getCandidateTreeId | ( | pma::Track3D const * | candidate | ) | const |
Definition at line 60 of file PmaTrkCandidate.cxx.
pma::Track3D * pma::TrkCandidateColl::getTreeCopy | ( | pma::TrkCandidateColl & | dst, |
size_t | trkIdx, | ||
bool | isRoot = true |
||
) |
Definition at line 355 of file PmaTrkCandidate.cxx.
void pma::TrkCandidateColl::merge | ( | size_t | idx1, |
size_t | idx2 | ||
) |
Definition at line 341 of file PmaTrkCandidate.cxx.
|
inline |
Definition at line 192 of file PmaTrkCandidate.h.
|
inline |
Definition at line 193 of file PmaTrkCandidate.h.
|
inline |
Definition at line 229 of file PmaTrkCandidate.h.
|
inline |
Definition at line 177 of file PmaTrkCandidate.h.
|
inline |
Definition at line 166 of file PmaTrkCandidate.h.
void pma::TrkCandidateColl::setParentDaughterConnections | ( | ) |
Definition at line 70 of file PmaTrkCandidate.cxx.
void pma::TrkCandidateColl::setTreeId | ( | int | id, |
size_t | trkIdx, | ||
bool | isRoot = true |
||
) |
Definition at line 128 of file PmaTrkCandidate.cxx.
int pma::TrkCandidateColl::setTreeIds | ( | ) |
Definition at line 165 of file PmaTrkCandidate.cxx.
bool pma::TrkCandidateColl::setTreeOriginAtBack | ( | detinfo::DetectorPropertiesData const & | detProp, |
pma::Track3D * | trk | ||
) |
Definition at line 300 of file PmaTrkCandidate.cxx.
bool pma::TrkCandidateColl::setTreeOriginAtFront | ( | detinfo::DetectorPropertiesData const & | detProp, |
pma::Track3D * | trk | ||
) |
Definition at line 254 of file PmaTrkCandidate.cxx.
|
inline |
Definition at line 161 of file PmaTrkCandidate.h.
|
inline |
Definition at line 218 of file PmaTrkCandidate.h.
|
inline |
Definition at line 223 of file PmaTrkCandidate.h.
|
private |
Definition at line 253 of file PmaTrkCandidate.h.
|
private |
Definition at line 254 of file PmaTrkCandidate.h.