77 for (
auto&
hit : inputHits) {
78 if (
hit->Integral() < 0 || isnan(
hit->Integral()) || isinf(
hit->Integral())) {
79 mf::LogWarning(
"Hits_ICARUS") <<
"WARNING: bad recob::Hit::Integral() = " <<
hit->Integral()
80 <<
". Skipping." << std::endl;
84 if (
hit->WireID().Plane == 0)
85 firstIndHits.push_back(
hit);
86 else if (
hit->WireID().Plane == 1)
87 secondIndHits.push_back(
hit);
89 collectionHits.push_back(
hit);
92 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