ATLAS Offline Software
|
Class to collect information about G4 steps. More...
#include <StepInfo.h>
Public Member Functions | |
StepInfo () | |
empty default constructor More... | |
StepInfo (const StepInfo &first, const StepInfo &second) | |
void | setP (const CLHEP::Hep3Vector &p) |
set position More... | |
void | setX (const double x) |
set x position More... | |
void | setY (const double y) |
set y position More... | |
void | setZ (const double z) |
set z position More... | |
void | setE (const double t) |
set depoisted energy More... | |
void | setTime (const double t) |
set time More... | |
void | setValid (const bool flag) |
set validity More... | |
CLHEP::Hep3Vector | position () const |
return spacial position More... | |
double | x () const |
return x position More... | |
double | y () const |
return y position More... | |
double | z () const |
return z position More... | |
double | dep () const |
return deposited energy More... | |
double | time () const |
return time of hit More... | |
bool | valid () const |
return validity flag More... | |
double | diff2 (const StepInfo &other) const |
return spactial distance squared More... | |
StepInfo & | operator+= (const StepInfo &other) |
energy weighted sum More... | |
Private Attributes | |
CLHEP::Hep3Vector | m_pos |
spatial position More... | |
double | m_dep |
deposited energy More... | |
double | m_time |
time More... | |
bool | m_valid |
flag, if hit is valid More... | |
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 |
empty default constructor
Definition at line 40 of file StepInfo.h.
Definition at line 96 of file StepInfo.h.
|
inline |
return spactial distance squared
Definition at line 113 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.