Import Geant4 10.5.0.beta source tree
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4GenericPhysicsList.hh 66892 2013-01-17 10:57:59Z gunter $
|
||||
// $Id: G4GenericPhysicsList.hh 108673 2018-02-27 07:30:45Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
@@ -41,9 +41,7 @@
|
||||
#include "G4VModularPhysicsList.hh"
|
||||
#include "globals.hh"
|
||||
#include "CompileTimeConstraints.hh"
|
||||
|
||||
#include "G4PhysicsConstructorRegistry.hh"
|
||||
|
||||
#include "G4GenericMessenger.hh"
|
||||
|
||||
template<class T>
|
||||
|
||||
@@ -23,11 +23,11 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4GenericPhysicsList.icc 66892 2013-01-17 10:57:59Z gunter $
|
||||
// $Id: G4GenericPhysicsList.icc 108673 2018-02-27 07:30:45Z gcosmo $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
// ClassName:
|
||||
// ClassName: G4GenericPhysicsList
|
||||
//
|
||||
// Author: Witek Pokorski
|
||||
//
|
||||
@@ -44,7 +44,7 @@
|
||||
#include "G4Material.hh"
|
||||
#include "G4MaterialTable.hh"
|
||||
#include "G4ios.hh"
|
||||
#include <iomanip>
|
||||
#include <iomanip>
|
||||
|
||||
#include "G4DataQuestionaire.hh"
|
||||
|
||||
@@ -82,16 +82,28 @@ template<class T> void TG4GenericPhysicsList<T>::SetCuts()
|
||||
{
|
||||
if (this->verboseLevel >1){
|
||||
G4cout << "G4GenericPhysicsList::SetCuts:";
|
||||
}
|
||||
}
|
||||
|
||||
this->SetCutsWithDefault();
|
||||
|
||||
this->SetCutsWithDefault();
|
||||
|
||||
}
|
||||
|
||||
template<class T> void TG4GenericPhysicsList<T>::DeclareProperties()
|
||||
{
|
||||
messenger.DeclareProperty("defaultCutValue", this->defaultCutValue, "Default Cut Value");
|
||||
messenger.DeclareMethod("SetVerboseLevel", &TG4GenericPhysicsList::SetVerboseLevel, "Verbose Level");
|
||||
|
||||
|
||||
messenger.DeclareMethod("RegisterPhysics", &TG4GenericPhysicsList::RegisterPhysicsConstructor, "Register Physics Constructor");
|
||||
}
|
||||
|
||||
#ifndef G4RegisterPhysicsConstructors_icc
|
||||
// include G4_REFERENCE_PHYSCONSTR_FACTORY() macros here to pull them in
|
||||
// for static builds. Would do this in G4PhysicsConstructorRegistry
|
||||
// but that causes a circular dependency when the phys_ctor libs
|
||||
// are broken in a "granular" build.
|
||||
#ifndef REGREF
|
||||
#define REGREF GenericPhysList // REFREF is used to make instances unique
|
||||
#endif
|
||||
#include "G4RegisterPhysicsConstructors.icc"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -91,6 +91,7 @@ G4_DECLARE_PHYSLIST_FACTORY(QGSP_INCLXX_HP);
|
||||
#include "Shielding.hh"
|
||||
G4_DECLARE_PHYSLIST_FACTORY(Shielding);
|
||||
|
||||
/*** no longer necessary as of 2017-12-07
|
||||
// some extra hoops because the physlist factory expects to be able
|
||||
// to construct a list using just a verbosity argument
|
||||
// but
|
||||
@@ -104,6 +105,10 @@ public:
|
||||
virtual ~ShieldingLEND() { ; }
|
||||
};
|
||||
G4_DECLARE_PHYSLIST_FACTORY(ShieldingLEND);
|
||||
***/
|
||||
|
||||
#include "ShieldingLEND.hh"
|
||||
G4_DECLARE_PHYSLIST_FACTORY(ShieldingLEND);
|
||||
|
||||
class ShieldingM : public Shielding
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user