Import Geant4 9.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 17:01:34 +02:00
parent b1eb5424d2
commit e2d2f9810a
10384 changed files with 698580 additions and 628834 deletions
@@ -23,21 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// ------------------------------------------------------------
// GEANT 4 class header file
// ------------------------------------------------------------
//
// Class Description:
//
// Creates a simplified typical HEP detector:
// An air beamline ( BEAM )
// An air central detector ( CDET )
// A copper calorimeter, divided in four ( ECAL )
// An aluminium calorimeter, divided in ten ( HCAL )
// An air muon detector ( MUON )
//
// History:
// - Created: P. Arce May 2007
/// \file errorpropagation/include/ExErrorDetectorConstruction.hh
/// \brief Definition of the ExErrorDetectorConstruction class
//
#ifndef ExErrorDetectorConstruction_hh
@@ -54,7 +41,20 @@ class G4Material;
class ExErrorDetectorMessenger;
class G4UserLimits;
/// Detector construction class
///
/// Creates a simplified typical HEP detector:
/// An air beamline ( BEAM )
/// An air central detector ( CDET )
/// A copper calorimeter, divided in four ( ECAL )
/// An aluminium calorimeter, divided in ten ( HCAL )
/// An air muon detector ( MUON )
///
/// History:
/// Created: May 2007
/// \author P. Arce
//------------------------------------------------------------------------
class ExErrorDetectorConstruction : public G4VUserDetectorConstruction
{
public:
@@ -67,23 +67,23 @@ public:
void SetMagField(G4double);
private:
G4double xBEAM;
G4double xCDET;
G4double xECAL;
G4double xSOLN;
G4double xHCAL;
G4double xMUON;
G4double ndivECAL;
G4double ndivHCAL;
G4double yzLength;
G4double xHalfWorldLength;
G4double fXBEAM;
G4double fXCDET;
G4double fXECAL;
G4double fXSOLN;
G4double fXHCAL;
G4double fXMUON;
G4double fNdivECAL;
G4double fNdivHCAL;
G4double fYZLength;
G4double fXHalfWorldLength;
G4UserLimits* userLimits;
G4UserLimits* fUserLimits;
ExErrorMagneticField* fpMagField; // pointer to the magnetic field
ExErrorMagneticField* fMagField; // pointer to the magnetic field
ExErrorDetectorMessenger* detectorMessenger; // pointer to the Messenger
ExErrorDetectorMessenger* fDetectorMessenger; // pointer to the Messenger
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -23,16 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// ------------------------------------------------------------
// GEANT 4 class header file
// ------------------------------------------------------------
//
// Class Description:
//
// Defines a G4UIcommand to set the value of the constant field
//
// History:
// - Created: P. Arce, May 2007
/// \file errorpropagation/include/ExErrorDetectorMessenger.hh
/// \brief Definition of the ExErrorDetectorMessenger class
//
#ifndef ExErrorDetectorMessenger_hh
@@ -46,7 +38,15 @@ class G4UIdirectory;
class G4UIcmdWithAString;
class G4UIcmdWithADoubleAndUnit;
/// Detector messenger class
///
/// Defines a G4UIcommand to set the value of the constant field
///
/// History:
/// Created: May 2007
/// \author P. Arce
//------------------------------------------------------------------------
class ExErrorDetectorMessenger: public G4UImessenger
{
public:
@@ -56,10 +56,10 @@ public:
void SetNewValue(G4UIcommand*, G4String);
private:
ExErrorDetectorConstruction* myDetector;
ExErrorDetectorConstruction* fMyDetector;
G4UIdirectory* mydetDir;
G4UIcmdWithADoubleAndUnit* FieldCmd;
G4UIdirectory* fMydetDir;
G4UIcmdWithADoubleAndUnit* fFieldCmd;
};
#endif
@@ -23,16 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// ------------------------------------------------------------
// GEANT 4 class header file
// ------------------------------------------------------------
//
// Class Description:
//
// A uniform 1 kilogauss field along the Z axis
//
// History:
// - Created: P. Arce May 2007
/// \file errorpropagation/include/ExErrorMagneticField.hh
/// \brief Definition of the ExErrorMagneticField class
//
#ifndef ExErrorMagneticField_H
@@ -42,7 +34,15 @@
class G4FieldManager;
/// Magnetic field class
///
/// A uniform 1 kilogauss field along the Z axis
///
/// History:
/// Created: May 2007
/// \author P. Arce
//------------------------------------------------------------------------
class ExErrorMagneticField: public G4UniformMagField
{
public: