41 std::vector<recob::Hit const*>
const&
hits)
123 return {(float)sumADC, (
float)std::sqrt(sumADC)};
double rms_ADC
RMS (standard deviation of sample) of ADC counts of hits in ADC.
void GetRoughAxis(bool override=false)
double closing_angle_charge_wgt
Same for charge_wgt.
Measure_t IntegralStdDev() override
Computes the standard deviation on the charge of the cluster hits.
virtual void SetVerbose(int level=1)
Set the verbosity level.
double rms_charge
RMS (standard deviation of sample) of charge of hits in ADC.
void GetProfileInfo(util::GeometryUtilities const &gser, bool override=false)
void SetVerbose(int level=1) override
Set the verbosity level.
Measure_t StartAngle() override
Computes the angle of the cluster.
Measure_t StartOpeningAngle() override
Computes the opening angle at the start or end of the cluster.
const cluster_params & GetParams() const
Measure_t SummedADCStdDev() override
Computes the standard deviation on the charge of the cluster hits.
double sum_charge
Sum charge of hits in ADC.
void SetHitsFromPointers(util::GeometryUtilities const &gser, std::vector< recob::Hit const * > const &hits) override
Sets the list of input hits.
constexpr T DegreesToRadians(T angle)
Converts the argument angle from degrees into radians.
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.
double EndCharge(util::GeometryUtilities const &gser, float length=1., unsigned int nbins=10)
Returns the expected charge at the end of the cluster.
void GetAverages(bool override=false)
void RefineDirection(bool override=false)
float MultipleHitDensity() override
Fraction of wires in the cluster with more than one hit.
double sum_ADC
Sum charge of ADC counts of hits, in ADC.
StandardClusterParamsAlg()
Constructor.
int SetHits(const std::vector< util::PxHit > &)
Measure_t SummedADC() override
Computes the total charge of the cluster from Hit::SummedADC()
double opening_angle_charge_wgt
Same for charge_wgt.
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.
Interface to class computing cluster parameters.
Collection of Physical constants used in LArSoft.
double cluster_angle_2d
Linear best fit to high-charge hits in the cluster.
void SetVerbose(bool yes=true)
Measure_t StartCharge(util::GeometryUtilities const &gser) override
Computes the charge on the first and last wire of the track.
double StartCharge(util::GeometryUtilities const &gser, float length=1., unsigned int nbins=10)
Returns the expected charge at the beginning of the cluster.