32 const std::vector<std::vector<util::PxHit>>& clusters,
33 std::vector<::recob::Shower>& showers)
50 Process(geom, clockData, detProp, res_ass, showers);
58 const std::vector<std::vector<util::PxHit>>& clusters,
60 std::vector<::recob::Shower>& showers)
66 Process(geom, clockData, detProp, ass, showers);
73 std::vector<::recob::Shower>& showers)
76 for (
auto const& pair : ass) {
77 std::vector<::cluster::ClusterParamsAlg> cpans;
79 cpans.reserve(pair.size());
81 for (
auto const& index : pair)
std::vector< std::vector< unsigned int > > ClusterAss_t
Class def header for a class CMatchBookKeeper.
::showerreco::ShowerRecoAlgBase * fShowerAlgo
Shower reconstruction algorithm.
virtual void AppendInputClusters(const std::vector< cluster::ClusterParamsAlg > &cpan_v)
Setter for a matched combination of clusters.
std::vector< recob::Shower > Reconstruct(geo::GeometryCore const &geom, detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp)
Execute reconstruction.
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
virtual void Reset()
Function to reset algorithm, to be called @ beginning of each event.
void Process(geo::GeometryCore const &geom, detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, const ClusterAss_t &ass, std::vector<::recob::Shower > &showers)
Class def header for exception classes in CMTException.
bool fMatch
Boolean flag to whether or not to run matching.
Description of geometry of one entire detector.
::cmtool::CMatchManager * fMatchMgr
Cluster matching code.
Class def header for a class CMatchManager.
Contains all timing reference information for the detector.
Class def header for a class ShowerRecoAlgBase.
unsigned int Nplanes(TPCID const &tpcid=tpc_zero) const
Returns the total number of planes in the specified TPC.
art framework interface to geometry description
ClusterAss_t Reconstruct(geo::GeometryCore const &geom, detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, const std::vector< std::vector< util::PxHit >> &clusters, std::vector<::recob::Shower > &showers)
ShowerRecoManager()
Default constructor.
Class def header for a class ShowerRecoManager.