Import Geant4 10.7.0 source tree

This commit is contained in:
Gabriele Cosmo
2020-12-04 12:30:43 +01:00
parent 67ba86d073
commit dab42d2018
3770 changed files with 226369 additions and 286486 deletions
@@ -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;
};