45 : ext_sourceEMax(0.), start_event(false),
46 did_adj_part_reach_ext_source(false), last_ekin(0.), last_weight(0.),
47 prim_weight(1.), last_part_def(0), theUserAdjointSteppingAction(0),
48 theUserFwdSteppingAction(0)
115 if (surface_name ==
"ExternalSource") {
128 else if (surface_name ==
"AdjointSource" && GoingIn) {
G4double GetKineticEnergy() const
G4UserSteppingAction * theUserFwdSteppingAction
G4UserSteppingAction * theUserAdjointSteppingAction
G4bool is_adjoint_tracking_mode
G4ParticleDefinition * last_part_def
G4AdjointSteppingAction()
~G4AdjointSteppingAction()
const G4String & GetParticleType() const
G4AdjointCrossSurfChecker * theG4AdjointCrossSurfChecker
static G4AdjointCrossSurfChecker * GetInstance()
G4ParticleDefinition * GetDefinition() const
G4double GetWeight() const
G4ThreeVector GetMomentum() const
G4StepStatus GetStepStatus() const
G4bool did_one_adj_part_reach_ext_source_during_event
G4int GetBaryonNumber() const
G4Track * GetTrack() const
G4StepPoint * GetPostStepPoint() const
G4ThreeVector last_momentum
G4bool did_adj_part_reach_ext_source
void SetTrackStatus(const G4TrackStatus aTrackStatus)
void UserSteppingAction(const G4Step *)
G4bool CrossingOneOfTheRegisteredSurface(const G4Step *aStep, G4String &surface_name, G4ThreeVector &crossing_pos, G4double &cos_to_surface, G4bool &GoingIn)
virtual void UserSteppingAction(const G4Step *)