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
+15 -1
View File
@@ -20,6 +20,20 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: FTFC.hh,v 1.3 2005/12/05 12:55:27 vnivanch Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//---------------------------------------------------------------------------
//
// ClassName:
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 05.12.2005 V.Ivanchenko add controlled verbosity
//
//----------------------------------------------------------------------------
//
#ifndef TTFTFC_h
#define TTFTFC_h 1
@@ -31,7 +45,7 @@ template<class T>
class TFTFC: public T
{
public:
TFTFC();
TFTFC(G4int ver = 1);
virtual ~TFTFC();
public:
+35 -20
View File
@@ -20,7 +20,24 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: FTFC.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:
// 28.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
// 05.12.2005 V.Ivanchenko add controlled verbosity
//
//----------------------------------------------------------------------------
//
#include "globals.hh"
#include "G4ParticleDefinition.hh"
#include "G4ParticleWithCuts.hh"
@@ -34,40 +51,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 "HadronPhysicsFTFC.hh"
#include "HadronPhysicsFTFC.hh"
template<class T> TFTFC<T>::TFTFC(): T()
template<class T> TFTFC<T>::TFTFC(G4int ver): T()
{
// default cut value (1.0mm)
// defaultCutValue = 1.0*mm;
G4DataQuestionaire it(photon);
G4cout << "You are using the simulation engine: FTFC 2.8"<<G4endl;
G4cout <<G4endl<<G4endl;
G4cout << "<<< Geant4 Physics List simulation engine: FTFC 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 HadronPhysicsFTFC("hadron"));
// Ion Physics
this->RegisterPhysics( new IonPhysics("ion"));
this->RegisterPhysics( new G4IonPhysics("ion"));
}
@@ -85,8 +100,8 @@ template<class T> void TFTFC<T>::SetCuts()
this->SetCutsWithDefault();
G4VUserPhysicsList::DumpCutValuesTable();
// if (this->verboseLevel > 0)
// G4VUserPhysicsList::DumpCutValuesTable();
}
@@ -20,6 +20,20 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: HadronPhysicsFTFC.hh,v 1.2 2005/11/29 16:59:40 gunter Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//---------------------------------------------------------------------------
//
// ClassName:
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 23.11.2005 G.Folger: migration to non static particles
//
//----------------------------------------------------------------------------
//
#ifndef HadronPhysicsFTFC_h
#define HadronPhysicsFTFC_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 HadronPhysicsFTFC : public G4VPhysicsConstructor
virtual void ConstructProcess();
private:
G4NeutronBuilder theNeutrons;
G4LEPNeutronBuilder theLEPNeutron;
G4FTFCNeutronBuilder theFTFCNeutron;
void CreateModels();
G4NeutronBuilder * theNeutrons;
G4LEPNeutronBuilder * theLEPNeutron;
G4FTFCNeutronBuilder * theFTFCNeutron;
G4PiKBuilder thePiK;
G4LEPPiKBuilder theLEPPiK;
G4FTFCPiKBuilder theFTFCPiK;
G4PiKBuilder * thePiK;
G4LEPPiKBuilder * theLEPPiK;
G4FTFCPiKBuilder * theFTFCPiK;
G4ProtonBuilder thePro;
G4LEPProtonBuilder theLEPPro;
G4FTFCProtonBuilder theFTFCPro;
G4ProtonBuilder * thePro;
G4LEPProtonBuilder * theLEPPro;
G4FTFCProtonBuilder * theFTFCPro;
G4MiscLHEPBuilder theMiscLHEP;
G4StoppingHadronBuilder theStoppingHadron;
G4HadronQEDBuilder theHadronQED;
G4MiscLHEPBuilder * theMiscLHEP;
G4StoppingHadronBuilder * theStoppingHadron;
};
// 2002 by J.P. Wellisch