14 #ifndef STANDARDCLUSTERPARAMSALG_H 15 #define STANDARDCLUSTERPARAMSALG_H 45 void Clear()
override;
59 std::vector<recob::Hit const*>
const&
hits)
override;
165 size_t NHits()
override;
196 #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.
Cluster finding and building.
Measure_t StartOpeningAngle() override
Computes the opening angle at the start or end of the cluster.
virtual void SetHits(util::GeometryUtilities const &gser, std::vector< recob::Hit > const &hits)
Sets the list of input hits.
Algorithm collection class computing cluster parameters.
Measure_t SummedADCStdDev() override
Computes the standard deviation on the charge of the cluster hits.
void SetHitsFromPointers(util::GeometryUtilities const &gser, std::vector< recob::Hit const * > const &hits) override
Sets the list of input 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()
Measure_t EndCharge(util::GeometryUtilities const &gser) override
Computes the charge on the first and last wire of the track.
Measure_t EndAngle() override
Computes the angle of the cluster.
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
Computes the opening angle at the start or end of the cluster.
void Clear() override
Restores the class to post-configuration, pre-initialization state.
size_t NInputHits() const
Returns the number of input hits.
Measure_t StartCharge(util::GeometryUtilities const &gser) override
Computes the charge on the first and last wire of the track.