53 ed <<
"Particle `" << particleName <<
"' not found !" <<
G4endl;
65 for ( std::map< const G4BiasingProcessInterface*, G4BOptnChangeCrossSection* >::iterator
68 it++ )
delete (*it).second;
92 G4String operationName =
"XSchange-" +
124 if ( analogInteractionLength >
DBL_MAX/10. )
return 0;
127 G4double analogXS = 1./analogInteractionLength;
150 if ( previousOperation == 0 )
157 if ( previousOperation != operation )
161 ed <<
" Logic problem in operation handling !" <<
G4endl;
162 G4Exception(
"GB01BOptrChangeCrossSection::ProposeOccurenceBiasingOperation(...)",
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
std::ostringstream G4ExceptionDescription
static G4ParticleTable * GetParticleTable()
void UpdateForStep(G4double stepLength)
Definition of the GB01BOptrChangeCrossSection class.
G4double GetCurrentInteractionLength() const
G4VBiasingOperation * GetPreviousOccurenceBiasingOperation() const
G4ParticleDefinition * GetDefinition() const
const std::vector< const G4BiasingProcessInterface * > & GetPhysicsBiasingProcessInterfaces() const
G4bool GetInteractionOccured() const
void SetInteractionOccured()
G4VProcess * GetWrappedProcess() const
const G4String & GetProcessName() const
void SetBiasedCrossSection(G4double xst)
const G4ParticleDefinition * fParticleToBias
GB01BOptrChangeCrossSection(G4String particleToBias, G4String name="ChangeXS")
virtual void OperationApplied(const G4BiasingProcessInterface *callingProcess, G4BiasingAppliedCase biasingCase, G4VBiasingOperation *occurenceOperationApplied, G4double weightForOccurenceInteraction, G4VBiasingOperation *finalStateOperationApplied, const G4VParticleChange *particleChangeProduced)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4double GetPreviousStepSize() const
G4ProcessManager * GetProcessManager() const
virtual G4VBiasingOperation * ProposeOccurenceBiasingOperation(const G4Track *track, const G4BiasingProcessInterface *callingProcess)
std::map< const G4BiasingProcessInterface *, G4BOptnChangeCrossSection * > fChangeCrossSectionOperations
const G4BiasingProcessSharedData * GetSharedData() const
virtual ~GB01BOptrChangeCrossSection()