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.hh,v 1.2 2005/11/25 17:33:40 gunter Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//---------------------------------------------------------------------------
//
// ClassName: HadronPhysicsQGSP
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 21.11.2005 G.Folger: don't keep processes as data members, but new these
//
//----------------------------------------------------------------------------
//
#ifndef HadronPhysicsQGSP_h
#define HadronPhysicsQGSP_h 1
@@ -27,7 +41,6 @@
#include "G4ios.hh"
#include "G4VPhysicsConstructor.hh"
#include "G4HadronQEDBuilder.hh"
#include "G4StoppingHadronBuilder.hh"
#include "G4MiscLHEPBuilder.hh"
@@ -54,21 +67,21 @@ class HadronPhysicsQGSP : public G4VPhysicsConstructor
virtual void ConstructProcess();
private:
G4NeutronBuilder theNeutrons;
G4LEPNeutronBuilder theLEPNeutron;
G4QGSPNeutronBuilder theQGSPNeutron;
void CreateModels();
G4NeutronBuilder * theNeutrons;
G4LEPNeutronBuilder * theLEPNeutron;
G4QGSPNeutronBuilder * theQGSPNeutron;
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
+14 -1
View File
@@ -20,6 +20,19 @@
// * statement, and all its terms. *
// ********************************************************************
//
//
// $Id: QGSP.hh,v 1.4 2005/12/05 18:25:06 vnivanch Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//---------------------------------------------------------------------------
//
// ClassName: QGSP
//
// Author: 2002 J.P. Wellisch
//
// Modified:
//
//----------------------------------------------------------------------------
#ifndef TQGSP_h
#define TQGSP_h 1
@@ -31,7 +44,7 @@ template<class T>
class TQGSP: public T
{
public:
TQGSP();
TQGSP(G4int ver = 1);
virtual ~TQGSP();
public:
+33 -20
View File
@@ -20,6 +20,21 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: QGSP.icc,v 1.10 2005/12/05 18:25:06 vnivanch Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//---------------------------------------------------------------------------
//
// ClassName:
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 25.11.2005 G.Folger: migration to non static particles
// 30.11.2005 G.Folger: Register EmStandard first, split Em Standard and Extra
//
//----------------------------------------------------------------------------
//
#include "globals.hh"
#include "G4ParticleDefinition.hh"
@@ -34,41 +49,40 @@
#include "G4ios.hh"
#include <iomanip>
#include "GeneralPhysics.hh"
#include "EMPhysics.hh"
#include "MuonPhysics.hh"
#include "IonPhysics.hh"
#include "G4DecayPhysics.hh"
#include "G4EmStandardPhysics.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonPhysics.hh"
#include "G4DataQuestionaire.hh"
#include "HadronPhysicsQGSP.hh"
template<class T> TQGSP<T>::TQGSP(): T()
template<class T> TQGSP<T>::TQGSP(G4int ver): T()
{
// default cut value (1.0mm)
// defaultCutValue = 1.0*mm;
G4DataQuestionaire it(photon);
G4cout << "You are using the simulation engine: QGSP 2.8"<<G4endl;
G4cout <<G4endl<<G4endl;
G4cout << "<<< Geant4 Physics List simulation engine: QGSP 3.0"<<G4endl;
G4cout <<G4endl;
this->defaultCutValue = 0.7*mm;
this->SetVerboseLevel(1);
// General Physics
this->RegisterPhysics( new GeneralPhysics("general") );
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new EMPhysics("standard EM"));
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("hadron"));
this->RegisterPhysics( new HadronPhysicsQGSP("hadron"));
// Ion Physics
this->RegisterPhysics( new IonPhysics("ion"));
this->RegisterPhysics( new G4IonPhysics("ion"));
}
@@ -86,9 +100,8 @@ template<class T> void TQGSP<T>::SetCuts()
this->SetCutsWithDefault();
G4VUserPhysicsList::DumpCutValuesTable();
// if (this->verboseLevel > 0)
// G4VUserPhysicsList::DumpCutValuesTable();
}