12 #ifndef VtxCandidate_h
13 #define VtxCandidate_h
54 double MaxAngle(
double minLength = 0.0)
const;
61 size_t Size(
double minLength)
const;
87 std::pair<pma::Track3D*, size_t>
90 return std::pair<pma::Track3D*, size_t>(
fAssigned[i].first.Track(),
fAssigned[i].second);
95 has(
const std::vector<int>& v,
int id)
const
98 if (c ==
id)
return true;
104 std::vector<std::pair<pma::TrkCandidate, size_t>>
fAssigned;
bool Has(pma::Track3D *trk) const
ClusterModuleLabel join with tracks
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