Import Geant4 10.7.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2020-06-26 10:23:25 +02:00
parent c02c370437
commit 67ba86d073
1871 changed files with 174422 additions and 131884 deletions
@@ -55,12 +55,6 @@
#include "globals.hh"
#include "G4VPhysicsConstructor.hh"
class G4HadronicAbsorptionBertini;
class G4HadronicAbsorptionFritiof;
class G4MuonMinusCapture;
class G4StoppingPhysics : public G4VPhysicsConstructor {
public:
@@ -68,32 +62,27 @@ public:
G4StoppingPhysics( G4int ver = 1 );
G4StoppingPhysics( const G4String& name,
G4int ver = 1,
G4bool UseMuonMinusCapture=true );
G4int ver = 1,
G4bool UseMuonMinusCapture=true );
virtual ~G4StoppingPhysics();
public:
~G4StoppingPhysics() override;
// This method will be invoked in the Construct() method.
// each particle type will be instantiated
virtual void ConstructParticle();
virtual void ConstructParticle() override;
// This method will be invoked in the Construct() method.
// each physics process will be instantiated and
// registered to the process manager of each particle type
virtual void ConstructProcess();
virtual void ConstructProcess() override;
void SetMuonMinusCapture(G4bool val)
{ useMuonMinusCapture = val; };
private:
//G4MuonMinusCapture* muProcess;
//G4HadronicAbsorptionBertini* hBertiniProcess;
//G4HadronicAbsorptionFritiof* hFritiofProcess;
G4int verbose;
static G4ThreadLocal G4bool wasActivated;
G4bool useMuonMinusCapture;
};
#endif
@@ -50,26 +50,27 @@
#include "globals.hh"
#include "G4VPhysicsConstructor.hh"
class G4StoppingPhysicsFritiofWithBinaryCascade : public G4VPhysicsConstructor {
public:
G4StoppingPhysicsFritiofWithBinaryCascade( G4int ver = 1 );
G4StoppingPhysicsFritiofWithBinaryCascade( const G4String& name, G4int ver = 1,
G4bool UseMuonMinusCapture = true );
virtual ~G4StoppingPhysicsFritiofWithBinaryCascade();
G4bool useMuCapture = true );
~G4StoppingPhysicsFritiofWithBinaryCascade() override;
// This method will be invoked in the Construct() method.
// each particle type will be instantiated
virtual void ConstructParticle();
void ConstructParticle() override;
// This method will be invoked in the Construct() method.
// each physics process will be instantiated and
// registered to the process manager of each particle type
virtual void ConstructProcess();
void ConstructProcess() override;
void SetMuonMinusCapture(G4bool val)
{ useMuonMinusCapture = val; };
private:
G4int verbose;
static G4ThreadLocal G4bool wasActivated;
G4bool useMuonMinusCapture;
};