Import Geant4 10.7.0 source tree
This commit is contained in:
@@ -23,22 +23,19 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
// Class G4ImportanceProcess
|
||||
// G4ImportanceProcess
|
||||
//
|
||||
// Class description:
|
||||
//
|
||||
// Used internally by importance sampling in the "mass" geometry.
|
||||
// This process is a forced post step process. I will apply
|
||||
// This process is a forced post step process. It will apply
|
||||
// importance sampling if the particle crosses a boundary in the
|
||||
// "mass" geometry.
|
||||
|
||||
// Author: Michael Dressel (Michael.Dressel@cern.ch)
|
||||
// ----------------------------------------------------------------------
|
||||
// Author: Michael Dressel, 2002
|
||||
// --------------------------------------------------------------------
|
||||
#ifndef G4ImportanceProcess_hh
|
||||
#define G4ImportanceProcess_hh G4ImportanceProcess_hh
|
||||
#define G4ImportanceProcess_hh 1
|
||||
|
||||
#include "G4VProcess.hh"
|
||||
#include "G4VTrackTerminator.hh"
|
||||
@@ -63,9 +60,10 @@ class G4ImportanceProcess : public G4VProcess, public G4VTrackTerminator
|
||||
public: // with description
|
||||
|
||||
G4ImportanceProcess(const G4VImportanceAlgorithm &aImportanceAlgorithm,
|
||||
const G4VIStore &aIstore,
|
||||
const G4VTrackTerminator *TrackTerminator,
|
||||
const G4String &aName = "ImportanceProcess", G4bool para = false);
|
||||
const G4VIStore &aIstore,
|
||||
const G4VTrackTerminator *TrackTerminator,
|
||||
const G4String &aName = "ImportanceProcess",
|
||||
G4bool para = false);
|
||||
// creates a G4ParticleChange
|
||||
|
||||
virtual ~G4ImportanceProcess();
|
||||
@@ -130,34 +128,34 @@ private:
|
||||
|
||||
void CopyStep(const G4Step & step);
|
||||
|
||||
G4Step * fGhostStep;
|
||||
G4StepPoint * fGhostPreStepPoint;
|
||||
G4StepPoint * fGhostPostStepPoint;
|
||||
G4Step* fGhostStep = nullptr;
|
||||
G4StepPoint* fGhostPreStepPoint = nullptr;
|
||||
G4StepPoint* fGhostPostStepPoint = nullptr;
|
||||
|
||||
G4ParticleChange *fParticleChange;
|
||||
G4ParticleChange* fParticleChange = nullptr;
|
||||
const G4VImportanceAlgorithm &fImportanceAlgorithm;
|
||||
const G4VIStore &fIStore;
|
||||
G4SamplingPostStepAction *fPostStepAction;
|
||||
const G4VIStore& fIStore;
|
||||
G4SamplingPostStepAction* fPostStepAction = nullptr;
|
||||
|
||||
G4TransportationManager* fTransportationManager;
|
||||
G4PathFinder* fPathFinder;
|
||||
G4TransportationManager* fTransportationManager = nullptr;
|
||||
G4PathFinder* fPathFinder = nullptr;
|
||||
|
||||
// -------------------------------
|
||||
// Navigation in the Ghost World:
|
||||
// -------------------------------
|
||||
G4String fGhostWorldName;
|
||||
G4VPhysicalVolume* fGhostWorld;
|
||||
G4Navigator* fGhostNavigator;
|
||||
G4int fNavigatorID;
|
||||
G4String fGhostWorldName = "NoParallelWorld";
|
||||
G4VPhysicalVolume* fGhostWorld = nullptr;
|
||||
G4Navigator* fGhostNavigator = nullptr;
|
||||
G4int fNavigatorID = -1;
|
||||
G4TouchableHandle fOldGhostTouchable;
|
||||
G4TouchableHandle fNewGhostTouchable;
|
||||
G4FieldTrack fFieldTrack;
|
||||
G4double fGhostSafety;
|
||||
G4bool fOnBoundary;
|
||||
G4FieldTrack fFieldTrack = '0';
|
||||
G4double fGhostSafety = -1;
|
||||
G4bool fOnBoundary = false;
|
||||
|
||||
G4bool fParaflag;
|
||||
G4FieldTrack fEndTrack;
|
||||
ELimited feLimited;
|
||||
G4bool fParaflag = false;
|
||||
G4FieldTrack fEndTrack = '0';
|
||||
ELimited feLimited = kDoNot;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -23,19 +23,16 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
// Class G4WeightCutOffProcess
|
||||
// G4WeightCutOffProcess
|
||||
//
|
||||
// Class description:
|
||||
//
|
||||
// Process for biasing particle-change cutoff.
|
||||
|
||||
// Author: Michael Dressel (Michael.Dressel@cern.ch)
|
||||
// ----------------------------------------------------------------------
|
||||
// Author: Michael Dressel, 2002
|
||||
// --------------------------------------------------------------------
|
||||
#ifndef G4WeightCutOffProcess_hh
|
||||
#define G4WeightCutOffProcess_hh G4WeightCutOffProcess_hh
|
||||
#define G4WeightCutOffProcess_hh 1
|
||||
|
||||
#include "G4VProcess.hh"
|
||||
#include "G4VTrackTerminator.hh"
|
||||
@@ -63,13 +60,15 @@ public: // with description
|
||||
G4double wlimit,
|
||||
G4double isource,
|
||||
G4VIStore *istore,
|
||||
// const G4VGCellFinder &aGCellFinder,
|
||||
const G4String &aName = "WeightCutOffProcess", G4bool para = false);
|
||||
const G4String &aName = "WeightCutOffProcess",
|
||||
G4bool para = false);
|
||||
// create a G4ParticleChange
|
||||
|
||||
virtual ~G4WeightCutOffProcess();
|
||||
// delete the G4ParticleChange
|
||||
|
||||
G4WeightCutOffProcess(const G4WeightCutOffProcess &) = delete;
|
||||
G4WeightCutOffProcess &operator=(const G4WeightCutOffProcess &) = delete;
|
||||
|
||||
//--------------------------------------------------------------
|
||||
// Set Parallel World
|
||||
@@ -118,40 +117,35 @@ private:
|
||||
|
||||
void CopyStep(const G4Step & step);
|
||||
|
||||
G4Step * fGhostStep;
|
||||
G4StepPoint * fGhostPreStepPoint;
|
||||
G4StepPoint * fGhostPostStepPoint;
|
||||
G4Step* fGhostStep = nullptr;
|
||||
G4StepPoint* fGhostPreStepPoint = nullptr;
|
||||
G4StepPoint* fGhostPostStepPoint = nullptr;
|
||||
|
||||
G4WeightCutOffProcess(const G4WeightCutOffProcess &);
|
||||
G4WeightCutOffProcess &operator=(const G4WeightCutOffProcess &);
|
||||
G4ParticleChange* fParticleChange = nullptr;
|
||||
G4double fWeightSurvival = 0.;
|
||||
G4double fWeightLimit = 0.;
|
||||
G4double fSourceImportance = 0.;
|
||||
G4VIStore* fIStore = nullptr;
|
||||
|
||||
G4ParticleChange *fParticleChange;
|
||||
G4double fWeightSurvival;
|
||||
G4double fWeightLimit;
|
||||
G4double fSourceImportance;
|
||||
G4VIStore *fIStore;
|
||||
// const G4VGCellFinder &fGCellFinder;
|
||||
|
||||
|
||||
G4TransportationManager* fTransportationManager;
|
||||
G4PathFinder* fPathFinder;
|
||||
G4TransportationManager* fTransportationManager = nullptr;
|
||||
G4PathFinder* fPathFinder = nullptr;
|
||||
|
||||
// -------------------------------
|
||||
// Navigation in the Ghost World:
|
||||
// -------------------------------
|
||||
G4String fGhostWorldName;
|
||||
G4VPhysicalVolume* fGhostWorld;
|
||||
G4Navigator* fGhostNavigator;
|
||||
G4int fNavigatorID;
|
||||
G4String fGhostWorldName = "NoParallelWorld";
|
||||
G4VPhysicalVolume* fGhostWorld = nullptr;
|
||||
G4Navigator* fGhostNavigator = nullptr;
|
||||
G4int fNavigatorID = -1;
|
||||
G4TouchableHandle fOldGhostTouchable;
|
||||
G4TouchableHandle fNewGhostTouchable;
|
||||
G4FieldTrack fFieldTrack;
|
||||
G4double fGhostSafety;
|
||||
G4bool fOnBoundary;
|
||||
G4FieldTrack fFieldTrack = '0';
|
||||
G4double fGhostSafety = -1;
|
||||
G4bool fOnBoundary = false;
|
||||
|
||||
G4bool fParaflag;
|
||||
G4FieldTrack fEndTrack;
|
||||
ELimited feLimited;
|
||||
G4FieldTrack fEndTrack = '0';
|
||||
ELimited feLimited = kDoNot;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -23,10 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
// Class G4MassWeioghtWindowProcess
|
||||
// G4WeightWindowProcess
|
||||
//
|
||||
// Class description:
|
||||
//
|
||||
@@ -35,10 +32,10 @@
|
||||
// weight window biasing on boundaries, collisions
|
||||
// or both according to the G4PlaceOfAction argument.
|
||||
|
||||
// Author: Michael Dressel (Michael.Dressel@cern.ch)
|
||||
// ----------------------------------------------------------------------
|
||||
#ifndef G4MassWeioghtWindowProcess_hh
|
||||
#define G4MassWeioghtWindowProcess_hh G4MassWeioghtWindowProcess_hh
|
||||
// Author: Michael Dressel, 2002
|
||||
// --------------------------------------------------------------------
|
||||
#ifndef G4WeightWindowProcess_hh
|
||||
#define G4WeightWindowProcess_hh 1
|
||||
|
||||
#include "G4VProcess.hh"
|
||||
#include "G4VTrackTerminator.hh"
|
||||
@@ -68,8 +65,8 @@ public: // with description
|
||||
const G4VWeightWindowStore &aWWStore,
|
||||
const G4VTrackTerminator *TrackTerminator,
|
||||
G4PlaceOfAction placeOfAction,
|
||||
const G4String &aName =
|
||||
"WeightWindowProcess", G4bool para = false);
|
||||
const G4String &aName = "WeightWindowProcess",
|
||||
G4bool para = false);
|
||||
// creates a G4ParticleChange
|
||||
|
||||
virtual ~G4WeightWindowProcess();
|
||||
@@ -135,35 +132,35 @@ private:
|
||||
|
||||
void CopyStep(const G4Step & step);
|
||||
|
||||
G4Step * fGhostStep;
|
||||
G4StepPoint * fGhostPreStepPoint;
|
||||
G4StepPoint * fGhostPostStepPoint;
|
||||
G4Step* fGhostStep = nullptr;
|
||||
G4StepPoint* fGhostPreStepPoint = nullptr;
|
||||
G4StepPoint* fGhostPostStepPoint = nullptr;
|
||||
|
||||
G4ParticleChange *fParticleChange;
|
||||
const G4VWeightWindowAlgorithm &fWeightWindowAlgorithm;
|
||||
const G4VWeightWindowStore &fWeightWindowStore;
|
||||
G4SamplingPostStepAction *fPostStepAction;
|
||||
G4ParticleChange* fParticleChange = nullptr;
|
||||
const G4VWeightWindowAlgorithm& fWeightWindowAlgorithm;
|
||||
const G4VWeightWindowStore& fWeightWindowStore;
|
||||
G4SamplingPostStepAction* fPostStepAction = nullptr;
|
||||
G4PlaceOfAction fPlaceOfAction;
|
||||
|
||||
G4TransportationManager* fTransportationManager;
|
||||
G4PathFinder* fPathFinder;
|
||||
G4TransportationManager* fTransportationManager = nullptr;
|
||||
G4PathFinder* fPathFinder = nullptr;
|
||||
|
||||
// -------------------------------
|
||||
// Navigation in the Ghost World:
|
||||
// -------------------------------
|
||||
G4String fGhostWorldName;
|
||||
G4VPhysicalVolume* fGhostWorld;
|
||||
G4Navigator* fGhostNavigator;
|
||||
G4int fNavigatorID;
|
||||
G4String fGhostWorldName = "NoParallelWorld";
|
||||
G4VPhysicalVolume* fGhostWorld = nullptr;
|
||||
G4Navigator* fGhostNavigator = nullptr;
|
||||
G4int fNavigatorID = -1;
|
||||
G4TouchableHandle fOldGhostTouchable;
|
||||
G4TouchableHandle fNewGhostTouchable;
|
||||
G4FieldTrack fFieldTrack;
|
||||
G4double fGhostSafety;
|
||||
G4bool fOnBoundary;
|
||||
G4FieldTrack fFieldTrack = '0';
|
||||
G4double fGhostSafety = -1;
|
||||
G4bool fOnBoundary = false;
|
||||
|
||||
G4bool fParaflag;
|
||||
G4FieldTrack fEndTrack;
|
||||
ELimited feLimited;
|
||||
G4bool fParaflag = false;
|
||||
G4FieldTrack fEndTrack = '0';
|
||||
ELimited feLimited = kDoNot;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user