37 #include "G4StepPoint.hh" 63 G4StepPoint* PostStepPoint= aStep->GetPostStepPoint();
64 G4StepPoint* PreStepPoint= aStep->GetPreStepPoint();
67 if ( PostStepPoint->GetGlobalTime() /
nanosecond > 1.0E9 ) TSliceID = 999999999;
68 else TSliceID =
static_cast<int>( PostStepPoint->GetGlobalTime() /
nanosecond );
73 PreStepPoint->GetPosition());
76 double perp = std::sqrt(HitPoint.
y()*HitPoint.
y()+HitPoint.
z()*HitPoint.
z());
77 int radialPosition =
std::min(69,
int(perp/
cm));
G4GLOB_DLL std::ostream G4cout
void InsertLateralProfile(float *)
static const double nanosecond
Alternative here is a XML file.
static CCalAnalysis * getInstance()
virtual void UserSteppingAction(const G4Step *aStep)