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
@@ -0,0 +1,56 @@
//
// ********************************************************************
// * 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: ActionInitialization.hh 68058 2013-03-13 14:47:43Z gcosmo $
//
/// \file ActionInitialization.hh
/// \brief Definition of the ActionInitialization class
#ifndef ActionInitialization_h
#define ActionInitialization_h 1
#include "G4VUserActionInitialization.hh"
class DetectorConstruction;
/// Action initialization class.
///
class ActionInitialization : public G4VUserActionInitialization
{
public:
ActionInitialization(DetectorConstruction* detector);
virtual ~ActionInitialization();
virtual void BuildForMaster() const;
virtual void Build() const;
private:
DetectorConstruction* fDetector;
};
#endif
@@ -27,7 +27,7 @@
/// \brief Definition of the DetectorConstruction class
//
//
// $Id$
// $Id: DetectorConstruction.hh 77256 2013-11-22 10:10:23Z gcosmo $
//
//
@@ -53,7 +53,7 @@ class DetectorConstruction : public G4VUserDetectorConstruction
public:
DetectorConstruction();
~DetectorConstruction();
virtual ~DetectorConstruction();
public:
@@ -66,10 +66,8 @@ class DetectorConstruction : public G4VUserDetectorConstruction
void SetCalorSizeYZ(G4double);
void SetNbOfLayers (G4int);
G4VPhysicalVolume* Construct();
virtual G4VPhysicalVolume* Construct();
void UpdateGeometry();
public:
void PrintCalorParameters();
@@ -27,7 +27,7 @@
/// \brief Definition of the DetectorMessenger class
//
//
// $Id$
// $Id: DetectorMessenger.hh 77256 2013-11-22 10:10:23Z gcosmo $
//
//
@@ -53,12 +53,12 @@ class DetectorMessenger: public G4UImessenger
{
public:
DetectorMessenger(DetectorConstruction* );
~DetectorMessenger();
virtual ~DetectorMessenger();
void SetNewValue(G4UIcommand*, G4String);
virtual void SetNewValue(G4UIcommand*, G4String);
private:
DetectorConstruction* Detector;
DetectorConstruction* fDetector;
G4UIdirectory* fN03Dir;
G4UIdirectory* fDetDir;
@@ -68,7 +68,6 @@ class DetectorMessenger: public G4UImessenger
G4UIcmdWithADoubleAndUnit* fGapThickCmd;
G4UIcmdWithADoubleAndUnit* fSizeYZCmd;
G4UIcmdWithAnInteger* fNbLayersCmd;
G4UIcmdWithoutParameter* fUpdateCmd;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -27,7 +27,7 @@
/// \brief Definition of the EventAction class
//
//
// $Id$
// $Id: EventAction.hh 68015 2013-03-13 13:27:27Z gcosmo $
//
//
@@ -51,8 +51,8 @@ public:
EventAction(RunAction*, HistoManager*);
virtual ~EventAction();
void BeginOfEventAction(const G4Event*);
void EndOfEventAction(const G4Event*);
virtual void BeginOfEventAction(const G4Event*);
virtual void EndOfEventAction(const G4Event*);
void AddAbs(G4double de, G4double dl) {fEnergyAbs += de; fTrackLAbs += dl;};
void AddGap(G4double de, G4double dl) {fEnergyGap += de; fTrackLGap += dl;};
@@ -27,7 +27,7 @@
/// \brief Definition of the PhysicsList class
//
//
// $Id$
// $Id: PhysicsList.hh 68015 2013-03-13 13:27:27Z gcosmo $
//
//
@@ -49,10 +49,10 @@ public:
virtual ~PhysicsList();
// Construct particle and physics
void ConstructParticle();
void ConstructProcess();
virtual void ConstructParticle();
virtual void ConstructProcess();
void SetCuts();
virtual void SetCuts();
private:
@@ -27,7 +27,7 @@
/// \brief Definition of the PrimaryGeneratorAction class
//
//
// $Id$
// $Id: PrimaryGeneratorAction.hh 68015 2013-03-13 13:27:27Z gcosmo $
//
//
@@ -52,7 +52,7 @@ public:
PrimaryGeneratorAction(DetectorConstruction*);
virtual ~PrimaryGeneratorAction();
void GeneratePrimaries(G4Event*);
virtual void GeneratePrimaries(G4Event*);
private:
G4ParticleGun* fParticleGun; //pointer a to G4 class
@@ -27,7 +27,7 @@
/// \brief Definition of the RunAction class
//
//
// $Id$
// $Id: RunAction.hh 68015 2013-03-13 13:27:27Z gcosmo $
//
//
@@ -51,8 +51,8 @@ public:
RunAction(HistoManager*);
virtual ~RunAction();
void BeginOfRunAction(const G4Run*);
void EndOfRunAction(const G4Run*);
virtual void BeginOfRunAction(const G4Run*);
virtual void EndOfRunAction(const G4Run*);
void fillPerEvent(G4double, G4double, G4double, G4double);
@@ -27,7 +27,7 @@
/// \brief Definition of the SteppingAction class
//
//
// $Id$
// $Id: SteppingAction.hh 68015 2013-03-13 13:27:27Z gcosmo $
//
//
@@ -50,7 +50,7 @@ public:
SteppingAction(DetectorConstruction*, EventAction*);
virtual ~SteppingAction();
void UserSteppingAction(const G4Step*);
virtual void UserSteppingAction(const G4Step*);
private:
DetectorConstruction* fDetector;