Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VIStore Class Referenceabstract

G4VIStore is an interface of an "importance store" used by importance sampling. It defines how an importance value together with a "cell" (a G4VPhysicalVolume and a replica number) has to be added to the "importance store" and how a importance value can be derived from the "importance store". More...

#include <G4VIStore.hh>

Inheritance diagram for G4VIStore:

Public Member Functions

 G4VIStore ()=default
virtual ~G4VIStore ()=default
virtual G4double GetImportance (const G4GeometryCell &gCell) const =0
virtual G4bool IsKnown (const G4GeometryCell &gCell) const =0
virtual const G4VPhysicalVolumeGetWorldVolume () const =0

Detailed Description

G4VIStore is an interface of an "importance store" used by importance sampling. It defines how an importance value together with a "cell" (a G4VPhysicalVolume and a replica number) has to be added to the "importance store" and how a importance value can be derived from the "importance store".

Definition at line 54 of file G4VIStore.hh.

Constructor & Destructor Documentation

◆ G4VIStore()

G4VIStore::G4VIStore ( )
default

Default Constructor and Destructor.

◆ ~G4VIStore()

virtual G4VIStore::~G4VIStore ( )
virtualdefault

Member Function Documentation

◆ GetImportance()

virtual G4double G4VIStore::GetImportance ( const G4GeometryCell & gCell) const
pure virtual

Returns the importance value of a "cell" from the store addressed by 'gCell'.

Parameters
[in]gCellThe cell of reference.
Returns
The associated importance weight.

Implemented in G4IStore.

◆ GetWorldVolume()

virtual const G4VPhysicalVolume & G4VIStore::GetWorldVolume ( ) const
pure virtual

Returns a reference to the world volume of the "importance" geometry.

Implemented in G4IStore.

Referenced by G4GeometrySampler::PrepareImportanceSampling().

◆ IsKnown()

virtual G4bool G4VIStore::IsKnown ( const G4GeometryCell & gCell) const
pure virtual

Returns true if 'gCell' is in the store, else false.

Parameters
[in]gCellThe cell of reference.
Returns
true if present in the store, false otherwise.

Implemented in G4IStore.


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