#include "ReflectorProcess.hh" MyReflectorProcess::MyReflectorProcess(const G4String& processName) : G4VDiscreteProcess(processName) { } MyReflectorProcess::~MyReflectorProcess() { } G4double MyReflectorProcess::GetMeanFreePath(const G4Track&, G4double, G4ForceCondition* condition) { *condition = Forced; return DBL_MAX; } G4VParticleChange* MyReflectorProcess::PostStepDoIt(const G4Track& aTrack, const G4Step& aStep) { aParticleChange.Initialize(aTrack); return G4VDiscreteProcess::PostStepDoIt(aTrack,aStep); }