Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 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.
|
||||
//
|
||||
|
||||
#ifndef ExN06DetectorConstruction_h
|
||||
#define ExN06DetectorConstruction_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4VUserDetectorConstruction.hh"
|
||||
|
||||
class ExN06DetectorConstruction : public G4VUserDetectorConstruction
|
||||
{
|
||||
public:
|
||||
|
||||
ExN06DetectorConstruction();
|
||||
~ExN06DetectorConstruction();
|
||||
|
||||
public:
|
||||
|
||||
G4VPhysicalVolume* Construct();
|
||||
|
||||
private:
|
||||
|
||||
G4double expHall_x;
|
||||
G4double expHall_y;
|
||||
G4double expHall_z;
|
||||
|
||||
G4double tank_x;
|
||||
G4double tank_y;
|
||||
G4double tank_z;
|
||||
|
||||
G4double bubble_x;
|
||||
G4double bubble_y;
|
||||
G4double bubble_z;
|
||||
|
||||
};
|
||||
|
||||
#endif /*ExN06DetectorConstruction_h*/
|
||||
@@ -0,0 +1,44 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 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.
|
||||
//
|
||||
|
||||
#ifndef ExN06PhysicsList_h
|
||||
#define ExN06PhysicsList_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4VUserPhysicsList.hh"
|
||||
|
||||
class ExN06PhysicsList : public G4VUserPhysicsList
|
||||
{
|
||||
public:
|
||||
ExN06PhysicsList();
|
||||
virtual ~ExN06PhysicsList();
|
||||
|
||||
protected:
|
||||
// Construct particles and processes
|
||||
virtual void ConstructParticle();
|
||||
virtual void ConstructProcess();
|
||||
|
||||
//
|
||||
virtual void SetCuts(G4double aCut);
|
||||
|
||||
protected:
|
||||
// these methods Construct particles
|
||||
virtual void ConstructBosons();
|
||||
virtual void ConstructLeptons();
|
||||
virtual void ConstructMesons();
|
||||
virtual void ConstructBarions();
|
||||
|
||||
protected:
|
||||
// these methods Construct physics processes and register them
|
||||
virtual void ConstructGeneral();
|
||||
virtual void ConstructEM();
|
||||
virtual void ConstructOp();
|
||||
|
||||
};
|
||||
|
||||
#endif /* ExN06PhysicsList_h */
|
||||
@@ -0,0 +1,33 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 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.
|
||||
//
|
||||
|
||||
#ifndef ExN06PrimaryGeneratorAction_h
|
||||
#define ExN06PrimaryGeneratorAction_h 1
|
||||
|
||||
#include "G4VUserPrimaryGeneratorAction.hh"
|
||||
|
||||
class G4ParticleGun;
|
||||
class G4Event;
|
||||
|
||||
class ExN06PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
|
||||
{
|
||||
public:
|
||||
|
||||
ExN06PrimaryGeneratorAction();
|
||||
~ExN06PrimaryGeneratorAction();
|
||||
|
||||
public:
|
||||
|
||||
void GeneratePrimaries(G4Event* anEvent);
|
||||
|
||||
private:
|
||||
|
||||
G4ParticleGun* particleGun;
|
||||
};
|
||||
|
||||
#endif /*ExN06PrimaryGeneratorAction_h*/
|
||||
@@ -0,0 +1,36 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 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.
|
||||
//
|
||||
|
||||
#ifndef ExN06RunAction_h
|
||||
#define ExN06RunAction_h 1
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4Timer.hh"
|
||||
#include "G4UserRunAction.hh"
|
||||
|
||||
class G4Run;
|
||||
|
||||
class ExN06RunAction : public G4UserRunAction
|
||||
{
|
||||
public:
|
||||
|
||||
ExN06RunAction();
|
||||
~ExN06RunAction();
|
||||
|
||||
public:
|
||||
|
||||
void BeginOfRunAction(G4Run* aRun);
|
||||
void EndOfRunAction(G4Run* aRun);
|
||||
|
||||
private:
|
||||
|
||||
G4Timer* timer;
|
||||
G4int runIDcounter;
|
||||
};
|
||||
|
||||
#endif /*ExN06RunAction_h*/
|
||||
Reference in New Issue
Block a user