21 #ifndef LARDATAOBJ_RECOBASE_HIT_H
22 #define LARDATAOBJ_RECOBASE_HIT_H
106 float sigma_peak_time,
108 float peak_amplitude,
109 float sigma_peak_amplitude,
112 float hit_sigma_integral,
113 short int multiplicity,
114 short int local_index,
115 float goodness_of_fit,
237 {
return PeakTime() + sigmas * RMS(); }
240 {
return PeakTimePlusRMS(-sigmas); }
243 {
return (time - PeakTime()) / RMS(); }
247 #endif // LARDATAOBJ_RECOBASE_HIT_H
short int LocalIndex() const
How well do we believe we know this hit?
friend bool operator<(const Hit &a, const Hit &b)
geo::SigType_t SignalType() const
Signal type for the plane of the hit.
float fPeakAmplitude
the estimated amplitude of the hit at its peak, in ADC units
raw::TDCtick_t fStartTick
initial tdc tick for hit
float fSummedADC
the sum of calibrated ADC counts of the hit
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
geo::WireID WireID() const
float RMS() const
RMS of the hit shape, in tick units.
float fSigmaPeakAmplitude
uncertainty on estimated amplitude of the hit at its peak, in ADC units
geo::View_t fView
view for the plane of the hit
geo::SigType_t fSignalType
signal type for the plane of the hit
float SigmaPeakAmplitude() const
Uncertainty on estimated amplitude of the hit at its peak, in ADC units.
float SigmaIntegral() const
int DegreesOfFreedom() const
float Integral() const
Integral under the calibrated signal waveform of the hit, in tick x ADC units.
geo::View_t View() const
View for the plane of the hit.
Hit()
Default constructor: a hit with no signal.
float GoodnessOfFit() const
Degrees of freedom in the determination of the hit signal shape (-1 by default)
short int Multiplicity() const
How many hits could this one be shared with.
raw::TDCtick_t fEndTick
final tdc tick for hit
float fSigmaPeakTime
uncertainty for the signal peak, in tick units
float PeakAmplitude() const
The estimated amplitude of the hit at its peak, in ADC units.
int TDCtick_t
Type representing a TDC tick.
friend std::ostream & operator<<(std::ostream &o, const Hit &a)
short int fMultiplicity
how many hits could this one be shared with
Class managing the creation of a new recob::Hit object.
float TimeDistanceAsRMS(float time) const
Returns the distance of the specified time from peak, in RMS units.
enum geo::_plane_sigtype SigType_t
float fPeakTime
time of the signal peak, in tick units
raw::ChannelID_t fChannel
ID of the readout channel the hit was extracted from.
int fNDF
degrees of freedom in the determination of the hit shape
float fRMS
RMS of the hit shape, in tick units.
raw::TDCtick_t StartTick() const
Initial tdc tick for hit.
Definition of data types for geometry description.
float PeakTimeMinusRMS(float sigmas=+1.) const
raw::TDCtick_t EndTick() const
Final tdc tick for hit.
float PeakTime() const
Time of the signal peak, in tick units.
geo::WireID fWireID
WireID for the hit (Cryostat, TPC, Plane, Wire)
float fSigmaIntegral
the uncertainty of integral under the calibrated signal waveform of the hit, in ADC units ...
float fGoodnessOfFit
how well do we believe we know this hit?
float SummedADC() const
The sum of calibrated ADC counts of the hit (0. by default)
short int fLocalIndex
index of this hit among the Multiplicity() hits in the signal window
float SigmaPeakTime() const
Uncertainty for the signal peak, in tick units.
2D representation of charge deposited in the TDC/wire plane
float fIntegral
the integral under the calibrated signal waveform of the hit, in tick x ADC units ...
float PeakTimePlusRMS(float sigmas=+1.) const
Returns a time sigmas RMS away from the peak time.
unsigned int ChannelID_t
Type representing the ID of a readout channel.
raw::ChannelID_t Channel() const
ID of the readout channel the hit was extracted from.