Import Geant4 0.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:09:25 +02:00
parent b97f8d0df7
commit aaa409b6ee
2922 changed files with 55107 additions and 81674 deletions
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: ExN05CalorimeterHit.hh,v 2.2 1998/07/12 02:42:10 urbi Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: ExN05CalorimeterHit.hh,v 1.2 1999/05/19 09:50:30 fbehner Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#ifndef ExN05CalorimeterHit_h
@@ -34,6 +34,10 @@ class ExN05CalorimeterHit : public G4VHit
inline void *operator new(size_t);
inline void operator delete(void *aHit);
void *operator new(size_t,void*p){return p;}
#ifndef G4NOT_ISO_DELETES
void operator delete(void *aHit,void*){}
#endif
void Draw();
void Print();
@@ -83,3 +87,4 @@ inline void ExN05CalorimeterHit::operator delete(void *aHit)
#endif
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: ExN05CalorimeterSD.hh,v 2.4 1998/12/11 19:14:02 verderi Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: ExN05CalorimeterSD.hh,v 1.1 1999/01/07 16:06:11 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#ifndef ExN05CalorimeterSD_h
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: ExN05DetectorConstruction.hh,v 2.3 1998/12/10 04:11:02 verderi Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: ExN05DetectorConstruction.hh,v 1.1 1999/01/07 16:06:11 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#ifndef ExN05DetectorConstruction_h
#define ExN05DetectorConstruction_h 1
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: ExN05DetectorMessenger.hh,v 2.1 1998/08/14 08:21:17 kurasige Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: ExN05DetectorMessenger.hh,v 1.1 1999/01/07 16:06:11 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: ExN05EMShowerModel.hh,v 2.1 1998/12/10 04:07:36 verderi Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: ExN05EMShowerModel.hh,v 1.1 1999/01/07 16:06:12 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
//----------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: ExN05EnergySpot.hh,v 2.2 1998/12/10 04:11:07 verderi Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: ExN05EnergySpot.hh,v 1.1 1999/01/07 16:06:12 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#ifndef ExN05EnergySpot_h
#define ExN05EnergySpot_h
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: ExN05EventAction.hh,v 2.2 1998/12/10 04:11:11 verderi Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: ExN05EventAction.hh,v 1.2 1999/04/16 12:04:57 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#ifndef ExN05EventAction_h
@@ -21,11 +21,11 @@ class ExN05EventAction : public G4UserEventAction
{
public:
ExN05EventAction();
~ExN05EventAction();
virtual ~ExN05EventAction();
public:
void BeginOfEventAction();
void EndOfEventAction();
virtual void BeginOfEventAction(const G4Event*);
virtual void EndOfEventAction(const G4Event*);
private:
G4int calorimeterCollID;
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: ExN05EventActionMessenger.hh,v 2.1 1998/07/12 02:42:14 urbi Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: ExN05EventActionMessenger.hh,v 1.1 1999/01/07 16:06:12 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#ifndef ExN05EventActionMessenger_h
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: ExN05MaxTimeCuts.hh,v 2.2 1998/08/16 14:09:50 kurasige Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: ExN05MaxTimeCuts.hh,v 1.2 1999/06/09 10:33:06 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// ------------------------------------------------------------
@@ -32,7 +32,7 @@ class ExN05MaxTimeCuts : public ExN05SpecialCuts
ExN05MaxTimeCuts(const G4String& processName ="ExN05MaxTimeCuts" );
~ExN05MaxTimeCuts();
virtual ~ExN05MaxTimeCuts();
// PostStep GPIL
virtual G4double PostStepGetPhysicalInteractionLength(
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: ExN05MinEkineCuts.hh,v 2.2 1998/08/16 14:09:51 kurasige Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: ExN05MinEkineCuts.hh,v 1.2 1999/06/09 10:33:07 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// ------------------------------------------------------------
@@ -32,7 +32,7 @@ class ExN05MinEkineCuts : public ExN05SpecialCuts
ExN05MinEkineCuts(const G4String& processName ="ExN05MinEkineCuts" );
~ExN05MinEkineCuts();
virtual ~ExN05MinEkineCuts();
// PostStep GPIL
virtual G4double PostStepGetPhysicalInteractionLength(
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: ExN05MinRangeCuts.hh,v 2.2 1998/08/16 14:09:51 kurasige Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: ExN05MinRangeCuts.hh,v 1.2 1999/06/09 10:33:08 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// ------------------------------------------------------------
@@ -32,7 +32,7 @@ class ExN05MinRangeCuts : public ExN05SpecialCuts
ExN05MinRangeCuts(const G4String& processName ="ExN05MinRangeCuts" );
~ExN05MinRangeCuts();
virtual ~ExN05MinRangeCuts();
// PostStep GPIL
virtual G4double PostStepGetPhysicalInteractionLength(
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: ExN05PhysicsList.hh,v 2.2 1998/08/14 08:21:17 kurasige Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: ExN05PhysicsList.hh,v 1.3 1999/04/23 04:43:12 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
#ifndef ExN05PhysicsList_h
@@ -27,7 +27,7 @@ protected:
virtual void ConstructProcess();
//
virtual void SetCuts(G4double aCut);
virtual void SetCuts();
protected:
// these methods Construct particles
@@ -40,10 +40,10 @@ protected:
protected:
// these methods Construct physics processes and register them
void AddParameterisation();
virtual void ConstructGeneral();
virtual void ConstructEM();
virtual void ConstructHad();
virtual void ConstructLeptHad();
virtual void AddTransportation();
};
+2 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: ExN05PiModel.hh,v 2.0 1998/07/02 14:09:18 gunter Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: ExN05PiModel.hh,v 1.1 1999/01/07 16:06:14 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
//----------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: ExN05PionShowerModel.hh,v 2.1 1998/12/10 04:05:49 verderi Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: ExN05PionShowerModel.hh,v 1.1 1999/01/07 16:06:14 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
//----------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: ExN05PrimaryGeneratorAction.hh,v 2.1 1998/07/12 02:42:16 urbi Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: ExN05PrimaryGeneratorAction.hh,v 1.1 1999/01/07 16:06:14 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#ifndef ExN05PrimaryGeneratorAction_h
@@ -5,16 +5,16 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: ExN05RunAction.hh,v 2.1 1998/07/12 02:42:16 urbi Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: ExN05RunAction.hh,v 1.4 1999/05/28 12:55:34 stesting Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#ifndef ExN05RunAction_h
#define ExN05RunAction_h 1
#include "G4UserRunAction.hh"
#include "G4Timer.hh"
#include "globals.hh"
#include "G4UserRunAction.hh"
class G4Run;
@@ -25,12 +25,11 @@ class ExN05RunAction : public G4UserRunAction
~ExN05RunAction();
public:
void BeginOfRunAction(G4Run* aRun);
void EndOfRunAction(G4Run* aRun);
void BeginOfRunAction(const G4Run* aRun);
void EndOfRunAction(const G4Run* aRun);
private:
G4Timer* timer;
G4int runIDcounter;
};
#endif
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: ExN05SpecialCuts.hh,v 2.3 1998/08/16 14:09:52 kurasige Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: ExN05SpecialCuts.hh,v 1.2 1999/06/09 10:33:08 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// ------------------------------------------------------------
@@ -32,7 +32,7 @@ class ExN05SpecialCuts : public G4VProcess
ExN05SpecialCuts(const G4String& processName ="ExN05SpecialCut" );
~ExN05SpecialCuts(){};
virtual ~ExN05SpecialCuts();
virtual G4double PostStepGetPhysicalInteractionLength(
const G4Track& track,
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: ExN05SteppingAction.hh,v 2.1 1998/07/12 02:42:17 urbi Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: ExN05SteppingAction.hh,v 1.2 1999/04/16 12:05:00 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#ifndef ExN05SteppingAction_h
@@ -19,9 +19,9 @@ class ExN05SteppingAction : public G4UserSteppingAction
{
public:
ExN05SteppingAction();
~ExN05SteppingAction(){};
virtual ~ExN05SteppingAction(){};
void UserSteppingAction();
virtual void UserSteppingAction(const G4Step*);
private:
G4bool drawFlag;
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: ExN05SteppingActionMessenger.hh,v 2.1 1998/07/12 02:42:18 urbi Exp $
// GEANT4 tag $Name: geant4-00 $
// $Id: ExN05SteppingActionMessenger.hh,v 1.1 1999/01/07 16:06:15 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#ifndef ExN05SteppingActionMessenger_h