52 <<
"attempting to add hits from different channels, that will not work";
62 <<
"attempting to add two hits and neithr has any signal, bail.";
66 for(
size_t i = 0; i < 3; ++i)
80 + h.
Signal()*(TMath::Sq(h.
Time()-avgtime)+TMath::Sq(h.
RMS())))/totSig );
131 o <<
"Hit on channel " 133 <<
"\n\tposition = (" 142 <<
"\n\tstart time: " float fPosition[3]
position of the hit
friend std::ostream & operator<<(std::ostream &o, gar::rec::Hit const &h)
const float * Position() const
bool operator==(gar::rec::Hit const &h) const
bool operator<(gar::rec::Hit const &h) const
float fStartTime
start time of the hit (ticks)
void operator+=(gar::rec::Hit const &h)
float fRMS
Hit width calculated with RMS (in ticks)
General GArSoft Utilities.
unsigned int Channel() const
float fSignal
size of the signal for this hit (integral of ADC values)
unsigned int fChannel
channel recording this hit
#define MF_LOG_WARNING(category)
float const & Signal() const
float fEndTime
end time of the hit (ticks)
float fTime
time of hit charge arrival at the readout plane (ticks)