Import Geant4 11.0.0 source tree
This commit is contained in:
committed by
Ben Morgan
parent
6399a014b6
commit
80e2389dd8
@@ -36,7 +36,7 @@
|
||||
#include "globals.hh"
|
||||
#include "G4HadronElasticPhysics.hh"
|
||||
|
||||
class NeutronHPMessenger;
|
||||
class G4GenericMessenger;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -44,20 +44,26 @@ class HadronElasticPhysicsHP : public G4HadronElasticPhysics
|
||||
{
|
||||
public:
|
||||
HadronElasticPhysicsHP(G4int ver = 1);
|
||||
~HadronElasticPhysicsHP();
|
||||
~HadronElasticPhysicsHP() override;
|
||||
|
||||
public:
|
||||
virtual void ConstructProcess();
|
||||
|
||||
public:
|
||||
void SetThermalPhysics(G4bool flag) {fThermal = flag;};
|
||||
void ConstructProcess() override;
|
||||
|
||||
private:
|
||||
G4bool fThermal;
|
||||
NeutronHPMessenger* fNeutronMessenger;
|
||||
void DefineCommands();
|
||||
|
||||
G4GenericMessenger* fMessenger;
|
||||
G4bool fThermal;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -34,9 +34,7 @@
|
||||
#define HistoManager_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
|
||||
#include "g4root.hh"
|
||||
//#include "g4xml.hh"
|
||||
#include "G4AnalysisManager.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
|
||||
+20
-23
@@ -23,40 +23,37 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file NeutronHPMessenger.hh
|
||||
/// \brief Definition of the NeutronHPMessenger class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef NeutronHPMessenger_h
|
||||
#define NeutronHPMessenger_h 1
|
||||
#ifndef RadioactiveDecayPhysics_h
|
||||
#define RadioactiveDecayPhysics_h 1
|
||||
|
||||
#include "G4VPhysicsConstructor.hh"
|
||||
#include "globals.hh"
|
||||
#include "G4UImessenger.hh"
|
||||
|
||||
class HadronElasticPhysicsHP;
|
||||
class G4UIdirectory;
|
||||
class G4UIcmdWithABool;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class NeutronHPMessenger: public G4UImessenger
|
||||
class RadioactiveDecayPhysics : public G4VPhysicsConstructor
|
||||
{
|
||||
public:
|
||||
RadioactiveDecayPhysics(const G4String& name = "radioactiveDecay");
|
||||
~RadioactiveDecayPhysics() override;
|
||||
|
||||
public:
|
||||
NeutronHPMessenger(HadronElasticPhysicsHP*);
|
||||
~NeutronHPMessenger();
|
||||
|
||||
virtual void SetNewValue(G4UIcommand*, G4String);
|
||||
|
||||
private:
|
||||
HadronElasticPhysicsHP* fNeutronPhysics;
|
||||
|
||||
G4UIdirectory* fPhysDir;
|
||||
G4UIcmdWithABool* fThermalCmd;
|
||||
void ConstructParticle() override;
|
||||
void ConstructProcess() override;
|
||||
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user