#include <G4WeightWindowBiasing.hh>
Definition at line 41 of file G4WeightWindowBiasing.hh.
◆ G4WeightWindowBiasing() [1/2]
G4WeightWindowBiasing::G4WeightWindowBiasing |
( |
const G4String & |
name = "NoParallelWP" | ) |
|
◆ G4WeightWindowBiasing() [2/2]
Definition at line 65 of file G4WeightWindowBiasing.cc.
66:
G4VPhysicsConstructor(name), fGeomSampler(mgs), fWWalg(wwAlg), fPlaceOfAction(placeOfAction), paraFlag(
false), paraName(name)
67{
68 if(name != "NoParallelWP") {
69 paraFlag = true;
71 }
72}
const char * name(G4int ptype)
◆ ~G4WeightWindowBiasing()
G4WeightWindowBiasing::~G4WeightWindowBiasing |
( |
| ) |
|
|
virtual |
◆ ConstructParticle()
void G4WeightWindowBiasing::ConstructParticle |
( |
| ) |
|
|
virtual |
◆ ConstructProcess()
void G4WeightWindowBiasing::ConstructProcess |
( |
| ) |
|
|
virtual |
Implements G4VPhysicsConstructor.
Definition at line 86 of file G4WeightWindowBiasing.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 PrepareWeightWindow(G4VWeightWindowStore *wwstore, G4VWeightWindowAlgorithm *wwAlg, G4PlaceOfAction placeOfAction)
virtual void AddProcess()
static G4WeightWindowStore * GetInstance()
The documentation for this class was generated from the following files: