hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
|
#include <MCTrackerHit.h>
Public Member Functions | |
MCTrackerHit () | |
virtual | ~MCTrackerHit () |
void | Clear (Option_t *option="") |
void | setPosition (const double *position, bool rotate=false) |
std::vector< double > | getPosition () const |
void | setMomentum (const float *momentum, bool rotate=false) |
std::vector< float > | getMomentum () const |
double | getGlobalX () const |
double | getGlobalY () const |
double | getGlobalZ () const |
void | setTime (const double time) |
double | getTime () const |
void | setEdep (const double edep) |
double | getEdep () const |
void | setModule (const int module) |
int | getModule () |
void | setLayer (const int layer) |
int | getLayer () const |
void | setPDG (const int pdg) |
int | getPDG () const |
ClassDef (MCTrackerHit, 1) | |
Private Attributes | |
double | x_ {-999} |
double | y_ {-999} |
double | z_ {-999} |
float | px_ {-999} |
float | py_ {-999} |
float | pz_ {-999} |
double | time_ {-999} |
int | layer_ {-999} |
int | module_ {-999} |
float | edep_ {-999} |
int | pdg_ {-999} |
Definition at line 22 of file MCTrackerHit.h.
MCTrackerHit | ( | ) |
Constructor
|
virtual |
Destructor
Definition at line 15 of file MCTrackerHit.cxx.
ClassDef | ( | MCTrackerHit | , |
1 | |||
) |
void Clear | ( | Option_t * | option = "" | ) |
Reset the Hit object.
Definition at line 19 of file MCTrackerHit.cxx.
|
inline |
Definition at line 75 of file MCTrackerHit.h.
|
inline |
Definition at line 49 of file MCTrackerHit.h.
|
inline |
Definition at line 52 of file MCTrackerHit.h.
|
inline |
Definition at line 55 of file MCTrackerHit.h.
|
inline |
Definition at line 86 of file MCTrackerHit.h.
|
inline |
Definition at line 80 of file MCTrackerHit.h.
|
inline |
Definition at line 46 of file MCTrackerHit.h.
|
inline |
Definition at line 92 of file MCTrackerHit.h.
|
inline |
Definition at line 43 of file MCTrackerHit.h.
|
inline |
Definition at line 65 of file MCTrackerHit.h.
|
inline |
Set the hit energy deposit.
charge | The hit energy. |
Definition at line 72 of file MCTrackerHit.h.
|
inline |
Definition at line 83 of file MCTrackerHit.h.
|
inline |
Definition at line 77 of file MCTrackerHit.h.
void setMomentum | ( | const float * | momentum, |
bool | rotate = false |
||
) |
Definition at line 23 of file MCTrackerHit.cxx.
|
inline |
Definition at line 89 of file MCTrackerHit.h.
void setPosition | ( | const double * | position, |
bool | rotate = false |
||
) |
Set the hit position.
position | The hit position. |
Definition at line 42 of file MCTrackerHit.cxx.
|
inline |
|
private |
Energy deposit of hit
Definition at line 123 of file MCTrackerHit.h.
|
private |
Layer (Axial + Stereo). 1-12 in 2015/2016 geometry, 1-14 in 2019 geometry
Definition at line 117 of file MCTrackerHit.h.
|
private |
Module
Definition at line 120 of file MCTrackerHit.h.
|
private |
pdg id of particle that made the hit
Definition at line 126 of file MCTrackerHit.h.
|
private |
The truth momentum of the hit. Only MC
Definition at line 109 of file MCTrackerHit.h.
|
private |
Definition at line 110 of file MCTrackerHit.h.
|
private |
Definition at line 111 of file MCTrackerHit.h.
|
private |
The hit time.
Definition at line 114 of file MCTrackerHit.h.
|
private |
The x position of the hit.
Definition at line 100 of file MCTrackerHit.h.
|
private |
The x position of the hit.
Definition at line 103 of file MCTrackerHit.h.
|
private |
The x position of the hit.
Definition at line 106 of file MCTrackerHit.h.