12 #ifndef VtxCandidate_h 13 #define VtxCandidate_h 54 double MaxAngle(
double minLength = 0.0)
const;
57 size_t Size(
double minLength)
const;
71 std::pair<pma::Track3D*, size_t>
Track(
size_t i)
const 73 return std::pair<pma::Track3D*, size_t>(
fAssigned[i].first.Track(),
fAssigned[i].second);
77 bool has(
const std::vector<int>& v,
int id)
const 80 if (c ==
id)
return true;
86 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