Import Geant4 10.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 11:51:14 +02:00
parent e2d2f9810a
commit 286caacf06
12421 changed files with 730077 additions and 502383 deletions
@@ -23,40 +23,29 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
/// \file runAndEvent/RE02/include/RE02PhysicsList.hh
/// \brief Definition of the RE02PhysicsList class
// $Id: RE02ActionInitialization.hh 66522 2012-12-19 12:26:04Z ihrivnac $
//
// $Id$
// --------------------------------------------------------------
/// \file include/RE02ActionInitialization.hh
/// \brief Definition of the RE02ActionInitialization class
//
#ifndef RE02PhysicsList_h
#define RE02PhysicsList_h 1
#include "G4VModularPhysicsList.hh"
#ifndef RE02ActionInitialization_H
#define RE02ActionInitialization_H 1
#include "globals.hh"
#include "G4VUserActionInitialization.hh"
//
/// Physics list class
///
/// - constructor
/// registers general, standard EM, muon, hadron and ion physics
///
/// - void SetCuts()
/// invokes default SetCuts methods with SetCutsWithDefault()
//
class RE02PhysicsList: public G4VModularPhysicsList
class RE02ActionInitialization : public G4VUserActionInitialization
{
public:
RE02PhysicsList();
virtual ~RE02PhysicsList();
public:
RE02ActionInitialization();//G4bool bParallelWorld);
virtual ~RE02ActionInitialization();
public:
// SetCuts()
virtual void SetCuts();
virtual void Build() const;
virtual void BuildForMaster() const;
private:
};
#endif
@@ -27,7 +27,7 @@
/// \brief Definition of the RE02DetectorConstruction class
//
//
// $Id$
// $Id: RE02DetectorConstruction.hh 75682 2013-11-05 09:11:19Z gcosmo $
//
#ifndef RE02DetectorConstruction_h
@@ -116,8 +116,9 @@ public:
virtual ~RE02DetectorConstruction();
public:
// virtual method from G4VUserDetectorCOnstruction.
// virtual method from G4VUserDetectorConstruction.
virtual G4VPhysicalVolume* Construct();
virtual void ConstructSDandField();
public:
// Get/Set Access methods for data members
@@ -138,6 +139,7 @@ private:
G4ThreeVector fPhantomSize; // Size of Water Phantom
G4int fNx,fNy,fNz; // Number of segmentation of water phantom.
G4bool fInsertLead; // Flag for inserting lead plate in water phantom
G4LogicalVolume* fLVPhantomSens;
};
#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. *
// ********************************************************************
//
/// \file runAndEvent/RE02/include/RE02EMPhysics.hh
/// \brief Definition of the RE02EMPhysics class
//
// $Id$
// --------------------------------------------------------------
//
// 09-Oct-2003 Chhange gamma, electron, positorn process T. Koi
#ifndef RE02EMPhysics_h
#define RE02EMPhysics_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4VPhysicsConstructor.hh"
#include "G4PhotoElectricEffect.hh"
#include "G4ComptonScattering.hh"
#include "G4GammaConversion.hh"
#include "G4eMultipleScattering.hh"
#include "G4eIonisation.hh"
#include "G4eBremsstrahlung.hh"
#include "G4eplusAnnihilation.hh"
//
/// User electromagnetic physics constructor
///
/// applys related processes to gamma and e-/+
///
/// - void ConstructParticle()
/// does nothing
///
/// - void ConstructProcess()
/// adds processes to each particles
/// gamma :
/// G4GammaConversion, G4ComptonScattering and G4PHotoElectricEffect
/// electron :
/// G4eMultipleScattering, G4eIonisation and G4eBremsstrahlung
/// positron :
/// G4eMultipleScattering, G4eIonisation, G4eBremsstrahlung and
/// G4ePlusAnnihilation
//
class RE02EMPhysics : public G4VPhysicsConstructor
{
public:
RE02EMPhysics(const G4String& name ="EM");
virtual ~RE02EMPhysics();
public:
// This method will be invoked in the Construct() method.
// each particle type will be instantiated
virtual void ConstructParticle(){;};
// This method will be invoked in the Construct() method.
// each physics process will be instantiated and
// registered to the process manager of each particle type
virtual void ConstructProcess();
protected:
};
#endif
@@ -27,7 +27,7 @@
/// \brief Definition of the RE02EventAction class
//
//
// $Id$
// $Id: RE02EventAction.hh 66501 2012-12-19 09:25:23Z gcosmo $
//
#ifndef RE02EventAction_h
@@ -1,80 +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. *
// ********************************************************************
//
/// \file runAndEvent/RE02/include/RE02GeneralPhysics.hh
/// \brief Definition of the RE02GeneralPhysics class
//
// $Id$
// --------------------------------------------------------------
//
#ifndef RE02GeneralPhysics_h
#define RE02GeneralPhysics_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4VPhysicsConstructor.hh"
//
/// User general physics constructor
///
/// creates all particles and applys decay
///
/// - void ConstructParticle()
/// construcs all barions, all bosons (including geantinos),
/// all ions, all leptons, all mesons, resonaces and quarks
///
/// - void ConstructProcess()
/// adds the decay process
//
class RE02GeneralPhysics : public G4VPhysicsConstructor
{
public:
RE02GeneralPhysics(const G4String& name = "general");
virtual ~RE02GeneralPhysics();
public:
// This method will be invoked in the Construct() method.
// each particle type will be instantiated
virtual void ConstructParticle();
// This method will be invoked in the Construct() method.
// each physics process will be instantiated and
// registered to the process manager of each particle type
virtual void ConstructProcess();
};
#endif
@@ -1,276 +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. *
// ********************************************************************
//
/// \file runAndEvent/RE02/include/RE02HadronPhysics.hh
/// \brief Definition of the RE02HadronPhysics class
//
// $Id$
// --------------------------------------------------------------
//
// 10-Oct-2003 Full Hadron Processes with Parameterization Model T. Koi
#ifndef RE02HadronPhysics_h
#define RE02HadronPhysics_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4VPhysicsConstructor.hh"
#include "G4hMultipleScattering.hh"
#include "G4hIonisation.hh"
// Hadronic Processes
#include "G4HadronElasticProcess.hh"
#include "G4HadronFissionProcess.hh"
#include "G4HadronCaptureProcess.hh"
#include "G4PionPlusInelasticProcess.hh"
#include "G4PionMinusInelasticProcess.hh"
#include "G4KaonPlusInelasticProcess.hh"
#include "G4KaonZeroSInelasticProcess.hh"
#include "G4KaonZeroLInelasticProcess.hh"
#include "G4KaonMinusInelasticProcess.hh"
#include "G4ProtonInelasticProcess.hh"
#include "G4AntiProtonInelasticProcess.hh"
#include "G4NeutronInelasticProcess.hh"
#include "G4AntiNeutronInelasticProcess.hh"
#include "G4LambdaInelasticProcess.hh"
#include "G4AntiLambdaInelasticProcess.hh"
#include "G4SigmaPlusInelasticProcess.hh"
#include "G4SigmaMinusInelasticProcess.hh"
#include "G4AntiSigmaPlusInelasticProcess.hh"
#include "G4AntiSigmaMinusInelasticProcess.hh"
#include "G4XiZeroInelasticProcess.hh"
#include "G4XiMinusInelasticProcess.hh"
#include "G4AntiXiZeroInelasticProcess.hh"
#include "G4AntiXiMinusInelasticProcess.hh"
#include "G4DeuteronInelasticProcess.hh"
#include "G4TritonInelasticProcess.hh"
#include "G4AlphaInelasticProcess.hh"
#include "G4OmegaMinusInelasticProcess.hh"
#include "G4AntiOmegaMinusInelasticProcess.hh"
// Binary Cascade Models
#include "G4BinaryCascade.hh"
// Low energy models
#include "G4LElastic.hh"
#include "G4LFission.hh"
#include "G4LCapture.hh"
#include "G4LEPionPlusInelastic.hh"
#include "G4LEPionMinusInelastic.hh"
#include "G4LEKaonPlusInelastic.hh"
#include "G4LEKaonZeroSInelastic.hh"
#include "G4LEKaonZeroLInelastic.hh"
#include "G4LEKaonMinusInelastic.hh"
#include "G4LEProtonInelastic.hh"
#include "G4LEAntiProtonInelastic.hh"
#include "G4LENeutronInelastic.hh"
#include "G4LEAntiNeutronInelastic.hh"
#include "G4LELambdaInelastic.hh"
#include "G4LEAntiLambdaInelastic.hh"
#include "G4LESigmaPlusInelastic.hh"
#include "G4LESigmaMinusInelastic.hh"
#include "G4LEAntiSigmaPlusInelastic.hh"
#include "G4LEAntiSigmaMinusInelastic.hh"
#include "G4LEXiZeroInelastic.hh"
#include "G4LEXiMinusInelastic.hh"
#include "G4LEAntiXiZeroInelastic.hh"
#include "G4LEAntiXiMinusInelastic.hh"
#include "G4LEDeuteronInelastic.hh"
#include "G4LETritonInelastic.hh"
#include "G4LEAlphaInelastic.hh"
#include "G4LEOmegaMinusInelastic.hh"
#include "G4LEAntiOmegaMinusInelastic.hh"
// High-energy Models
#include "G4HEPionPlusInelastic.hh"
#include "G4HEPionMinusInelastic.hh"
#include "G4HEKaonPlusInelastic.hh"
#include "G4HEKaonZeroInelastic.hh"
#include "G4HEKaonZeroInelastic.hh"
#include "G4HEKaonMinusInelastic.hh"
#include "G4HEProtonInelastic.hh"
#include "G4HEAntiProtonInelastic.hh"
#include "G4HENeutronInelastic.hh"
#include "G4HEAntiNeutronInelastic.hh"
#include "G4HELambdaInelastic.hh"
#include "G4HEAntiLambdaInelastic.hh"
#include "G4HESigmaPlusInelastic.hh"
#include "G4HESigmaMinusInelastic.hh"
#include "G4HEAntiSigmaPlusInelastic.hh"
#include "G4HEAntiSigmaMinusInelastic.hh"
#include "G4HEXiZeroInelastic.hh"
#include "G4HEXiMinusInelastic.hh"
#include "G4HEAntiXiZeroInelastic.hh"
#include "G4HEAntiXiMinusInelastic.hh"
#include "G4HEOmegaMinusInelastic.hh"
#include "G4HEAntiOmegaMinusInelastic.hh"
// Stopping processes
#include "G4AntiProtonAnnihilationAtRest.hh"
#include "G4AntiNeutronAnnihilationAtRest.hh"
//
/// User hadron physics constructor
///
/// applys related processes to hadrons
///
/// - void ConstructParticle()
/// does nothing
///
/// - void ConstructProcess()
/// adds processes to each particle
/// pi+ :
/// G4HadronElasticProcess with G4LElastic,
/// G4PionPlusInelasticProcess with G4LEPionPlusInelastic and
/// G4HEPionPlusInelastic,
/// G4hMultipleScattering and G4hIonisation
/// pi- :
/// G4HadronElasticProcess with G4LElastic,
/// G4PionMinusInelasticProcess with G4LEPionMinusInelastic and
/// G4HEPionMinusInelastic,
/// G4hMultipleScattering and G4hIonisation
/// K+ :
/// G4HadronElasticProcess with G4LElastic,
/// G4KaonPlusInelasticProcess with G4LEKaonPlusInelastic and
/// G4HEKaonPlusInelastic,
/// G4hMultipleScattering and G4hIonisation
/// K- :
/// G4HadronElasticProcess with G4LElastic,
/// G4KaonMinusInelasticProcess with G4LEKaonMinusInelastic and
/// G4HEKaonMinusInelastic,
/// G4hMultipleScattering and G4hIonisation
/// K0L :
/// G4HadronElasticProcess with G4LEastic and
/// G4KaonZeoLInelasticProcess with G4LEKaonZeroLInelastic and
/// G4HEKaonZeroInelastic
/// K0S :
/// G4HadronElasticProcess with G4LEastic and
/// G4KaonZeroSInelasticProcess with G4LEKaonZeroSInelastic and
/// G4HEKaonZeroInelastic.
/// proton :
/// G4HadronElasticProcess with G4LElastic,
/// G4ProtonInelasticProcess with G4BinaryCascade, G4LEProtonInelastic and
/// G4HEProtonInelastic,
/// G4hMultipleScattering and G4hIonisation
/// anti proton :
/// G4HadronElasticProcess with G4LElastic,
/// G4AntiProtonInelasticProcess with G4LEAntiProtonInelastic and
/// G4HEAntiProtonInelastic,
/// G4AntiProtonAnnihilationAtRest, G4hMultipleScattering and G4hIonisation
/// neutron :
/// G4HadronElasticProcess with G4LElastic,
/// G4NeutronInelasticProcess with G4BinaryCascade, G4LENeutronInelastic
/// and G4HENeutronInelastic,
/// G4HadronFissionProcess with G4LFission and
/// G4HadronCaptureProcess with G4LCapture
/// anti neutron :
/// G4HadronElasticProcess with G4LElastic,
/// G4AntiNeutronInelasticProcess with G4LEAntiNeutronInelastic and
/// G4HEAntiNeutronInelastic and
/// G4AntiNeutronAnnihilationAtRest
/// lambda :
/// G4HadronElasticProcess with G4LElastic,
/// G4LambdaInelasticProcess with G4LELambdaInelastic and
/// G4HELambdaInelastic
/// anti lambda :
/// G4HadronElasticProcess with G4LElastic,
/// G4AntiLambdaInelasticProcess with G4LEAntiLambdaInelastic and
/// G4HEAntiLambdaInelastic
/// sigma+ :
/// G4HadronElasticProcess with G4LElastic,
/// G4SigmaPlusInelasticProcess with G4LESigmaPlusInelastic and
/// G4HESigmaPlusInelastic,
/// G4hMultipleScattering and G4hIonisation
/// anti sigma+ :
/// G4HadronElasticProcess with G4LElastic,
/// G4AntiSigmaPlusInelasticProcess with G4LEAntiSigmaPlusInelastic and
/// G4HEAntiSigmaPlusInelastic,
/// G4hMultipleScattering and G4hIonisation
/// sigma- :
/// G4HadronElasticProcess with G4LElastic,
/// G4SigmaMinusInelasticProcess with G4LESigmaMinusInelastic and
/// G4HESigmaMinusInelastic,
/// G4hMultipleScattering and G4hIonisation
/// anti sigma- :
/// G4HadronElasticProcess with G4LElastic,
/// G4AntiSigmaMinusInelasticProcess with G4LEAntiSigmaMinusInelastic and
/// G4HEAntiSigmaMinusInelastic,
/// G4hMultipleScattering and G4hIonisation
/// Xi0 :
/// G4HadronElasticProcess with G4LElastic,
/// G4XiZeroInelasticProcess with G4LEXiZeroInelastic and
/// G4HEXiZeroInelastic
/// anti Xi0 :
/// G4HadronElasticProcess with G4LElastic,
/// G4AntiXiZeroInelasticProcess with G4LEAntiXiZeroInelastic and
/// G4HEAntiXiZeroInelastic
/// Xi- :
/// G4HadronElasticProcess with G4LElastic,
/// G4XiMinusInelasticProcess with G4LEXiMinusInelastic and
/// G4HEXiMinusInelastic,
/// G4hMultipleScattering and G4hIonisation
/// anti Xi- :
/// G4HadronElasticProcess with G4LElastic,
/// G4AntiXiMinusInelasticProcess with G4LEAntiXiMinusInelastic and
/// G4HEAntiXiMinusInelastic,
/// G4hMultipleScattering and G4hIonisation
/// omega- :
/// G4HadronElasticProcess with G4LElastic,
/// G4OmegaMinusInelasticProcess with G4LEOmegaMinusInelastic and
/// G4HEOmegaMinusInelastic,
/// G4hMultipleScattering and G4hIonisation
/// anti omega- :
/// G4HadronElasticProcess with G4LElastic,
/// G4AntiOmegaMinusInelasticProcess with G4LEAntiOmegaMinusInelastic and
/// G4HEAntiOmegaMinusInelastic,
/// G4hMultipleScattering and G4hIonisation
//
class RE02HadronPhysics : public G4VPhysicsConstructor
{
public:
RE02HadronPhysics(const G4String& name="hadron");
virtual ~RE02HadronPhysics();
public:
// This method will be invoked in the Construct() method.
// each particle type will be instantiated
virtual void ConstructParticle(){;};
// This method will be invoked in the Construct() method.
// each physics process will be instantiated and
// registered to the process manager of each particle type
virtual void ConstructProcess();
protected:
};
#endif
@@ -1,111 +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. *
// ********************************************************************
//
/// \file runAndEvent/RE02/include/RE02IonPhysics.hh
/// \brief Definition of the RE02IonPhysics class
//
// $Id$
// --------------------------------------------------------------
// 05-Jan-2004 Add G4ionIonisation T. Koi
//
#ifndef RE02IonPhysics_h
#define RE02IonPhysics_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4VPhysicsConstructor.hh"
#include "G4HadronElasticProcess.hh"
#include "G4LElastic.hh"
#include "G4BinaryLightIonReaction.hh"
#include "G4TripathiCrossSection.hh"
#include "G4IonsShenCrossSection.hh"
#include "G4DeuteronInelasticProcess.hh"
#include "G4LEDeuteronInelastic.hh"
#include "G4TritonInelasticProcess.hh"
#include "G4LETritonInelastic.hh"
#include "G4AlphaInelasticProcess.hh"
#include "G4LEAlphaInelastic.hh"
#include "G4hIonisation.hh"
#include "G4ionIonisation.hh"
#include "G4hMultipleScattering.hh"
//
/// User ion physics constructor
///
/// applys related processes to ions
///
/// - void ConstructParticle()
/// does nothing
///
/// - void ConstructProcess()
/// adds processes to each particle
/// generic ion :
/// G4HadronInelasticProcess with G4TripathiCrossSection,
/// G4IonsShenCrossSection and G4BinaryLightIonReaction,
/// G4hMultipleScattering and G4ionIonisation
/// deuteron :
/// G4HadronElasticProcess with G4HadronElastic,
/// G4DeuteronInelasticProcess with G4LEDeuteronInelastic,
/// G4hMultipleScattering and G4hIonisation
/// triton :
/// G4HadronElasticProcess with G4HadronElastic,
/// G4TritonInelasticProcess with G4LETritonInelastic,
/// G4hMultipleScattering and G4hIonisation
/// alpha :
/// G4HadronElasticProcess with G4HadronElastic,
/// G4AlphaInelasticProcess with G4LEAlphaInelastic,
/// G4hMultipleScattering and G4hIonisation
/// He3 :
/// G4hMultipleScattering and G4hIonisation
//
class RE02IonPhysics : public G4VPhysicsConstructor
{
public:
RE02IonPhysics(const G4String& name="ion");
virtual ~RE02IonPhysics();
public:
// This method will be invoked in the Construct() method.
// each particle type will be instantiated
virtual void ConstructParticle(){;};
// This method will be invoked in the Construct() method.
// each physics process will be instantiated and
// registered to the process manager of each particle type
virtual void ConstructProcess();
protected:
};
#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. *
// ********************************************************************
//
/// \file runAndEvent/RE02/include/RE02MuonPhysics.hh
/// \brief Definition of the RE02MuonPhysics class
//
// $Id$
// --------------------------------------------------------------
//
// 09-Oct-2003 mu+- tau+- processes are changed by T. Koi
#ifndef RE02MuonPhysics_h
#define RE02MuonPhysics_h 1
#include "globals.hh"
#include "G4ios.hh"
#include "G4VPhysicsConstructor.hh"
#include "G4MuMultipleScattering.hh"
#include "G4hMultipleScattering.hh"
#include "G4MuBremsstrahlung.hh"
#include "G4MuPairProduction.hh"
#include "G4MuIonisation.hh"
#include "G4hIonisation.hh"
//
/// User muon physics constructor
///
/// applys related processes to mu and tau
///
/// - void ConstructParticle()
/// does nothing
///
/// - void ConstructProcess()
/// adds processes to each particle
/// mu+:
/// G4MuMultipleScattering, G4MuBremsstrahlung, G4MuPairProduction and
/// G4MuIonisation
/// mu-:
/// G4MuMultipleScattering, G4MuBremsstrahlung, G4MuPairProduction and
/// G4MuIonisation
/// tau+:
/// G4hMultipleScattering and G4hIonisation
/// tau-:
/// G4hMultipleScattering and G4hIonisation
//
class RE02MuonPhysics : public G4VPhysicsConstructor
{
public:
RE02MuonPhysics(const G4String& name="muon");
virtual ~RE02MuonPhysics();
public:
// This method will be invoked in the Construct() method.
// each particle type will be instantiated
virtual void ConstructParticle(){;};
// This method will be invoked in the Construct() method.
// each physics process will be instantiated and
// registered to the process manager of each particle type
virtual void ConstructProcess();
protected:
};
#endif
@@ -27,7 +27,7 @@
/// \brief Definition of the RE02NestedPhantomParameterisation class
//
//
// $Id$
// $Id: RE02NestedPhantomParameterisation.hh 73475 2013-08-28 15:23:19Z gcosmo $
//
#ifndef RE02NESTEDPARAMETERISATION_HH
#define RE02NESTEDPARAMETERISATION_HH
@@ -51,6 +51,7 @@ class G4Trap;
class G4Cons;
class G4Sphere;
class G4Orb;
class G4Ellipsoid;
class G4Torus;
class G4Para;
class G4Polycone;
@@ -95,25 +96,25 @@ class RE02NestedPhantomParameterisation: public G4VNestedParameterisation
RE02NestedPhantomParameterisation(const G4ThreeVector& voxelSize,
G4int nz,
std::vector<G4Material*>& mat);
virtual ~RE02NestedPhantomParameterisation();
~RE02NestedPhantomParameterisation();
// Methods required in derived classes
// -----------------------------------
virtual G4Material* ComputeMaterial(G4VPhysicalVolume *currentVol,
const G4int repNo,
const G4VTouchable *parentTouch=0
G4Material* ComputeMaterial(G4VPhysicalVolume *currentVol,
const G4int repNo,
const G4VTouchable *parentTouch=0
);
// Required method, as it is the reason for this class.
// Must cope with parentTouch=0 for navigator's SetupHierarchy
virtual G4int GetNumberOfMaterials() const;
virtual G4Material* GetMaterial(G4int idx) const;
G4int GetNumberOfMaterials() const;
G4Material* GetMaterial(G4int idx) const;
// Needed to define materials for instances of Nested Parameterisation
// Current convention: each call should return the materials
// of all instances with the same mother/ancestor volume.
virtual void ComputeTransformation(const G4int no,
G4VPhysicalVolume *currentPV) const;
void ComputeTransformation(const G4int no,
G4VPhysicalVolume *currentPV) const;
// Methods optional in derived classes
// -----------------------------------
@@ -121,32 +122,35 @@ class RE02NestedPhantomParameterisation: public G4VNestedParameterisation
// Additional standard Parameterisation methods,
// which can be optionally defined, in case solid is used.
virtual void ComputeDimensions(G4Box &,
void ComputeDimensions(G4Box &,
const G4int,
const G4VPhysicalVolume *) const;
private: // Dummy declarations to get rid of warnings ...
virtual void ComputeDimensions (G4Trd&,const G4int,const G4VPhysicalVolume*)
void ComputeDimensions (G4Trd&,const G4int,const G4VPhysicalVolume*)
const {}
virtual void ComputeDimensions (G4Trap&,const G4int,const G4VPhysicalVolume*)
void ComputeDimensions (G4Trap&,const G4int,const G4VPhysicalVolume*)
const {}
virtual void ComputeDimensions (G4Cons&,const G4int,const G4VPhysicalVolume*)
void ComputeDimensions (G4Cons&,const G4int,const G4VPhysicalVolume*)
const {}
virtual void ComputeDimensions (G4Sphere&,const G4int,const G4VPhysicalVolume*)
void ComputeDimensions (G4Sphere&,const G4int,const G4VPhysicalVolume*)
const {}
virtual void ComputeDimensions (G4Orb&,const G4int,const G4VPhysicalVolume*)
void ComputeDimensions (G4Orb&,const G4int,const G4VPhysicalVolume*)
const {}
virtual void ComputeDimensions (G4Torus&,const G4int,const G4VPhysicalVolume*)
void ComputeDimensions (G4Ellipsoid&,const G4int,const G4VPhysicalVolume*)
const {}
virtual void ComputeDimensions (G4Para&,const G4int,const G4VPhysicalVolume*)
void ComputeDimensions (G4Torus&,const G4int,const G4VPhysicalVolume*)
const {}
virtual void ComputeDimensions (G4Hype&,const G4int,const G4VPhysicalVolume*)
void ComputeDimensions (G4Para&,const G4int,const G4VPhysicalVolume*)
const {}
virtual void ComputeDimensions (G4Tubs&,const G4int,const G4VPhysicalVolume*)
void ComputeDimensions (G4Hype&,const G4int,const G4VPhysicalVolume*)
const {}
virtual void ComputeDimensions (G4Polycone&,const G4int,const G4VPhysicalVolume*)
void ComputeDimensions (G4Tubs&,const G4int,const G4VPhysicalVolume*)
const {}
virtual void ComputeDimensions (G4Polyhedra&,const G4int,const G4VPhysicalVolume*)
void ComputeDimensions (G4Polycone&,const G4int,const G4VPhysicalVolume*)
const {}
void ComputeDimensions (G4Polyhedra&,const G4int,const G4VPhysicalVolume*)
const {}
// G4Material* ComputeMaterial(const G4int repNo,
// G4VPhysicalVolume* currentVol,
@@ -155,6 +159,7 @@ private: // Dummy declarations to get rid of warnings ...
using G4VNestedParameterisation::ComputeMaterial;
private:
G4double fdX,fdY,fdZ;
G4int fNz;
//
@@ -27,7 +27,7 @@
/// \brief Definition of the RE02PSCellFlux class
//
//
// $Id$
// $Id: RE02PSCellFlux.hh 66501 2012-12-19 09:25:23Z gcosmo $
//
#ifndef RE02PSCellFlux_h
@@ -27,7 +27,7 @@
/// \brief Definition of the RE02PSEnergyDeposit class
//
//
// $Id$
// $Id: RE02PSEnergyDeposit.hh 66501 2012-12-19 09:25:23Z gcosmo $
//
#ifndef RE02PSEnergyDeposit_h
@@ -27,7 +27,7 @@
/// \brief Definition of the RE02PSFlatSurfaceCurrent class
//
//
// $Id$
// $Id: RE02PSFlatSurfaceCurrent.hh 66501 2012-12-19 09:25:23Z gcosmo $
//
#ifndef RE02PSFlatSurfaceCurrent_h
@@ -27,7 +27,7 @@
/// \brief Definition of the RE02PSFlatSurfaceFlux class
//
//
// $Id$
// $Id: RE02PSFlatSurfaceFlux.hh 66501 2012-12-19 09:25:23Z gcosmo $
//
#ifndef RE02PSFlatSurfaceFlux_h
@@ -27,7 +27,7 @@
/// \brief Definition of the RE02PSNofStep class
//
//
// $Id$
// $Id: RE02PSNofStep.hh 66501 2012-12-19 09:25:23Z gcosmo $
//
#ifndef RE02PSNofStep_h
@@ -27,7 +27,7 @@
/// \brief Definition of the RE02PSPassageCellFlux class
//
//
// $Id$
// $Id: RE02PSPassageCellFlux.hh 66501 2012-12-19 09:25:23Z gcosmo $
//
#ifndef RE02PSPassageCellFlux_h
@@ -27,7 +27,7 @@
/// \brief Definition of the RE02PrimaryGeneratorAction class
//
//
// $Id$
// $Id: RE02PrimaryGeneratorAction.hh 66501 2012-12-19 09:25:23Z gcosmo $
//
#ifndef RE02PrimaryGeneratorAction_h
@@ -27,7 +27,7 @@
/// \brief Definition of the RE02Run class
//
//
// $Id$
// $Id: RE02Run.hh 75682 2013-11-05 09:11:19Z gcosmo $
//
#ifndef RE02Run_h
@@ -84,6 +84,7 @@ public:
// virtual method from G4Run.
// The method is overriden in this class for scoring.
virtual void RecordEvent(const G4Event*);
virtual void Merge(const G4Run*);
// Access methods for scoring information.
// - Number of HitsMap for this RUN.
@@ -27,7 +27,7 @@
/// \brief Definition of the RE02RunAction class
//
//
// $Id$
// $Id: RE02RunAction.hh 66501 2012-12-19 09:25:23Z gcosmo $
//
//
//