Import Geant4 7.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 11:11:55 +02:00
parent e083ffb441
commit 516dbf1a58
5914 changed files with 202605 additions and 71141 deletions
@@ -22,7 +22,7 @@
//
//
// $Id: G4IonC12.hh,v 1.1 2004/05/14 12:29:32 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4IonFe52.hh,v 1.1 2004/05/14 12:29:32 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
// ------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4IonSi28.hh,v 1.1 2004/05/14 12:29:32 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
// ------------------------------------------------------------
@@ -26,7 +26,7 @@
// * *
// **********************************
//
// $Id: RemSimAnalysisManager.hh,v 1.5 2004/05/22 12:57:04 guatelli Exp $
// $Id: RemSimAnalysisManager.hh,v 1.7 2004/11/23 11:43:21 guatelli Exp $
//
// Author: Susanna Guatelli (guatelli@ge.infn.it)
//
@@ -39,6 +39,7 @@
#include <vector>
#include "G4ThreeVector.hh"
# include <AIDA/AIDA.h>
#include "RemSimAnalysisMessenger.hh"
namespace AIDA
{
@@ -51,6 +52,7 @@ namespace AIDA
class ITreeFactory;
};
class RemSimAnalysisMessenger;
class RemSimAnalysisManager {
public:
@@ -80,6 +82,12 @@ public:
void PrimaryEnergyOut(G4double);
// Energy of primary particles outgoing the phantom
void particleShape(G4double, G4double);
void energyDepShape(G4double, G4double, G4double);
void SetFormat(G4String);
void finish();
private:
@@ -102,6 +110,11 @@ private:
AIDA::IHistogram1D* primaryInitialEout;
AIDA::IHistogram1D* initialE;
AIDA::IHistogram1D* initialEout;
AIDA::IHistogram2D* shape;
AIDA::IHistogram2D* energyShape;
RemSimAnalysisMessenger* messenger;
G4String fileFormat;
};
#endif
#endif
@@ -20,23 +20,55 @@
// * statement, and all its terms. *
// ********************************************************************
//
#ifndef REMSIMPROTONStandard_HH
#define REMSIMPROTONStandard_HH 1
//
// $Id: RemSimAnalysisMessenger.hh
// GEANT4 tag $Name: radioprotection-V07-00-01
//
// Author: Susanna Guatelli (Susanna.Guatelli@ge.infn.it)
//
// History:
// -----------
// 23 Nov 2004 Susanna Guatelli Created
//
// -------------------------------------------------------------------
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
#ifdef G4ANALYSIS_USE
#ifndef RemSimAnalysisMessenger_h
#define RemSimAnalysisMessenger_h 1
#include "G4VPhysicsConstructor.hh"
#include "globals.hh"
#include "G4UImessenger.hh"
#include "G4UIcmdWithAString.hh"
#include "G4UIcmdWithoutParameter.hh"
#include "RemSimAnalysisManager.hh"
#include "G4UIdirectory.hh"
class RemSimAnalysisManager;
//class G4UIdirectory;
//class G4UIcmdWithAString;
class RemSimIonStandard : public G4VPhysicsConstructor {
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
public:
RemSimIonStandard(const G4String& name = "ion-standard");
class RemSimAnalysisMessenger: public G4UImessenger
{
public:
RemSimAnalysisMessenger(RemSimAnalysisManager*);
~RemSimAnalysisMessenger();
virtual ~RemSimIonStandard();
void SetNewValue(G4UIcommand*, G4String);
// This method is dummy for physics
virtual void ConstructParticle() {};
virtual void ConstructProcess();
private:
RemSimAnalysisManager* remsimAnalysis;
G4UIdirectory* analysisDir;
G4UIcmdWithAString* outputFileType;
};
#endif
#endif
@@ -27,8 +27,8 @@
// * *
// **********************************
//
// $Id: RemSimBasicGenerator.hh,v 1.7 2004/05/27 10:33:11 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// $Id: RemSimBasicGenerator.hh,v 1.8 2004/11/22 16:51:38 guatelli Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Author:Susanna Guatelli, guatelli@ge.infn.it
@@ -52,6 +52,7 @@ public:
void GeneratePrimaries(G4Event* anEvent);
G4double GetInitialEnergy();
void SetMoon(G4bool){;};
void SetParticle(G4String);
private:
G4ParticleGun* particleGun;
@@ -28,7 +28,7 @@
// ************************
//
// $Id: RemSimDecay.hh,v 1.2 2004/05/22 12:57:04 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Author:Susanna Guatelli, guatelli@ge.infn.it
//
@@ -28,7 +28,7 @@
// ***************************
//
// $Id: RemSimDecorator.hh,v 1.7 2004/05/22 12:57:04 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Author:Susanna Guatelli, guatelli@ge.infn.it
//
@@ -27,7 +27,7 @@
// **************************************
//
// $Id: RemSimDetectorConstruction.hh,v 1.10 2004/05/22 12:57:04 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Author:Susanna Guatelli, guatelli@ge.infn.it
//
@@ -28,7 +28,7 @@
// *****************************************
//
// $Id: RemSimDetectorMessenger.hh,v 1.8 2004/05/22 12:57:04 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
#ifndef RemSimDetectorMessenger_h
@@ -22,7 +22,7 @@
//
//
// $Id: RemSimElectronEEDL.hh,v 1.3 2004/05/22 12:57:04 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Author: Susanna Guatelli, guatelli@ge.infn.it
@@ -28,7 +28,7 @@
// **********************************
//
// $Id: RemSimEventAction.hh,v 1.4 2004/05/22 12:57:04 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Author : Susanna Guatelli, guatelli@ge.infn.it
//
@@ -22,18 +22,18 @@
//
// **************************************
// * *
// * RemSimHadronicPhysics.hh *
// * RemSimHadronicBertini.hh *
// * *
// **************************************
//
// $Id: RemSimHadronicPhysics.hh,v 1.2 2004/05/22 12:57:04 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// $Id: RemSimHadronicBertini.hh,v 1.1 2004/11/23 14:37:47 guatelli Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Author : Susanna Guatelli, guatelli@ge.infn.it
//
#ifndef RemSimHadronicPhysics_h
#define RemSimHadronicPhysics_h 1
#ifndef RemSimHadronicBertini_h
#define RemSimHadronicBertini_h 1
#include "G4VPhysicsConstructor.hh"
#include "globals.hh"
@@ -65,11 +65,11 @@ class G4PreCompoundModel;
class G4QGSMFragmentation;
class G4ExcitedStringDecay;
class RemSimHadronicPhysics: public G4VPhysicsConstructor
class RemSimHadronicBertini: public G4VPhysicsConstructor
{
public:
RemSimHadronicPhysics(const G4String& name = "hadronic");
virtual ~RemSimHadronicPhysics();
RemSimHadronicBertini(const G4String& name = "hadronic-bertini");
virtual ~RemSimHadronicBertini();
protected:
// Construct particle and physics
@@ -0,0 +1,115 @@
//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * 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. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// **************************************
// * *
// * RemSimHadronicBinary.hh *
// * *
// **************************************
//
// $Id: RemSimHadronicBinary.hh,v 1.1 2004/11/23 14:37:47 guatelli Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Author : Susanna Guatelli, guatelli@ge.infn.it
//
#ifndef RemSimHadronicBinary_h
#define RemSimHadronicBinary_h 1
#include "G4VPhysicsConstructor.hh"
#include "globals.hh"
#include "G4QGSParticipants.hh"
#include "G4QGSModel.hh"
class G4ProtonInelasticCrossSection;
class G4NeutronInelasticCrossSection;
class G4PiNuclearCrossSection;
class G4TripathiCrossSection;
class G4IonsShenCrossSection;
class G4BinaryCascade;
class G4LElastic;
class G4CascadeInterface;
class G4BinaryLightIonReaction;
class G4LEProtonInelastic;
class G4LENeutronInelastic;
class G4LEPionPlusInelastic;
class G4LEPionMinusInelastic;
class G4LEAlphaInelastic;
class G4LFission;
class G4LCapture;
class G4TheoFSGenerator;
class G4GeneratorPrecompoundInterface;
class G4ExcitationHandler;
class G4PreCompoundModel;
class G4QGSMFragmentation;
class G4ExcitedStringDecay;
class RemSimHadronicBinary: public G4VPhysicsConstructor
{
public:
RemSimHadronicBinary(const G4String& name = "hadronic-binary");
virtual ~RemSimHadronicBinary();
protected:
// Construct particle and physics
void ConstructParticle(){};
void ConstructProcess();
private:
G4ProtonInelasticCrossSection* proton_XC;
G4NeutronInelasticCrossSection* neutron_XC;
G4PiNuclearCrossSection* pion_XC;
G4TripathiCrossSection* tripathi;
G4IonsShenCrossSection* shen;
G4LElastic* elastic_model;
G4BinaryLightIonReaction* binary_ion_model;
G4BinaryCascade* binarycascade_model;
G4LEProtonInelastic* LEP_proton_model;
G4LENeutronInelastic* LEP_neutron_model;
G4LEPionPlusInelastic* LEP_pip_model;
G4LEPionMinusInelastic* LEP_pim_model;
G4LEAlphaInelastic* LEP_alpha_model;
G4LFission* nfission_model;
G4LCapture* ncapture_model;
G4TheoFSGenerator* QGSP_model;
G4GeneratorPrecompoundInterface* theCascade;
G4ExcitationHandler* theHandler;
G4PreCompoundModel* thePreEquilib;
G4QGSMFragmentation* theFragmentation;
G4ExcitedStringDecay* theStringDecay;
G4QGSModel<G4QGSParticipants> theStringModel;
};
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: RemSimInterplanetarySpaceConfiguration.hh,v 1.7 2004/05/27 10:33:11 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// $Id: RemSimInterplanetarySpaceConfiguration.hh,v 1.8 2004/11/22 16:51:38 guatelli Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Author : Susanna Guatelli, guatelli@ge.infn.it
//
@@ -50,7 +50,7 @@ public:
void MoonConfiguration();
G4double GetInitialEnergy();
void SetMoon(G4bool);
void SetParticle(G4String);
private:
G4ParticleGun* particleGun;
G4String spectrum;
@@ -20,8 +20,13 @@
// * statement, and all its terms. *
// ********************************************************************
//
#ifndef REMSIMPROTONICRU_HH
#define REMSIMPROTONICRU_HH 1
// $Id: RemSimIonICRU.hh,v 1.3 2004/12/15 15:41:04 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-ref-00 $
//
// Author: Susanna Guatelli, guatelli@ge.infn.it
#ifndef REMSIMIONICRU_HH
#define REMSIMIONICRU_HH 1
#include "G4VPhysicsConstructor.hh"
#include "globals.hh"
@@ -22,7 +22,7 @@
//
//
// $Id: RemSimMaterial.hh,v 1.5 2004/05/22 12:57:04 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// **********************************
// * *
@@ -28,7 +28,7 @@
// **************************************
//
// $Id: RemSimMoonHabitat.hh,v 1.3 2004/05/22 12:57:04 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Author:Susanna Guatelli, guatelli@ge.infn.it
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: RemSimMuonStandard.hh,v 1.2 2004/05/22 12:57:04 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Author:Susanna Guatelli, guatelli@ge.infn.it
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: RemSimParticles.hh,v 1.4 2004/05/22 12:57:04 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Author:Susanna Guatelli, guatelli@ge.infn.it
//
@@ -22,7 +22,7 @@
//
//
// $Id: RemSimPhotonEPDL.hh,v 1.3 2004/05/22 12:57:04 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Author:Susanna Guatelli, guatelli@ge.infn.it
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: RemSimPhysicsList.hh,v 1.5 2004/05/22 12:57:05 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Author: Susanna Guatelli, guatelli@ge.infn.it
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: RemSimPhysicsListMessenger.hh,v 1.3 2004/05/22 12:57:05 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Author: Susanna Guatelli, guatelli@ge.infn.it
@@ -22,7 +22,7 @@
//
//
// $Id: RemSimPositronStandard.hh,v 1.3 2004/05/22 12:57:05 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Author: Susanna Guatelli, guatelli@ge.infn.it
@@ -21,7 +21,7 @@
// ********************************************************************
//
//
// $Id: RemSimPrimaryGeneratorAction.hh,v 1.8 2004/05/27 10:33:11 guatelli Exp $// GEANT4 tag $Name: geant4-06-02 $
// $Id: RemSimPrimaryGeneratorAction.hh,v 1.9 2004/11/22 16:51:38 guatelli Exp $// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Author: Susanna Guatelli, guatelli@ge.infn.it
//
@@ -45,6 +45,7 @@ public:
G4double GetInitialEnergy();
void GeneratePrimaries(G4Event* anEvent);
void SelectPrimaries(G4String value);
void SetNewParticle(G4String);
private:
G4String value;
@@ -27,8 +27,8 @@
// * *
// ************************************************
//
// $Id: RemSimPrimaryGeneratorMessenger.hh,v 1.4 2004/05/22 12:57:05 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// $Id: RemSimPrimaryGeneratorMessenger.hh,v 1.5 2004/11/22 16:51:38 guatelli Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//Code developed by: S.Guatelli, guatelli@ge.infn.it
//
@@ -58,7 +58,8 @@ public:
private:
RemSimPrimaryGeneratorAction* primary;//pointer to detector
G4UIdirectory* gunDir;
G4UIcmdWithAString* fluxCmd; //change vehicle
G4UIcmdWithAString* fluxCmd; //change vehicle
G4UIcmdWithAString* particleCmd; //change vehicle
};
#endif
@@ -22,7 +22,7 @@
//
//
// $Id: RemSimROGeometry.hh,v 1.5 2004/05/22 12:57:05 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// ************************************
// * *
@@ -30,7 +30,7 @@
//
//
// $Id: RemSimRoofDecorator.hh,v 1.3 2004/06/18 09:18:06 gunter Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
#ifndef RemSimRoofDecorator_h
@@ -22,7 +22,7 @@
//
//
// $Id: RemSimRunAction.hh,v 1.7 2004/05/27 10:13:54 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Code developed by: S.Guatelli, guatelli@ge.infn.it
//
@@ -28,7 +28,7 @@
// *****************************************
//
// $Id: RemSimRunMessenger.hh,v 1.2 2004/05/22 12:57:05 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Code developed by: S.Guatelli, guatelli@ge.infn.it
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: RemSimSensitiveDetector.hh,v 1.2 2004/05/22 12:57:05 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Code developed by: S.Guatelli, guatelli@ge.infn.it
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: RemSimShelterSPEDecorator.hh,v 1.2 2004/05/22 12:57:05 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Code developed by: S.Guatelli, guatelli@ge.infn.it
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: RemSimShieldingDecorator.hh,v 1.4 2004/05/22 12:57:05 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Code developed by: S.Guatelli, guatelli@ge.infn.it
//
@@ -22,7 +22,7 @@
//
//
// $Id: RemSimSteppingAction.hh,v 1.3 2004/05/17 10:34:57 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Author: Susanna Guatelli (guatelli@ge.infn.it)
//
@@ -22,7 +22,7 @@
//
//
// $Id: RemSimSteppingActionMessenger.hh,v 1.2 2004/05/22 12:57:05 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Author: Susanna Guatelli, guatelli@ge.infn.it
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: RemSimVGeometryComponent.hh,v 1.5 2004/05/22 12:57:05 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Code developed by: S.Guatelli, guatelli@ge.infn.it
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: RemSimVPrimaryGeneratorFactory.hh,v 1.7 2004/05/27 10:33:11 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// $Id: RemSimVPrimaryGeneratorFactory.hh,v 1.8 2004/11/22 16:51:38 guatelli Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Code developed by: S.Guatelli, guatelli@ge.infn.it
//
@@ -42,6 +42,7 @@ public:
virtual void GeneratePrimaries(G4Event* anEvent)=0;
virtual G4double GetInitialEnergy()=0;
virtual void SetMoon(G4bool)=0; // Set moon configuration
virtual void SetParticle(G4String)=0;
};
#endif
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: RemSimVehicle1.hh,v 1.7 2004/05/22 12:57:05 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
// Code developed by: S.Guatelli, guatelli@ge.infn.it
//
@@ -22,7 +22,7 @@
//
//
// $Id: RemSimVisManager.hh,v 1.4 2004/05/22 12:57:05 guatelli Exp $
// GEANT4 tag $Name: geant4-06-02 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
// Example Visualization Manager implementing virtual function