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