Import Geant4 9.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:16:48 +02:00
parent 75c7fd177d
commit a8e9364cea
6592 changed files with 84274 additions and 69292 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: FTFC.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
+7 -5
View File
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: FTFC.icc,v 1.2 2006/11/24 17:10:02 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: FTFC.icc,v 1.5 2007/06/01 15:24:24 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -39,6 +39,7 @@
// 05.12.2005 V.Ivanchenko add controlled verbosity
// 08.06.2006 V.Ivanchenko: migration to CHIPS stopping
// 15.06.2006 G.Folger: Migrate to HadronElasticPhysics using improved elastic
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -71,13 +72,13 @@ template<class T> TFTFC<T>::TFTFC(G4int ver): T()
// default cut value (1.0mm)
// defaultCutValue = 1.0*mm;
G4DataQuestionaire it(photon);
G4cout << "<<< Geant4 Physics List simulation engine: FTFC 3.2"<<G4endl;
G4cout << "<<< Geant4 Physics List simulation engine: FTFC 3.4"<<G4endl;
G4cout << G4endl;
this->defaultCutValue = 0.7*mm;
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM", ver));
this->RegisterPhysics( new G4EmStandardPhysics(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -89,7 +90,8 @@ template<class T> TFTFC<T>::TFTFC(G4int ver): T()
this-> RegisterPhysics( new G4HadronElasticPhysics("elastic",ver,false));
// Hadron Physics
this->RegisterPhysics( new HadronPhysicsFTFC("hadron"));
G4bool quasiElastic;
this->RegisterPhysics( new HadronPhysicsFTFC("hadron",quasiElastic=true));
// Stopping Physics
this->RegisterPhysics( new G4QStoppingPhysics("stopping"));
+1 -1
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: FTFP.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
+7 -5
View File
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: FTFP.icc,v 1.3 2006/11/24 17:10:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: FTFP.icc,v 1.5 2007/06/01 15:20:06 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -39,6 +39,7 @@
// 08.06.2006 V.Ivanchenko: migration to CHIPS stopping
// 15.06.2006 G.Folger: Migrate to HadronElasticPhysics using improved elastic
// 20.11.2006 G.Folger: add Tracking Cut for neutrons
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -72,13 +73,13 @@ template<class T> TFTFP<T>::TFTFP(G4int ver): T()
// default cut value (1.0mm)
// defaultCutValue = 1.0*mm;
G4DataQuestionaire it(photon);
G4cout << "<<< Geant4 Physics List simulation engine: FTFP 4.2"<<G4endl;
G4cout << "<<< Geant4 Physics List simulation engine: FTFP 4.3"<<G4endl;
G4cout <<G4endl;
this->defaultCutValue = 0.7*mm;
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
this->RegisterPhysics( new G4EmStandardPhysics(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -90,7 +91,8 @@ template<class T> TFTFP<T>::TFTFP(G4int ver): T()
this-> RegisterPhysics( new G4HadronElasticPhysics("elastic",ver,false));
// Hadron Physics
this->RegisterPhysics( new HadronPhysicsFTFP("hadron"));
G4bool quasiElastic;
this->RegisterPhysics( new HadronPhysicsFTFP("hadron",quasiElastic=true));
// Stopping Physics
this->RegisterPhysics( new G4QStoppingPhysics("stopping"));
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: FTFP_EMV.hh,v 1.1 2007/04/26 14:47:10 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: FTFP_EMV.icc,v 1.1 2007/04/26 14:47:10 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// $Id: FTFP_EMV.icc,v 1.2 2007/05/16 11:35:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -40,6 +40,7 @@
// 08.06.2006 V.Ivanchenko: migration to CHIPS stopping
// 15.06.2006 G.Folger: Migrate to HadronElasticPhysics using improved elastic
// 20.11.2006 G.Folger: add Tracking Cut for neutrons
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -58,7 +59,7 @@
#include <iomanip>
#include "G4DecayPhysics.hh"
#include "G4EmStandardPhysics.hh"
#include "G4EmStandardPhysics_option1.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonPhysics.hh"
#include "G4QStoppingPhysics.hh"
@@ -79,7 +80,7 @@ template<class T> TFTFP_EMV<T>::TFTFP_EMV(G4int ver): T()
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics71("standard EM v71",ver));
this->RegisterPhysics( new G4EmStandardPhysics_option1(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: G4HadronInelasticQBBC.hh,v 1.2 2007/04/16 11:57:40 vnivanch Exp $
// GEANT4 tag $Name: geant4-08-03 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: G4HadronInelasticQLHEP.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: HadronPhysicsFTFC.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: HadronPhysicsFTFC.hh,v 1.2 2007/06/01 15:20:06 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -62,7 +62,7 @@
class HadronPhysicsFTFC : public G4VPhysicsConstructor
{
public:
HadronPhysicsFTFC(const G4String& name ="hadron");
HadronPhysicsFTFC(const G4String& name ="hadron",G4bool quasiElastic=true);
virtual ~HadronPhysicsFTFC();
public:
@@ -84,6 +84,8 @@ class HadronPhysicsFTFC : public G4VPhysicsConstructor
G4FTFCProtonBuilder * theFTFCPro;
G4MiscLHEPBuilder * theMiscLHEP;
G4bool QuasiElastic;
};
#endif
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: HadronPhysicsFTFP.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: HadronPhysicsFTFP.hh,v 1.2 2007/06/01 15:20:06 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -62,7 +62,7 @@
class HadronPhysicsFTFP : public G4VPhysicsConstructor
{
public:
HadronPhysicsFTFP(const G4String& name ="hadron");
HadronPhysicsFTFP(const G4String& name ="hadron",G4bool quasiElastic=true);
virtual ~HadronPhysicsFTFP();
public:
@@ -84,7 +84,8 @@ class HadronPhysicsFTFP : public G4VPhysicsConstructor
G4FTFPProtonBuilder * theFTFPPro;
G4MiscLHEPBuilder * theMiscLHEP;
G4bool QuasiElastic;
};
#endif
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: HadronPhysicsLHEP.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: HadronPhysicsLHEP_BERT.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: HadronPhysicsLHEP_BERT_HP.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -1,88 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: HadronPhysicsLHEP_BIC.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: HadronPhysicsLHEP_BIC
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 1.12.2005 G.Folger: migration to non static particles
// 08.06.2006 V.Ivanchenko: remove stopping
//
//----------------------------------------------------------------------------
//
#ifndef HadronPhysicsLHEP_BIC_h
#define HadronPhysicsLHEP_BIC_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4VPhysicsConstructor.hh"
#include "G4MiscLHEPBuilder.hh"
#include "G4PiKBuilder.hh"
#include "G4LHEPPiKBuilder.hh"
#include "G4ProtonBuilder.hh"
#include "G4LHEPProtonBuilder.hh"
#include "G4BinaryProtonBuilder.hh"
#include "G4NeutronBuilder.hh"
#include "G4LHEPNeutronBuilder.hh"
#include "G4BinaryNeutronBuilder.hh"
class HadronPhysicsLHEP_BIC : public G4VPhysicsConstructor
{
public:
HadronPhysicsLHEP_BIC(const G4String& name ="hadron");
virtual ~HadronPhysicsLHEP_BIC();
public:
virtual void ConstructParticle();
virtual void ConstructProcess();
private:
void CreateModels();
G4NeutronBuilder * theNeutrons;
G4LHEPNeutronBuilder * theLHEPNeutron;
G4BinaryNeutronBuilder * theBinaryNeutron;
G4PiKBuilder * thePiK;
G4LHEPPiKBuilder * theLHEPPiK;
G4ProtonBuilder * thePro;
G4LHEPProtonBuilder * theLHEPPro;
G4BinaryProtonBuilder * theBinaryPro;
G4MiscLHEPBuilder * theMiscLHEP;
};
#endif
@@ -1,90 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: HadronPhysicsLHEP_BIC_HP.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: HadronPhysicsLHEP_BIC_HP
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 1.12.2005 G.Folger: migration to non static particles
// 08.06.2006 V.Ivanchenko: remove stopping
//
//----------------------------------------------------------------------------
//
#ifndef HadronPhysicsLHEP_BIC_HP_h
#define HadronPhysicsLHEP_BIC_HP_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4VPhysicsConstructor.hh"
#include "G4MiscLHEPBuilder.hh"
#include "G4PiKBuilder.hh"
#include "G4LHEPPiKBuilder.hh"
#include "G4ProtonBuilder.hh"
#include "G4LHEPProtonBuilder.hh"
#include "G4BinaryProtonBuilder.hh"
#include "G4NeutronBuilder.hh"
#include "G4LHEPNeutronBuilder.hh"
#include "G4BinaryNeutronBuilder.hh"
#include "G4NeutronHPBuilder.hh"
class HadronPhysicsLHEP_BIC_HP : public G4VPhysicsConstructor
{
public:
HadronPhysicsLHEP_BIC_HP(const G4String& name ="hadron");
virtual ~HadronPhysicsLHEP_BIC_HP();
public:
virtual void ConstructParticle();
virtual void ConstructProcess();
private:
void CreateModels();
G4NeutronBuilder * theNeutrons;
G4LHEPNeutronBuilder * theLHEPNeutron;
G4BinaryNeutronBuilder * theBinaryNeutron;
G4NeutronHPBuilder * theHPNeutron;
G4PiKBuilder * thePiK;
G4LHEPPiKBuilder * theLHEPPiK;
G4ProtonBuilder * thePro;
G4LHEPProtonBuilder * theLHEPPro;
G4BinaryProtonBuilder * theBinaryPro;
G4MiscLHEPBuilder * theMiscLHEP;
};
#endif
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: HadronPhysicsLHEP_EMV.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -1,82 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: HadronPhysicsLHEP_HP.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: HadronPhysicsLHEP_HP_h
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 1.12.2005 G.Folger: migration to non static particles
// 08.06.2006 V.Ivanchenko: remove stopping
//
//----------------------------------------------------------------------------
//
#ifndef HadronPhysicsLHEP_HP_h
#define HadronPhysicsLHEP_HP_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4VPhysicsConstructor.hh"
#include "G4MiscLHEPBuilder.hh"
#include "G4LHEPPiKBuilder.hh"
#include "G4PiKBuilder.hh"
#include "G4LHEPProtonBuilder.hh"
#include "G4ProtonBuilder.hh"
#include "G4LHEPNeutronBuilder.hh"
#include "G4NeutronBuilder.hh"
#include "G4NeutronHPBuilder.hh"
class HadronPhysicsLHEP_HP : public G4VPhysicsConstructor
{
public:
HadronPhysicsLHEP_HP(const G4String& name ="hadron");
virtual ~HadronPhysicsLHEP_HP();
public:
virtual void ConstructParticle();
virtual void ConstructProcess();
private:
void CreateModels();
G4NeutronBuilder * theNeutrons;
G4LHEPNeutronBuilder * theLHEPNeutron;
G4NeutronHPBuilder * theHPNeutron;
G4LHEPPiKBuilder * theLHEPPiK;
G4PiKBuilder * thePiK;
G4LHEPProtonBuilder * theLHEPProton;
G4ProtonBuilder * theProton;
G4MiscLHEPBuilder * theMiscLHEP;
};
#endif
@@ -1,90 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: HadronPhysicsLHEP_LEAD.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: HadronPhysicsLHEP_LEAD
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 1.12.2005 G.Folger: migration to non static particles
// 08.06.2006 V.Ivanchenko: remove stopping
//
//----------------------------------------------------------------------------
//
#ifndef HadronPhysicsLHEP_LEAD_h
#define HadronPhysicsLHEP_LEAD_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4VPhysicsConstructor.hh"
#include "G4MiscLHEPBuilder.hh"
#include "G4PiKBuilder.hh"
#include "G4LHEPPiKBuilder.hh"
#include "G4LEADPiKBuilder.hh"
#include "G4ProtonBuilder.hh"
#include "G4LHEPProtonBuilder.hh"
#include "G4LEADProtonBuilder.hh"
#include "G4NeutronBuilder.hh"
#include "G4LHEPNeutronBuilder.hh"
#include "G4LEADNeutronBuilder.hh"
class HadronPhysicsLHEP_LEAD : public G4VPhysicsConstructor
{
public:
HadronPhysicsLHEP_LEAD(const G4String& name ="hadron");
virtual ~HadronPhysicsLHEP_LEAD();
public:
virtual void ConstructParticle();
virtual void ConstructProcess();
private:
void CreateModels();
G4NeutronBuilder * theNeutrons;
G4LHEPNeutronBuilder * theLHEPNeutron;
G4LEADNeutronBuilder * theLEADNeutron;
G4PiKBuilder * thePiK;
G4LHEPPiKBuilder * theLHEPPiK;
G4LEADPiKBuilder * theLEADPiK;
G4ProtonBuilder * thePro;
G4LHEPProtonBuilder * theLHEPPro;
G4LEADProtonBuilder * theLEADPro;
G4MiscLHEPBuilder * theMiscLHEP;
};
#endif
@@ -1,93 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: HadronPhysicsLHEP_LEAD_HP.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: LHEP_LEAD_HP
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 30.11.2005 G.Folger: migration to non static particles
// 30.11.2005 G.Folger: Register EmStandard first, split Em Standard and Extra
// 08.06.2006 V.Ivanchenko: remove stopping
//
//----------------------------------------------------------------------------
//
#ifndef HadronPhysicsLHEP_LEAD_HP_h
#define HadronPhysicsLHEP_LEAD_HP_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4VPhysicsConstructor.hh"
#include "G4MiscLHEPBuilder.hh"
#include "G4PiKBuilder.hh"
#include "G4LHEPPiKBuilder.hh"
#include "G4LEADPiKBuilder.hh"
#include "G4ProtonBuilder.hh"
#include "G4LHEPProtonBuilder.hh"
#include "G4LEADProtonBuilder.hh"
#include "G4NeutronBuilder.hh"
#include "G4LHEPNeutronBuilder.hh"
#include "G4LEADNeutronBuilder.hh"
#include "G4NeutronHPBuilder.hh"
class HadronPhysicsLHEP_LEAD_HP : public G4VPhysicsConstructor
{
public:
HadronPhysicsLHEP_LEAD_HP(const G4String& name ="hadron");
virtual ~HadronPhysicsLHEP_LEAD_HP();
public:
virtual void ConstructParticle();
virtual void ConstructProcess();
private:
void CreateModels();
G4NeutronBuilder * theNeutrons;
G4LHEPNeutronBuilder * theLHEPNeutron;
G4LEADNeutronBuilder * theLEADNeutron;
G4NeutronHPBuilder * theHPNeutron;
G4PiKBuilder * thePiK;
G4LHEPPiKBuilder * theLHEPPiK;
G4LEADPiKBuilder * theLEADPiK;
G4ProtonBuilder * thePro;
G4LHEPProtonBuilder * theLHEPPro;
G4LEADProtonBuilder * theLEADPro;
G4MiscLHEPBuilder * theMiscLHEP;
};
#endif
@@ -1,88 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: HadronPhysicsLHEP_PRECO.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: HadronPhysicsLHEP_PRECO
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 1.12.2005 G.Folger: migration to non static particles
// 08.06.2006 V.Ivanchenko: remove stopping
//
//----------------------------------------------------------------------------
//
#ifndef HadronPhysicsLHEP_PRECO_h
#define HadronPhysicsLHEP_PRECO_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4VPhysicsConstructor.hh"
#include "G4MiscLHEPBuilder.hh"
#include "G4PiKBuilder.hh"
#include "G4LHEPPiKBuilder.hh"
#include "G4ProtonBuilder.hh"
#include "G4LHEPProtonBuilder.hh"
#include "G4PrecoProtonBuilder.hh"
#include "G4NeutronBuilder.hh"
#include "G4LHEPNeutronBuilder.hh"
#include "G4PrecoNeutronBuilder.hh"
class HadronPhysicsLHEP_PRECO : public G4VPhysicsConstructor
{
public:
HadronPhysicsLHEP_PRECO(const G4String& name ="hadron");
virtual ~HadronPhysicsLHEP_PRECO();
public:
virtual void ConstructParticle();
virtual void ConstructProcess();
private:
void CreateModels();
G4NeutronBuilder * theNeutrons;
G4LHEPNeutronBuilder * theLHEPNeutron;
G4PrecoNeutronBuilder * thePrecoNeutron;
G4PiKBuilder * thePiK;
G4LHEPPiKBuilder * theLHEPPiK;
G4ProtonBuilder * thePro;
G4LHEPProtonBuilder * theLHEPPro;
G4PrecoProtonBuilder * thePrecoPro;
G4MiscLHEPBuilder * theMiscLHEP;
};
#endif
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: HadronPhysicsLHEP_PRECO_HP.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: HadronPhysicsQGSC.hh,v 1.2 2007/04/26 14:47:10 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: HadronPhysicsQGSC_EFLOW.hh,v 1.2 2007/04/26 14:47:10 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -1,95 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: HadronPhysicsQGSC_LEAD.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: HadronPhysiosQGSC_LEAD
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 28.11.2005 G.Folger: migration to non static particles
// 08.06.2006 V.Ivanchenko: remove stopping
//
#ifndef HadronPhysicsQGSC_LEAD_h
#define HadronPhysicsQGSC_LEAD_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4VPhysicsConstructor.hh"
#include "G4MiscLHEPBuilder.hh"
#include "G4PiKBuilder.hh"
#include "G4LEPPiKBuilder.hh"
#include "G4QGSCPiKBuilder.hh"
#include "G4LEADPiKBuilder.hh"
#include "G4ProtonBuilder.hh"
#include "G4LEPProtonBuilder.hh"
#include "G4QGSCProtonBuilder.hh"
#include "G4LEADProtonBuilder.hh"
#include "G4NeutronBuilder.hh"
#include "G4LEPNeutronBuilder.hh"
#include "G4QGSCNeutronBuilder.hh"
#include "G4LEADNeutronBuilder.hh"
class HadronPhysicsQGSC_LEAD : public G4VPhysicsConstructor
{
public:
HadronPhysicsQGSC_LEAD(const G4String& name ="hadron");
virtual ~HadronPhysicsQGSC_LEAD();
public:
virtual void ConstructParticle();
virtual void ConstructProcess();
private:
void CreateModels();
G4NeutronBuilder * theNeutrons;
G4LEPNeutronBuilder * theLEPNeutron;
G4QGSCNeutronBuilder * theQGSCNeutron;
G4LEADNeutronBuilder * theLEADNeutron;
G4PiKBuilder * thePiK;
G4LEPPiKBuilder * theLEPPiK;
G4QGSCPiKBuilder * theQGSCPiK;
G4LEADPiKBuilder * theLEADPiK;
G4ProtonBuilder * thePro;
G4LEPProtonBuilder * theLEPPro;
G4QGSCProtonBuilder * theQGSCPro;
G4LEADProtonBuilder * theLEADProton;
G4MiscLHEPBuilder * theMiscLHEP;
};
#endif
@@ -1,98 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: HadronPhysicsQGSC_LEAD_HP.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: HadronPhysicsQGSC_LEAD_HP
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 1.12.2005 G.Folger: migration to non static particles
// 08.06.2006 V.Ivanchenko: remove stopping
//
//----------------------------------------------------------------------------
//
#ifndef HadronPhysicsQGSC_LEAD_HP_h
#define HadronPhysicsQGSC_LEAD_HP_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4VPhysicsConstructor.hh"
#include "G4MiscLHEPBuilder.hh"
#include "G4PiKBuilder.hh"
#include "G4LEPPiKBuilder.hh"
#include "G4QGSCPiKBuilder.hh"
#include "G4LEADPiKBuilder.hh"
#include "G4ProtonBuilder.hh"
#include "G4LEPProtonBuilder.hh"
#include "G4QGSCProtonBuilder.hh"
#include "G4LEADProtonBuilder.hh"
#include "G4NeutronBuilder.hh"
#include "G4LEPNeutronBuilder.hh"
#include "G4QGSCNeutronBuilder.hh"
#include "G4LEADNeutronBuilder.hh"
#include "G4NeutronHPBuilder.hh"
class HadronPhysicsQGSC_LEAD_HP : public G4VPhysicsConstructor
{
public:
HadronPhysicsQGSC_LEAD_HP(const G4String& name ="hadron");
virtual ~HadronPhysicsQGSC_LEAD_HP();
public:
virtual void ConstructParticle();
virtual void ConstructProcess();
private:
void CreateModels();
G4NeutronBuilder * theNeutrons;
G4LEPNeutronBuilder * theLEPNeutron;
G4QGSCNeutronBuilder * theQGSCNeutron;
G4LEADNeutronBuilder * theLEADNeutron;
G4NeutronHPBuilder * theHPNeutron;
G4PiKBuilder * thePiK;
G4LEPPiKBuilder * theLEPPiK;
G4QGSCPiKBuilder * theQGSCPiK;
G4LEADPiKBuilder * theLEADPiK;
G4ProtonBuilder * thePro;
G4LEPProtonBuilder * theLEPPro;
G4QGSCProtonBuilder * theQGSCPro;
G4LEADProtonBuilder * theLEADProton;
G4MiscLHEPBuilder * theMiscLHEP;
};
#endif
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: HadronPhysicsQGSP.hh,v 1.3 2007/04/26 14:47:10 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: HadronPhysicsQGSP_BERT.hh,v 1.2 2007/04/26 14:47:10 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: HadronPhysicsQGSP_BERT_HP.hh,v 1.3 2007/04/26 14:47:10 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: HadronPhysicsQGSP_BERT_TRV.hh,v 1.1 2007/05/07 14:34:29 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: HadronPhysicsQGSP_BIC.hh,v 1.2 2007/04/26 14:47:10 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: HadronPhysicsQGSP_BIC_HP.hh,v 1.2 2007/04/26 14:47:10 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -1,95 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: HadronPhysicsQGSP_HP.hh,v 1.2 2007/04/26 14:47:11 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//---------------------------------------------------------------------------
//
// ClassName:
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 24.11.2005 G.Folger: migration to non static particles
// 08.06.2006 V.Ivanchenko: remove stopping
// 25.04.2007 G.Folger: Add quasielastic as option, use quasielastic by default
//
//----------------------------------------------------------------------------
//
#ifndef HadronPhysicsQGSP_HP_h
#define HadronPhysicsQGSP_HP_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4VPhysicsConstructor.hh"
#include "G4MiscLHEPBuilder.hh"
#include "G4PiKBuilder.hh"
#include "G4LEPPiKBuilder.hh"
#include "G4QGSPPiKBuilder.hh"
#include "G4ProtonBuilder.hh"
#include "G4LEPProtonBuilder.hh"
#include "G4QGSPProtonBuilder.hh"
#include "G4NeutronBuilder.hh"
#include "G4LEPNeutronBuilder.hh"
#include "G4QGSPNeutronBuilder.hh"
#include "G4NeutronHPBuilder.hh"
class HadronPhysicsQGSP_HP : public G4VPhysicsConstructor
{
public:
HadronPhysicsQGSP_HP(const G4String& name ="hadron",G4bool quasiElastic=true);
virtual ~HadronPhysicsQGSP_HP();
public:
virtual void ConstructParticle();
virtual void ConstructProcess();
private:
void CreateModels();
G4NeutronBuilder * theNeutrons;
G4LEPNeutronBuilder * theLEPNeutron;
G4QGSPNeutronBuilder * theQGSPNeutron;
G4NeutronHPBuilder * theHPNeutron;
G4PiKBuilder * thePiK;
G4LEPPiKBuilder * theLEPPiK;
G4QGSPPiKBuilder * theQGSPPiK;
G4ProtonBuilder * thePro;
G4LEPProtonBuilder * theLEPPro;
G4QGSPProtonBuilder * theQGSPPro;
G4MiscLHEPBuilder * theMiscLHEP;
G4bool QuasiElastic;
};
#endif
+4 -3
View File
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LHEP.icc,v 1.2 2006/11/24 17:10:06 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: LHEP.icc,v 1.3 2007/05/16 11:35:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -37,6 +37,7 @@
// 30.11.2005 G.Folger: Register EmStandard first, split Em Standard and Extra
// 02.12.2005 V.Ivanchenko: rename components
// 14.06.2006 G.Folger: Migrate to HadronElasticPhysics using G4LElastic
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -73,7 +74,7 @@ template<class T> TLHEP<T>::TLHEP(G4int ver): T()
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
this->RegisterPhysics( new G4EmStandardPhysics(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: LHEP_BERT.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LHEP_BERT.icc,v 1.2 2006/11/24 17:10:06 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: LHEP_BERT.icc,v 1.3 2007/05/16 11:35:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -37,6 +37,7 @@
// 30.11.2005 G.Folger: Register EmStandard first, split Em Standard and Extra
// 08.06.2006 V.Ivanchenko: migration to CHIPS stopping
// 14.06.2006 G.Folger: Migrate to HadronElasticPhysics using G4LElastic
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -77,7 +78,7 @@ template<class T> TLHEP_BERT<T>::TLHEP_BERT(G4int ver): T()
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
this->RegisterPhysics( new G4EmStandardPhysics(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LHEP_BERT_HP.icc,v 1.2 2006/11/24 17:10:07 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: LHEP_BERT_HP.icc,v 1.3 2007/05/16 11:35:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -37,6 +37,7 @@
// 30.11.2005 G.Folger: Register EmStandard first, split Em Standard and Extra
// 08.06.2006 V.Ivanchenko: migration to CHIPS stopping
// 14.06.2006 G.Folger: Migrate to HadronElasticPhysics using G4LElastic
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -75,7 +76,7 @@ template<class T> TLHEP_BERT_HP<T>::TLHEP_BERT_HP(G4int ver): T()
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
this->RegisterPhysics( new G4EmStandardPhysics(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -1,68 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LHEP_BIC.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: HadronPhysicsLHEP_BIC
//
// Author: 2002 J.P. Wellisch
//
// Modified:
//
//----------------------------------------------------------------------------
//
#ifndef TLHEP_BIC_h
#define TLHEP_BIC_h 1
#include "G4VModularPhysicsList.hh"
#include "globals.hh"
#include "CompileTimeConstraints.hh"
template<class T>
class TLHEP_BIC: public T
{
public:
TLHEP_BIC(G4int ver = 1);
virtual ~TLHEP_BIC();
public:
// SetCuts()
virtual void SetCuts();
private:
enum {ok = CompileTimeConstraints::IsA<T, G4VModularPhysicsList>::ok };
};
#include "LHEP_BIC.icc"
typedef TLHEP_BIC<G4VModularPhysicsList> LHEP_BIC;
// 2002 by J.P. Wellisch
#endif
@@ -1,127 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LHEP_BIC.icc,v 1.2 2006/11/21 07:32:33 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: LHEP_BIC
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 30.11.2005 G.Folger: migration to non static particles
// 30.11.2005 G.Folger: Register EmStandard first, split Em Standard and Extra
// 08.06.2006 V.Ivanchenko: migration to CHIPS stopping
// 14.06.2006 G.Folger: Migrate to HadronElasticPhysics using G4LElastic
// 20.06.2006 V.Ivanchenko: add ion Binary Cascade
//
//----------------------------------------------------------------------------
//
#include "globals.hh"
#include "G4ParticleDefinition.hh"
#include "G4ParticleWithCuts.hh"
#include "G4ProcessManager.hh"
#include "G4ProcessVector.hh"
#include "G4ParticleTypes.hh"
#include "G4ParticleTable.hh"
#include "G4Material.hh"
#include "G4MaterialTable.hh"
#include "G4ios.hh"
#include <iomanip>
#include "G4DecayPhysics.hh"
#include "G4EmStandardPhysics.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonBinaryCascadePhysics.hh"
#include "G4QStoppingPhysics.hh"
#include "G4HadronElasticPhysics.hh"
#include "G4DataQuestionaire.hh"
#include "HadronPhysicsLHEP_BIC.hh"
#include "G4WarnPLStatus.hh"
template<class T> TLHEP_BIC<T>::TLHEP_BIC(G4int ver): T()
{
// default cut value (1.0mm)
// defaultCutValue = 1.0*mm;
G4DataQuestionaire it(photon);
G4cout << "<<< Geant4 Physics List simulation engine: LHEP_BIC 3.2"<<G4endl;
G4cout <<G4endl;
this->defaultCutValue = 0.7*mm;
this->SetVerboseLevel(ver);
G4WarnPLStatus obs;
obs.Unsupported("LHEP_BIC","QGSP_BIC");
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
// Decays
this->RegisterPhysics( new G4DecayPhysics("decay",ver) );
// Hadron Elastic scattering
this-> RegisterPhysics( new G4HadronElasticPhysics("LElastic",ver,false));
// Hadron Physics
this->RegisterPhysics( new HadronPhysicsLHEP_BIC("hadron"));
// Stopping Physics
this->RegisterPhysics( new G4QStoppingPhysics("stopping"));
// Ion Physics
this->RegisterPhysics( new G4IonBinaryCascadePhysics("ionBIC"));
}
template<class T> TLHEP_BIC<T>::~TLHEP_BIC()
{
}
template<class T> void TLHEP_BIC<T>::SetCuts()
{
if (this->verboseLevel >1){
G4cout << "LHEP_BIC::SetCuts:";
}
// " G4VUserPhysicsList::SetCutsWithDefault" method sets
// the default cut value for all particle types
this->SetCutsWithDefault();
// if (this->verboseLevel >0)
// G4VUserPhysicsList::DumpCutValuesTable();
}
// 2002 by J.P. Wellisch
@@ -1,69 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LHEP_BIC_HP.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: LHEP_BIC_HP
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 30.11.2005 G.Folger: migration to non static particles
//
//----------------------------------------------------------------------------
//
#ifndef TLHEP_BIC_HP_h
#define TLHEP_BIC_HP_h 1
#include "G4VModularPhysicsList.hh"
#include "globals.hh"
#include "CompileTimeConstraints.hh"
template<class T>
class TLHEP_BIC_HP: public T
{
public:
TLHEP_BIC_HP(G4int ver = 1);
virtual ~TLHEP_BIC_HP();
public:
// SetCuts()
virtual void SetCuts();
private:
enum {ok = CompileTimeConstraints::IsA<T, G4VModularPhysicsList>::ok };
};
#include "LHEP_BIC_HP.icc"
typedef TLHEP_BIC_HP<G4VModularPhysicsList> LHEP_BIC_HP;
// 2002 by J.P. Wellisch
#endif
@@ -1,127 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LHEP_BIC_HP.icc,v 1.2 2006/11/21 07:32:33 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: LHEP_BIC_HP
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 30.11.2005 G.Folger: migration to non static particles
// 30.11.2005 G.Folger: Register EmStandard first, split Em Standard and Extra
// 08.06.2006 V.Ivanchenko: migration to CHIPS stopping
// 14.06.2006 G.Folger: Migrate to HadronElasticPhysics using G4LElastic
// 20.06.2006 V.Ivanchenko: add ion Binary Cascade
//
//----------------------------------------------------------------------------
//
#include "globals.hh"
#include "G4ParticleDefinition.hh"
#include "G4ParticleWithCuts.hh"
#include "G4ProcessManager.hh"
#include "G4ProcessVector.hh"
#include "G4ParticleTypes.hh"
#include "G4ParticleTable.hh"
#include "G4Material.hh"
#include "G4MaterialTable.hh"
#include "G4ios.hh"
#include <iomanip>
#include "G4DecayPhysics.hh"
#include "G4EmStandardPhysics.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonBinaryCascadePhysics.hh"
#include "G4QStoppingPhysics.hh"
#include "G4HadronElasticPhysics.hh"
#include "G4DataQuestionaire.hh"
#include "HadronPhysicsLHEP_BIC_HP.hh"
#include "G4WarnPLStatus.hh"
template<class T> TLHEP_BIC_HP<T>::TLHEP_BIC_HP(G4int ver): T()
{
// default cut value (1.0mm)
// defaultCutValue = 1.0*mm;
G4DataQuestionaire it(photon);
G4cout << "<<< Geant4 Physics List simulation engine: LHEP_BIC_HP 3.2"<<G4endl;
G4cout <<G4endl;
this->defaultCutValue = 0.7*mm;
this->SetVerboseLevel(ver);
G4WarnPLStatus obs;
obs.Unsupported("LHEP_BIC_HP");
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
// Decays
this->RegisterPhysics( new G4DecayPhysics("decay",ver) );
// Hadron Elastic scattering
this-> RegisterPhysics( new G4HadronElasticPhysics("LElastic",ver,true));
// Hadron Physics
this->RegisterPhysics( new HadronPhysicsLHEP_BIC_HP("hadron"));
// Stopping Physics
this->RegisterPhysics( new G4QStoppingPhysics("stopping"));
// Ion Physics
this->RegisterPhysics( new G4IonBinaryCascadePhysics("ionBIC"));
}
template<class T> TLHEP_BIC_HP<T>::~TLHEP_BIC_HP()
{
}
template<class T> void TLHEP_BIC_HP<T>::SetCuts()
{
if (this->verboseLevel >1){
G4cout << "LHEP_BIC::SetCuts:";
}
// " G4VUserPhysicsList::SetCutsWithDefault" method sets
// the default cut value for all particle types
this->SetCutsWithDefault();
// if (this->verboseLevel >0)
// G4VUserPhysicsList::DumpCutValuesTable();
}
// 2002 by J.P. Wellisch
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: LHEP_EMV.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LHEP_EMV.icc,v 1.2 2006/11/24 17:10:07 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: LHEP_EMV.icc,v 1.3 2007/05/16 11:35:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -36,6 +36,7 @@
// 16.12.2005 G.Folger: create from LHEP_GN
// 08.06.2006 V.Ivanchenko: migration to CHIPS stopping
// 14.06.2006 G.Folger: Migrate to HadronElasticPhysics using G4LElastic
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -54,7 +55,7 @@
#include <iomanip>
#include "G4DecayPhysics.hh"
#include "G4EmStandardPhysics71.hh"
#include "G4EmStandardPhysics_option1.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonPhysics.hh"
#include "G4QStoppingPhysics.hh"
@@ -74,7 +75,7 @@ template<class T> TLHEP_EMV<T>::TLHEP_EMV(G4int ver): T()
this->SetVerboseLevel(ver);
// EM Physics - without multiple scattering limiting the step
this->RegisterPhysics( new G4EmStandardPhysics71("standard EM msc 7.1",ver));
this->RegisterPhysics( new G4EmStandardPhysics_option1(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -1,68 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LHEP_HP.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: LHEP_HP
//
// Author: 2002 J.P. Wellisch
//
// Modified:
//
//----------------------------------------------------------------------------
//
#ifndef TLHEP_HP_h
#define TLHEP_HP_h 1
#include "G4VModularPhysicsList.hh"
#include "globals.hh"
#include "CompileTimeConstraints.hh"
template<class T>
class TLHEP_HP: public T
{
public:
TLHEP_HP(G4int ver = 1);
virtual ~TLHEP_HP();
public:
// SetCuts()
virtual void SetCuts();
private:
enum {ok = CompileTimeConstraints::IsA<T, G4VModularPhysicsList>::ok };
};
#include "LHEP_HP.icc"
typedef TLHEP_HP<G4VModularPhysicsList> LHEP_HP;
// 2002 by J.P. Wellisch
#endif
@@ -1,125 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LHEP_HP.icc,v 1.2 2006/11/21 07:32:33 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName:
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 30.11.2005 G.Folger: migration to non static particles
// 30.11.2005 G.Folger: Register EmStandard first, split Em Standard and Extra
// 08.06.2006 V.Ivanchenko: migration to CHIPS stopping
// 14.06.2006 G.Folger: Migrate to HadronElasticPhysics using G4LElastic
//
//----------------------------------------------------------------------------
//
#include "globals.hh"
#include "G4ParticleDefinition.hh"
#include "G4ParticleWithCuts.hh"
#include "G4ProcessManager.hh"
#include "G4ProcessVector.hh"
#include "G4ParticleTypes.hh"
#include "G4ParticleTable.hh"
#include "G4Material.hh"
#include "G4MaterialTable.hh"
#include "G4ios.hh"
#include <iomanip>
#include "G4DecayPhysics.hh"
#include "G4EmStandardPhysics.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonPhysics.hh"
#include "G4QStoppingPhysics.hh"
#include "G4HadronElasticPhysics.hh"
#include "G4DataQuestionaire.hh"
#include "HadronPhysicsLHEP_HP.hh"
#include "G4WarnPLStatus.hh"
template<class T> TLHEP_HP<T>::TLHEP_HP(G4int ver): T()
{
// default cut value (1.0mm)
// defaultCutValue = 1.0*mm;
G4DataQuestionaire it(photon, neutron);
G4cout << "<<< Geant4 Physics List simulation engine: LHEP_HP 3.2"<<G4endl;
G4cout <<G4endl;
this->defaultCutValue = 0.7*mm;
this->SetVerboseLevel(ver);
G4WarnPLStatus obs;
obs.Unsupported("LHEP_HP","QGSP_BERT_HP");
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
// Decays
this->RegisterPhysics( new G4DecayPhysics("decay",ver) );
// Hadron Elastic scattering
this-> RegisterPhysics( new G4HadronElasticPhysics("LElastic",ver,true));
// Hadron Physics
this->RegisterPhysics( new HadronPhysicsLHEP_HP("hadron"));
// Stopping Physics
this->RegisterPhysics( new G4QStoppingPhysics("stopping"));
// Ion Physics
this->RegisterPhysics( new G4IonPhysics("ion"));
}
template<class T> TLHEP_HP<T>::~TLHEP_HP()
{
}
template<class T> void TLHEP_HP<T>::SetCuts()
{
if (this->verboseLevel >1){
G4cout << "LHEP_HP::SetCuts:";
}
// " G4VUserPhysicsList::SetCutsWithDefault" method sets
// the default cut value for all particle types
this->SetCutsWithDefault();
// if (this->verboseLevel > 0)
// G4VUserPhysicsList::DumpCutValuesTable();
}
// 2002 by J.P. Wellisch
@@ -1,68 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LHEP_LEAD.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: LHEP_LEAD
//
// Author: 2002 J.P. Wellisch
//
// Modified:
//
//----------------------------------------------------------------------------
//
#ifndef TLHEP_LEAD_h
#define TLHEP_LEAD_h 1
#include "G4VModularPhysicsList.hh"
#include "globals.hh"
#include "CompileTimeConstraints.hh"
template<class T>
class TLHEP_LEAD: public T
{
public:
TLHEP_LEAD(G4int ver = 1);
virtual ~TLHEP_LEAD();
public:
// SetCuts()
virtual void SetCuts();
private:
enum {ok = CompileTimeConstraints::IsA<T, G4VModularPhysicsList>::ok };
};
#include "LHEP_LEAD.icc"
typedef TLHEP_LEAD<G4VModularPhysicsList> LHEP_LEAD;
// 2002 by J.P. Wellisch
#endif
@@ -1,120 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LHEP_LEAD.icc,v 1.2 2006/11/24 17:10:22 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: LHEP_LEAD
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 30.11.2005 G.Folger: migration to non static particles
// 30.11.2005 G.Folger: Register EmStandard first, split Em Standard and Extra
// 08.06.2006 V.Ivanchenko: migration to CHIPS stopping
// 14.06.2006 G.Folger: Migrate to HadronElasticPhysics using G4LElastic
//
//----------------------------------------------------------------------------
//
#include "globals.hh"
#include "G4ParticleDefinition.hh"
#include "G4ParticleWithCuts.hh"
#include "G4ProcessManager.hh"
#include "G4ProcessVector.hh"
#include "G4ParticleTypes.hh"
#include "G4ParticleTable.hh"
#include "G4Material.hh"
#include "G4MaterialTable.hh"
#include "G4ios.hh"
#include <iomanip>
#include "G4DecayPhysics.hh"
#include "G4EmStandardPhysics.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonPhysics.hh"
#include "G4QStoppingPhysics.hh"
#include "G4HadronElasticPhysics.hh"
#include "G4DataQuestionaire.hh"
#include "HadronPhysicsLHEP_LEAD.hh"
template<class T> TLHEP_LEAD<T>::TLHEP_LEAD(G4int ver): T()
{
// default cut value (1.0mm)
// defaultCutValue = 1.0*mm;
G4DataQuestionaire it(photon);
G4cout << "<<< Geant4 Physics List simulation engine: LHEP_LEAD 3.2"<<G4endl;
G4cout <<G4endl;
this->defaultCutValue = 0.7*mm;
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
// Decays
this->RegisterPhysics( new G4DecayPhysics("decay",ver) );
// Hadron Elastic scattering
this-> RegisterPhysics( new G4HadronElasticPhysics("LElastic",ver,false));
// Hadron Physics
this->RegisterPhysics( new HadronPhysicsLHEP_LEAD("hadron"));
// Stopping Physics
this->RegisterPhysics( new G4QStoppingPhysics("stopping"));
// Ion Physics
this->RegisterPhysics( new G4IonPhysics("ion"));
}
template<class T> TLHEP_LEAD<T>::~TLHEP_LEAD()
{
}
template<class T> void TLHEP_LEAD<T>::SetCuts()
{
if (this->verboseLevel >1){
G4cout << "LHEP_LEAD::SetCuts:";
}
// " G4VUserPhysicsList::SetCutsWithDefault" method sets
// the default cut value for all particle types
this->SetCutsWithDefault();
// if (this->verboseLevel >0)
// G4VUserPhysicsList::DumpCutValuesTable();
}
// 2002 by J.P. Wellisch
@@ -1,68 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LHEP_LEAD_HP.hh,v 1.1 2006/10/31 11:35:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: LHEP_LEAD_HP
//
// Author: 2002 J.P. Wellisch
//
// Modified:
//
//----------------------------------------------------------------------------
//
#ifndef TLHEP_LEAD_HP_h
#define TLHEP_LEAD_HP_h 1
#include "G4VModularPhysicsList.hh"
#include "globals.hh"
#include "CompileTimeConstraints.hh"
template<class T>
class TLHEP_LEAD_HP: public T
{
public:
TLHEP_LEAD_HP(G4int ver = 1);
virtual ~TLHEP_LEAD_HP();
public:
// SetCuts()
virtual void SetCuts();
private:
enum {ok = CompileTimeConstraints::IsA<T, G4VModularPhysicsList>::ok };
};
#include "LHEP_LEAD_HP.icc"
typedef TLHEP_LEAD_HP<G4VModularPhysicsList> LHEP_LEAD_HP;
// 2002 by J.P. Wellisch
#endif
@@ -1,120 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LHEP_LEAD_HP.icc,v 1.2 2006/11/24 17:10:22 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: LHEP_LEAD_HP
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 30.11.2005 G.Folger: migration to non static particles
// 30.11.2005 G.Folger: Register EmStandard first, split Em Standard and Extra
// 08.06.2006 V.Ivanchenko: migration to CHIPS stopping
// 14.06.2006 G.Folger: Migrate to HadronElasticPhysics using G4LElastic
//
//----------------------------------------------------------------------------
//
#include "globals.hh"
#include "G4ParticleDefinition.hh"
#include "G4ParticleWithCuts.hh"
#include "G4ProcessManager.hh"
#include "G4ProcessVector.hh"
#include "G4ParticleTypes.hh"
#include "G4ParticleTable.hh"
#include "G4Material.hh"
#include "G4MaterialTable.hh"
#include "G4ios.hh"
#include <iomanip>
#include "G4DecayPhysics.hh"
#include "G4EmStandardPhysics.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonPhysics.hh"
#include "G4QStoppingPhysics.hh"
#include "G4HadronElasticPhysics.hh"
#include "G4DataQuestionaire.hh"
#include "HadronPhysicsLHEP_LEAD_HP.hh"
template<class T> TLHEP_LEAD_HP<T>::TLHEP_LEAD_HP(G4int ver): T()
{
// default cut value (1.0mm)
// defaultCutValue = 1.0*mm;
G4DataQuestionaire it(photon, neutron);
G4cout << "<<< Geant4 Physics List simulation engine: LHEP_LEAD_HP 3.2"<<G4endl;
G4cout <<G4endl;
this->defaultCutValue = 0.7*mm;
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
// Decays
this->RegisterPhysics( new G4DecayPhysics("decay",ver) );
// Hadron Elastic scattering
this-> RegisterPhysics( new G4HadronElasticPhysics("LElastic",ver,true));
// Hadron Physics
this->RegisterPhysics( new HadronPhysicsLHEP_LEAD_HP("hadron"));
// Stopping Physics
this->RegisterPhysics( new G4QStoppingPhysics("stopping"));
// Ion Physics
this->RegisterPhysics( new G4IonPhysics("ion"));
}
template<class T> TLHEP_LEAD_HP<T>::~TLHEP_LEAD_HP()
{
}
template<class T> void TLHEP_LEAD_HP<T>::SetCuts()
{
if (this->verboseLevel >1){
G4cout << "LHEP_LEAD_HP::SetCuts:";
}
// " G4VUserPhysicsList::SetCutsWithDefault" method sets
// the default cut value for all particle types
this->SetCutsWithDefault();
if (this->verboseLevel > 0)
G4VUserPhysicsList::DumpCutValuesTable();
}
// 2002 by J.P. Wellisch
@@ -1,68 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LHEP_PRECO.hh,v 1.1 2006/10/31 11:35:08 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: LHEP_PRECO
//
// Author: 2002 J.P. Wellisch
//
// Modified:
//
//----------------------------------------------------------------------------
//
#ifndef TLHEP_PRECO_h
#define TLHEP_PRECO_h 1
#include "G4VModularPhysicsList.hh"
#include "globals.hh"
#include "CompileTimeConstraints.hh"
template<class T>
class TLHEP_PRECO: public T
{
public:
TLHEP_PRECO(G4int ver = 1);
virtual ~TLHEP_PRECO();
public:
// SetCuts()
virtual void SetCuts();
private:
enum {ok = CompileTimeConstraints::IsA<T, G4VModularPhysicsList>::ok };
};
#include "LHEP_PRECO.icc"
typedef TLHEP_PRECO<G4VModularPhysicsList> LHEP_PRECO;
// 2002 by J.P. Wellisch
#endif
@@ -1,125 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LHEP_PRECO.icc,v 1.2 2006/11/21 07:32:33 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: LHEP_PRECO
//
// 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
// 08.06.2006 V.Ivanchenko: migration to CHIPS stopping
// 14.06.2006 G.Folger: Migrate to HadronElasticPhysics using G4LElastic
//
//----------------------------------------------------------------------------
//
#include "globals.hh"
#include "G4ParticleDefinition.hh"
#include "G4ParticleWithCuts.hh"
#include "G4ProcessManager.hh"
#include "G4ProcessVector.hh"
#include "G4ParticleTypes.hh"
#include "G4ParticleTable.hh"
#include "G4Material.hh"
#include "G4MaterialTable.hh"
#include "G4ios.hh"
#include <iomanip>
#include "G4DecayPhysics.hh"
#include "G4EmStandardPhysics.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonPhysics.hh"
#include "G4QStoppingPhysics.hh"
#include "G4HadronElasticPhysics.hh"
#include "G4DataQuestionaire.hh"
#include "HadronPhysicsLHEP_PRECO.hh"
#include "G4WarnPLStatus.hh"
template<class T> TLHEP_PRECO<T>::TLHEP_PRECO(G4int ver): T()
{
// default cut value (1.0mm)
// defaultCutValue = 1.0*mm;
G4DataQuestionaire it(photon);
G4cout << "<<< Geant4 Physics List simulation engine: LHEP_PRECO 3.2"<<G4endl;
G4cout <<G4endl;
this->defaultCutValue = 0.7*mm;
this->SetVerboseLevel(ver);
G4WarnPLStatus obs;
obs.Unsupported("LHEP_PRECO","QGSP_BIC");
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
// Decays
this->RegisterPhysics( new G4DecayPhysics("decay",ver) );
// Hadron Elastic scattering
this-> RegisterPhysics( new G4HadronElasticPhysics("LElastic",ver,false));
// Hadron Physics
this->RegisterPhysics( new HadronPhysicsLHEP_PRECO("hadron"));
// Stopping Physics
this->RegisterPhysics( new G4QStoppingPhysics("stopping"));
// Ion Physics
this->RegisterPhysics( new G4IonPhysics("ion"));
}
template<class T> TLHEP_PRECO<T>::~TLHEP_PRECO()
{
}
template<class T> void TLHEP_PRECO<T>::SetCuts()
{
if (this->verboseLevel >1){
G4cout << "LHEP_PRECO::SetCuts:";
}
// " G4VUserPhysicsList::SetCutsWithDefault" method sets
// the default cut value for all particle types
this->SetCutsWithDefault();
// if (this->verboseLevel > 0)
// G4VUserPhysicsList::DumpCutValuesTable();
}
// 2002 by J.P. Wellisch
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: LHEP_PRECO_HP.hh,v 1.1 2006/10/31 11:35:08 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: LHEP_PRECO_HP.icc,v 1.2 2006/11/24 17:10:22 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: LHEP_PRECO_HP.icc,v 1.3 2007/05/16 11:35:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -36,6 +36,7 @@
// 30.11.2005 G.Folger: Register EmStandard first, split Em Standard and Extra
// 08.06.2006 V.Ivanchenko: migration to CHIPS stopping
// 14.06.2006 G.Folger: Migrate to HadronElasticPhysics using G4LElastic
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -74,7 +75,7 @@ template<class T> TLHEP_PRECO_HP<T>::TLHEP_PRECO_HP(G4int ver): T()
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
this->RegisterPhysics( new G4EmStandardPhysics(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -25,7 +25,7 @@
//
//
// $Id: MinEkineCuts.hh,v 1.1 2006/10/31 11:35:08 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//
// ------------------------------------------------------------
+1 -1
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: QBBC.hh,v 1.2 2007/04/16 11:57:40 vnivanch Exp $
// GEANT4 tag $Name: geant4-08-03 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
+8 -21
View File
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QBBC.icc,v 1.5 2007/04/16 11:57:40 vnivanch Exp $
// GEANT4 tag $Name: geant4-08-03 $
// $Id: QBBC.icc,v 1.7 2007/06/01 14:56:52 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -34,6 +34,7 @@
//
// Modified:
// 24.11.06 Add G4HadronHElasticPhysics and G4NeutronTrackingCut
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -66,7 +67,7 @@ template<class T> TQBBC<T>::TQBBC( G4int ver, const G4String& type, G4bool gl):
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
this->RegisterPhysics( new G4EmStandardPhysics(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -76,47 +77,33 @@ template<class T> TQBBC<T>::TQBBC( G4int ver, const G4String& type, G4bool gl):
// Hadron Physics
if(type == "QBBC") {
this->RegisterPhysics( new G4HadronElasticPhysics("hElastic",ver,false));
this->RegisterPhysics( new G4HadronElasticPhysics("hElastic",ver,false,gl));
this->RegisterPhysics( new G4QStoppingPhysics("stopping",ver));
this->RegisterPhysics( new G4IonBinaryCascadePhysics("ionBIC"));
this->RegisterPhysics( new G4HadronInelasticQBBC("inelastic", ver, false,
false, false, false, gl));
} else if(type == "QBEC") {
this->RegisterPhysics( new G4HadronElasticPhysics("hElastic",ver,false));
this->RegisterPhysics( new G4HadronElasticPhysics("hElastic",ver,false,gl));
this->RegisterPhysics( new G4QStoppingPhysics("stopping",ver));
this->RegisterPhysics( new G4IonBinaryCascadePhysics("ionBIC"));
this->RegisterPhysics( new G4HadronInelasticQBBC("inelastic", ver, false,
true, false, false, gl));
} else if(type == "QBBC_HP") {
this->RegisterPhysics( new G4HadronElasticPhysics("hElastic",ver,true));
this->RegisterPhysics( new G4HadronElasticPhysics("hElastic",ver,true,gl));
this->RegisterPhysics( new G4QStoppingPhysics("stopping",ver));
this->RegisterPhysics( new G4IonBinaryCascadePhysics("ionBIC"));
this->RegisterPhysics( new G4HadronInelasticQBBC("inelastic", ver, false,
false, false, true, gl));
} else if(type == "QBEC_HP") {
this->RegisterPhysics( new G4HadronElasticPhysics("hElastic",ver,true));
this->RegisterPhysics( new G4HadronElasticPhysics("hElastic",ver,true,gl));
this->RegisterPhysics( new G4QStoppingPhysics("stopping",ver));
this->RegisterPhysics( new G4IonBinaryCascadePhysics("ionBIC"));
this->RegisterPhysics( new G4HadronInelasticQBBC("inelastic", ver, false,
true, false, true, gl));
} else if(type == "QGSP") {
this->RegisterPhysics( new G4HadronElasticPhysics("elastic",ver,false));
this->RegisterPhysics( new G4QStoppingPhysics("stopping",ver));
this->RegisterPhysics( new G4IonPhysics("ion"));
this->RegisterPhysics( new G4HadronInelasticQLHEP("inelastic", ver,
true, false, false, false));
} else if(type == "QGSP_BERT") {
this->RegisterPhysics( new G4HadronElasticPhysics("elastic",ver,false));
this->RegisterPhysics( new G4QStoppingPhysics("stopping",ver));
this->RegisterPhysics( new G4IonPhysics("ion"));
this->RegisterPhysics( new G4HadronInelasticQLHEP("inelastic", ver,
true, true, false, false));
} else {
G4cout << "QBBC ERROR: Unknown Hadronic Physics Type <" << type
<< ">" << G4endl;
+4 -3
View File
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSC.icc,v 1.7 2007/04/26 16:03:36 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// $Id: QGSC.icc,v 1.8 2007/05/16 11:35:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -41,6 +41,7 @@
// 20.11.2006 G.Folger: add Tracking Cut for neutrons
// 26.04.2007 G.Folger: Enable quasielastic for QGS string model
// 26.04.2007 G.Folger Use QCaptureAtRest for muon
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -79,7 +80,7 @@ template<class T> TQGSC<T>::TQGSC(G4int ver): T()
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
this->RegisterPhysics( new G4EmStandardPhysics(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSC_EFLOW.icc,v 1.3 2007/04/26 16:03:36 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// $Id: QGSC_EFLOW.icc,v 1.4 2007/05/16 11:35:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -36,6 +36,7 @@
// Modified:
// 26.04.2007 G.Folger: Enable quasielastic for QGS string model
// 26.04.2007 G.Folger Use QCaptureAtRest for muon
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -74,7 +75,7 @@ template<class T> TQGSC_EFLOW<T>::TQGSC_EFLOW(G4int ver): T()
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
this->RegisterPhysics( new G4EmStandardPhysics(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSC_EMV.icc,v 1.3 2007/04/26 16:03:36 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// $Id: QGSC_EMV.icc,v 1.4 2007/05/16 11:35:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -38,6 +38,7 @@
// 26.04.2007 G.Folger Use HadronPhysicsQGSC instead of HadronPhysicsQGSC_EMV
// 26.04.2007 G.Folger Enable quasielastic for QGS string model
// 26.04.2007 G.Folger Use QCaptureAtRest for muon
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -55,7 +56,7 @@
#include <iomanip>
#include "G4DecayPhysics.hh"
#include "G4EmStandardPhysics71.hh"
#include "G4EmStandardPhysics_option1.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonPhysics.hh"
#include "G4QStoppingPhysics.hh"
@@ -76,7 +77,7 @@ template<class T> TQGSC_EMV<T>::TQGSC_EMV(G4int ver): T()
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics71("standard EM",ver));
this->RegisterPhysics( new G4EmStandardPhysics_option1(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -1,68 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSC_LEAD.hh,v 1.1 2006/10/31 11:35:09 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: QGSC_LEAD
//
// Author: 2002 J.P. Wellisch
//
// Modified:
//
//----------------------------------------------------------------------------
//
#ifndef TQGSC_LEAD_h
#define TQGSC_LEAD_h 1
#include "G4VModularPhysicsList.hh"
#include "globals.hh"
#include "CompileTimeConstraints.hh"
template<class T>
class TQGSC_LEAD: public T
{
public:
TQGSC_LEAD(G4int ver = 1);
virtual ~TQGSC_LEAD();
public:
// SetCuts()
virtual void SetCuts();
private:
enum {ok = CompileTimeConstraints::IsA<T, G4VModularPhysicsList>::ok };
};
#include "QGSC_LEAD.icc"
typedef TQGSC_LEAD<G4VModularPhysicsList> QGSC_LEAD;
// 2002 by J.P. Wellisch
#endif
@@ -1,124 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSC_LEAD.icc,v 1.3 2006/11/24 17:10:23 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: QGSC_LEAD
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 30.11.2005 G.Folger: Register EmStandard first, split Em Standard and Extra
// 08.06.2006 V.Ivanchenko: migration to CHIPS stopping
// 15.06.2006 G.Folger: Migrate to HadronElasticPhysics using improved elastic
// 20.11.2006 G.Folger: add Tracking Cut for neutrons
//
//----------------------------------------------------------------------------
//
#include "globals.hh"
#include "G4ParticleDefinition.hh"
#include "G4ParticleWithCuts.hh"
#include "G4ProcessManager.hh"
#include "G4ProcessVector.hh"
#include "G4ParticleTypes.hh"
#include "G4ParticleTable.hh"
#include "G4Material.hh"
#include "G4MaterialTable.hh"
#include "G4ios.hh"
#include <iomanip>
#include "G4DecayPhysics.hh"
#include "G4EmStandardPhysics.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonPhysics.hh"
#include "G4QStoppingPhysics.hh"
#include "G4HadronElasticPhysics.hh"
#include "G4NeutronTrackingCut.hh"
#include "G4DataQuestionaire.hh"
#include "HadronPhysicsQGSC_LEAD.hh"
template<class T> TQGSC_LEAD<T>::TQGSC_LEAD(G4int ver): T()
{
// default cut value (1.0mm)
// defaultCutValue = 1.0*mm;
G4DataQuestionaire it(photon);
G4cout << "<<< Geant4 Physics List simulation engine: QGSC_LEAD 3.2"<<G4endl;
G4cout <<G4endl;
this->defaultCutValue = 0.7*mm;
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
// Decays
this->RegisterPhysics( new G4DecayPhysics("decay",ver) );
// Hadron Elastic scattering
this-> RegisterPhysics( new G4HadronElasticPhysics("elastic",ver,false));
// Hadron Physics
this->RegisterPhysics( new HadronPhysicsQGSC_LEAD("hadron"));
// Stopping Physics
this->RegisterPhysics( new G4QStoppingPhysics("stopping"));
// Ion Physics
this->RegisterPhysics( new G4IonPhysics("ion"));
// Neutron tracking cut
this->RegisterPhysics( new G4NeutronTrackingCut("Neutron tracking cut", ver));
}
template<class T> TQGSC_LEAD<T>::~TQGSC_LEAD()
{
}
template<class T> void TQGSC_LEAD<T>::SetCuts()
{
if (this->verboseLevel >1){
G4cout << "QGSC_LEAD::SetCuts:";
}
// " G4VUserPhysicsList::SetCutsWithDefault" method sets
// the default cut value for all particle types
this->SetCutsWithDefault();
// if (this->verboseLevel >0)
// G4VUserPhysicsList::DumpCutValuesTable();
}
// 2002 by J.P. Wellisch
@@ -1,68 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSC_LEAD_HP.hh,v 1.1 2006/10/31 11:35:09 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName: QGSC_LEAD_HP
//
// Author: 2002 J.P. Wellisch
//
// Modified:
//
//----------------------------------------------------------------------------
//
#ifndef TQGSC_LEAD_HP_h
#define TQGSC_LEAD_HP_h 1
#include "G4VModularPhysicsList.hh"
#include "globals.hh"
#include "CompileTimeConstraints.hh"
template<class T>
class TQGSC_LEAD_HP: public T
{
public:
TQGSC_LEAD_HP(G4int ver = 1);
virtual ~TQGSC_LEAD_HP();
public:
// SetCuts()
virtual void SetCuts();
private:
enum {ok = CompileTimeConstraints::IsA<T, G4VModularPhysicsList>::ok };
};
#include "QGSC_LEAD_HP.icc"
typedef TQGSC_LEAD_HP<G4VModularPhysicsList> QGSC_LEAD_HP;
// 2002 by J.P. Wellisch
#endif
@@ -1,118 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSC_LEAD_HP.icc,v 1.2 2006/11/24 17:10:23 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName:QGSC_LEAD_HP
//
// Author: 2002 J.P. Wellisch
//
// Modified:
// 30.11.2005 G.Folger: Register EmStandard first, split Em Standard and Extra
// 15.06.2006 G.Folger: Migrate to HadronElasticPhysics using improved elastic
//
//----------------------------------------------------------------------------
//
#include "globals.hh"
#include "G4ParticleDefinition.hh"
#include "G4ParticleWithCuts.hh"
#include "G4ProcessManager.hh"
#include "G4ProcessVector.hh"
#include "G4ParticleTypes.hh"
#include "G4ParticleTable.hh"
#include "G4Material.hh"
#include "G4MaterialTable.hh"
#include "G4ios.hh"
#include <iomanip>
#include "G4DecayPhysics.hh"
#include "G4EmStandardPhysics.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonPhysics.hh"
#include "G4QStoppingPhysics.hh"
#include "G4HadronElasticPhysics.hh"
#include "G4DataQuestionaire.hh"
#include "HadronPhysicsQGSC_LEAD_HP.hh"
template<class T> TQGSC_LEAD_HP<T>::TQGSC_LEAD_HP(G4int ver): T()
{
// default cut value (1.0mm)
// defaultCutValue = 1.0*mm;
G4DataQuestionaire it(photon, neutron);
G4cout << "<<< Geant4 Physics List simulation engine: QGSC_LEAD_HP 3.2"<<G4endl;
G4cout <<G4endl;
this->defaultCutValue = 0.7*mm;
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
// Decays
this->RegisterPhysics( new G4DecayPhysics("decay",ver) );
// Hadron Elastic scattering
this-> RegisterPhysics( new G4HadronElasticPhysics("elastic",ver,true));
// Hadron Physics
this->RegisterPhysics( new HadronPhysicsQGSC_LEAD_HP("hadron"));
// Stopping Physics
this->RegisterPhysics( new G4QStoppingPhysics("stopping"));
// Ion Physics
this->RegisterPhysics( new G4IonPhysics("ion"));
}
template<class T> TQGSC_LEAD_HP<T>::~TQGSC_LEAD_HP()
{
}
template<class T> void TQGSC_LEAD_HP<T>::SetCuts()
{
if (this->verboseLevel >1){
G4cout << "QGSC_LEAD_HP::SetCuts:";
}
// " G4VUserPhysicsList::SetCutsWithDefault" method sets
// the default cut value for all particle types
this->SetCutsWithDefault();
// if (this->verboseLevel >0)
// G4VUserPhysicsList::DumpCutValuesTable();
}
// 2002 by J.P. Wellisch
+1 -1
View File
@@ -25,7 +25,7 @@
//
//
// $Id: QGSP.hh,v 1.1 2006/10/31 11:35:09 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
+4 -3
View File
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSP.icc,v 1.6 2007/04/26 14:47:11 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// $Id: QGSP.icc,v 1.7 2007/05/16 11:35:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -39,6 +39,7 @@
// 15.06.2006 G.Folger: Migrate to HadronElasticPhysics using improved elastic
// 20.11.2006 G.Folger: add Tracking Cut for neutrons
// 30.03.2007 G.Folger: Enable quasielastic for QGS string model
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -80,7 +81,7 @@ template<class T> TQGSP<T>::TQGSP(G4int ver): T()
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
this->RegisterPhysics( new G4EmStandardPhysics(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: QGSP_BERT.hh,v 1.1 2006/10/31 11:35:09 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSP_BERT.icc,v 1.4 2007/04/26 14:47:11 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// $Id: QGSP_BERT.icc,v 1.5 2007/05/16 11:35:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -40,6 +40,7 @@
// 15.06.2006 G.Folger: Migrate to HadronElasticPhysics using improved elastic
// 20.11.2006 G.Folger: add Tracking Cut for neutrons
// 26.04.2007 G.Folger: Enable quasielastic for QGS string model
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -79,7 +80,7 @@ template<class T> TQGSP_BERT<T>::TQGSP_BERT(G4int ver): T()
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
this->RegisterPhysics( new G4EmStandardPhysics(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: QGSP_BERT_EMV.hh,v 1.1 2007/04/26 14:47:11 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSP_BERT_EMV.icc,v 1.1 2007/04/26 14:47:11 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// $Id: QGSP_BERT_EMV.icc,v 1.2 2007/05/16 11:35:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -52,7 +52,7 @@
#include <iomanip>
#include "G4DecayPhysics.hh"
#include "G4EmStandardPhysics.hh"
#include "G4EmStandardPhysics_option1.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonPhysics.hh"
#include "G4QStoppingPhysics.hh"
@@ -73,7 +73,7 @@ template<class T> TQGSP_BERT_EMV<T>::TQGSP_BERT_EMV(G4int ver): T()
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics71("standard EM v71",ver));
this->RegisterPhysics( new G4EmStandardPhysics_option1(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: QGSP_BERT_HP.hh,v 1.1 2006/10/31 11:35:09 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSP_BERT_HP.icc,v 1.3 2007/04/26 14:47:11 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// $Id: QGSP_BERT_HP.icc,v 1.4 2007/05/16 11:35:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -38,6 +38,7 @@
// 08.06.2006 V.Ivanchenko: migration to CHIPS stopping
// 15.06.2006 G.Folger: Migrate to HadronElasticPhysics using improved elastic
// 26.04.2007 G.Folger: Enable quasielastic for QGS string model
// 16.05.2007 V.Ivanchenko: rename EM builders
//
#include "globals.hh"
@@ -74,7 +75,7 @@ template<class T> TQGSP_BERT_HP<T>::TQGSP_BERT_HP(G4int ver): T()
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
this->RegisterPhysics( new G4EmStandardPhysics(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: QGSP_BERT_NQE.hh,v 1.1 2007/04/26 14:47:11 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSP_BERT_NQE.icc,v 1.1 2007/04/26 14:47:11 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// $Id: QGSP_BERT_NQE.icc,v 1.2 2007/05/16 11:35:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -34,6 +34,7 @@
// created from QGSP_BERT
//
// Modified:
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -73,7 +74,7 @@ template<class T> TQGSP_BERT_NQE<T>::TQGSP_BERT_NQE(G4int ver): T()
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
this->RegisterPhysics( new G4EmStandardPhysics(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: QGSP_BERT_TRV.hh,v 1.1 2007/05/07 14:34:29 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSP_BERT_TRV.icc,v 1.1 2007/05/07 14:34:29 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// $Id: QGSP_BERT_TRV.icc,v 1.2 2007/05/16 11:35:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -34,6 +34,7 @@
// Created from QGSP_BERT
//
// Modified:
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -73,7 +74,7 @@ template<class T> TQGSP_BERT_TRV<T>::TQGSP_BERT_TRV(G4int ver): T()
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
this->RegisterPhysics( new G4EmStandardPhysics(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: QGSP_BIC.hh,v 1.1 2006/10/31 11:35:09 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSP_BIC.icc,v 1.4 2007/04/26 14:47:11 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// $Id: QGSP_BIC.icc,v 1.5 2007/05/16 11:35:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -41,6 +41,7 @@
// 20.06.2006 V.Ivanchenko: add ion Binary Cascade
// 20.11.2006 G.Folger: add Tracking Cut for neutrons
// 26.04.2007 G.Folger: Enable quasielastic for QGS string model
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -81,7 +82,7 @@ template<class T> TQGSP_BIC<T>::TQGSP_BIC(G4int ver): T()
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
this->RegisterPhysics( new G4EmStandardPhysics(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: QGSP_BIC_HP.hh,v 1.1 2006/11/24 16:31:35 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSP_BIC_HP.icc,v 1.3 2007/04/26 14:47:11 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// $Id: QGSP_BIC_HP.icc,v 1.5 2007/05/24 11:32:57 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -35,6 +35,7 @@
// based on QGSP_BIC
// Modified:
// 26.04.2007 G.Folger: Enable quasielastic for QGS string model
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -61,25 +62,21 @@
#include "G4DataQuestionaire.hh"
#include "HadronPhysicsQGSP_BIC_HP.hh"
#include "G4WarnPLStatus.hh"
template<class T> TQGSP_BIC_HP<T>::TQGSP_BIC_HP(G4int ver): T()
{
// default cut value (1.0mm)
// defaultCutValue = 1.0*mm;
G4DataQuestionaire it(photon);
G4cout << "<<< Geant4 Physics List simulation engine: QGSP_BIC_HP 1.1"<<G4endl;
G4cout << "<<< Geant4 Physics List simulation engine: QGSP_BIC_HP 1.2"<<G4endl;
G4cout <<G4endl;
this->defaultCutValue = 0.7*mm;
this->SetVerboseLevel(ver);
G4WarnPLStatus exp;
exp.Experimental("QGSP_BIC_HP");
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
this->RegisterPhysics( new G4EmStandardPhysics(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: QGSP_EMV.hh,v 1.1 2006/10/31 11:35:09 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSP_EMV.icc,v 1.4 2007/04/26 14:47:11 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// $Id: QGSP_EMV.icc,v 1.5 2007/05/16 11:35:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -44,6 +44,7 @@
// 24.04.2007 G.Folger:
// - use quasielastic in QGS string model.
// - use HadronPhysicsQGSP, not HadronPhysicsQGSP_EMV, code is equivalent
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -62,7 +63,7 @@
#include <iomanip>
#include "G4DecayPhysics.hh"
#include "G4EmStandardPhysics71.hh"
#include "G4EmStandardPhysics_option1.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonPhysics.hh"
#include "G4QStoppingPhysics.hh"
@@ -81,7 +82,7 @@ template<class T> TQGSP_EMV<T>::TQGSP_EMV(G4int ver): T()
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics71("standard EM v71",ver));
this->RegisterPhysics( new G4EmStandardPhysics_option1(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: QGSP_EMV_NQE.hh,v 1.1 2007/04/26 14:47:11 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSP_EMV_NQE.icc,v 1.1 2007/04/26 14:47:11 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// $Id: QGSP_EMV_NQE.icc,v 1.2 2007/05/16 11:35:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -34,6 +34,7 @@
// created from QGSP_EMV
//
// Modified:
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -52,7 +53,7 @@
#include <iomanip>
#include "G4DecayPhysics.hh"
#include "G4EmStandardPhysics71.hh"
#include "G4EmStandardPhysics_option1.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonPhysics.hh"
#include "G4QStoppingPhysics.hh"
@@ -71,7 +72,7 @@ template<class T> TQGSP_EMV_NQE<T>::TQGSP_EMV_NQE(G4int ver): T()
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics71("standard EM v71",ver));
this->RegisterPhysics( new G4EmStandardPhysics_option1(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -24,7 +24,7 @@
// ********************************************************************
//
// $Id: QGSP_EMX.hh,v 1.1 2006/10/31 11:35:09 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSP_EMX.icc,v 1.4 2007/04/26 14:47:11 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// $Id: QGSP_EMX.icc,v 1.5 2007/05/16 11:35:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -38,6 +38,7 @@
// 26.04.2007 G.Folger
// - use HadronPhysicsQGSP, not HadronPhysicsQGSP_EMX
// - Enable quasielastic for QGS string model
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -56,7 +57,7 @@
#include <iomanip>
#include "G4DecayPhysics.hh"
#include "G4EmStandardPhysics72.hh"
#include "G4EmStandardPhysics_option2.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonPhysics.hh"
#include "G4QStoppingPhysics.hh"
@@ -75,7 +76,7 @@ template<class T> TQGSP_EMX<T>::TQGSP_EMX(G4int ver): T()
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics72("standard EM fast",ver));
this->RegisterPhysics( new G4EmStandardPhysics_option2(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -1,67 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSP_HP.hh,v 1.1 2006/10/31 11:35:09 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
//---------------------------------------------------------------------------
//
// ClassName:
//
// Author: 2002 J.P. Wellisch
//
// Modified:
//
//----------------------------------------------------------------------------
//
#ifndef TQGSP_HP_h
#define TQGSP_HP_h 1
#include "G4VModularPhysicsList.hh"
#include "globals.hh"
#include "CompileTimeConstraints.hh"
template<class T>
class TQGSP_HP: public T
{
public:
TQGSP_HP(G4int ver = 1);
virtual ~TQGSP_HP();
public:
// SetCuts()
virtual void SetCuts();
private:
enum {ok = CompileTimeConstraints::IsA<T, G4VModularPhysicsList>::ok };
};
#include "QGSP_HP.icc"
typedef TQGSP_HP<G4VModularPhysicsList> QGSP_HP;
// 2002 by J.P. Wellisch
#endif
@@ -1,129 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSP_HP.icc,v 1.3 2007/04/26 14:47:11 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
//---------------------------------------------------------------------------
//
// 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
// 08.06.2006 V.Ivanchenko: migration to CHIPS stopping
// 15.06.2006 G.Folger: Migrate to HadronElasticPhysics using improved elastic
// 26.04.2007 G.Folger: Enable quasielastic for QGS string model
//
//----------------------------------------------------------------------------
//
#include "globals.hh"
#include "G4ParticleDefinition.hh"
#include "G4ParticleWithCuts.hh"
#include "G4ProcessManager.hh"
#include "G4ProcessVector.hh"
#include "G4ParticleTypes.hh"
#include "G4ParticleTable.hh"
#include "G4Material.hh"
#include "G4MaterialTable.hh"
#include "G4ios.hh"
#include <iomanip>
#include "G4DecayPhysics.hh"
#include "G4EmStandardPhysics.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonPhysics.hh"
#include "G4QStoppingPhysics.hh"
#include "G4HadronElasticPhysics.hh"
#include "G4DataQuestionaire.hh"
#include "HadronPhysicsQGSP_HP.hh"
#include "G4WarnPLStatus.hh"
template<class T> TQGSP_HP<T>::TQGSP_HP(G4int ver): T()
{
G4DataQuestionaire it(photon, neutron);
G4cout << "<<< Geant4 Physics List simulation engine: QGSP_HP 3.3"<<G4endl;
G4cout <<G4endl;
// default cut value (1.0mm)
// defaultCutValue = 1.0*mm;
this->defaultCutValue = 0.7*mm;
this->SetVerboseLevel(ver);
G4WarnPLStatus obs;
obs.Unsupported("QGSP_HP","QGSP_BERT_HP");
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
// Decays
this->RegisterPhysics( new G4DecayPhysics("decay",ver) );
// Hadron Elastic scattering
this-> RegisterPhysics( new G4HadronElasticPhysics("elastic",ver,true));
// Hadron Physics
G4bool quasiElastic;
this->RegisterPhysics( new HadronPhysicsQGSP_HP("hadron",quasiElastic=true));
// Stopping Physics
this->RegisterPhysics( new G4QStoppingPhysics("stopping"));
// Ion Physics
this->RegisterPhysics( new G4IonPhysics("ion"));
}
template<class T> TQGSP_HP<T>::~TQGSP_HP()
{
}
template<class T> void TQGSP_HP<T>::SetCuts()
{
if (this->verboseLevel >1){
G4cout << "QGSP_HP::SetCuts:";
}
// " G4VUserPhysicsList::SetCutsWithDefault" method sets
// the default cut value for all particle types
this->SetCutsWithDefault();
// if (this->verboseLevel >0)
// G4VUserPhysicsList::DumpCutValuesTable();
}
// 2002 by J.P. Wellisch
@@ -25,7 +25,7 @@
//
//
// $Id: QGSP_NQE.hh,v 1.1 2007/04/26 14:47:11 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSP_NQE.icc,v 1.1 2007/04/26 14:47:11 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// $Id: QGSP_NQE.icc,v 1.2 2007/05/16 11:35:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -34,6 +34,7 @@
// created from QGSP.icc
//
// Modified:
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -75,7 +76,7 @@ template<class T> TQGSP_NQE<T>::TQGSP_NQE(G4int ver): T()
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
this->RegisterPhysics( new G4EmStandardPhysics(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -25,7 +25,7 @@
//
//
// $Id: QGSP_QEL.hh,v 1.1 2006/11/28 15:41:23 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QGSP_QEL.icc,v 1.2 2007/04/26 14:47:11 gunter Exp $
// GEANT4 tag $Name: geant4-08-03 $
// $Id: QGSP_QEL.icc,v 1.3 2007/05/16 11:35:36 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -36,6 +36,7 @@
// Created from QGSP
// Modified:
// 26.04.2007 G.Folger: Enable quasielastic for QGS string model
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -77,7 +78,7 @@ template<class T> TQGSP_QEL<T>::TQGSP_QEL(G4int ver): T()
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
this->RegisterPhysics( new G4EmStandardPhysics(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));