Geant4  10.02.p02
G4BOptrForceCollision Class Reference

#include <G4BOptrForceCollision.hh>

+ Inheritance diagram for G4BOptrForceCollision:
+ Collaboration diagram for G4BOptrForceCollision:

Public Member Functions

 G4BOptrForceCollision (G4String particleToForce, G4String name="ForceCollision")
 
 G4BOptrForceCollision (const G4ParticleDefinition *particleToForce, G4String name="ForceCollision")
 
 ~G4BOptrForceCollision ()
 
virtual void Configure () final
 
virtual void ConfigureForWorker () final
 
virtual void StartRun () final
 
virtual void StartTracking (const G4Track *track) final
 
virtual void ExitBiasing (const G4Track *, const G4BiasingProcessInterface *) final
 
virtual void EndTracking () final
 
void OperationApplied (const G4BiasingProcessInterface *callingProcess, G4BiasingAppliedCase biasingCase, G4VBiasingOperation *operationApplied, const G4VParticleChange *particleChangeProduced) final
 
void OperationApplied (const G4BiasingProcessInterface *callingProcess, G4BiasingAppliedCase biasingCase, G4VBiasingOperation *occurenceOperationApplied, G4double weightForOccurenceInteraction, G4VBiasingOperation *finalStateOperationApplied, const G4VParticleChange *particleChangeProduced) final
 
- Public Member Functions inherited from G4VBiasingOperator
 G4VBiasingOperator (G4String name)
 
virtual ~G4VBiasingOperator ()
 
const G4String GetName () const
 
void AttachTo (const G4LogicalVolume *)
 
G4BiasingAppliedCase GetPreviousBiasingAppliedCase () const
 
G4VBiasingOperationGetProposedOccurenceBiasingOperation (const G4Track *track, const G4BiasingProcessInterface *callingProcess)
 
G4VBiasingOperationGetProposedFinalStateBiasingOperation (const G4Track *track, const G4BiasingProcessInterface *callingProcess)
 
G4VBiasingOperationGetProposedNonPhysicsBiasingOperation (const G4Track *track, const G4BiasingProcessInterface *callingProcess)
 
void ExitingBiasing (const G4Track *track, const G4BiasingProcessInterface *callingProcess)
 
void ReportOperationApplied (const G4BiasingProcessInterface *callingProcess, G4BiasingAppliedCase biasingCase, G4VBiasingOperation *operationApplied, const G4VParticleChange *particleChangeProduced)
 
void ReportOperationApplied (const G4BiasingProcessInterface *callingProcess, G4BiasingAppliedCase biasingCase, G4VBiasingOperation *occurenceOperationApplied, G4double weightForOccurenceInteraction, G4VBiasingOperation *finalStateOperationApplied, const G4VParticleChange *particleChangeProduced)
 
const G4VBiasingOperationGetPreviousNonPhysicsAppliedOperation ()
 

Private Member Functions

virtual G4VBiasingOperationProposeNonPhysicsBiasingOperation (const G4Track *track, const G4BiasingProcessInterface *callingProcess) final
 
virtual G4VBiasingOperationProposeOccurenceBiasingOperation (const G4Track *track, const G4BiasingProcessInterface *callingProcess) final
 
virtual G4VBiasingOperationProposeFinalStateBiasingOperation (const G4Track *track, const G4BiasingProcessInterface *callingProcess) final
 

Private Attributes

G4int fForceCollisionModelID
 
const G4TrackfCurrentTrack
 
G4BOptrForceCollisionTrackDatafCurrentTrackData
 
std::map< const
G4BiasingProcessInterface
*, G4BOptnForceFreeFlight * > 
fFreeFlightOperations
 
G4BOptnForceCommonTruncatedExpfSharedForceInteractionOperation
 
G4BOptnCloningfCloningOperation
 
G4double fInitialTrackWeight
 
G4bool fSetup
 
const G4ParticleDefinitionfParticleToBias
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VBiasingOperator
static const std::vector
< G4VBiasingOperator * > & 
GetBiasingOperators ()
 
static G4VBiasingOperatorGetBiasingOperator (const G4LogicalVolume *)
 

Detailed Description

Definition at line 59 of file G4BOptrForceCollision.hh.

Constructor & Destructor Documentation

G4BOptrForceCollision::G4BOptrForceCollision ( G4String  particleToForce,
G4String  name = "ForceCollision" 
)

Definition at line 46 of file G4BOptrForceCollision.cc.

References fCloningOperation, G4ParticleTable::FindParticle(), fParticleToBias, fSharedForceInteractionOperation, G4endl, G4Exception(), G4ParticleTable::GetParticleTable(), and JustWarning.

+ Here is the call graph for this function:

G4BOptrForceCollision::G4BOptrForceCollision ( const G4ParticleDefinition particleToForce,
G4String  name = "ForceCollision" 
)
G4BOptrForceCollision::~G4BOptrForceCollision ( )

