61 <<
") and the number of planes (" <<
fNPlanes <<
")\n";
71 <<
" ++++ Hitsreceived received " <<
size(hits) <<
" +++++ ";
74 mf::LogWarning(
"SmallClusterFilter") <<
" no hits received! exiting ";
79 mf::LogWarning(
"SmallClusterFinder") <<
"Not an empty event, exiting.";
83 bool collFound =
false;
85 std::map<unsigned int, std::size_t> hitsPerPlane;
87 for (
auto const&
hit : hits) {
90 if (
hit.Integral() > 500)
continue;
92 ++hitsPerPlane[
hit.WireID().Plane];
98 for (
unsigned int i = 0; i <
fNPlanes; i++) {
MaybeLogger_< ELseverityLevel::ELsev_info, true > LogVerbatim
std::vector< std::size_t > fMaxHitsByPlane
maximum hits on each plane
std::string fHitFinderModuleLabel
label of module making hits
Cluster finding and building.
art framework interface to geometry description
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
#define DEFINE_ART_MODULE(klass)
ValidHandle< PROD > getValidHandle(InputTag const &tag) const
std::size_t fMaxTotalHits
maximum number of hits allowed
bool filter(art::Event &evt) override
std::size_t fNPlanes
number of planes
Detector simulation of raw signals on wires.
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Declaration of signal hit object.
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
EDFilter(fhicl::ParameterSet const &pset)
decltype(auto) constexpr empty(T &&obj)
ADL-aware version of std::empty.
SmallClusterFilter(fhicl::ParameterSet const &pset)
Signal from collection planes.