Import Geant4 8.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 14:36:02 +02:00
parent d93e1e39a9
commit 8a51e0bc40
5471 changed files with 99628 additions and 55248 deletions
@@ -20,6 +20,20 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: HadronPhysicsQGSP_HP.hh,v 1.2 2005/11/29 17:03:28 gunter Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//---------------------------------------------------------------------------
//
// ClassName:
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 24.11.2005 G.Folger: migration to non static particles
//
//----------------------------------------------------------------------------
//
#ifndef HadronPhysicsQGSP_HP_h
#define HadronPhysicsQGSP_HP_h 1
@@ -27,7 +41,6 @@
#include "G4ios.hh"
#include "G4VPhysicsConstructor.hh"
#include "G4HadronQEDBuilder.hh"
#include "G4StoppingHadronBuilder.hh"
#include "G4MiscLHEPBuilder.hh"
@@ -55,22 +68,22 @@ class HadronPhysicsQGSP_HP : public G4VPhysicsConstructor
virtual void ConstructProcess();
private:
G4NeutronBuilder theNeutrons;
G4LEPNeutronBuilder theLEPNeutron;
G4QGSPNeutronBuilder theQGSPNeutron;
G4NeutronHPBuilder theHPNeutron;
void CreateModels();
G4NeutronBuilder * theNeutrons;
G4LEPNeutronBuilder * theLEPNeutron;
G4QGSPNeutronBuilder * theQGSPNeutron;
G4NeutronHPBuilder * theHPNeutron;
G4PiKBuilder thePiK;
G4LEPPiKBuilder theLEPPiK;
G4QGSPPiKBuilder theQGSPPiK;
G4PiKBuilder * thePiK;
G4LEPPiKBuilder * theLEPPiK;
G4QGSPPiKBuilder * theQGSPPiK;
G4ProtonBuilder thePro;
G4LEPProtonBuilder theLEPPro;
G4QGSPProtonBuilder theQGSPPro;
G4ProtonBuilder * thePro;
G4LEPProtonBuilder * theLEPPro;
G4QGSPProtonBuilder * theQGSPPro;
G4MiscLHEPBuilder theMiscLHEP;
G4StoppingHadronBuilder theStoppingHadron;
G4HadronQEDBuilder theHadronQED;
G4MiscLHEPBuilder * theMiscLHEP;
G4StoppingHadronBuilder * theStoppingHadron;
};
// 2002 by J.P. Wellisch
@@ -20,6 +20,19 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: QGSP_HP.hh,v 1.3 2005/12/05 18:25:06 vnivanch Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//---------------------------------------------------------------------------
//
// ClassName:
//
// Author: 2002 J.P. Wellisch
//
// Modified:
//
//----------------------------------------------------------------------------
//
#ifndef TQGSP_HP_h
#define TQGSP_HP_h 1
@@ -31,7 +44,7 @@ template<class T>
class TQGSP_HP: public T
{
public:
TQGSP_HP();
TQGSP_HP(G4int ver = 1);
virtual ~TQGSP_HP();
public:
@@ -20,6 +20,22 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: QGSP_HP.icc,v 1.7 2005/12/05 18:25:06 vnivanch Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//---------------------------------------------------------------------------
//
// ClassName:
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 23.11.2005 G.Folger: migration to non static particles
// 30.11.2005 G.Folger: Register EmStandard first, split Em Standard and Extra
// 02.12.2005 V.Ivanchenko: rename components
//
//----------------------------------------------------------------------------
//
#include "globals.hh"
#include "G4ParticleDefinition.hh"
@@ -34,38 +50,38 @@
#include "G4ios.hh"
#include <iomanip>
#include "GeneralPhysics.hh"
#include "EM_GNPhysics.hh"
#include "MuonPhysics.hh"
#include "IonPhysics.hh"
#include "G4DecayPhysics.hh"
#include "G4EmStandardPhysics.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonPhysics.hh"
#include "G4DataQuestionaire.hh"
#include "HadronPhysicsQGSP_HP.hh"
template<class T> TQGSP_HP<T>::TQGSP_HP(): T()
template<class T> TQGSP_HP<T>::TQGSP_HP(G4int ver): T()
{
G4DataQuestionaire it(photon, neutron);
G4cout << "You are using the simulation engine: QGSP_HP 2.3"<<G4endl;
G4cout <<G4endl<<G4endl;
G4cout << "<<< Geant4 Physics List simulation engine: QGSP_HP 3.0"<<G4endl;
G4cout <<G4endl;
// default cut value (1.0mm)
// defaultCutValue = 1.0*mm;
this->defaultCutValue = 0.7*mm;
this->SetVerboseLevel(1);
// General Physics
this->RegisterPhysics( new GeneralPhysics("general") );
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new EM_GNPhysics("standard EM plus electro nuclear"));
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
// Muon Physics
this->RegisterPhysics( new MuonPhysics("muon"));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
// Decays
this->RegisterPhysics( new G4DecayPhysics("decay",ver) );
// Hadron Physics
this->RegisterPhysics( new HadronPhysicsQGSP_HP("hadron"));
// Ion Physics
this->RegisterPhysics( new IonPhysics("ion"));
this->RegisterPhysics( new G4IonPhysics("ion"));
}
@@ -83,7 +99,8 @@ template<class T> void TQGSP_HP<T>::SetCuts()
this->SetCutsWithDefault();
G4VUserPhysicsList::DumpCutValuesTable();
// if (this->verboseLevel >0)
// G4VUserPhysicsList::DumpCutValuesTable();
}
// 2002 by J.P. Wellisch