12 #ifndef VtxCandidate_h 13 #define VtxCandidate_h 51 double MaxAngle(
double minLength = 0.0)
const;
58 size_t Size(
double minLength)
const;
84 std::pair<pma::Track3D*, size_t>
87 return std::pair<pma::Track3D*, size_t>(
fAssigned[i].first.Track(),
fAssigned[i].second);
92 has(
const std::vector<int>& v,
int id)
const 95 if (
c ==
id)
return true;
101 std::vector<std::pair<pma::TrkCandidate, size_t>>
fAssigned;
bool Has(pma::Track3D *trk) const
std::pair< pma::Track3D *, size_t > Track(size_t i) const
double Test(const VtxCandidate &other) const
bool JoinTracks(detinfo::DetectorPropertiesData const &detProp, pma::TrkCandidateColl &tracks, pma::TrkCandidateColl &src)
std::vector< std::pair< pma::TrkCandidate, size_t > > fAssigned
const TVector3 & Center() const
static constexpr double kMinDistToNode
VtxCandidate(double segMinLength=0.5)
static constexpr double kMaxDistToTrack
double MaxAngle(double minLength=0.0) const
Track finding helper for the Projection Matching Algorithm.
bool MergeWith(const VtxCandidate &other)
bool Add(const pma::TrkCandidate &trk)
bool IsAttached(pma::Track3D *trk) const
bool has(const std::vector< int > &v, int id) const