#include <G4ImportanceBiasing.hh>
Definition at line 40 of file G4ImportanceBiasing.hh.
◆ G4ImportanceBiasing() [1/2]
G4ImportanceBiasing::G4ImportanceBiasing |
( |
const G4String & | name = "NoParallelWP" | ) |
|
◆ G4ImportanceBiasing() [2/2]
Definition at line 65 of file G4ImportanceBiasing.cc.
67{
68 if(name != "NoParallelWP") {
69 paraFlag = true;
71 }
72}
const char * name(G4int ptype)
◆ ~G4ImportanceBiasing()
G4ImportanceBiasing::~G4ImportanceBiasing |
( |
| ) |
|
|
virtual |
◆ ConstructParticle()
void G4ImportanceBiasing::ConstructParticle |
( |
| ) |
|
|
virtual |
◆ ConstructProcess()
void G4ImportanceBiasing::ConstructProcess |
( |
| ) |
|
|
virtual |
Implements G4VPhysicsConstructor.
Definition at line 86 of file G4ImportanceBiasing.cc.
87{
89
90 static G4bool first =
true;
91 if(first) {
94 if(paraFlag) {
96 } else {
98 }
99 }
100
101 if(first) {
103 first = false;
104 }
105
106#ifdef G4MULTITHREADED
108#endif
109
110}
G4GLOB_DLL std::ostream G4cout
void SetParallel(G4bool paraflag)
virtual void PrepareImportanceSampling(G4VIStore *istore, const G4VImportanceAlgorithm *ialg)
virtual void AddProcess()
static G4IStore * GetInstance()
The documentation for this class was generated from the following files: