78 for (
auto&
hit : inputHits) {
79 if (
hit->Integral() < 0 || std::isnan(
hit->Integral()) || std::isinf(
hit->Integral())) {
80 mf::LogWarning(
"Hits_ICARUS") <<
"WARNING: bad recob::Hit::Integral() = " <<
hit->Integral()
81 <<
". Skipping." << std::endl;
85 if (
hit->WireID().Plane == 0)
86 firstIndHits.push_back(
hit);
87 else if (
hit->WireID().Plane == 1)
88 secondIndHits.push_back(
hit);
90 collectionHits.push_back(
hit);
93 mf::LogDebug(
"Hits_ICARUS") <<
">>>>> Reading hits done" << std::endl;
Declaration of signal hit object.
This provides an art tool interface definition for reading hits into the SpacePointSolver universe...
bool readHits(const std::vector< art::Ptr< recob::Hit >> &, std::vector< art::Ptr< recob::Hit >> &, std::vector< art::Ptr< recob::Hit >> &, std::vector< art::Ptr< recob::Hit >> &) const override
Scan an input collection of clusters and modify those according to the specific implementing algorith...
HitsICARUS(const fhicl::ParameterSet &)
Constructor.
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Detector simulation of raw signals on wires.
void configure(fhicl::ParameterSet const &pset) override
IHitReader interface class definiton.
MaybeLogger_< ELseverityLevel::ELsev_success, false > LogDebug
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning