Import Geant4 10.5.0.beta source tree
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$Id: History 107319 2017-11-08 16:29:22Z gcosmo $
|
||||
$Id: History 108673 2018-02-27 07:30:45Z gcosmo $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -14,8 +14,14 @@ introduced in the code and keeptrack of all tags.
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
26-Februrary-2018 R. Hatcher (phys-list-V10-04-00)
|
||||
- cowork with phys-ctor-fact-V10-04-00
|
||||
- Use new G4RegisterPhysicsConstructors.icc to ensure that for static builds
|
||||
G4PhysicsConstructorRegistry is populated.
|
||||
- No longer register ShieldingLEND as a wrapper, but use explicit one
|
||||
|
||||
07-November-2017 T. Koi (phys-list-V10-03-08)
|
||||
- Add ShieldingLEND as a new physics list
|
||||
- Add ShieldingLEND as a new physics list
|
||||
co-working with phys-ctor-hinelastic-V10-03-06
|
||||
|
||||
07-November-2017 V.Ivanchenko (phys-lists-V10-03-07)
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -45,7 +45,14 @@
|
||||
#include "G4PhysListRegistry.hh"
|
||||
#include "G4VModularPhysicsList.hh"
|
||||
#include "G4PhysListStamper.hh"
|
||||
|
||||
#include "G4PhysicsConstructorRegistry.hh"
|
||||
// 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.
|
||||
#define REGREF PhysListReg // REGREF is used to make instances unique
|
||||
#include "G4RegisterPhysicsConstructors.icc"
|
||||
|
||||
// include this with this compilation unit so static builds pull them in
|
||||
#include "G4RegisterPhysLists.icc"
|
||||
@@ -429,3 +436,4 @@ void G4PhysListRegistry::PrintAvailablePhysLists() const
|
||||
<< " to use ReplacePhysics() (\"_\") or RegisterPhysics() (\"+\")."
|
||||
<< G4endl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user