G4GeometrySampler Class Reference

#include <G4GeometrySampler.hh>

Inheritance diagram for G4GeometrySampler:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 54 of file G4GeometrySampler.hh.

Public Member Functions

 G4GeometrySampler (G4VPhysicalVolume *worldvolume, const G4String &particlename)
virtual ~G4GeometrySampler ()
virtual void PrepareImportanceSampling (G4VIStore *istore, const G4VImportanceAlgorithm *ialg)
virtual void PrepareWeightRoulett (G4double wsurvive, G4double wlimit, G4double isource)
virtual void PrepareWeightWindow (G4VWeightWindowStore *wwstore, G4VWeightWindowAlgorithm *wwAlg, G4PlaceOfAction placeOfAction)
virtual void Configure ()
virtual void ClearSampling ()
virtual G4bool IsConfigured () const
void SetParallel (G4bool paraflag)
void SetParticle (const G4String &particlename)

Private Member Functions

 G4GeometrySampler (const G4GeometrySampler &)
G4GeometrySampleroperator= (const G4GeometrySampler &)

Private Attributes

G4String fParticleName
G4VPhysicalVolumefWorld
G4ImportanceConfiguratorfImportanceConfigurator
G4VGCellFinderfGCellFinder
G4WeightCutOffConfiguratorfWeightCutOffConfigurator
G4VIStorefIStore
G4WeightWindowConfiguratorfWeightWindowConfigurator
G4VWeightWindowStorefWWStore
G4bool fIsConfigured
G4Configurators fConfigurators
G4bool paraflag


Constructor & Destructor Documentation

G4GeometrySampler::G4GeometrySampler ( G4VPhysicalVolume worldvolume,
const G4String particlename 
) [explicit]

Definition at line 51 of file G4GeometrySampler.cc.

References paraflag.

G4GeometrySampler::~G4GeometrySampler (  )  [virtual]

Definition at line 66 of file G4GeometrySampler.cc.

References ClearSampling().

Here is the call graph for this function:

G4GeometrySampler::G4GeometrySampler ( const G4GeometrySampler  )  [private]


Member Function Documentation

void G4GeometrySampler::ClearSampling (  )  [virtual]

Implements G4VSampler.

Definition at line 71 of file G4GeometrySampler.cc.

References fConfigurators, fGCellFinder, fImportanceConfigurator, fIsConfigured, fIStore, fWeightCutOffConfigurator, and fWeightWindowConfigurator.

Referenced by ~G4GeometrySampler().

void G4GeometrySampler::Configure (  )  [virtual]

Implements G4VSampler.

Definition at line 204 of file G4GeometrySampler.cc.

References G4WeightCutOffConfigurator::Configure(), G4VSamplerConfigurator::Configure(), fConfigurators, fImportanceConfigurator, fIsConfigured, fWeightCutOffConfigurator, fWeightWindowConfigurator, G4cout, G4endl, and IsConfigured().

Here is the call graph for this function:

G4bool G4GeometrySampler::IsConfigured (  )  const [virtual]

Implements G4VSampler.

Definition at line 103 of file G4GeometrySampler.cc.

References fIsConfigured, G4cout, and G4endl.

Referenced by Configure().

G4GeometrySampler& G4GeometrySampler::operator= ( const G4GeometrySampler  )  [private]

void G4GeometrySampler::PrepareImportanceSampling ( G4VIStore istore,
const G4VImportanceAlgorithm ialg 
) [virtual]

Implements G4VSampler.

Definition at line 137 of file G4GeometrySampler.cc.

References FatalException, fImportanceConfigurator, fIStore, fParticleName, fWorld, G4cout, G4endl, G4Exception(), and paraflag.

Here is the call graph for this function:

void G4GeometrySampler::PrepareWeightRoulett ( G4double  wsurvive,
G4double  wlimit,
G4double  isource 
) [virtual]

Implements G4VSampler.

Definition at line 158 of file G4GeometrySampler.cc.

References FatalException, fGCellFinder, fIStore, fParticleName, fWeightCutOffConfigurator, fWorld, G4cout, G4endl, G4Exception(), and paraflag.

Here is the call graph for this function:

void G4GeometrySampler::PrepareWeightWindow ( G4VWeightWindowStore wwstore,
G4VWeightWindowAlgorithm wwAlg,
G4PlaceOfAction  placeOfAction 
) [virtual]

Implements G4VSampler.

Definition at line 188 of file G4GeometrySampler.cc.

References fParticleName, fWeightWindowConfigurator, fWorld, fWWStore, G4cout, G4endl, and paraflag.

void G4GeometrySampler::SetParallel ( G4bool  paraflag  )  [virtual]

Implements G4VSampler.

Definition at line 254 of file G4GeometrySampler.cc.

References paraflag.

void G4GeometrySampler::SetParticle ( const G4String particlename  ) 

Definition at line 259 of file G4GeometrySampler.cc.

References fParticleName.


Member Data Documentation

G4Configurators G4GeometrySampler::fConfigurators [private]

Definition at line 100 of file G4GeometrySampler.hh.

Referenced by ClearSampling(), and Configure().

G4VGCellFinder* G4GeometrySampler::fGCellFinder [private]

Definition at line 94 of file G4GeometrySampler.hh.

Referenced by ClearSampling(), and PrepareWeightRoulett().

G4ImportanceConfigurator* G4GeometrySampler::fImportanceConfigurator [private]

Definition at line 92 of file G4GeometrySampler.hh.

Referenced by ClearSampling(), Configure(), and PrepareImportanceSampling().

G4bool G4GeometrySampler::fIsConfigured [private]

Definition at line 99 of file G4GeometrySampler.hh.

Referenced by ClearSampling(), Configure(), and IsConfigured().

G4VIStore* G4GeometrySampler::fIStore [private]

Definition at line 96 of file G4GeometrySampler.hh.

Referenced by ClearSampling(), PrepareImportanceSampling(), and PrepareWeightRoulett().

G4String G4GeometrySampler::fParticleName [private]

Definition at line 90 of file G4GeometrySampler.hh.

Referenced by PrepareImportanceSampling(), PrepareWeightRoulett(), PrepareWeightWindow(), and SetParticle().

G4WeightCutOffConfigurator* G4GeometrySampler::fWeightCutOffConfigurator [private]

Definition at line 95 of file G4GeometrySampler.hh.

Referenced by ClearSampling(), Configure(), and PrepareWeightRoulett().

G4WeightWindowConfigurator* G4GeometrySampler::fWeightWindowConfigurator [private]

Definition at line 97 of file G4GeometrySampler.hh.

Referenced by ClearSampling(), Configure(), and PrepareWeightWindow().

G4VPhysicalVolume* G4GeometrySampler::fWorld [private]

Definition at line 91 of file G4GeometrySampler.hh.

Referenced by PrepareImportanceSampling(), PrepareWeightRoulett(), and PrepareWeightWindow().

G4VWeightWindowStore* G4GeometrySampler::fWWStore [private]

Definition at line 98 of file G4GeometrySampler.hh.

Referenced by PrepareWeightWindow().

G4bool G4GeometrySampler::paraflag [private]

Definition at line 102 of file G4GeometrySampler.hh.

Referenced by G4GeometrySampler(), PrepareImportanceSampling(), PrepareWeightRoulett(), PrepareWeightWindow(), and SetParallel().


The documentation for this class was generated from the following files:
Generated on Sat Apr 12 06:18:22 2008 for Geant4 by  doxygen 1.4.7