69 auto seeds = std::make_unique<std::vector<recob::Seed>>();
71 std::vector<std::vector<recob::SpacePoint>> SpacePointsWithSeeds;
74 auto const clockData = art::ServiceHandle<detinfo::DetectorClocksService const>()->DataFor(
evt);
76 art::ServiceHandle<detinfo::DetectorPropertiesService const>()->DataFor(
evt, clockData);
80 std::vector<std::vector<art::PtrVector<recob::Hit>>> HitsPerSeed;
82 std::vector<std::vector<art::PtrVector<recob::Hit>>> SortedHits;
85 std::vector<std::vector<recob::Seed>> Seeds =
88 for (
size_t i = 0; i != Seeds.size(); ++i)
89 for (
size_t j = 0; j != Seeds.at(i).size(); ++j)
90 SeedVector.push_back(Seeds.at(i).at(j));
97 std::vector<art::PtrVector<recob::Hit>> HitCatalogue;
101 throw cet::exception(
"SeedFinderModule") <<
"Unkown source mode " <<
fInputSource <<
"\n";
104 if (SeedVector.size() > 0) {
105 for (
size_t i = 0; i != SeedVector.size(); ++i) {
106 seeds->push_back(SeedVector.at(i));
110 mf::LogInfo(
"SeedFinder") <<
"Seed finder made no seeds : no space points in event"
std::vector< art::Ptr< recob::Seed > > SeedVector
std::vector< recob::Seed > GetSeedsFromUnSortedHits(detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, art::PtrVector< recob::Hit > const &, std::vector< art::PtrVector< recob::Hit >> &, unsigned int StopAfter=0) const
std::vector< TrajPoint > seeds
art::PtrVector< recob::Hit > Hits
void GetSortedHitsFromClusters(std::string ClusterModuleLabel, art::Event &evt, std::vector< std::vector< art::PtrVector< recob::Hit >>> &SortedHits)
std::string fInputModuleLabel
art::PtrVector< recob::Hit > GetHitsFromEvent(std::string HitModuleLabel, art::Event &evt)
SeedFinderAlgorithm fSeedAlg
std::vector< std::vector< recob::Seed > > GetSeedsFromSortedHits(detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, std::vector< std::vector< art::PtrVector< recob::Hit >>> const &SortedHits, std::vector< std::vector< art::PtrVector< recob::Hit >>> &HitsPerSeed, unsigned int StopAfter=0) const