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,16 @@
// * statement, and all its terms. *
// ********************************************************************
//
//---------------------------------------------------------------------------
//
// ClassName: HadronPhysicsQGSC
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 23.11.2005 G.Folger: don't keep processes as data members, but new these
//
//----------------------------------------------------------------------------
#ifndef HadronPhysicsQGSC_h
#define HadronPhysicsQGSC_h 1
@@ -27,7 +37,6 @@
#include "G4ios.hh"
#include "G4VPhysicsConstructor.hh"
#include "G4HadronQEDBuilder.hh"
#include "G4StoppingHadronBuilder.hh"
#include "G4MiscLHEPBuilder.hh"
@@ -54,21 +63,21 @@ class HadronPhysicsQGSC : public G4VPhysicsConstructor
virtual void ConstructProcess();
private:
G4NeutronBuilder theNeutrons;
G4LEPNeutronBuilder theLEPNeutron;
G4QGSCNeutronBuilder theQGSCNeutron;
void CreateModels();
G4NeutronBuilder * theNeutrons;
G4LEPNeutronBuilder * theLEPNeutron;
G4QGSCNeutronBuilder * theQGSCNeutron;
G4PiKBuilder thePiK;
G4LEPPiKBuilder theLEPPiK;
G4QGSCPiKBuilder theQGSCPiK;
G4PiKBuilder * thePiK;
G4LEPPiKBuilder * theLEPPiK;
G4QGSCPiKBuilder * theQGSCPiK;
G4ProtonBuilder thePro;
G4LEPProtonBuilder theLEPPro;
G4QGSCProtonBuilder theQGSCPro;
G4ProtonBuilder * thePro;
G4LEPProtonBuilder * theLEPPro;
G4QGSCProtonBuilder * theQGSCPro;
G4MiscLHEPBuilder theMiscLHEP;
G4StoppingHadronBuilder theStoppingHadron;
G4HadronQEDBuilder theHadronQED;
G4MiscLHEPBuilder * theMiscLHEP;
G4StoppingHadronBuilder * theStoppingHadron;
};
// 2002 by J.P. Wellisch
+1 -1
View File
@@ -31,7 +31,7 @@ template<class T>
class TQGSC: public T
{
public:
TQGSC();
TQGSC(G4int ver = 1);
virtual ~TQGSC();
public:
+33 -17
View File
@@ -20,7 +20,22 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: QGSC.icc,v 1.8 2005/12/15 20:57:53 gunter Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//---------------------------------------------------------------------------
//
// ClassName: QGSC
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 21.11.2005 G.Folger: don't keep processes as data members, but new these
// 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"
#include "G4ParticleWithCuts.hh"
@@ -34,38 +49,38 @@
#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 "HadronPhysicsQGSC.hh"
template<class T> TQGSC<T>::TQGSC(): T()
template<class T> TQGSC<T>::TQGSC(G4int ver): T()
{
// default cut value (1.0mm)
// defaultCutValue = 1.0*mm;
G4DataQuestionaire it(photon);
G4cout << "You are using the simulation engine: QGSC 2.9"<<G4endl;
G4cout << "<<< Geant4 Physics List simulation engine: QGSC 4.0"<<G4endl;
G4cout <<G4endl<<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 HadronPhysicsQGSC("hadron"));
// Ion Physics
this->RegisterPhysics( new IonPhysics("ion"));
this->RegisterPhysics( new G4IonPhysics("ion"));
}
@@ -83,7 +98,8 @@ template<class T> void TQGSC<T>::SetCuts()
this->SetCutsWithDefault();
G4VUserPhysicsList::DumpCutValuesTable();
// if (this->verboseLevel >0)
// G4VUserPhysicsList::DumpCutValuesTable();
}