![]() |
ATLAS Offline Software
|
Class to collect information about G4 steps. More...
#include <StepInfo.h>
Public Member Functions | |
| StepInfo () | |
| empty default constructor | |
| StepInfo (const StepInfo &first, const StepInfo &second) | |
| void | setP (const CLHEP::Hep3Vector &p) |
| set position | |
| void | setX (const double x) |
| set x position | |
| void | setY (const double y) |
| set y position | |
| void | setZ (const double z) |
| set z position | |
| void | setE (const double t) |
| set depoisted energy | |
| void | setTime (const double t) |
| set time | |
| void | setValid (const bool flag) |
| set validity | |
| CLHEP::Hep3Vector | position () const |
| return spacial position | |
| double | x () const |
| return x position | |
| double | y () const |
| return y position | |
| double | z () const |
| return z position | |
| double | dep () const |
| return deposited energy | |
| double | time () const |
| return time of hit | |
| bool | valid () const |
| return validity flag | |
| double | diff2 (const StepInfo &other) const |
| return spactial distance squared | |
| StepInfo & | operator+= (const StepInfo &other) |
| energy weighted sum | |
Private Attributes | |
| CLHEP::Hep3Vector | m_pos |
| spatial position | |
| double | m_dep |
| deposited energy | |
| double | m_time |
| time | |
| bool | m_valid |
| flag, if hit is valid | |
Class to collect information about G4 steps.
This class is designed to transfer hit information, i.e. position, energy deposition and time, from G4 simulation to the clustering algorithm
Definition at line 34 of file StepInfo.h.
|
inline |
Definition at line 96 of file StepInfo.h.
|
inline |
|
inline |
return spactial distance squared
Definition at line 113 of file StepInfo.h.
energy weighted sum
Definition at line 118 of file StepInfo.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
deposited energy
Definition at line 88 of file StepInfo.h.
|
private |
spatial position
Definition at line 87 of file StepInfo.h.
|
private |
time
Definition at line 89 of file StepInfo.h.
|
private |
flag, if hit is valid
Definition at line 90 of file StepInfo.h.