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
@@ -27,7 +27,7 @@
/// \brief Definition of the Em10CalorHit class
//
//
// $Id$
// $Id: Em10CalorHit.hh 66241 2012-12-13 18:34:42Z gunter $
//
//
@@ -27,7 +27,7 @@
/// \brief Definition of the Em10CalorimeterSD class
//
//
// $Id$
// $Id: Em10CalorimeterSD.hh 66241 2012-12-13 18:34:42Z gunter $
//
//
@@ -27,9 +27,9 @@
/// \brief Definition of the Em10DetectorConstruction class
//
//
// $Id$
// $Id: Em10DetectorConstruction.hh 73033 2013-08-15 09:24:45Z gcosmo $
//
//
//
#ifndef Em10DetectorConstruction_h
#define Em10DetectorConstruction_h 1
@@ -54,24 +54,23 @@ class Em10Materials;
class Em10DetectorConstruction : public G4VUserDetectorConstruction
{
public:
Em10DetectorConstruction();
~Em10DetectorConstruction();
public:
void SetAbsorberMaterial (G4String);
void SetAbsorberThickness(G4double);
void SetAbsorberRadius(G4double);
void SetAbsorberMaterial (G4String);
void SetAbsorberThickness(G4double);
void SetAbsorberRadius(G4double);
void SetAbsorberZpos(G4double);
void SetRadiatorMaterial (G4String);
void SetRadiatorMaterial (G4String);
void SetRadiatorThickness(G4double);
void SetGasGapThickness(G4double);
void SetFoilNumber (G4int i) {fFoilNumber = i; };
void SetGasGapThickness(G4double);
void SetFoilNumber (G4int i) {fFoilNumber = i; };
void SetWorldMaterial(G4String);
void SetWorldSizeZ(G4double);
@@ -80,54 +79,51 @@ class Em10DetectorConstruction : public G4VUserDetectorConstruction
void SetMagField(G4double);
G4VPhysicalVolume* Construct();
void UpdateGeometry();
public:
void PrintGeometryParameters();
void PrintGeometryParameters();
G4Material* GetWorldMaterial() {return fWorldMaterial;};
G4double GetWorldSizeZ() {return fWorldSizeZ;};
G4double GetWorldSizeZ() {return fWorldSizeZ;};
G4double GetWorldSizeR() {return fWorldSizeR;};
G4double GetAbsorberZpos() {return fAbsorberZ;};
G4double GetAbsorberZpos() {return fAbsorberZ;};
G4Material* GetAbsorberMaterial() {return fAbsorberMaterial;};
G4double GetAbsorberThickness() {return fAbsorberThickness;};
G4double GetAbsorberThickness() {return fAbsorberThickness;};
G4double GetAbsorberRadius() {return fAbsorberRadius;};
const G4VPhysicalVolume* GetphysiWorld() {return fPhysicsWorld;};
const G4VPhysicalVolume* GetphysiWorld() {return fPhysicsWorld;};
const G4VPhysicalVolume* GetAbsorber() {return fPhysicsAbsorber;};
G4LogicalVolume* GetLogicalAbsorber() {return fLogicAbsorber;};
G4LogicalVolume* GetLogicalRadiator() {return fLogicRadiator;};
G4double GetFoilThick() {return fRadThickness;};
G4double GetGasThick() {return fGasGap;};
G4int GetFoilNumber() {return fFoilNumber;};
G4double GetFoilThick() {return fRadThickness;};
G4double GetGasThick() {return fGasGap;};
G4int GetFoilNumber() {return fFoilNumber;};
G4Material* GetFoilMaterial() {return fFoilMat;};
G4Material* GetGasMaterial() {return fGasMat;};
private:
G4VPhysicalVolume* ConstructDetectorXTR();
G4VPhysicalVolume* SimpleSetUpALICE();
G4VPhysicalVolume* SetUpALICE06();
G4VPhysicalVolume* SetUpBari05();
G4VPhysicalVolume* SetUpHarris73();
G4VPhysicalVolume* SetUpWatase86();
G4VPhysicalVolume* SetUpBarr90();
G4VPhysicalVolume* ConstructDetectorXTR();
G4VPhysicalVolume* SimpleSetUpALICE();
G4VPhysicalVolume* SetUpALICE06();
G4VPhysicalVolume* SetUpBari05();
G4VPhysicalVolume* SetUpHarris73();
G4VPhysicalVolume* SetUpWatase86();
G4VPhysicalVolume* SetUpBarr90();
void TestOld();
void TestOld();
private:
G4bool fWorldChanged;
G4Material* fAbsorberMaterial;
G4double fAbsorberThickness;
@@ -147,27 +143,27 @@ private:
G4double fAbsorberZ;
// G4double zstartAbs , zendAbs;
G4String fSetUp;
G4Material* fWorldMaterial;
G4double fWorldSizeR;
G4double fWorldSizeZ;
G4Box* fSolidWorld; //pointer to the solid World
G4Box* fSolidWorld; //pointer to the solid World
G4LogicalVolume* fLogicWorld; //pointer to the logical World
G4VPhysicalVolume* fPhysicsWorld; //pointer to the physical World
// TR radiator volumes and dimensions
G4Box* fSolidRadSlice; // pointer to the solid z-slice
G4LogicalVolume* fLogicRadSlice; // pointer to the logical z-slide
G4VPhysicalVolume* fPhysicRadSlice; // pointer to the physical z-slide
// G4Box* fSolidRadSlice; // pointer to the solid z-slice
// G4LogicalVolume* fLogicRadSlice; // pointer to the logical z-slide
// G4VPhysicalVolume* fPhysicRadSlice; // pointer to the physical z-slide
G4Box* fSolidRadRing; // pointer to the solid R-slice
G4LogicalVolume* fLogicRadRing; // pointer to the logical R-slide
G4VPhysicalVolume* fPhysicRadRing; // pointer to the physical R-slide
// G4Box* fSolidRadRing; // pointer to the solid R-slice
// G4LogicalVolume* fLogicRadRing; // pointer to the logical R-slide
// G4VPhysicalVolume* fPhysicRadRing; // pointer to the physical R-slide
G4Box* fSolidRadiator;
G4LogicalVolume* fLogicRadiator;
G4LogicalVolume* fLogicRadiator;
G4VPhysicalVolume* fPhysicsRadiator;
G4Material* fRadiatorMat; // pointer to the mixed TR radiator material
@@ -202,24 +198,17 @@ private:
G4Box* fSolidAbsorber; //pointer to the solid Absorber
G4LogicalVolume* fLogicAbsorber; //pointer to the logical Absorber
G4VPhysicalVolume* fPhysicsAbsorber; //pointer to the physical Absorber
G4UniformMagField* fMagField; //pointer to the magnetic field
// G4double fElectronCut, fGammaCut, fPositronCut;
Em10DetectorMessenger* fDetectorMessenger; //pointer to the Messenger
Em10CalorimeterSD* fCalorimeterSD; //pointer to the sensitive detector
G4Region* fRegGasDet;
G4Region* fRadRegion;
Em10Materials* fMat;
Em10Materials* fMat;
};
#endif
@@ -27,7 +27,7 @@
/// \brief Definition of the Em10DetectorMessenger class
//
//
// $Id$
// $Id: Em10DetectorMessenger.hh 66241 2012-12-13 18:34:42Z gunter $
//
//
@@ -27,7 +27,7 @@
/// \brief Definition of the Em10EventAction class
//
//
// $Id$
// $Id: Em10EventAction.hh 66241 2012-12-13 18:34:42Z gunter $
//
//
@@ -27,7 +27,7 @@
/// \brief Definition of the Em10EventActionMessenger class
//
//
// $Id$
// $Id: Em10EventActionMessenger.hh 66241 2012-12-13 18:34:42Z gunter $
//
//
@@ -23,6 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: Em10Materials.hh 66587 2012-12-21 11:06:44Z ihrivnac $
//
/// \file electromagnetic/TestEm10/include/Em10Materials.hh
/// \brief Definition of the Em10Materials class
//
@@ -27,7 +27,7 @@
/// \brief Definition of the Em10PhysicsList class
//
//
// $Id$
// $Id: Em10PhysicsList.hh 66241 2012-12-13 18:34:42Z gunter $
//
#ifndef Em10PhysicsList_h
@@ -27,7 +27,7 @@
/// \brief Definition of the Em10PhysicsListMessenger class
//
//
// $Id$
// $Id: Em10PhysicsListMessenger.hh 73033 2013-08-15 09:24:45Z gcosmo $
//
//
@@ -62,8 +62,6 @@ class Em10PhysicsListMessenger: public G4UImessenger
G4UIcmdWithADoubleAndUnit* cutGCmd;
G4UIcmdWithADoubleAndUnit* cutECmd;
G4UIcmdWithADoubleAndUnit* cutPCmd;
G4UIcmdWithADoubleAndUnit* rCmd;
G4UIcmdWithADoubleAndUnit* eCmd;
G4UIcmdWithADoubleAndUnit* ElectronCutCmd;
@@ -27,7 +27,7 @@
/// \brief Definition of the Em10PrimaryGeneratorAction class
//
//
// $Id$
// $Id: Em10PrimaryGeneratorAction.hh 73033 2013-08-15 09:24:45Z gcosmo $
//
//
@@ -50,31 +50,29 @@ class Em10PrimaryGeneratorMessenger;
class Em10PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
{
public:
Em10PrimaryGeneratorAction(Em10DetectorConstruction*);
Em10PrimaryGeneratorAction(Em10DetectorConstruction*);
~Em10PrimaryGeneratorAction();
public:
void GeneratePrimaries(G4Event*);
void SetRndmFlag(G4String val) { rndmFlag = val;}
void Setxvertex(G4double x) ;
void Setyvertex(G4double y) ;
void Setzvertex(G4double z) ;
void Setxvertex(G4double x);
void Setyvertex(G4double y);
void Setzvertex(G4double z);
static G4String GetPrimaryName() ;
static G4String GetPrimaryName();
private:
G4ParticleGun* particleGun; //pointer a to G4 service class
Em10DetectorConstruction* Em10Detector; //pointer to the geometry
Em10PrimaryGeneratorMessenger* gunMessenger; //messenger of this class
G4String rndmFlag; //flag for a random impact point
G4ParticleGun* particleGun; //pointer a to G4 service class
// Em10DetectorConstruction* Em10Detector; //pointer to the geometry
static G4String thePrimaryParticleName ;
Em10PrimaryGeneratorMessenger* gunMessenger; //messenger of this class
G4String rndmFlag; //flag for a random impact point
static G4String thePrimaryParticleName;
G4double xvertex,yvertex,zvertex;
G4bool vertexdefined ;
G4bool vertexdefined;
};
#endif
@@ -27,7 +27,7 @@
/// \brief Definition of the Em10PrimaryGeneratorMessenger class
//
//
// $Id$
// $Id: Em10PrimaryGeneratorMessenger.hh 66241 2012-12-13 18:34:42Z gunter $
//
//
@@ -27,7 +27,7 @@
/// \brief Definition of the Em10RunAction class
//
//
// $Id$
// $Id: Em10RunAction.hh 66241 2012-12-13 18:34:42Z gunter $
//
//
@@ -28,7 +28,7 @@
//
//
// $Id$
// $Id: Em10RunMessenger.hh 66241 2012-12-13 18:34:42Z gunter $
//
//
@@ -27,7 +27,7 @@
/// \brief Definition of the Em10StepCut class
//
//
// $Id$
// $Id: Em10StepCut.hh 66241 2012-12-13 18:34:42Z gunter $
//
//
@@ -27,7 +27,7 @@
/// \brief Definition of the Em10SteppingAction class
//
//
// $Id$
// $Id: Em10SteppingAction.hh 73033 2013-08-15 09:24:45Z gcosmo $
//
//
@@ -43,7 +43,6 @@
#include "G4ios.hh"
#include "globals.hh"
class Em10DetectorConstruction;
class Em10RunAction;
class Em10EventAction;
@@ -52,19 +51,17 @@ class Em10EventAction;
class Em10SteppingAction : public G4UserSteppingAction
{
public:
Em10SteppingAction(Em10DetectorConstruction*, Em10EventAction*,
Em10SteppingAction(Em10EventAction*,
Em10RunAction* );
virtual ~Em10SteppingAction();
void UserSteppingAction(const G4Step*);
private:
Em10DetectorConstruction* detector;
Em10EventAction* eventaction;
Em10RunAction* runaction;
G4int IDnow,IDold;
G4int evnoold ;
};
@@ -27,7 +27,7 @@
/// \brief Definition of the Em10SteppingVerbose class
//
//
// $Id$
// $Id: Em10SteppingVerbose.hh 66241 2012-12-13 18:34:42Z gunter $
//
//
//---------------------------------------------------------------
@@ -23,6 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: Em10TrackingAction.hh 66587 2012-12-21 11:06:44Z ihrivnac $
//
/// \file electromagnetic/TestEm10/include/Em10TrackingAction.hh
/// \brief Definition of the Em10TrackingAction class
//
@@ -23,6 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: Em10XTRTransparentRegRadModel.hh 66587 2012-12-21 11:06:44Z ihrivnac $
//
/// \file electromagnetic/TestEm10/include/Em10XTRTransparentRegRadModel.hh
/// \brief Definition of the Em10XTRTransparentRegRadModel class
//
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm10/include/StepMax.hh
/// \brief Definition of the StepMax class
//
// $Id$
// $Id: StepMax.hh 66241 2012-12-13 18:34:42Z gunter $
//
//
/////////////////////////////////////////////////////////////////////////////////.
@@ -27,7 +27,7 @@
/// \brief Definition of the TRTDetectorConstruction class
//
//
// $Id$
// $Id: TRTDetectorConstruction.hh 66241 2012-12-13 18:34:42Z gunter $
//
//
@@ -27,7 +27,7 @@
/// \brief Definition of the TRTMaterials class
//
//
// $Id$
// $Id: TRTMaterials.hh 66241 2012-12-13 18:34:42Z gunter $
//
//