14 #ifndef STANDARDCLUSTERPARAMSALG_H
15 #define STANDARDCLUSTERPARAMSALG_H
45 void Clear()
override;
59 std::vector<recob::Hit const*>
const& hits)
override;
166 size_t NHits()
override;
197 #endif // STANDARDCLUSTERPARAMSALG_H
virtual ~StandardClusterParamsAlg()=default
Destructor.
Measure_t IntegralStdDev() override
Computes the standard deviation on the charge of the cluster hits.
void SetVerbose(int level=1) override
Set the verbosity level.
Measure_t StartAngle() override
Computes the angle of the cluster.
Algorithm collection class computing cluster parameters.
Measure_t StartOpeningAngle() override
Computes the opening angle at the start or end of the cluster.
Algorithm collection class computing cluster parameters.
Measure_t SummedADCStdDev() override
Computes the standard deviation on the charge of the cluster hits.
float Width(util::GeometryUtilities const &gser) override
Computes the width of the cluster.
ClusterParamsAlg algo
the actual algorithm class
Measure_t Integral() override
Computes the total charge of the cluster from Hit::Integral()
void SetHits(util::GeometryUtilities const &gser, std::vector< recob::Hit const * > const &hits) override
Sets the list of input hits.
Measure_t EndCharge(util::GeometryUtilities const &gser) override
virtual void SetHits(util::GeometryUtilities const &gser, std::vector< recob::Hit const * > const &hits)=0
Sets the list of input hits.
Measure_t EndAngle() override
details::Measure_t< float > Measure_t
Type used to return values with errors.
void SetHits(util::GeometryUtilities const &gser, std::vector< recob::Hit > const &hits) override
Sets the list of input hits.
float MultipleHitDensity() override
Fraction of wires in the cluster with more than one hit.
StandardClusterParamsAlg()
Constructor.
Interface for a algorithm class computing cluster parameters.
Measure_t SummedADC() override
Computes the total charge of the cluster from Hit::SummedADC()
size_t NHits() override
Returns the number of hits in the cluster.
Measure_t EndOpeningAngle() override
void Clear() override
Restores the class to post-configuration, pre-initialization state.
size_t NInputHits() const
Returns the number of input hits.
ClusterParamsAlgBase::Measure_t Measure_t
Measure_t StartCharge(util::GeometryUtilities const &gser) override
Computes the charge on the first and last wire of the track.