224 float sigma_start_wire,
226 float sigma_start_tick,
231 float sigma_end_wire,
233 float sigma_end_tick,
238 float integral_stddev,
240 float summedADC_stddev,
242 float multiple_hit_density,
247 SentryArgument_t sentry = Sentry
387 float WireCoord(
unsigned int side)
const {
return fEndWires[side]; }
414 float TickCoord(
unsigned int side)
const {
return fEndTicks[side]; }
545 float EdgeCharge(
unsigned int side)
const {
return fEndCharges[side]; }
570 float Angle(
unsigned int side)
const {
return fAngles[side]; }
585 {
return fOpeningAngles[side]; }
587 {
return fOpeningAngles[side]; }
677 float Charge(
unsigned int mode)
const {
return fChargeSum[mode]; }
692 {
return fChargeStdDev[mode]; }
694 {
return fChargeStdDev[mode]; }
709 {
return fChargeAverage[mode]; }
711 {
return fChargeAverage[mode]; }
Sums from the fitted hit values.
float SigmaEndTick() const
Returns the uncertainty on tick coordinate of the end of the cluster.
float fWidth
A measure of the cluster width, in homogenized units.
static constexpr ID_t InvalidID
Value for an invalid cluster ID.
float ChargeStdDev(unsigned int mode) const
Returns the standard deviation of charge of the cluster hits.
float fMultipleHitDensity
Density of wires in the cluster with more than one hit.
float SummedADCaverage() const
Returns the average signal ADC counts of the cluster hits.
float IntegralAverage() const
Returns the average charge of the cluster hits.
float SigmaWireCoord(ClusterEnds_t side) const
Returns the uncertainty on wire coordinate of one of the end sides of the cluster.
Reconstruction base classes.
float Angle(ClusterEnds_t side) const
Returns the angle at either end of the cluster.
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
float TickCoord(ClusterEnds_t side) const
Returns the tick coordinate of one of the end sides of the cluster.
friend std::ostream & operator<<(std::ostream &o, Cluster const &c)
float WireCoord(unsigned int side) const
Number of hits in the cluster.
float fSigmaEndTicks[NEnds]
The data type to uniquely identify a Plane.
bool isValid
Whether this ID points to a valid element.
float EdgeCharge(ClusterEnds_t side) const
Returns the charge on the first or last wire of the cluster.
float SigmaTickCoord(ClusterEnds_t side) const
Returns the uncertainty on tick coordinate of one of the end sides of the cluster.
float StartWire() const
Returns the wire coordinate of the start of the cluster.
float fSigmaEndWires[NEnds]
Set of hits with a 2D structure.
float EndTick() const
Returns the tick coordinate of the end of the cluster.
float SigmaWireCoord(unsigned int side) const
Returns the uncertainty on wire coordinate of one of the end sides of the cluster.
float MultipleHitDensity() const
Density of wires in the cluster with more than one hit.
geo::PlaneID Plane() const
Returns the plane ID this cluster lies on.
geo::PlaneID fPlaneID
Location of the start of the cluster.
bool isValid() const
Returns if the cluster is valid (that is, if its ID is not invalid)
float StartAngle() const
Returns the starting angle of the cluster.
Sums directly from ADC counts.
static const SentryArgument_t Sentry
An instance of the sentry object.
~Cluster()=default
Destructor: automatically generated.
float SummedADCstdDev() const
Returns the standard deviation of the signal ADC counts of the cluster hits.
float fChargeSum[NChargeModes]
float fChargeAverage[NChargeModes]
float EndCharge() const
Returns the charge on the last wire of the cluster.
float SummedADC() const
Returns the total charge of the cluster from signal ADC counts.
Cluster & operator=(Cluster const &)=default
Copy assignment: automatically generated.
float ChargeStdDev(ChargeMode_t mode) const
Returns the standard deviation of charge of the cluster hits.
float StartOpeningAngle() const
Returns the opening angle at the start of the cluster.
Represents the most likely start of the cluster.
Cluster(Cluster &&from)
Move constructor: as copy, but source cluster gets an invalid ID.
float Width() const
A measure of the cluster width, in homogenized units.
float SigmaEndWire() const
Returns the uncertainty on wire coordinate of the end of the cluster.
float Charge(unsigned int mode) const
Returns the total charge of the cluster.
float IntegralStdDev() const
Returns the standard deviation of the charge of the cluster hits.
float SigmaStartWire() const
Returns the uncertainty on wire coordinate of the start of the cluster.
float ChargeAverage(unsigned int mode) const
Returns the average charge of the cluster hits.
float WireCoord(ClusterEnds_t side) const
Returns the wire coordinate of one of the end sides of the cluster.
Definition of data types for geometry description.
friend bool operator<(Cluster const &a, Cluster const &b)
float EndOpeningAngle() const
Returns the opening angle at the end of the cluster.
float ChargeAverage(ChargeMode_t mode) const
Returns the average charge of the cluster hits.
geo::View_t View() const
Returns the view for this cluster.
float TickCoord(unsigned int side) const
Returns the tick coordinate of one of the end sides of the cluster.
float StartCharge() const
Returns the charge on the first wire of the cluster.
ID_t ID() const
Identifier of this cluster.
unsigned int fNHits
Number of hits in the cluster.
float EdgeCharge(unsigned int side) const
Returns the charge on the first or last wire of the cluster.
float fOpeningAngles[NEnds]
float SigmaStartTick() const
Returns the uncertainty on tick coordinate of the start of the cluster.
bool hasPlane() const
Returns whether geometry plane is valid.
Cluster()
Default constructor: an empty cluster.
float Charge(ChargeMode_t mode) const
Returns the total charge of the cluster.
unsigned int NHits() const
Number of hits in the cluster.
float EndAngle() const
Returns the ending angle of the cluster.
float OpeningAngle(ClusterEnds_t side) const
Returns the opening angle at either end of the cluster.
float StartTick() const
Returns the tick coordinate of the start of the cluster.
float Angle(unsigned int side) const
Returns the angle at either end of the cluster.
float OpeningAngle(unsigned int side) const
Returns the opening angle at either end of the cluster.
float fChargeStdDev[NChargeModes]
geo::View_t fView
View for this cluster.
float SigmaTickCoord(unsigned int side) const
Returns the uncertainty on tick coordinate of one of the end sides of the cluster.
int ID_t
Type of cluster ID.
Represents the end, or the alternative start, of the cluster.
float Integral() const
Returns the total charge of the cluster from hit shape.
float EndWire() const
Returns the wire coordinate of the end of the cluster.