Import Geant4 8.0.0 source tree
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
#include "G4ios.hh"
|
||||
|
||||
#include "G4VPhysicsConstructor.hh"
|
||||
#include "G4HadronQEDBuilder.hh"
|
||||
#include "G4StoppingHadronBuilder.hh"
|
||||
#include "G4MiscLHEPBuilder.hh"
|
||||
|
||||
@@ -57,24 +56,24 @@ class HadronPhysicsQGSC_LEAD : public G4VPhysicsConstructor
|
||||
virtual void ConstructProcess();
|
||||
|
||||
private:
|
||||
G4NeutronBuilder theNeutrons;
|
||||
G4LEPNeutronBuilder theLEPNeutron;
|
||||
G4QGSCNeutronBuilder theQGSCNeutron;
|
||||
G4LEADNeutronBuilder theLEADNeutron;
|
||||
void CreateModels();
|
||||
G4NeutronBuilder * theNeutrons;
|
||||
G4LEPNeutronBuilder * theLEPNeutron;
|
||||
G4QGSCNeutronBuilder * theQGSCNeutron;
|
||||
G4LEADNeutronBuilder * theLEADNeutron;
|
||||
|
||||
G4PiKBuilder thePiK;
|
||||
G4LEPPiKBuilder theLEPPiK;
|
||||
G4QGSCPiKBuilder theQGSCPiK;
|
||||
G4LEADPiKBuilder theLEADPiK;
|
||||
G4PiKBuilder * thePiK;
|
||||
G4LEPPiKBuilder * theLEPPiK;
|
||||
G4QGSCPiKBuilder * theQGSCPiK;
|
||||
G4LEADPiKBuilder * theLEADPiK;
|
||||
|
||||
G4ProtonBuilder thePro;
|
||||
G4LEPProtonBuilder theLEPPro;
|
||||
G4QGSCProtonBuilder theQGSCPro;
|
||||
G4LEADProtonBuilder theLEADProton;
|
||||
G4ProtonBuilder * thePro;
|
||||
G4LEPProtonBuilder * theLEPPro;
|
||||
G4QGSCProtonBuilder * theQGSCPro;
|
||||
G4LEADProtonBuilder * theLEADProton;
|
||||
|
||||
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: QGSC_LEAD.hh,v 1.3 2005/12/05 18:25:06 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-08-00 $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
// ClassName: QGSC_LEAD
|
||||
//
|
||||
// Author: 2002 J.P. Wellisch
|
||||
//
|
||||
// Modified:
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
#ifndef TQGSC_LEAD_h
|
||||
#define TQGSC_LEAD_h 1
|
||||
|
||||
@@ -31,7 +44,7 @@ template<class T>
|
||||
class TQGSC_LEAD: public T
|
||||
{
|
||||
public:
|
||||
TQGSC_LEAD();
|
||||
TQGSC_LEAD(G4int ver = 1);
|
||||
virtual ~TQGSC_LEAD();
|
||||
|
||||
public:
|
||||
|
||||
@@ -20,6 +20,20 @@
|
||||
// * statement, and all its terms. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: QGSC_LEAD.icc,v 1.6 2005/12/05 18:25:06 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-08-00 $
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
// ClassName: QGSC_LEAD
|
||||
//
|
||||
// Author: 2002 J.P. Wellisch
|
||||
//
|
||||
// Modified:
|
||||
// 30.11.2005 G.Folger: Register EmStandard first, split Em Standard and Extra
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
@@ -34,38 +48,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_LEAD.hh"
|
||||
|
||||
template<class T> TQGSC_LEAD<T>::TQGSC_LEAD(): T()
|
||||
template<class T> TQGSC_LEAD<T>::TQGSC_LEAD(G4int ver): T()
|
||||
{
|
||||
// default cut value (1.0mm)
|
||||
// defaultCutValue = 1.0*mm;
|
||||
G4DataQuestionaire it(photon);
|
||||
G4cout << "You are using the simulation engine: QGSC_LEAD 1.7"<<G4endl;
|
||||
G4cout <<G4endl<<G4endl;
|
||||
G4cout << "<<< Geant4 Physics List simulation engine: QGSC_LEAD 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 HadronPhysicsQGSC_LEAD("hadron"));
|
||||
|
||||
// Ion Physics
|
||||
this->RegisterPhysics( new IonPhysics("ion"));
|
||||
|
||||
this->RegisterPhysics( new G4IonPhysics("ion"));
|
||||
|
||||
}
|
||||
|
||||
@@ -83,7 +97,8 @@ template<class T> void TQGSC_LEAD<T>::SetCuts()
|
||||
|
||||
this->SetCutsWithDefault();
|
||||
|
||||
G4VUserPhysicsList::DumpCutValuesTable();
|
||||
// if (this->verboseLevel >0)
|
||||
// G4VUserPhysicsList::DumpCutValuesTable();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user