|
LDMX Software
|
Result of fitting a pulse shape to the ADC samples of a single readout strip. More...
#include <FittedSiStripHit.h>
Public Member Functions | |
| FittedSiStripHit (int layer_id, int strip_id, float amplitude, float t0, float chi2, int ndf, int track_id=-1, int pdg_id=0, int sim_hit_id=-1, float edep=0.f) | |
| void | clear () |
| int | getLayerID () const |
| int | getStripID () const |
| float | getAmplitude () const |
| Fitted pedestal-subtracted peak amplitude [ADC counts]. | |
| float | getT0 () const |
| Fitted hit arrival time [ns] in the sample-window reference frame. | |
| float | getChi2 () const |
| int | getNDF () const |
| float | getReducedChi2 () const |
| int | getTrackID () const |
| Geant4 track ID of the particle that created this hit (-1 if unknown). | |
| int | getPdgID () const |
| PDG particle ID of the particle that created this hit (0 if unknown). | |
| int | getSimHitID () const |
| Detector ID of the originating SimTrackerHit (-1 if unknown). | |
| float | getEdep () const |
| Energy deposited by the parent SimTrackerHit [MeV] (0 if unknown). | |
| void | setLayerID (int v) |
| void | setStripID (int v) |
| void | setAmplitude (float v) |
| void | setT0 (float v) |
| void | setChi2 (float v) |
| void | setNDF (int v) |
| void | setTrackID (int v) |
| void | setPdgID (int v) |
| void | setSimHitID (int v) |
| void | setEdep (float v) |
Protected Member Functions | |
| ClassDef (FittedSiStripHit, 1) | |
Protected Attributes | |
| int | layer_id_ {-1} |
| int | strip_id_ {-1} |
| float | amplitude_ |
| Fitted peak amplitude [ADC counts], pedestal-subtracted. | |
| float | t0_ {0} |
| Fitted hit time [ns] in sample-window frame. | |
| float | chi2_ {0} |
| int | ndf_ {0} |
| int | track_id_ {-1} |
| Geant4 track ID of the particle that created this hit. | |
| int | pdg_id_ {0} |
| PDG particle ID of the particle that created this hit. | |
| int | sim_hit_id_ {-1} |
| Detector ID of the originating SimTrackerHit. | |
| float | edep_ {0.f} |
| Energy deposited by the parent SimTrackerHit [MeV]. | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, const FittedSiStripHit &h) |
Result of fitting a pulse shape to the ADC samples of a single readout strip.
Stores the fitted amplitude and hit time extracted from the N-sample ADC waveform, along with the goodness-of-fit. Downstream clustering combines adjacent strips into a Measurement (local position + covariance).
amplitude : fitted peak ADC counts (pedestal-subtracted). t0 : fitted hit arrival time [ns] in the sample-window reference frame (i.e., t0 = 0 means the hit peaked at sample 0). chi2 / ndf : goodness of fit (ndf = n_samples − 2).
Definition at line 23 of file FittedSiStripHit.h.
|
inline |
Definition at line 27 of file FittedSiStripHit.h.
|
inline |
Definition at line 43 of file FittedSiStripHit.h.
|
inline |
Fitted pedestal-subtracted peak amplitude [ADC counts].
Definition at line 60 of file FittedSiStripHit.h.
References amplitude_.
Referenced by tracking::digitization::StripClusterer::findClusters().
|
inline |
Definition at line 63 of file FittedSiStripHit.h.
|
inline |
Energy deposited by the parent SimTrackerHit [MeV] (0 if unknown).
Definition at line 73 of file FittedSiStripHit.h.
References edep_.
|
inline |
Definition at line 57 of file FittedSiStripHit.h.
|
inline |
Definition at line 64 of file FittedSiStripHit.h.
|
inline |
PDG particle ID of the particle that created this hit (0 if unknown).
Definition at line 69 of file FittedSiStripHit.h.
References pdg_id_.
|
inline |
Definition at line 65 of file FittedSiStripHit.h.
|
inline |
Detector ID of the originating SimTrackerHit (-1 if unknown).
Definition at line 71 of file FittedSiStripHit.h.
References sim_hit_id_.
|
inline |
Definition at line 58 of file FittedSiStripHit.h.
|
inline |
Fitted hit arrival time [ns] in the sample-window reference frame.
Definition at line 62 of file FittedSiStripHit.h.
References t0_.
Referenced by tracking::digitization::StripClusterer::findClusters().
|
inline |
Geant4 track ID of the particle that created this hit (-1 if unknown).
Definition at line 67 of file FittedSiStripHit.h.
References track_id_.
|
inline |
Definition at line 78 of file FittedSiStripHit.h.
|
inline |
Definition at line 80 of file FittedSiStripHit.h.
|
inline |
Definition at line 85 of file FittedSiStripHit.h.
|
inline |
Definition at line 76 of file FittedSiStripHit.h.
|
inline |
Definition at line 81 of file FittedSiStripHit.h.
|
inline |
Definition at line 83 of file FittedSiStripHit.h.
|
inline |
Definition at line 84 of file FittedSiStripHit.h.
|
inline |
Definition at line 77 of file FittedSiStripHit.h.
|
inline |
Definition at line 79 of file FittedSiStripHit.h.
|
inline |
Definition at line 82 of file FittedSiStripHit.h.
|
friend |
Definition at line 87 of file FittedSiStripHit.h.
|
protected |
Fitted peak amplitude [ADC counts], pedestal-subtracted.
Definition at line 99 of file FittedSiStripHit.h.
Referenced by getAmplitude().
|
protected |
Definition at line 102 of file FittedSiStripHit.h.
|
protected |
Energy deposited by the parent SimTrackerHit [MeV].
Definition at line 113 of file FittedSiStripHit.h.
Referenced by getEdep().
|
protected |
Definition at line 97 of file FittedSiStripHit.h.
|
protected |
Definition at line 103 of file FittedSiStripHit.h.
|
protected |
PDG particle ID of the particle that created this hit.
Definition at line 109 of file FittedSiStripHit.h.
Referenced by getPdgID().
|
protected |
Detector ID of the originating SimTrackerHit.
Definition at line 111 of file FittedSiStripHit.h.
Referenced by getSimHitID().
|
protected |
Definition at line 98 of file FittedSiStripHit.h.
|
protected |
Fitted hit time [ns] in sample-window frame.
Definition at line 101 of file FittedSiStripHit.h.
Referenced by getT0().
|
protected |
Geant4 track ID of the particle that created this hit.
Definition at line 107 of file FittedSiStripHit.h.
Referenced by getTrackID().