104 if (new_weight==0 || (new_weight<=0 && new_weight>0)){
G4double GetKineticEnergy() const
virtual ~G4AdjointAlongStepWeightCorrection()
void SetSecondaryWeightByProcess(G4bool)
virtual G4double GetContinuousStepLimit(const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double ¤tSafety)
G4ParticleDefinition * GetDefinition() const
const G4MaterialCutsCouple * GetMaterialCutsCouple() const
virtual void Initialize(const G4Track &)
G4double GetStepLength() const
G4VParticleChange * AlongStepDoIt(const G4Track &, const G4Step &)
G4StepPoint * GetPostStepPoint() const
G4double GetKineticEnergy() const
void DefineMaterial(const G4MaterialCutsCouple *couple)
static G4AdjointCSManager * GetAdjointCSManager()
G4ParticleChange * fParticleChange
size_t currentMaterialIndex
void PreparePhysicsTable(const G4ParticleDefinition &)
void SetParentWeightByProcess(G4bool)
void ProposeParentWeight(G4double finalWeight)
G4AdjointAlongStepWeightCorrection(const G4String &name="ContinuousWeightCorrection", G4ProcessType type=fElectromagnetic)
const G4MaterialCutsCouple * currentCouple
G4double preStepKinEnergy
G4double GetWeight() const
G4double GetContinuousWeightCorrection(G4ParticleDefinition *aPartDef, G4double PreStepEkin, G4double AfterStepEkin, const G4MaterialCutsCouple *aCouple, G4double step_length)
void BuildPhysicsTable(const G4ParticleDefinition &)
const G4DynamicParticle * GetDynamicParticle() const