106 ->CrossingOneOfTheRegisteredSurface(aStep, surface_name,
107 crossing_pos, cos_to_surface, GoingIn))
109 if (surface_name ==
"ExternalSource")
124 else if (surface_name ==
"AdjointSource" && GoingIn)
static G4AdjointCrossSurfChecker * GetInstance()
G4UserSteppingAction * theUserFwdSteppingAction
~G4AdjointSteppingAction()
G4AdjointCrossSurfChecker * theG4AdjointCrossSurfChecker
G4ParticleDefinition * last_part_def
G4bool did_one_adj_part_reach_ext_source_during_event
G4ThreeVector last_momentum
void UserSteppingAction(const G4Step *)
G4AdjointSteppingAction()
G4bool did_adj_part_reach_ext_source
G4bool is_adjoint_tracking_mode
G4UserSteppingAction * theUserAdjointSteppingAction
const G4String & GetParticleType() const
G4int GetBaryonNumber() const
G4StepStatus GetStepStatus() const
G4Track * GetTrack() const
G4StepPoint * GetPostStepPoint() const
void SetTrackStatus(const G4TrackStatus aTrackStatus)
G4double GetWeight() const
G4ThreeVector GetMomentum() const
G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
virtual void UserSteppingAction(const G4Step *)