81 const double sumADC =
params.sum_ADC;
82 return {(
float)sumADC, (
float)std::sqrt(sumADC)};
96 return (
size_t)
params.N_Hits;
Algorithm class inheriting pre-computed results.
Measure_t EndAngle() override
size_t NHits() override
Returns the number of hits in the cluster.
ClusterParamsAlgBase::Measure_t Measure_t
Measure_t SummedADC() override
Computes the total charge of the cluster from Hit::SummedADC()
Measure_t EndOpeningAngle() override
Measure_t Integral() override
Computes the total charge of the cluster from Hit::Integral()
constexpr T DegreesToRadians(T angle)
Converts the argument angle from degrees into radians.
Measure_t SummedADCStdDev() override
Computes the standard deviation on the charge of the cluster hits.
float MultipleHitDensity() override
Fraction of wires in the cluster with more than one hit.
Measure_t IntegralStdDev() override
Computes the standard deviation on the charge of the cluster hits.
Measure_t StartOpeningAngle() override
Computes the opening angle at the start or end of the cluster.
Measure_t StartAngle() override
Computes the angle of the cluster.
Measure_t StartCharge(util::GeometryUtilities const &gser) override
Computes the charge on the first and last wire of the track.
Measure_t EndCharge(util::GeometryUtilities const &gser) override
Collection of Physical constants used in LArSoft.
float Width(util::GeometryUtilities const &) override
Computes the width of the cluster.