Digitization hit inheritad from LCIO SimTrackerHitImpl, which naturally extends basic features of SimTrackerHitImpl. More...
#include <SimTrackerDigiHit.h>
Public Member Functions | |
SimTrackerDigiHit () | |
Constructor. More... | |
~SimTrackerDigiHit () | |
Destructor. More... | |
void | setPosition (double pos[3]) |
Set preStep position of a hit - DEPRECATED method, necessary for backwards compatibility. More... | |
void | setPrePosition (double pos[3], float momentum[3], float pathLength) |
Set preStep position of a hit. More... | |
void | setPrePosition (double preX, double preY, double preZ) |
Set preStep position of a hit. More... | |
void | set3PrePosition (const CLHEP::Hep3Vector &prePosition) |
Set preStep position Three vector. More... | |
void | setPosPosition (double pos[3], float momentum[3], float pathLength) |
Set posStep position of a hit (parameters: preStep position, momentum at this position and total path length), necessary for backwards compatibility. More... | |
void | setPosPosition (double posX, double posY, double posZ) |
Set posStep position of a hit. More... | |
void | set3PosPosition (const CLHEP::Hep3Vector &posPosition) |
Set posStep Three vector. More... | |
void | setMomentum (float p[3]) |
Set particle momentum at preStep position. More... | |
void | setMomentum (float pX, float pY, float pZ) |
Set particle momentum at preStep position. More... | |
void | set3Momentum (const CLHEP::Hep3Vector &momentum) |
Set particle Three momentum. More... | |
void | setLayerID (short int iLayer) |
Set layer ID. More... | |
void | setLadderID (short int iLadder) |
Set ladder ID. More... | |
void | setSensorID (short int iSensor) |
Set sensor ID. More... | |
void | setSimTrackerHit (EVENT::SimTrackerHit *simHit) |
Set original SimTrackerHit. More... | |
CLHEP::Hep3Vector | get3PrePosition () const |
Get preStep position Three vector. More... | |
double | getPreX () const |
Get preStep position X. More... | |
double | getPreY () const |
Get preStep position Y. More... | |
double | getPreZ () const |
Get preStep position Z. More... | |
CLHEP::Hep3Vector | get3PosPosition () const |
Get posStep position Three vector. More... | |
double | getPosX () const |
Get posStep position X. More... | |
double | getPosY () const |
Get posStep position Y. More... | |
double | getPosZ () const |
Get posStep position Z. More... | |
CLHEP::Hep3Vector | get3Step () const |
Get step. More... | |
double | getStepSize () const |
Get step size. More... | |
CLHEP::Hep3Vector | get3Momentum () const |
Get momentum Three vector. More... | |
float | getPx () const |
Get momentum X. More... | |
float | getPy () const |
Get momentum X. More... | |
float | getPz () const |
Get momentum Z. More... | |
short int | getLayerID () const |
Get layer ID. More... | |
short int | getLadderID () const |
Get ladder ID. More... | |
short int | getSensorID () const |
Get sensor ID. More... | |
EVENT::SimTrackerHit * | getSimTrackerHit () const |
Get original SimTrackerHit. More... | |
Protected Attributes | |
CLHEP::Hep3Vector | _prePosition |
PreStep position in cm. More... | |
CLHEP::Hep3Vector | _posPosition |
PosStep position in cm. More... | |
CLHEP::Hep3Vector | _momentum |
Momentum in GeV. More... | |
short int | _iLayer |
ID number of a layer. More... | |
short int | _iLadder |
ID number of a ladder. More... | |
short int | _iSensor |
ID number of a sensor. More... | |
EVENT::SimTrackerHit * | _simHit |
Original SimTrackerHit. More... | |
Digitization hit inheritad from LCIO SimTrackerHitImpl, which naturally extends basic features of SimTrackerHitImpl.
It defines so-called preStep position (step initial position) and posStep position (step final position).
Definition at line 27 of file SimTrackerDigiHit.h.
sistrip::SimTrackerDigiHit::SimTrackerDigiHit | ( | ) |
Constructor.
Definition at line 12 of file SimTrackerDigiHit.cc.
sistrip::SimTrackerDigiHit::~SimTrackerDigiHit | ( | ) |
Destructor.
Definition at line 40 of file SimTrackerDigiHit.cc.
|
inline |
Get momentum Three vector.
Definition at line 118 of file SimTrackerDigiHit.h.
|
inline |
Get posStep position Three vector.
Definition at line 100 of file SimTrackerDigiHit.h.
|
inline |
Get preStep position Three vector.
Definition at line 88 of file SimTrackerDigiHit.h.
|
inline |
Get step.
Definition at line 112 of file SimTrackerDigiHit.h.
|
inline |
Get ladder ID.
Definition at line 133 of file SimTrackerDigiHit.h.
|
inline |
Get layer ID.
Definition at line 130 of file SimTrackerDigiHit.h.
|
inline |
Get posStep position X.
Definition at line 103 of file SimTrackerDigiHit.h.
|
inline |
Get posStep position Y.
Definition at line 106 of file SimTrackerDigiHit.h.
|
inline |
Get posStep position Z.
Definition at line 109 of file SimTrackerDigiHit.h.
|
inline |
Get preStep position X.
Definition at line 91 of file SimTrackerDigiHit.h.
|
inline |
Get preStep position Y.
Definition at line 94 of file SimTrackerDigiHit.h.
|
inline |
Get preStep position Z.
Definition at line 97 of file SimTrackerDigiHit.h.
|
inline |
Get momentum X.
Definition at line 121 of file SimTrackerDigiHit.h.
|
inline |
Get momentum X.
Definition at line 124 of file SimTrackerDigiHit.h.
|
inline |
Get momentum Z.
Definition at line 127 of file SimTrackerDigiHit.h.
|
inline |
Get sensor ID.
Definition at line 136 of file SimTrackerDigiHit.h.
|
inline |
Get original SimTrackerHit.
Definition at line 139 of file SimTrackerDigiHit.h.
double sistrip::SimTrackerDigiHit::getStepSize | ( | ) | const |
Get step size.
Definition at line 170 of file SimTrackerDigiHit.cc.
void sistrip::SimTrackerDigiHit::set3Momentum | ( | const CLHEP::Hep3Vector & | momentum | ) |
Set particle Three momentum.
Definition at line 158 of file SimTrackerDigiHit.cc.
void sistrip::SimTrackerDigiHit::set3PosPosition | ( | const CLHEP::Hep3Vector & | posPosition | ) |
Set posStep Three vector.
Definition at line 122 of file SimTrackerDigiHit.cc.
void sistrip::SimTrackerDigiHit::set3PrePosition | ( | const CLHEP::Hep3Vector & | prePosition | ) |
Set preStep position Three vector.
Definition at line 86 of file SimTrackerDigiHit.cc.
|
inline |
Set ladder ID.
Definition at line 76 of file SimTrackerDigiHit.h.
|
inline |
Set layer ID.
Definition at line 73 of file SimTrackerDigiHit.h.
void sistrip::SimTrackerDigiHit::setMomentum | ( | float | p[3] | ) |
Set particle momentum at preStep position.
Definition at line 130 of file SimTrackerDigiHit.cc.
void sistrip::SimTrackerDigiHit::setMomentum | ( | float | pX, |
float | pY, | ||
float | pZ | ||
) |
Set particle momentum at preStep position.
Definition at line 144 of file SimTrackerDigiHit.cc.
void sistrip::SimTrackerDigiHit::setPosition | ( | double | pos[3] | ) |
Set preStep position of a hit - DEPRECATED method, necessary for backwards compatibility.
Definition at line 49 of file SimTrackerDigiHit.cc.
void sistrip::SimTrackerDigiHit::setPosPosition | ( | double | pos[3], |
float | momentum[3], | ||
float | pathLength | ||
) |
Set posStep position of a hit (parameters: preStep position, momentum at this position and total path length), necessary for backwards compatibility.
Definition at line 98 of file SimTrackerDigiHit.cc.
void sistrip::SimTrackerDigiHit::setPosPosition | ( | double | posX, |
double | posY, | ||
double | posZ | ||
) |
Set posStep position of a hit.
Definition at line 112 of file SimTrackerDigiHit.cc.
void sistrip::SimTrackerDigiHit::setPrePosition | ( | double | pos[3], |
float | momentum[3], | ||
float | pathLength | ||
) |
Set preStep position of a hit.
Definition at line 57 of file SimTrackerDigiHit.cc.
void sistrip::SimTrackerDigiHit::setPrePosition | ( | double | preX, |
double | preY, | ||
double | preZ | ||
) |
Set preStep position of a hit.
Definition at line 71 of file SimTrackerDigiHit.cc.
|
inline |
Set sensor ID.
Definition at line 79 of file SimTrackerDigiHit.h.
|
inline |
Set original SimTrackerHit.
Definition at line 82 of file SimTrackerDigiHit.h.
|
protected |
ID number of a ladder.
Definition at line 148 of file SimTrackerDigiHit.h.
|
protected |
ID number of a layer.
Definition at line 147 of file SimTrackerDigiHit.h.
|
protected |
ID number of a sensor.
Definition at line 149 of file SimTrackerDigiHit.h.
|
protected |
Momentum in GeV.
Definition at line 145 of file SimTrackerDigiHit.h.
|
protected |
PosStep position in cm.
Definition at line 144 of file SimTrackerDigiHit.h.
|
protected |
PreStep position in cm.
Definition at line 143 of file SimTrackerDigiHit.h.
|
protected |
Original SimTrackerHit.
Definition at line 151 of file SimTrackerDigiHit.h.