#include <MCHit.h>
Definition at line 10 of file MCHit.h.
Default ctor.
Definition at line 15 of file MCHit.h.
void Reset()
Method to reset.
float sim::MCHit::Charge |
( |
bool |
max = false | ) |
const |
|
inline |
Getter for "charge".
Definition at line 81 of file MCHit.h.
float fCharge
Charge sum (ADC integral over MCWire)
float fPeakAmp
Peak amplitude (ADC)
bool sim::MCHit::operator< |
( |
const MCHit & |
rhs | ) |
const |
|
inline |
For sorting with MCHit itself.
Definition at line 93 of file MCHit.h.
float fSignalTime
where peak resides in waveform ticks
bool sim::MCHit::operator< |
( |
const float & |
rhs | ) |
const |
|
inline |
For sorting with generic time.
Definition at line 96 of file MCHit.h.
float fSignalTime
where peak resides in waveform ticks
float sim::MCHit::PartEnergy |
( |
| ) |
const |
|
inline |
Getter for particle energy.
Definition at line 87 of file MCHit.h.
float fPartEnergy
particle energy deposition (dE) in MeV
int sim::MCHit::PartTrackId |
( |
| ) |
const |
|
inline |
Getter for track ID.
Definition at line 90 of file MCHit.h.
int fPartTrackId
particle G4 Track ID
const float* sim::MCHit::PartVertex |
( |
| ) |
const |
|
inline |
Getter for particle vertex.
Definition at line 84 of file MCHit.h.
float fPartVertex[3]
particle vertex (x,y,z) information
float sim::MCHit::PeakTime |
( |
| ) |
const |
|
inline |
Getter for start time.
Definition at line 75 of file MCHit.h.
float fSignalTime
where peak resides in waveform ticks
float sim::MCHit::PeakWidth |
( |
| ) |
const |
|
inline |
Getter for start time.
Definition at line 78 of file MCHit.h.
float fSignalWidth
width (1sigma) in waveform ticks
void sim::MCHit::Reset |
( |
| ) |
|
|
inline |
Method to reset.
Definition at line 21 of file MCHit.h.
25 for(
int i=0; i<3; ++i)
float fCharge
Charge sum (ADC integral over MCWire)
int fPartTrackId
particle G4 Track ID
float fPartEnergy
particle energy deposition (dE) in MeV
float fPeakAmp
Peak amplitude (ADC)
static const float kINVALID_FLOAT
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
void sim::MCHit::SetCharge |
( |
float |
qsum, |
|
|
float |
amp |
|
) |
| |
|
inline |
Setter function for charge/amplitude.
Definition at line 54 of file MCHit.h.
float fCharge
Charge sum (ADC integral over MCWire)
float fPeakAmp
Peak amplitude (ADC)
void sim::MCHit::SetParticleInfo |
( |
const float |
vtx[], |
|
|
const float |
energy, |
|
|
const int |
trackId |
|
) |
| |
|
inline |
Setter function for partile info.
Definition at line 64 of file MCHit.h.
68 for(
size_t i=0; i<3; ++i)
int fPartTrackId
particle G4 Track ID
float fPartEnergy
particle energy deposition (dE) in MeV
float fPartVertex[3]
particle vertex (x,y,z) information
void sim::MCHit::SetTime |
( |
const float |
peak, |
|
|
const float |
width |
|
) |
| |
|
inline |
Setter function for time.
Definition at line 57 of file MCHit.h.
float fSignalWidth
width (1sigma) in waveform ticks
float fSignalTime
where peak resides in waveform ticks
float sim::MCHit::fCharge |
|
private |
Charge sum (ADC integral over MCWire)
Definition at line 40 of file MCHit.h.
float sim::MCHit::fPartEnergy |
|
private |
particle energy deposition (dE) in MeV
Definition at line 47 of file MCHit.h.
int sim::MCHit::fPartTrackId |
|
private |
float sim::MCHit::fPartVertex[3] |
|
private |
particle vertex (x,y,z) information
Definition at line 46 of file MCHit.h.
float sim::MCHit::fPeakAmp |
|
private |
Peak amplitude (ADC)
Definition at line 39 of file MCHit.h.
float sim::MCHit::fSignalTime |
|
private |
where peak resides in waveform ticks
Definition at line 36 of file MCHit.h.
float sim::MCHit::fSignalWidth |
|
private |
width (1sigma) in waveform ticks
Definition at line 37 of file MCHit.h.
The documentation for this class was generated from the following file: