12 #include "canvas/Persistency/Common/FindManyP.h"
13 #include "canvas/Persistency/Common/Ptr.h"
25 class DetectorClocksData;
26 class DetectorPropertiesData;
56 std::vector<art::Ptr<recob::PFParticle>>
const& pfplist,
57 std::vector<art::Ptr<recob::Vertex>>
const& vertexlist,
58 std::vector<art::Ptr<recob::Cluster>>
const& clusterlist,
60 art::FindManyP<recob::Hit>
const& cls_fm,
61 art::FindManyP<recob::Cluster>
const& clspfp_fm,
62 art::FindManyP<recob::Vertex>
const& vtxpfp_fm,
63 art::FindManyP<recob::PFParticle>
const& hit_fm,
64 art::FindManyP<recob::Cluster>
const& hitcls_fm,
65 art::FindManyP<recob::Track>
const& trkpfp_fm,
66 art::FindManyP<anab::Calorimetry>
const& fmcal);
74 art::Ptr<recob::Hit>
const&,
77 std::map<geo::PlaneID, double>
const& trk_wire1,
78 std::map<geo::PlaneID, double>
const& trk_tick1,
79 std::map<geo::PlaneID, double>
const& trk_wire2,
80 std::map<geo::PlaneID, double>
const& trk_tick2)
const;
84 art::Ptr<recob::Hit>
const&,
87 std::map<geo::PlaneID, double>
const& trk_wire1,
88 std::map<geo::PlaneID, double>
const& trk_tick1,
89 std::map<geo::PlaneID, double>
const& trk_wire2,
90 std::map<geo::PlaneID, double>
const& trk_tick2,
std::vector< double > totalEnergyErr
bool addShowerHit(art::Ptr< recob::Hit > hit, std::vector< art::Ptr< recob::Hit >> showerhits) const
std::vector< double > dEdx
Declaration of signal hit object.
pma::ProjectionMatchingAlg fProjectionMatchingAlg
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
int makeShowers(detinfo::DetectorClocksData const &dataClock, detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::PFParticle >> const &pfplist, std::vector< art::Ptr< recob::Vertex >> const &vertexlist, std::vector< art::Ptr< recob::Cluster >> const &clusterlist, std::vector< art::Ptr< recob::Hit >> const &hitlist, art::FindManyP< recob::Hit > const &cls_fm, art::FindManyP< recob::Cluster > const &clspfp_fm, art::FindManyP< recob::Vertex > const &vtxpfp_fm, art::FindManyP< recob::PFParticle > const &hit_fm, art::FindManyP< recob::Cluster > const &hitcls_fm, art::FindManyP< recob::Track > const &trkpfp_fm, art::FindManyP< anab::Calorimetry > const &fmcal)
Declaration of cluster object.
Provides recob::Track data product.
Contains all timing reference information for the detector.
TCShowerAlg(fhicl::ParameterSet const &pset)
std::vector< double > totalEnergy
int goodHit(detinfo::DetectorClocksData const &dataClock, detinfo::DetectorPropertiesData const &detProp, art::Ptr< recob::Hit > const &, double maxDist, double minDistVert, std::map< geo::PlaneID, double > const &trk_wire1, std::map< geo::PlaneID, double > const &trk_tick1, std::map< geo::PlaneID, double > const &trk_wire2, std::map< geo::PlaneID, double > const &trk_tick2) const
calo::CalorimetryAlg fCalorimetryAlg
std::vector< art::Ptr< recob::Hit > > showerHits
std::vector< double > dEdxErr