17 #include <art/Utilities/InputTag.h> 26 class HighEnergySliceRemoval;
54 produces<std::vector<rb::Cluster> >();
56 std::cout <<
"mono::HighEnergySliceRemoval: high_energy_adc = " 68 std::unique_ptr<std::vector<rb::Cluster> > out_slices
69 (
new std::vector<rb::Cluster>(*in_slices));
73 for (
auto & slice : *out_slices)
77 e.
put(std::move(out_slices));
A collection of associated CellHits.
DEFINE_ART_MODULE(TestTMapFile)
bool is_high_energy_slice(rb::Cluster const &slice) const
bool filter(art::Event &e) override
ProductID put(std::unique_ptr< PROD > &&product)
double TotalADC() const
Sum of the ADC of all the contained hits.
HighEnergySliceRemoval & operator=(HighEnergySliceRemoval const &)=delete
HighEnergySliceRemoval(fhicl::ParameterSet const &p)
T get(std::string const &key) const
bool getByLabel(std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const
bool IsNoise() const
Is the noise flag set?