14#include "trg/cdc/SteppingAction.h"
35 const G4StepPoint& in = * aStep->GetPreStepPoint();
36 const G4StepPoint& out = * aStep->GetPostStepPoint();
37 const double rIn = in.GetPosition().r();
38 const double rOut = out.GetPosition().r();
39 const bool curlBack = rIn > rOut;
41 aStep->GetTrack()->SetTrackStatus(fKillTrackAndSecondaries);
virtual void UserSteppingAction(const G4Step *)
Stepping action to control a step in G4.
virtual ~TRGCDCSteppingAction()
Destructor.
TRGCDCSteppingAction()
Constructor.
Abstract base class for different kinds of events.