12 #ifndef PMAlgVertexing_h 13 #define PMAlgVertexing_h 29 class DetectorPropertiesData;
43 Name(
"MinTrackLength"),
44 Comment(
"min. length of tracks used to find vtx candidates (short tracks attached later)")};
47 Comment(
"detect significant kinks on long tracks")};
53 Comment(
"threshold in no. of stdev of all segment angles needed to tag a kink")};
78 std::vector<std::pair<TVector3, std::vector<std::pair<size_t, bool>>>> getVertices(
80 bool onlyBranching =
false)
const;
85 bool has(
const std::vector<size_t>& v,
size_t idx)
const 88 if (c == idx)
return true;
92 std::vector<pma::VtxCandidate> firstPassCandidates()
const;
93 std::vector<pma::VtxCandidate> secondPassCandidates()
const;
95 std::vector<pma::VtxCandidate>& candidates);
98 std::vector<std::pair<double, double>> getdQdx(
const pma::Track3D&
trk)
const;
101 double convolute(
size_t idx,
size_t len,
double* adc,
double const* shape)
const;
Vertex finding helper for the Projection Matching Algorithm.
pma::TrkCandidateColl fShortTracks
pma::TrkCandidateColl fExcludedTracks
General LArSoft Utilities.
Track finding helper for the Projection Matching Algorithm.
PMAlgVertexing(const fhicl::ParameterSet &pset)
bool has(const std::vector< size_t > &v, size_t idx) const
map< int, array< map< int, double >, 2 >> Table