61 <<
") and the number of planes (" <<
fNPlanes <<
")\n";
70 <<
" ++++ Hitsreceived received " <<
size(
hits) <<
" +++++ ";
73 mf::LogWarning(
"SmallClusterFilter") <<
" no hits received! exiting ";
78 mf::LogWarning(
"SmallClusterFinder") <<
"Not an empty event, exiting.";
82 bool collFound =
false;
84 std::map<unsigned int, std::size_t> hitsPerPlane;
89 if (
hit.Integral() > 500)
continue;
91 ++hitsPerPlane[
hit.WireID().Plane];
96 for (
unsigned int i = 0; i <
fNPlanes; i++) {
MaybeLogger_< ELseverityLevel::ELsev_info, true > LogVerbatim
Declaration of signal hit object.
std::vector< std::size_t > fMaxHitsByPlane
maximum hits on each plane
std::string fHitFinderModuleLabel
label of module making hits
Cluster finding and building.
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
#define DEFINE_ART_MODULE(klass)
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
ValidHandle< PROD > getValidHandle(InputTag const &tag) const
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
EDFilter(fhicl::ParameterSet const &pset)
art framework interface to geometry description
decltype(auto) constexpr empty(T &&obj)
ADL-aware version of std::empty.
SmallClusterFilter(fhicl::ParameterSet const &pset)
Signal from collection planes.