Member Function Documentation

void G4BOptrForceCollision::Configure ( )
finalvirtual

Reimplemented from G4VBiasingOperator.

Definition at line 94 of file G4BOptrForceCollision.cc.

References ConfigureForWorker(), fForceCollisionModelID, and G4PhysicsModelCatalog::Register().

+ Here is the call graph for this function:

void G4BOptrForceCollision::ConfigureForWorker ( )
finalvirtual

Reimplemented from G4VBiasingOperator.

Definition at line 104 of file G4BOptrForceCollision.cc.

References fForceCollisionModelID, fFreeFlightOperations, fParticleToBias, fSetup, G4BiasingProcessSharedData::GetPhysicsBiasingProcessInterfaces(), G4ParticleDefinition::GetProcessManager(), G4VProcess::GetProcessName(), G4BiasingProcessInterface::GetSharedData(), G4BiasingProcessInterface::GetWrappedProcess(), and G4PhysicsModelCatalog::Register().

Referenced by Configure().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4BOptrForceCollision::EndTracking ( )
finalvirtual

Reimplemented from G4VBiasingOperator.

Definition at line 316 of file G4BOptrForceCollision.cc.

References fCurrentTrack, fCurrentTrackData, fKillTrackAndSecondaries, fStopAndKill, G4Exception(), G4VBiasingOperator::GetName(), G4Track::GetTrackStatus(), G4BOptrForceCollisionTrackData::IsFreeFromBiasing(), and JustWarning.

+ Here is the call graph for this function:

virtual void G4BOptrForceCollision::ExitBiasing ( const G4Track ,
const G4BiasingProcessInterface  
)
inlinefinalvirtual

Reimplemented from G4VBiasingOperator.

Definition at line 76 of file G4BOptrForceCollision.hh.

void G4BOptrForceCollision::OperationApplied ( const G4BiasingProcessInterface callingProcess,
G4BiasingAppliedCase  biasingCase,
G4VBiasingOperation operationApplied,
const G4VParticleChange particleChangeProduced 
)
finalvirtual
void G4BOptrForceCollision::OperationApplied ( const G4BiasingProcessInterface callingProcess,
G4BiasingAppliedCase  biasingCase,
G4VBiasingOperation occurenceOperationApplied,
G4double  weightForOccurenceInteraction,
G4VBiasingOperation finalStateOperationApplied,
const G4VParticleChange particleChangeProduced 
)
finalvirtual

Reimplemented from G4VBiasingOperator.

Definition at line 407 of file G4BOptrForceCollision.cc.

References fCurrentTrackData, G4BOptrForceCollisionTrackData::fForceCollisionState, fSharedForceInteractionOperation, G4endl, G4Exception(), G4BOptnForceCommonTruncatedExp::GetInteractionOccured(), JustWarning, G4BOptrForceCollisionTrackData::Reset(), and toBeForced.

+ Here is the call graph for this function:

G4VBiasingOperation * G4BOptrForceCollision::ProposeFinalStateBiasingOperation ( const G4Track track,
const G4BiasingProcessInterface callingProcess 
)
finalprivatevirtual

Implements G4VBiasingOperator.

Definition at line 300 of file G4BOptrForceCollision.cc.

References G4BiasingProcessInterface::GetCurrentOccurenceBiasingOperation().

+ Here is the call graph for this function:

void G4BOptrForceCollision::StartRun ( )
finalvirtual

Reimplemented from G4VBiasingOperator.

Definition at line 130 of file G4BOptrForceCollision.cc.

void G4BOptrForceCollision::StartTracking ( const G4Track track)
finalvirtual

Reimplemented from G4VBiasingOperator.

Definition at line 309 of file G4BOptrForceCollision.cc.

References fCurrentTrack, and fCurrentTrackData.

Member Data Documentation

G4BOptnCloning* G4BOptrForceCollision::fCloningOperation
private
const G4Track* G4BOptrForceCollision::fCurrentTrack
private

Definition at line 89 of file G4BOptrForceCollision.hh.

Referenced by EndTracking(), and StartTracking().

G4int G4BOptrForceCollision::fForceCollisionModelID
private
std::map< const G4BiasingProcessInterface*, G4BOptnForceFreeFlight* > G4BOptrForceCollision::fFreeFlightOperations
private
G4double G4BOptrForceCollision::fInitialTrackWeight
private
const G4ParticleDefinition* G4BOptrForceCollision::fParticleToBias
private
G4bool G4BOptrForceCollision::fSetup
private

Definition at line 95 of file G4BOptrForceCollision.hh.

Referenced by ConfigureForWorker().

G4BOptnForceCommonTruncatedExp* G4BOptrForceCollision::fSharedForceInteractionOperation
private

The documentation for this class was generated from the following files: