6 #include "fhiclcpp/ParameterSet.h"
7 #include "messagefacility/MessageLogger/MessageLogger.h"
12 fMinPulseHeight(p.
get<
std::
vector<float> >(
"MinPulseHeight")),
13 fMinPulseSigma(p.
get<
std::
vector<float> >(
"MinPulseSigma"))
20 const float hitSigma = hit.
RMS();
23 const size_t view = wireID.
Plane;
26 mf::LogError(
"HitFilterAlg") <<
"Filtering settings not configured for all views! Will not filter hits in unconfigured views!";
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
bool IsGoodHit(const recob::Hit &hit) const
geo::WireID WireID() const
float RMS() const
RMS of the hit shape, in tick units.
Declaration of signal hit object.
const std::vector< float > fMinPulseSigma
float PeakAmplitude() const
The estimated amplitude of the hit at its peak, in ADC units.
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
PlaneID_t Plane
Index of the plane within its TPC.
Definition of data types for geometry description.
2D representation of charge deposited in the TDC/wire plane
HitFilterAlg(fhicl::ParameterSet const &p)
const std::vector< float > fMinPulseHeight