Import Geant4 0.1.0 source tree
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# $Id: GNUmakefile,v 1.1 1998/10/14 15:18:56 allison Exp $
|
||||
# $Id: GNUmakefile,v 1.1 1999/01/07 16:05:17 gunter Exp $
|
||||
# --------------------------------------------------------------
|
||||
# GNUmakefile for tests module. Gabriele Cosmo, 27/06/98.
|
||||
# --------------------------------------------------------------
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$Id: History,v 1.1 1998/10/14 15:18:57 allison Exp $
|
||||
$Id: History,v 1.2 1999/04/17 04:06:40 kurasige Exp $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -14,6 +14,10 @@ track of all tags.
|
||||
----------------------------------------------------------
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
17 Apr., 1999 H.Kurashige
|
||||
- Modify SetCuts() and ConstructParticle() in ExE0101PhysicsList
|
||||
- Modify BeginOfRunAction() and EndOfRunAction() in ExE0101RunAction
|
||||
- Modify UserSteppingAction() in ExE0101SteppingAction
|
||||
|
||||
14th October 1998 John Allison
|
||||
- Moved from N07.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$Id: README,v 1.1 1998/10/14 15:18:57 allison Exp $
|
||||
$Id: README,v 1.1 1999/01/07 16:05:17 gunter Exp $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// $Id: exampleE01.cc,v 1.2 1998/12/08 16:37:23 allison Exp $
|
||||
// $Id: exampleE01.cc,v 1.1 1999/01/07 16:05:17 gunter Exp $
|
||||
|
||||
#include "ExE01DetectorConstruction.hh"
|
||||
#include "ExE01RunAction.hh"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// $Id: ExE01PhysicsList.hh,v 1.1 1998/10/14 15:19:38 allison Exp $
|
||||
// $Id: ExE01PhysicsList.hh,v 1.2 1999/04/17 04:06:41 kurasige Exp $
|
||||
// ------------------------------------------------------------
|
||||
#ifndef ExE01PhysicsList_h
|
||||
#define ExE01PhysicsList_h 1
|
||||
@@ -18,7 +18,7 @@ class ExE01PhysicsList: public G4VUserPhysicsList
|
||||
virtual void ConstructProcess();
|
||||
|
||||
//
|
||||
virtual void SetCuts(G4double cut);
|
||||
virtual void SetCuts();
|
||||
|
||||
protected:
|
||||
// these methods Construct particles
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// $Id: ExE01RunAction.hh,v 1.1 1998/10/14 15:19:39 allison Exp $
|
||||
// $Id: ExE01RunAction.hh,v 1.3 1999/04/22 21:49:17 asaim Exp $
|
||||
|
||||
#ifndef ExE01RunAction_h
|
||||
#define ExE01RunAction_h 1
|
||||
@@ -13,18 +13,16 @@ class G4Run;
|
||||
class ExE01RunAction : public G4UserRunAction
|
||||
{
|
||||
public:
|
||||
ExE01RunAction() { runIDcounter = 0; }
|
||||
~ExE01RunAction() {}
|
||||
ExE01RunAction() { }
|
||||
virtual ~ExE01RunAction() {}
|
||||
|
||||
void BeginOfRunAction(G4Run* aRun);
|
||||
void EndOfRunAction(G4Run* aRun);
|
||||
virtual void BeginOfRunAction(const G4Run* aRun);
|
||||
virtual void EndOfRunAction(const G4Run* aRun);
|
||||
|
||||
static HepRef(Histo1D) get_1d() { return myHisto1D; }
|
||||
static HepRef(Histo2D) Get2d() { return myHisto2D; }
|
||||
|
||||
private:
|
||||
G4int runIDcounter;
|
||||
|
||||
static HepRef(Histo1D) myHisto1D;
|
||||
static HepRef(Histo2D) myHisto2D;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// $Id: ExE01SteppingAction.hh,v 1.1 1998/10/14 15:19:40 allison Exp $
|
||||
// $Id: ExE01SteppingAction.hh,v 1.2 1999/04/17 04:06:43 kurasige Exp $
|
||||
|
||||
#ifndef ExE01SteppingAction_h
|
||||
#define ExE01SteppingAction_h 1
|
||||
@@ -16,9 +16,9 @@ class ExE01SteppingAction : public G4UserSteppingAction {
|
||||
|
||||
public:
|
||||
ExE01SteppingAction(){};
|
||||
~ExE01SteppingAction(){};
|
||||
virtual ~ExE01SteppingAction(){};
|
||||
|
||||
void UserSteppingAction();
|
||||
virtual void UserSteppingAction(const G4Step*);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// $Id: ExE01PhysicsList.cc,v 1.1 1998/10/14 15:20:10 allison Exp $
|
||||
// $Id: ExE01PhysicsList.cc,v 1.2 1999/04/17 04:06:46 kurasige Exp $
|
||||
|
||||
#include "globals.hh"
|
||||
#include "ExE01PhysicsList.hh"
|
||||
@@ -108,8 +108,9 @@ void ExE01PhysicsList::ConstructEM()
|
||||
}
|
||||
}
|
||||
|
||||
void ExE01PhysicsList::SetCuts(G4double cut)
|
||||
void ExE01PhysicsList::SetCuts()
|
||||
{
|
||||
G4double cut = defaultCutValue;
|
||||
if (verboseLevel >0){
|
||||
G4cout << "ExE01PhysicsList::SetCuts:";
|
||||
G4cout << "CutLength : " << cut/mm << " (mm)" << endl;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// $Id: ExE01RunAction.cc,v 1.1 1998/10/14 15:20:12 allison Exp $
|
||||
// $Id: ExE01RunAction.cc,v 1.3 1999/04/22 21:49:21 asaim Exp $
|
||||
|
||||
#include "ExE01RunAction.hh"
|
||||
#include "G4Run.hh"
|
||||
@@ -8,10 +8,8 @@
|
||||
HepRef(Histo1D) ExE01RunAction::myHisto1D;
|
||||
HepRef(Histo2D) ExE01RunAction::myHisto2D;
|
||||
|
||||
void ExE01RunAction::BeginOfRunAction(G4Run* aRun)
|
||||
void ExE01RunAction::BeginOfRunAction(const G4Run* aRun)
|
||||
{
|
||||
aRun->SetRunID(runIDcounter++);
|
||||
|
||||
G4UImanager* UI = G4UImanager::GetUIpointer();
|
||||
UI->ApplyCommand("/event/Verbose 0");
|
||||
UI->ApplyCommand("/tracking/Verbose 0");
|
||||
@@ -36,7 +34,7 @@ void ExE01RunAction::BeginOfRunAction(G4Run* aRun)
|
||||
Histo2D("HepJamesVsDRand48", nBins2d, xlow, xhigh, nBins2d, ylow, yhigh);
|
||||
}
|
||||
|
||||
void ExE01RunAction::EndOfRunAction(G4Run* aRun)
|
||||
void ExE01RunAction::EndOfRunAction(const G4Run*)
|
||||
{
|
||||
// Print histograms
|
||||
HistPrintout p(G4cout);
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// $Id: ExE01SteppingAction.cc,v 1.1 1998/10/14 15:20:14 allison Exp $
|
||||
// $Id: ExE01SteppingAction.cc,v 1.2 1999/04/17 04:06:49 kurasige Exp $
|
||||
|
||||
#include "ExE01SteppingAction.hh"
|
||||
#include "ExE01RunAction.hh"
|
||||
|
||||
void ExE01SteppingAction::UserSteppingAction(){
|
||||
void ExE01SteppingAction::UserSteppingAction(const G4Step*){
|
||||
|
||||
HepRef(Histo1D) h1 = ExE01RunAction::get_1d();
|
||||
HepRef(Histo2D) h2 = ExE01RunAction::Get2d();
|
||||
|
||||
Reference in New Issue
Block a user