Geant4-11
Public Member Functions | Private Attributes
G4BOptnCloning Class Reference

#include <G4BOptnCloning.hh>

Inheritance diagram for G4BOptnCloning:
G4VBiasingOperation

Public Member Functions

virtual void AlongMoveBy (const G4BiasingProcessInterface *, const G4Step *, G4double)
 
virtual G4VParticleChangeApplyFinalStateBiasing (const G4BiasingProcessInterface *, const G4Track *, const G4Step *, G4bool &)
 
virtual G4double DistanceToApplyOperation (const G4Track *, G4double, G4ForceCondition *condition)
 
 G4BOptnCloning (G4String name)
 
virtual G4VParticleChangeGenerateBiasingFinalState (const G4Track *, const G4Step *)
 
G4TrackGetCloneTrack () const
 
const G4StringGetName () const
 
std::size_t GetUniqueID () const
 
virtual G4double ProposeAlongStepLimit (const G4BiasingProcessInterface *)
 
virtual G4GPILSelection ProposeGPILSelection (const G4GPILSelection wrappedProcessSelection)
 
virtual const G4VBiasingInteractionLawProvideOccurenceBiasingInteractionLaw (const G4BiasingProcessInterface *, G4ForceCondition &)
 
void SetCloneWeights (G4double clone1Weight, G4double clone2Weight)
 
virtual ~G4BOptnCloning ()
 

Private Attributes

G4double fClone1W
 
G4double fClone2W
 
G4TrackfCloneTrack
 
const G4String fName
 
G4ParticleChange fParticleChange
 
std::size_t fUniqueID
 

Detailed Description

Definition at line 47 of file G4BOptnCloning.hh.

Constructor & Destructor Documentation

◆ G4BOptnCloning()

G4BOptnCloning::G4BOptnCloning ( G4String  name)

Definition at line 29 of file G4BOptnCloning.cc.

31 fClone1W ( -1.0 ),
32 fClone2W ( -1.0 ),
34 fCloneTrack ( nullptr )
35{}
G4Track * fCloneTrack
G4ParticleChange fParticleChange
G4VBiasingOperation(G4String name)
const char * name(G4int ptype)

◆ ~G4BOptnCloning()

G4BOptnCloning::~G4BOptnCloning ( )
virtual

Definition at line 37 of file G4BOptnCloning.cc.

38{}

Member Function Documentation

◆ AlongMoveBy()

virtual void G4VBiasingOperation::AlongMoveBy ( const G4BiasingProcessInterface ,
const G4Step ,
G4double   
)
inlinevirtualinherited

Reimplemented in G4BOptnForceFreeFlight.

Definition at line 139 of file G4VBiasingOperation.hh.

141 {}

Referenced by G4BiasingProcessInterface::AlongStepDoIt().

◆ ApplyFinalStateBiasing()

virtual G4VParticleChange * G4BOptnCloning::ApplyFinalStateBiasing ( const G4BiasingProcessInterface ,
const G4Track ,
const G4Step ,
G4bool  
)
inlinevirtual

Implements G4VBiasingOperation.

Definition at line 59 of file G4BOptnCloning.hh.

62 {return 0;}

◆ DistanceToApplyOperation()

virtual G4double G4BOptnCloning::DistanceToApplyOperation ( const G4Track ,
G4double  ,
G4ForceCondition condition 
)
inlinevirtual

Implements G4VBiasingOperation.

Definition at line 64 of file G4BOptnCloning.hh.

67 {
68 *condition = NotForced; return 0; // -- acts immediately
69 }
G4double condition(const G4ErrorSymMatrix &m)
@ NotForced

References condition(), and NotForced.

◆ GenerateBiasingFinalState()

G4VParticleChange * G4BOptnCloning::GenerateBiasingFinalState ( const G4Track track,
const G4Step  
)
virtual

◆ GetCloneTrack()

G4Track * G4BOptnCloning::GetCloneTrack ( ) const
inline

Definition at line 78 of file G4BOptnCloning.hh.

78{ return fCloneTrack; }

References fCloneTrack.

Referenced by G4BOptrForceCollision::OperationApplied().

◆ GetName()

const G4String & G4VBiasingOperation::GetName ( ) const
inlineinherited

Definition at line 198 of file G4VBiasingOperation.hh.

198{return fName;}

References G4VBiasingOperation::fName.

◆ GetUniqueID()

std::size_t G4VBiasingOperation::GetUniqueID ( ) const
inlineinherited

Definition at line 199 of file G4VBiasingOperation.hh.

199{return fUniqueID;}

References G4VBiasingOperation::fUniqueID.

◆ ProposeAlongStepLimit()

virtual G4double G4VBiasingOperation::ProposeAlongStepLimit ( const G4BiasingProcessInterface )
inlinevirtualinherited

Reimplemented in G4BOptnForceCommonTruncatedExp.

Definition at line 127 of file G4VBiasingOperation.hh.

127{ return DBL_MAX; }
#define DBL_MAX
Definition: templates.hh:62

References DBL_MAX.

Referenced by G4BiasingProcessInterface::AlongStepGetPhysicalInteractionLength().

◆ ProposeGPILSelection()

virtual G4GPILSelection G4VBiasingOperation::ProposeGPILSelection ( const G4GPILSelection  wrappedProcessSelection)
inlinevirtualinherited

Reimplemented in G4BOptnForceCommonTruncatedExp.

Definition at line 131 of file G4VBiasingOperation.hh.

132 {return wrappedProcessSelection;}

Referenced by G4BiasingProcessInterface::AlongStepGetPhysicalInteractionLength().

◆ ProvideOccurenceBiasingInteractionLaw()

virtual const G4VBiasingInteractionLaw * G4BOptnCloning::ProvideOccurenceBiasingInteractionLaw ( const G4BiasingProcessInterface ,
G4ForceCondition  
)
inlinevirtual

Implements G4VBiasingOperation.

Definition at line 58 of file G4BOptnCloning.hh.

58{return 0;}

◆ SetCloneWeights()

void G4BOptnCloning::SetCloneWeights ( G4double  clone1Weight,
G4double  clone2Weight 
)
inline

Definition at line 76 of file G4BOptnCloning.hh.

76{fClone1W = clone1Weight ; fClone2W = clone2Weight;}

References fClone1W, and fClone2W.

Referenced by G4BOptrForceCollision::ProposeNonPhysicsBiasingOperation().

Field Documentation

◆ fClone1W

G4double G4BOptnCloning::fClone1W
private

Definition at line 81 of file G4BOptnCloning.hh.

Referenced by GenerateBiasingFinalState(), and SetCloneWeights().

◆ fClone2W

G4double G4BOptnCloning::fClone2W
private

Definition at line 82 of file G4BOptnCloning.hh.

Referenced by GenerateBiasingFinalState(), and SetCloneWeights().

◆ fCloneTrack

G4Track* G4BOptnCloning::fCloneTrack
private

Definition at line 84 of file G4BOptnCloning.hh.

Referenced by GenerateBiasingFinalState(), and GetCloneTrack().

◆ fName

const G4String G4VBiasingOperation::fName
privateinherited

Definition at line 203 of file G4VBiasingOperation.hh.

Referenced by G4VBiasingOperation::GetName().

◆ fParticleChange

G4ParticleChange G4BOptnCloning::fParticleChange
private

Definition at line 83 of file G4BOptnCloning.hh.

Referenced by GenerateBiasingFinalState().

◆ fUniqueID

std::size_t G4VBiasingOperation::fUniqueID
privateinherited

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