![]() |
sandreco
1.0.8
A modular reconstruction software for SAND
|
Represents a hit in a detector. More...
#include <EDEPHit.h>
Public Member Functions | |
| EDEPHit ()=default | |
| Constructor for EDEPHit. More... | |
| EDEPHit (const TG4HitSegment &hit, int i=-1) | |
| EDEPHit (const sand::vec_4d &start, const sand::vec_4d &stop, double energy_deposit, double secondary_deposit, double track_length, int contrib, int primary_id, int i) | |
| Constructor for EDEPHit. More... | |
| ~EDEPHit () | |
| Destructor for EDEPHit. | |
| const sand::vec_4d & | GetStart () const |
| Get the start position of the hit. More... | |
| const sand::vec_4d & | GetStop () const |
| Get the stop position of the hit. More... | |
| const double & | GetEnergyDeposit () const |
| Get the energy deposited by the hit. More... | |
| const double & | GetSecondaryDeposit () const |
| Get the secondary deposition of the hit. More... | |
| const double & | GetTrackLength () const |
| Get the track length of the hit. More... | |
| const int & | GetContrib () const |
| Get the main contributor to the hit. More... | |
| const int & | GetPrimaryId () const |
| Get the ID of the primary particle generating the hit. More... | |
| const int & | GetId () const |
| Get the ID of the hit. More... | |
Represents a hit in a detector.
This class encapsulates information about a hit in a detector, such as its start and stop positions, energy deposition, secondary deposition, track length, contribution, primary ID, and index.
|
default |
Constructor for EDEPHit.
| hit | The TG4HitSegment object containing hit information. |
|
inline |
Constructor for EDEPHit.
| start | The start position of the hit. |
| stop | The stop position of the hit. |
| energy_deposit | The energy deposited by the hit. |
| secondary_deposit | The secondary deposition of the hit. |
| track_length | The track length of the hit. |
| contrib | The main contributor of the hit. |
| primary_id | The ID of the primary particle generating the hit. |
| i | The index of the hit. |
|
inline |
Get the main contributor to the hit.
|
inline |
Get the energy deposited by the hit.
|
inline |
Get the ID of the hit.
|
inline |
Get the ID of the primary particle generating the hit.
|
inline |
Get the secondary deposition of the hit.
|
inline |
Get the start position of the hit.
|
inline |
Get the stop position of the hit.
|
inline |
Get the track length of the hit.