ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4VBiasingOperator Class Referenceabstract

#include <geant4/tree/geant4-10.6-release/source/processes/biasing/management/include/G4VBiasingOperator.hh>

+ Inheritance diagram for G4VBiasingOperator:
+ Collaboration diagram for G4VBiasingOperator:

Public Member Functions

 G4VBiasingOperator (G4String name)
 
virtual ~G4VBiasingOperator ()
 
virtual void Configure ()
 
virtual void ConfigureForWorker ()
 
virtual void StartRun ()
 
virtual void StartTracking (const G4Track *)
 
virtual void EndTracking ()
 
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 ()
 

Static Public Member Functions

static const std::vector
< G4VBiasingOperator * > & 
GetBiasingOperators ()
 
static G4VBiasingOperatorGetBiasingOperator (const G4LogicalVolume *)
 

Protected Member Functions

virtual G4VBiasingOperationProposeNonPhysicsBiasingOperation (const G4Track *track, const G4BiasingProcessInterface *callingProcess)=0
 
virtual G4VBiasingOperationProposeOccurenceBiasingOperation (const G4Track *track, const G4BiasingProcessInterface *callingProcess)=0
 
virtual G4VBiasingOperationProposeFinalStateBiasingOperation (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)
 

Private Attributes

const G4String fName
 
std::vector< const
G4LogicalVolume * > 
fRootVolumes
 
std::map< const
G4LogicalVolume *, G4int
fDepthInTree
 
G4VBiasingOperationfOccurenceBiasingOperation
 
G4VBiasingOperationfFinalStateBiasingOperation
 
G4VBiasingOperationfNonPhysicsBiasingOperation
 
const G4VBiasingOperationfPreviousProposedOccurenceBiasingOperation
 
const G4VBiasingOperationfPreviousProposedFinalStateBiasingOperation
 
const G4VBiasingOperationfPreviousProposedNonPhysicsBiasingOperation
 
const G4VBiasingOperationfPreviousAppliedOccurenceBiasingOperation
 
const G4VBiasingOperationfPreviousAppliedFinalStateBiasingOperation
 
const G4VBiasingOperationfPreviousAppliedNonPhysicsBiasingOperation
 
G4BiasingAppliedCase fPreviousBiasingAppliedCase
 

Static Private Attributes

static G4MapCache< const
G4LogicalVolume
*, G4VBiasingOperator * > 
fLogicalToSetupMap
 
static G4VectorCache
< G4VBiasingOperator * > 
fOperators
 
static G4Cache
< G4BiasingOperatorStateNotifier * > 
fStateNotifier
 

Friends

class G4BiasingOperatorStateNotifier
 

Detailed Description

Definition at line 180 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 180 of file G4VBiasingOperator.hh

Constructor & Destructor Documentation

G4VBiasingOperator::G4VBiasingOperator ( G4String  name)

Definition at line 36 of file G4VBiasingOperator.cc.

View newest version in sPHENIX GitHub at line 36 of file G4VBiasingOperator.cc

References fOperators, fStateNotifier, G4Cache< VALTYPE >::Get(), G4VectorCache< VALTYPE >::Push_back(), and G4Cache< VALTYPE >::Put().

+ Here is the call graph for this function:

G4VBiasingOperator::~G4VBiasingOperator ( )
virtual

Definition at line 55 of file G4VBiasingOperator.cc.

View newest version in sPHENIX GitHub at line 55 of file G4VBiasingOperator.cc

Member Function Documentation

void G4VBiasingOperator::AttachTo ( const G4LogicalVolume logical)

Definition at line 59 of file G4VBiasingOperator.cc.

View newest version in sPHENIX GitHub at line 59 of file G4VBiasingOperator.cc

References G4MapCache< KEYTYPE, VALTYPE >::End(), G4MapCache< KEYTYPE, VALTYPE >::Find(), fLogicalToSetupMap, G4endl, G4Exception(), G4LogicalVolume::GetName(), GetName(), it, and JustWarning.

Referenced by GB05DetectorConstruction::ConstructSDandField(), GB07DetectorConstruction::ConstructSDandField(), GB02DetectorConstruction::ConstructSDandField(), GB01DetectorConstruction::ConstructSDandField(), GB04DetectorConstruction::ConstructSDandField(), and GB03DetectorConstruction::SetupBiasing().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual void G4VBiasingOperator::Configure ( )
inlinevirtual

