Import Geant4 10.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 12:08:39 +02:00
parent 286caacf06
commit c9b32a6c0a
5770 changed files with 1050949 additions and 367105 deletions
@@ -13,6 +13,34 @@ code and to keep track of all tags.
---------------------------------------------------------------
* Please list in reverse chronological order (last date on top)
---------------------------------------------------------------
12 September 2014 - Tatsumi Koi (hadr-modman-V10-00-05)
---------------------------------------------------------
- Add BuildPhysics method for Initialisation before run
Co-working with hadr-man-V10-00-11
include/G4HadronicInteraction.hh
20 June 2014 - Davide Mancusi (hadr-modman-V10-00-04)
---------------------------------------------------------
- G4HadronicInteractionRegistry: add new FindAllModels method
5 June 2014 - Alberto Ribon (hadr-modman-V10-00-03)
---------------------------------------------------------
- G4HadronicInteraction: removed unnecessary dependency on G4ReactionDynamics
15 April 2014- Gunter Folger (hadr-modman-V10-00-02)
---------------------------------------------------------
- G4VKineticNucleon: return: const G4ParticleDefinition * from GetDefinition()
2 April 2014 - Gunter Folger (hadr-modman-V10-00-01)
-----------------------------------------------------
- G4VPreCompoundModel provide default implementation for
DeExciteModelDescription()
28 March 2014 - Gunter Folger (hadr-modman-V10-00-00)
-----------------------------------------------------
- G4VPreCompoundModel.hh: add DeExciteModelDescription()
4 June 2013 - Gunter Folger (hadr-modman-V09-06-05)
---------------------------------------------------------
- Reduce limit for "fatal" energy non-conservation from (10% && 5GeV) to
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4HadronicInteraction.hh 69717 2013-05-13 09:47:57Z gcosmo $
// $Id: G4HadronicInteraction.hh 83773 2014-09-15 07:19:09Z gcosmo $
//
// Hadronic Interaction abstract base class
// This class is the base class for the model classes.
@@ -58,7 +58,6 @@
#include "G4Nucleus.hh"
#include "G4Track.hh"
#include "G4HadProjectile.hh"
#include "G4ReactionDynamics.hh"
class G4HadronicInteraction
{
@@ -161,6 +160,9 @@ public: // With description
virtual void ModelDescription(std::ostream& outFile) const ; //=0;
// Initialisation before run
virtual void BuildPhysicsTable(const G4ParticleDefinition&){;};
private:
G4HadronicInteraction(const G4HadronicInteraction &right );
@@ -192,6 +194,7 @@ protected:
G4bool isBlocked;
private:
G4double recoilEnergyThreshold;
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4HadronicInteractionRegistry.hh 66872 2013-01-15 01:25:57Z japost $
// $Id: G4HadronicInteractionRegistry.hh 82440 2014-06-20 10:39:49Z gcosmo $
//
// 23-Jan-2009 V.Ivanchenko make the class to be a singleton
// 17-Aug-2012 V.Ivanchenko added hadronic model factories
@@ -61,6 +61,9 @@ public:
G4HadronicInteraction* FindModel(const G4String& name);
// find existing hadronic interaction by name
std::vector<G4HadronicInteraction*> FindAllModels(const G4String& name);
// find all existing hadronic interactions by name
private:
G4HadronicInteractionRegistry();
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4VKineticNucleon.hh 66785 2013-01-12 15:10:13Z gcosmo $
// $Id: G4VKineticNucleon.hh 80499 2014-04-24 13:54:26Z gcosmo $
//
#ifndef G4VKineticNucleon_h
#define G4VKineticNucleon_h 1
@@ -56,7 +56,7 @@ class G4VKineticNucleon
virtual const G4LorentzVector& Get4Momentum() const =0;
virtual G4ParticleDefinition* GetDefinition()const =0;
virtual const G4ParticleDefinition* GetDefinition()const =0;
virtual const G4ThreeVector& GetPosition() const =0;
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4VPreCompoundModel.hh 66785 2013-01-12 15:10:13Z gcosmo $
// $Id: G4VPreCompoundModel.hh 80131 2014-04-02 14:35:47Z gcosmo $
//
#ifndef G4VPreCompoundModel_h
@@ -83,6 +83,9 @@ public:
virtual G4ReactionProductVector* DeExcite(G4Fragment& aFragment) = 0;
virtual void DeExciteModelDescription(std::ostream& outFile) const ;
inline void SetExcitationHandler(G4ExcitationHandler* ptr);
inline G4ExcitationHandler* GetExcitationHandler() const;
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4HadronicInteractionRegistry.cc 66872 2013-01-15 01:25:57Z japost $
// $Id: G4HadronicInteractionRegistry.cc 82440 2014-06-20 10:39:49Z gcosmo $
//
// 23-Jan-2009 V.Ivanchenko make the class to be a singleton
// 17-Aug-2012 V.Ivanchenko added hadronic model factories
@@ -117,3 +117,20 @@ G4HadronicInteractionRegistry::FindModel(const G4String& name)
}
return model;
}
std::vector<G4HadronicInteraction*>
G4HadronicInteractionRegistry::FindAllModels(const G4String& name)
{
std::vector<G4HadronicInteraction*> models;
size_t nModels = allModels.size();
for (size_t i=0; i<nModels; ++i) {
G4HadronicInteraction* p = allModels[i];
if(p) {
if (p->GetModelName() == name) {
models.push_back(p);
}
}
}
return models;
}
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4VPreCompoundModel.cc 66785 2013-01-12 15:10:13Z gcosmo $
// $Id: G4VPreCompoundModel.cc 80131 2014-04-02 14:35:47Z gcosmo $
//
// -----------------------------------------------------------------------------
// GEANT 4 class file
@@ -46,3 +46,9 @@ G4VPreCompoundModel::G4VPreCompoundModel(G4ExcitationHandler* ptr,
G4VPreCompoundModel::~G4VPreCompoundModel()
{}
void G4VPreCompoundModel::DeExciteModelDescription(std::ostream& outFile) const
{
outFile << "description of DeExcite() for model derived from G4VPrecompoundModel missing"
<< "\n";
}