25 for(
int i=0; i<3; ++i)
57 void SetTime(
const float peak,
const float width)
68 for(
size_t i=0; i<3; ++i)
109 {
return (*lhs) < (*rhs); }
const float * PartVertex() const
Getter for particle vertex.
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
float PeakTime() const
Getter for start time.
void SetCharge(float qsum, float amp)
Setter function for charge/amplitude.
void SetParticleInfo(const float vtx[], const float energy, const int trackId)
Setter function for partile info.
float PartEnergy() const
Getter for particle energy.
void Reset()
Method to reset.
void SetTime(const float peak, const float width)
Setter function for time.
bool operator()(const sim::MCHit *lhs, const sim::MCHit *rhs)
float fCharge
Charge sum (ADC integral over MCWire)
int fPartTrackId
particle G4 Track ID
float fPartEnergy
particle energy deposition (dE) in MeV
float PeakWidth() const
Getter for start time.
float fPeakAmp
Peak amplitude (ADC)
bool operator<(const MCHit &rhs) const
For sorting with MCHit itself.
static const float kINVALID_FLOAT
int PartTrackId() const
Getter for track ID.
float fPartVertex[3]
particle vertex (x,y,z) information
float fSignalWidth
width (1sigma) in waveform ticks
float fSignalTime
where peak resides in waveform ticks
const float kINVALID_FLOAT
float Charge(bool max=false) const
Getter for "charge".