Reimplemented in G4BOptrForceCollision.

Definition at line 271 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 271 of file G4VBiasingOperator.hh

virtual void G4VBiasingOperator::ConfigureForWorker ( )
inlinevirtual

Reimplemented in G4BOptrForceCollision.

Definition at line 274 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 274 of file G4VBiasingOperator.hh

virtual void G4VBiasingOperator::EndTracking ( )
inlinevirtual

Reimplemented in G4BOptrForceCollision.

Definition at line 279 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 279 of file G4VBiasingOperator.hh

void G4VBiasingOperator::ExitBiasing ( const G4Track track,
const G4BiasingProcessInterface callingProcess 
)
protectedvirtual

Reimplemented in GB02BOptrMultiParticleForceCollision, and G4BOptrForceCollision.

Definition at line 173 of file G4VBiasingOperator.cc.

View newest version in sPHENIX GitHub at line 173 of file G4VBiasingOperator.cc

Referenced by ExitingBiasing().

+ Here is the caller graph for this function:

void G4VBiasingOperator::ExitingBiasing ( const G4Track track,
const G4BiasingProcessInterface callingProcess 
)

Definition at line 152 of file G4VBiasingOperator.cc.

View newest version in sPHENIX GitHub at line 152 of file G4VBiasingOperator.cc

References BAC_None, ExitBiasing(), fFinalStateBiasingOperation, fNonPhysicsBiasingOperation, fOccurenceBiasingOperation, fPreviousAppliedFinalStateBiasingOperation, fPreviousAppliedNonPhysicsBiasingOperation, fPreviousAppliedOccurenceBiasingOperation, fPreviousBiasingAppliedCase, fPreviousProposedFinalStateBiasingOperation, fPreviousProposedNonPhysicsBiasingOperation, and fPreviousProposedOccurenceBiasingOperation.

Referenced by GB02BOptrMultiParticleForceCollision::ExitBiasing().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VBiasingOperator * G4VBiasingOperator::GetBiasingOperator ( const G4LogicalVolume logical)
static

Definition at line 78 of file G4VBiasingOperator.cc.

View newest version in sPHENIX GitHub at line 78 of file G4VBiasingOperator.cc

References G4MapCache< KEYTYPE, VALTYPE >::End(), G4MapCache< KEYTYPE, VALTYPE >::Find(), fLogicalToSetupMap, and it.

Referenced by G4BiasingProcessInterface::PostStepGetPhysicalInteractionLength().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static const std::vector< G4VBiasingOperator* >& G4VBiasingOperator::GetBiasingOperators ( )
inlinestatic

Definition at line 293 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 293 of file G4VBiasingOperator.hh

References fOperators, and G4Cache< VALTYPE >::Get().

Referenced by G4BiasingProcessInterface::BuildPhysicsTable(), G4BiasingProcessInterface::BuildWorkerPhysicsTable(), G4BiasingProcessInterface::EndTracking(), and G4BiasingProcessInterface::StartTracking().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4BiasingAppliedCase G4VBiasingOperator::GetPreviousBiasingAppliedCase ( ) const
inline

Definition at line 291 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 291 of file G4VBiasingOperator.hh

References fPreviousBiasingAppliedCase.

const G4VBiasingOperation* G4VBiasingOperator::GetPreviousNonPhysicsAppliedOperation ( )
inline

Definition at line 315 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 315 of file G4VBiasingOperator.hh

References fPreviousAppliedNonPhysicsBiasingOperation.

G4VBiasingOperation * G4VBiasingOperator::GetProposedFinalStateBiasingOperation ( const G4Track track,
const G4BiasingProcessInterface callingProcess 
)

Definition at line 92 of file G4VBiasingOperator.cc.

View newest version in sPHENIX GitHub at line 92 of file G4VBiasingOperator.cc

References fFinalStateBiasingOperation, and ProposeFinalStateBiasingOperation().

Referenced by GB02BOptrMultiParticleForceCollision::ProposeFinalStateBiasingOperation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VBiasingOperation * G4VBiasingOperator::GetProposedNonPhysicsBiasingOperation ( const G4Track track,
const G4BiasingProcessInterface callingProcess 
)

Definition at line 98 of file G4VBiasingOperator.cc.

View newest version in sPHENIX GitHub at line 98 of file G4VBiasingOperator.cc

References fNonPhysicsBiasingOperation, and ProposeNonPhysicsBiasingOperation().

Referenced by GB02BOptrMultiParticleForceCollision::ProposeNonPhysicsBiasingOperation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VBiasingOperation * G4VBiasingOperator::GetProposedOccurenceBiasingOperation ( const G4Track track,
const G4BiasingProcessInterface callingProcess 
)

Definition at line 86 of file G4VBiasingOperator.cc.

View newest version in sPHENIX GitHub at line 86 of file G4VBiasingOperator.cc

References fOccurenceBiasingOperation, and ProposeOccurenceBiasingOperation().

Referenced by GB02BOptrMultiParticleForceCollision::ProposeOccurenceBiasingOperation(), G4ChannelingOptrMultiParticleChangeCrossSection::ProposeOccurenceBiasingOperation(), and GB01BOptrMultiParticleChangeCrossSection::ProposeOccurenceBiasingOperation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VBiasingOperator::OperationApplied ( const G4BiasingProcessInterface callingProcess,
G4BiasingAppliedCase  biasingCase,
G4VBiasingOperation operationApplied,
const G4VParticleChange particleChangeProduced 
)
protectedvirtual

Reimplemented in G4BOptrForceCollision, and GB02BOptrMultiParticleForceCollision.

Definition at line 175 of file G4VBiasingOperator.cc.

View newest version in sPHENIX GitHub at line 175 of file G4VBiasingOperator.cc

Referenced by ReportOperationApplied().

+ Here is the caller graph for this function:

void G4VBiasingOperator::OperationApplied ( const G4BiasingProcessInterface callingProcess,
G4BiasingAppliedCase  biasingCase,
G4VBiasingOperation occurenceOperationApplied,
G4double  weightForOccurenceInteraction,
G4VBiasingOperation finalStateOperationApplied,
const G4VParticleChange particleChangeProduced 
)
protectedvirtual
virtual G4VBiasingOperation* G4VBiasingOperator::ProposeFinalStateBiasingOperation ( const G4Track track,
const G4BiasingProcessInterface callingProcess 
)
protectedpure virtual
virtual G4VBiasingOperation* G4VBiasingOperator::ProposeNonPhysicsBiasingOperation ( const G4Track track,
const G4BiasingProcessInterface callingProcess 
)
protectedpure virtual
virtual G4VBiasingOperation* G4VBiasingOperator::ProposeOccurenceBiasingOperation ( const G4Track track,
const G4BiasingProcessInterface callingProcess 
)
protectedpure virtual
void G4VBiasingOperator::ReportOperationApplied ( const G4BiasingProcessInterface callingProcess,
G4BiasingAppliedCase  biasingCase,
G4VBiasingOperation operationApplied,
const G4VParticleChange particleChangeProduced 
)

Definition at line 104 of file G4VBiasingOperator.cc.

View newest version in sPHENIX GitHub at line 104 of file G4VBiasingOperator.cc

References BAC_FinalState, BAC_None, BAC_NonPhysics, BAC_Occurence, fPreviousAppliedFinalStateBiasingOperation, fPreviousAppliedNonPhysicsBiasingOperation, fPreviousAppliedOccurenceBiasingOperation, fPreviousBiasingAppliedCase, G4Exception(), JustWarning, and OperationApplied().

Referenced by GB02BOptrMultiParticleForceCollision::OperationApplied(), G4ChannelingOptrMultiParticleChangeCrossSection::OperationApplied(), and GB01BOptrMultiParticleChangeCrossSection::OperationApplied().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VBiasingOperator::ReportOperationApplied ( const G4BiasingProcessInterface callingProcess,
G4BiasingAppliedCase  biasingCase,
G4VBiasingOperation occurenceOperationApplied,
G4double  weightForOccurenceInteraction,
G4VBiasingOperation finalStateOperationApplied,
const G4VParticleChange particleChangeProduced 
)

Definition at line 138 of file G4VBiasingOperator.cc.

View newest version in sPHENIX GitHub at line 138 of file G4VBiasingOperator.cc

References fPreviousAppliedFinalStateBiasingOperation, fPreviousAppliedOccurenceBiasingOperation, fPreviousBiasingAppliedCase, and OperationApplied().

+ Here is the call graph for this function:

virtual void G4VBiasingOperator::StartTracking ( const G4Track )
inlinevirtual

Friends And Related Function Documentation

friend class G4BiasingOperatorStateNotifier
friend

Definition at line 185 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 185 of file G4VBiasingOperator.hh

Member Data Documentation

std::map< const G4LogicalVolume*, G4int > G4VBiasingOperator::fDepthInTree
private

Definition at line 333 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 333 of file G4VBiasingOperator.hh

G4VBiasingOperation* G4VBiasingOperator::fFinalStateBiasingOperation
private

Definition at line 337 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 337 of file G4VBiasingOperator.hh

Referenced by ExitingBiasing(), and GetProposedFinalStateBiasingOperation().

G4MapCache< const G4LogicalVolume *, G4VBiasingOperator * > G4VBiasingOperator::fLogicalToSetupMap
staticprivate

Definition at line 322 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 322 of file G4VBiasingOperator.hh

Referenced by AttachTo(), and GetBiasingOperator().

const G4String G4VBiasingOperator::fName
private

Definition at line 319 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 319 of file G4VBiasingOperator.hh

Referenced by GetName().

G4VBiasingOperation* G4VBiasingOperator::fNonPhysicsBiasingOperation
private

Definition at line 338 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 338 of file G4VBiasingOperator.hh

Referenced by ExitingBiasing(), and GetProposedNonPhysicsBiasingOperation().

G4VBiasingOperation* G4VBiasingOperator::fOccurenceBiasingOperation
private

Definition at line 336 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 336 of file G4VBiasingOperator.hh

Referenced by ExitingBiasing(), and GetProposedOccurenceBiasingOperation().

G4VectorCache< G4VBiasingOperator * > G4VBiasingOperator::fOperators
staticprivate

Definition at line 324 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 324 of file G4VBiasingOperator.hh

Referenced by G4VBiasingOperator(), and GetBiasingOperators().

const G4VBiasingOperation* G4VBiasingOperator::fPreviousAppliedFinalStateBiasingOperation
private

Definition at line 345 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 345 of file G4VBiasingOperator.hh

Referenced by ExitingBiasing(), and ReportOperationApplied().

const G4VBiasingOperation* G4VBiasingOperator::fPreviousAppliedNonPhysicsBiasingOperation
private

Definition at line 346 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 346 of file G4VBiasingOperator.hh

Referenced by ExitingBiasing(), GetPreviousNonPhysicsAppliedOperation(), and ReportOperationApplied().

const G4VBiasingOperation* G4VBiasingOperator::fPreviousAppliedOccurenceBiasingOperation
private

Definition at line 344 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 344 of file G4VBiasingOperator.hh

Referenced by ExitingBiasing(), and ReportOperationApplied().

G4BiasingAppliedCase G4VBiasingOperator::fPreviousBiasingAppliedCase
private

Definition at line 347 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 347 of file G4VBiasingOperator.hh

Referenced by ExitingBiasing(), GetPreviousBiasingAppliedCase(), and ReportOperationApplied().

const G4VBiasingOperation* G4VBiasingOperator::fPreviousProposedFinalStateBiasingOperation
private

Definition at line 342 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 342 of file G4VBiasingOperator.hh

Referenced by ExitingBiasing().

const G4VBiasingOperation* G4VBiasingOperator::fPreviousProposedNonPhysicsBiasingOperation
private

Definition at line 343 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 343 of file G4VBiasingOperator.hh

Referenced by ExitingBiasing().

const G4VBiasingOperation* G4VBiasingOperator::fPreviousProposedOccurenceBiasingOperation
private

Definition at line 341 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 341 of file G4VBiasingOperator.hh

Referenced by ExitingBiasing().

std::vector< const G4LogicalVolume* > G4VBiasingOperator::fRootVolumes
private

Definition at line 332 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 332 of file G4VBiasingOperator.hh

G4Cache< G4BiasingOperatorStateNotifier * > G4VBiasingOperator::fStateNotifier
staticprivate

Definition at line 328 of file G4VBiasingOperator.hh.

View newest version in sPHENIX GitHub at line 328 of file G4VBiasingOperator.hh

Referenced by G4VBiasingOperator().


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