41 fApplyProbability(1.0)
46 fSplittingFactorMessenger =
50 fSplittingFactorMessenger->
DeclareProperty(
"setSplittingFactor", fSplittingFactor,
51 "Define the splitting factor." );
54 fApplyProbabilityMessenger =
58 fApplyProbabilityMessenger->
DeclareProperty(
"setApplyProbability", fApplyProbability,
59 "Define the probability to apply the splitting/killing." );
68 delete fSplitAndKillOperation;
77 G4cout <<
GetName() <<
" : starting run with splitting factor = " << fSplittingFactor
78 <<
", and probability for applying the technique " << fApplyProbability
85 GB03BOptrGeometryBasedBiasing::
86 ProposeNonPhysicsBiasingOperation(
const G4Track* ,
90 return fSplitAndKillOperation;
virtual ~GB03BOptrGeometryBasedBiasing()
This class is generic messenger.
Command & DeclareProperty(const G4String &name, const G4AnyType &variable, const G4String &doc="")
Declare Methods.
void SetApplyProbability(G4double proba)
Definition of the GB03BOptrGeometryBasedBiasing class.
G4GLOB_DLL std::ostream G4cout
Command & SetStates(G4ApplicationState s0)
void SetSplittingFactor(G4int splittingFactor)
GB03BOptrGeometryBasedBiasing()
const G4String GetName() const