Geant4
10.01.p02
|
#include <G4VBiasingOperator.hh>
Static Public Member Functions | |
static const std::vector < G4VBiasingOperator * > & | GetBiasingOperators () |
static G4VBiasingOperator * | GetBiasingOperator (const G4LogicalVolume *) |
Protected Member Functions | |
virtual G4VBiasingOperation * | ProposeNonPhysicsBiasingOperation (const G4Track *track, const G4BiasingProcessInterface *callingProcess)=0 |
virtual G4VBiasingOperation * | ProposeOccurenceBiasingOperation (const G4Track *track, const G4BiasingProcessInterface *callingProcess)=0 |
virtual G4VBiasingOperation * | ProposeFinalStateBiasingOperation (const G4Track *track, const G4BiasingProcessInterface *callingProcess)=0 |
virtual void | OperationApplied (const G4BiasingProcessInterface *callingProcess, G4BiasingAppliedCase biasingCase, G4VBiasingOperation *operationApplied, const G4VParticleChange *particleChangeProduced) |
virtual void | OperationApplied (const G4BiasingProcessInterface *callingProcess, G4BiasingAppliedCase biasingCase, G4VBiasingOperation *occurenceOperationApplied, G4double weightForOccurenceInteraction, G4VBiasingOperation *finalStateOperationApplied, const G4VParticleChange *particleChangeProduced) |
virtual void | ExitBiasing (const G4Track *track, const G4BiasingProcessInterface *callingProcess) |
void | RememberSecondaries (const G4BiasingProcessInterface *callingProcess, const G4VBiasingOperation *operationApplied, const G4VParticleChange *particleChangeProduced) |
void | ForgetTrack (const G4Track *track) |
Static Private Attributes | |
static G4MapCache< const G4LogicalVolume *, G4VBiasingOperator * > | fLogicalToSetupMap |
static G4VectorCache < G4VBiasingOperator * > | fOperators |
static G4Cache < G4BiasingOperatorStateNotifier * > | fStateNotifier |
Friends | |
class | G4BiasingOperatorStateNotifier |
Definition at line 193 of file G4VBiasingOperator.hh.
G4VBiasingOperator::G4VBiasingOperator | ( | G4String | name | ) |
Definition at line 38 of file G4VBiasingOperator.cc.
References fOperators, fStateNotifier, G4Cache< VALTYPE >::Get(), G4VectorCache< VALTYPE >::Push_back(), and G4Cache< VALTYPE >::Put().
|
virtual |
Definition at line 47 of file G4VBiasingOperator.cc.
void G4VBiasingOperator::AttachTo | ( | const G4LogicalVolume * | logical | ) |
Definition at line 51 of file G4VBiasingOperator.cc.
References G4MapCache< KEYTYPE, VALTYPE >::End(), G4MapCache< KEYTYPE, VALTYPE >::Find(), fLogicalToSetupMap, G4endl, G4Exception(), G4LogicalVolume::GetName(), GetName(), and JustWarning.
Referenced by GB01DetectorConstruction::ConstructSDandField(), GB02DetectorConstruction::ConstructSDandField(), GB04DetectorConstruction::ConstructSDandField(), and GB03DetectorConstruction::SetupBiasing().
|
inlinevirtual |
Definition at line 276 of file G4VBiasingOperator.hh.
|
protectedvirtual |
Reimplemented in G4BOptrForceCollision, and GB02BOptrMultiParticleForceCollision.
Definition at line 194 of file G4VBiasingOperator.cc.
Referenced by ExitingBiasing().
void G4VBiasingOperator::ExitingBiasing | ( | const G4Track * | track, |
const G4BiasingProcessInterface * | callingProcess | ||
) |
Definition at line 155 of file G4VBiasingOperator.cc.
References BAC_None, ExitBiasing(), fFinalStateBiasingOperation, fNonPhysicsBiasingOperation, fOccurenceBiasingOperation, fPreviousAppliedFinalStateBiasingOperation, fPreviousAppliedNonPhysicsBiasingOperation, fPreviousAppliedOccurenceBiasingOperation, fPreviousBiasingAppliedCase, fPreviousProposedFinalStateBiasingOperation, fPreviousProposedNonPhysicsBiasingOperation, and fPreviousProposedOccurenceBiasingOperation.
Referenced by GB02BOptrMultiParticleForceCollision::ExitBiasing().
|
protected |
Definition at line 184 of file G4VBiasingOperator.cc.
References G4BiasingTrackDataStore::GetBiasingTrackData(), and G4BiasingTrackDataStore::GetInstance().
Referenced by G4BOptrForceCollision::ExitBiasing().
|
static |
Definition at line 70 of file G4VBiasingOperator.cc.
References G4MapCache< KEYTYPE, VALTYPE >::End(), G4MapCache< KEYTYPE, VALTYPE >::Find(), and fLogicalToSetupMap.
Referenced by G4BiasingProcessInterface::PostStepGetPhysicalInteractionLength().
|
inlinestatic |
Definition at line 290 of file G4VBiasingOperator.hh.
References fOperators, and G4Cache< VALTYPE >::Get().
Referenced by G4BiasingProcessInterface::EndTracking(), and G4BiasingProcessInterface::StartTracking().
const G4VBiasingOperation * G4VBiasingOperator::GetBirthOperation | ( | const G4Track * | track | ) |
Definition at line 96 of file G4VBiasingOperator.cc.
References G4BiasingTrackDataStore::GetBiasingTrackData(), G4BiasingTrackData::GetBirthOperation(), and G4BiasingTrackDataStore::GetInstance().
Referenced by G4BOptrForceCollision::ProposeOccurenceBiasingOperation().
|
inline |
Definition at line 285 of file G4VBiasingOperator.hh.
References fName.
Referenced by AttachTo(), GB02DetectorConstruction::ConstructSDandField(), GB01DetectorConstruction::ConstructSDandField(), GB04DetectorConstruction::ConstructSDandField(), GB04BOptrBremSplitting::StartRun(), and GB03BOptrGeometryBasedBiasing::StartRun().
|
inline |
Definition at line 288 of file G4VBiasingOperator.hh.
References fPreviousBiasingAppliedCase.
|
inline |
Definition at line 312 of file G4VBiasingOperator.hh.
References fPreviousAppliedNonPhysicsBiasingOperation.
G4VBiasingOperation * G4VBiasingOperator::GetProposedFinalStateBiasingOperation | ( | const G4Track * | track, |
const G4BiasingProcessInterface * | callingProcess | ||
) |
Definition at line 84 of file G4VBiasingOperator.cc.
References fFinalStateBiasingOperation, and ProposeFinalStateBiasingOperation().
Referenced by GB02BOptrMultiParticleForceCollision::ProposeFinalStateBiasingOperation().
G4VBiasingOperation * G4VBiasingOperator::GetProposedNonPhysicsBiasingOperation | ( | const G4Track * | track, |
const G4BiasingProcessInterface * | callingProcess | ||
) |
Definition at line 90 of file G4VBiasingOperator.cc.
References fNonPhysicsBiasingOperation, and ProposeNonPhysicsBiasingOperation().
Referenced by GB02BOptrMultiParticleForceCollision::ProposeNonPhysicsBiasingOperation().
G4VBiasingOperation * G4VBiasingOperator::GetProposedOccurenceBiasingOperation | ( | const G4Track * | track, |
const G4BiasingProcessInterface * | callingProcess | ||
) |
Definition at line 78 of file G4VBiasingOperator.cc.
References fOccurenceBiasingOperation, and ProposeOccurenceBiasingOperation().
Referenced by GB02BOptrMultiParticleForceCollision::ProposeOccurenceBiasingOperation(), and GB01BOptrMultiParticleChangeCrossSection::ProposeOccurenceBiasingOperation().
|
protectedvirtual |
Reimplemented in G4BOptrForceCollision, and GB02BOptrMultiParticleForceCollision.
Definition at line 196 of file G4VBiasingOperator.cc.
Referenced by ReportOperationApplied().
|
protectedvirtual |
Reimplemented in GB01BOptrMultiParticleChangeCrossSection, and GB01BOptrChangeCrossSection.
Definition at line 199 of file G4VBiasingOperator.cc.
|
protectedpure virtual |
Implemented in GB01BOptrMultiParticleChangeCrossSection, GB01BOptrChangeCrossSection, GB03BOptrGeometryBasedBiasing, G4BOptrForceCollision, GB04BOptrBremSplitting, and GB02BOptrMultiParticleForceCollision.
Referenced by GetProposedFinalStateBiasingOperation().
|
protectedpure virtual |
Implemented in GB01BOptrMultiParticleChangeCrossSection, GB01BOptrChangeCrossSection, G4BOptrForceCollision, GB03BOptrGeometryBasedBiasing, GB04BOptrBremSplitting, and GB02BOptrMultiParticleForceCollision.
Referenced by GetProposedNonPhysicsBiasingOperation().
|
protectedpure virtual |
Implemented in GB01BOptrMultiParticleChangeCrossSection, GB01BOptrChangeCrossSection, GB03BOptrGeometryBasedBiasing, G4BOptrForceCollision, GB04BOptrBremSplitting, and GB02BOptrMultiParticleForceCollision.
Referenced by GetProposedOccurenceBiasingOperation().
|
protected |
Definition at line 173 of file G4VBiasingOperator.cc.
References G4VParticleChange::GetNumberOfSecondaries(), and G4VParticleChange::GetSecondary().
Referenced by G4BOptrForceCollision::OperationApplied().
void G4VBiasingOperator::ReportOperationApplied | ( | const G4BiasingProcessInterface * | callingProcess, |
G4BiasingAppliedCase | biasingCase, | ||
G4VBiasingOperation * | operationApplied, | ||
const G4VParticleChange * | particleChangeProduced | ||
) |
Definition at line 104 of file G4VBiasingOperator.cc.
References BAC_DenyInteraction, BAC_FinalState, BAC_None, BAC_NonPhysics, BAC_Occurence, fPreviousAppliedFinalStateBiasingOperation, fPreviousAppliedNonPhysicsBiasingOperation, fPreviousAppliedOccurenceBiasingOperation, fPreviousBiasingAppliedCase, G4Exception(), JustWarning, and OperationApplied().
Referenced by GB02BOptrMultiParticleForceCollision::OperationApplied(), and GB01BOptrMultiParticleChangeCrossSection::OperationApplied().
void G4VBiasingOperator::ReportOperationApplied | ( | const G4BiasingProcessInterface * | callingProcess, |
G4BiasingAppliedCase | biasingCase, | ||
G4VBiasingOperation * | occurenceOperationApplied, | ||
G4double | weightForOccurenceInteraction, | ||
G4VBiasingOperation * | finalStateOperationApplied, | ||
const G4VParticleChange * | particleChangeProduced | ||
) |
Definition at line 141 of file G4VBiasingOperator.cc.
References fPreviousAppliedFinalStateBiasingOperation, fPreviousAppliedOccurenceBiasingOperation, fPreviousBiasingAppliedCase, and OperationApplied().
|
inlinevirtual |
Reimplemented in G4BOptrForceCollision, GB01BOptrChangeCrossSection, GB03BOptrGeometryBasedBiasing, and GB04BOptrBremSplitting.
Definition at line 273 of file G4VBiasingOperator.hh.
|
inlinevirtual |
Reimplemented in GB01BOptrMultiParticleChangeCrossSection, GB02BOptrMultiParticleForceCollision, G4BOptrForceCollision, and GB04BOptrBremSplitting.
Definition at line 275 of file G4VBiasingOperator.hh.
|
friend |
Definition at line 198 of file G4VBiasingOperator.hh.
|
private |
Definition at line 331 of file G4VBiasingOperator.hh.
|
private |
Definition at line 335 of file G4VBiasingOperator.hh.
Referenced by ExitingBiasing(), and GetProposedFinalStateBiasingOperation().
|
staticprivate |
Definition at line 320 of file G4VBiasingOperator.hh.
Referenced by AttachTo(), and GetBiasingOperator().
|
private |
Definition at line 317 of file G4VBiasingOperator.hh.
Referenced by GetName().
|
private |
Definition at line 336 of file G4VBiasingOperator.hh.
Referenced by ExitingBiasing(), and GetProposedNonPhysicsBiasingOperation().
|
private |
Definition at line 334 of file G4VBiasingOperator.hh.
Referenced by ExitingBiasing(), and GetProposedOccurenceBiasingOperation().
|
staticprivate |
Definition at line 322 of file G4VBiasingOperator.hh.
Referenced by G4VBiasingOperator(), and GetBiasingOperators().
|
private |
Definition at line 343 of file G4VBiasingOperator.hh.
Referenced by ExitingBiasing(), and ReportOperationApplied().
|
private |
Definition at line 344 of file G4VBiasingOperator.hh.
Referenced by ExitingBiasing(), GetPreviousNonPhysicsAppliedOperation(), and ReportOperationApplied().
|
private |
Definition at line 342 of file G4VBiasingOperator.hh.
Referenced by ExitingBiasing(), and ReportOperationApplied().
|
private |
Definition at line 345 of file G4VBiasingOperator.hh.
Referenced by ExitingBiasing(), GetPreviousBiasingAppliedCase(), and ReportOperationApplied().
|
private |
Definition at line 340 of file G4VBiasingOperator.hh.
Referenced by ExitingBiasing().
|
private |
Definition at line 341 of file G4VBiasingOperator.hh.
Referenced by ExitingBiasing().
|
private |
Definition at line 339 of file G4VBiasingOperator.hh.
Referenced by ExitingBiasing().
|
private |
Definition at line 330 of file G4VBiasingOperator.hh.
|
staticprivate |
Definition at line 326 of file G4VBiasingOperator.hh.
Referenced by G4VBiasingOperator().