46 fDirectProcess = aProcess;
48 fFwdParticleDef = fwd_particle_def;
54 if(fDirectProcess !=
nullptr)
55 delete fDirectProcess;
61 fDirectProcess->ResetNumberOfInteractionLengthLeft();
82 G4double GPIL = fDirectProcess->AlongStepGetPhysicalInteractionLength(
83 track, previousStepSize, currentMinimumStep, proposedSafety, selection);
108 fDirectProcess->AtRestGetPhysicalInteractionLength(track,
condition);
133 G4double GPIL = fDirectProcess->PostStepGetPhysicalInteractionLength(
183 fDirectProcess->AlongStepDoIt(track, stepData);
219 return fDirectProcess->IsApplicable(*fFwdParticleDef);
225 return fDirectProcess->BuildPhysicsTable(*fFwdParticleDef);
231 return fDirectProcess->PreparePhysicsTable(*fFwdParticleDef);
237 return fDirectProcess->StorePhysicsTable(fFwdParticleDef, directory, ascii);
243 return fDirectProcess->RetrievePhysicsTable(fFwdParticleDef, directory,
259 fDirectProcess->StartTracking(track);
270 fDirectProcess->EndTracking();
G4double condition(const G4ErrorSymMatrix &m)
void StartTracking(G4Track *) override
~G4AdjointProcessEquivalentToDirectProcess() override
G4VParticleChange * AtRestDoIt(const G4Track &track, const G4Step &stepData) override
G4VParticleChange * PostStepDoIt(const G4Track &track, const G4Step &stepData) override
void PreparePhysicsTable(const G4ParticleDefinition &) override
void EndTracking() override
G4bool StorePhysicsTable(const G4ParticleDefinition *, const G4String &directory, G4bool ascii=false) override
G4double AtRestGetPhysicalInteractionLength(const G4Track &track, G4ForceCondition *condition) override
G4AdjointProcessEquivalentToDirectProcess(const G4String &aName, G4VProcess *aProcess, G4ParticleDefinition *fwd_particle_def)
G4bool RetrievePhysicsTable(const G4ParticleDefinition *, const G4String &directory, G4bool ascii=false) override
G4VParticleChange * AlongStepDoIt(const G4Track &track, const G4Step &stepData) override
G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition) override
void BuildPhysicsTable(const G4ParticleDefinition &) override
G4bool IsApplicable(const G4ParticleDefinition &) override
G4double AlongStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double &proposedSafety, G4GPILSelection *selection) override
void ResetNumberOfInteractionLengthLeft() override
void SetPreAssignedDecayProducts(G4DecayProducts *aDecayProducts)
void SetDefinition(const G4ParticleDefinition *aParticleDefinition)
const G4DecayProducts * GetPreAssignedDecayProducts() const
G4ParticleDefinition * GetDefinition() const
const G4DynamicParticle * GetDynamicParticle() const
G4ProcessType theProcessType
G4VProcess(const G4String &aName="NoName", G4ProcessType aType=fNotDefined)