Import Geant4 0.1.0 source tree
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: ExN05CalorimeterHit.cc,v 2.2 1998/07/13 16:34:05 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: ExN05CalorimeterHit.cc,v 1.1 1999/01/07 16:06:15 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
|
||||
#include "ExN05CalorimeterHit.hh"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: ExN05CalorimeterSD.cc,v 2.6 1998/12/11 19:14:06 verderi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: ExN05CalorimeterSD.cc,v 1.1 1999/01/07 16:06:15 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
|
||||
#include "ExN05CalorimeterSD.hh"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: ExN05DetectorConstruction.cc,v 2.8 1998/12/14 16:58:12 sadilov Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: ExN05DetectorConstruction.cc,v 1.1 1999/01/07 16:06:16 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
#include "ExN05DetectorConstruction.hh"
|
||||
#include "ExN05CalorimeterSD.hh"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: ExN05DetectorMessenger.cc,v 2.1 1998/08/14 08:21:21 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: ExN05DetectorMessenger.cc,v 1.1 1999/01/07 16:06:16 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.cc,v 2.4 1998/12/10 04:07:39 verderi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: ExN05EMShowerModel.cc,v 1.1 1999/01/07 16:06:16 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
#include "ExN05EMShowerModel.hh"
|
||||
#include "ExN05EnergySpot.hh"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: ExN05EnergySpot.cc,v 2.3 1998/12/10 04:11:29 verderi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: ExN05EnergySpot.cc,v 1.1 1999/01/07 16:06:17 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
#include "ExN05EnergySpot.hh"
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: ExN05EventAction.cc,v 2.7 1998/12/11 19:14:07 verderi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: ExN05EventAction.cc,v 1.2 1999/04/16 12:05:02 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
|
||||
#include "ExN05EventAction.hh"
|
||||
@@ -34,7 +34,7 @@ ExN05EventAction::ExN05EventAction()
|
||||
ExN05EventAction::~ExN05EventAction()
|
||||
{;}
|
||||
|
||||
void ExN05EventAction::BeginOfEventAction()
|
||||
void ExN05EventAction::BeginOfEventAction(const G4Event*)
|
||||
{
|
||||
if(drawFlag)
|
||||
{
|
||||
@@ -46,16 +46,14 @@ void ExN05EventAction::BeginOfEventAction()
|
||||
}
|
||||
}
|
||||
|
||||
void ExN05EventAction::EndOfEventAction()
|
||||
void ExN05EventAction::EndOfEventAction(const G4Event* evt )
|
||||
{
|
||||
G4SDManager * SDman = G4SDManager::GetSDMpointer();
|
||||
G4String colNam;
|
||||
calorimeterCollID = SDman->GetCollectionID(colNam="CalCollection");
|
||||
hadCalorimeterCollID = SDman->GetCollectionID(colNam="HadCollection");
|
||||
|
||||
const G4Event* evt = fpEventManager->GetConstCurrentEvent();
|
||||
|
||||
G4cout << ">>> Event " << evt->GetEventID() << endl;
|
||||
G4cout << ">>> Event " << evt->GetEventID() << endl;
|
||||
|
||||
G4HCofThisEvent * HCE = evt->GetHCofThisEvent();
|
||||
ExN05CalorimeterHitsCollection* CaloHC = NULL;
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: ExN05EventActionMessenger.cc,v 2.1 1998/07/12 02:42:25 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: ExN05EventActionMessenger.cc,v 1.1 1999/01/07 16:06:17 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
|
||||
#include "ExN05EventActionMessenger.hh"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: ExN05MaxTimeCuts.cc,v 2.3 1998/08/16 14:09:55 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: ExN05MaxTimeCuts.cc,v 1.1 1999/01/07 16:06:17 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: ExN05MinEkineCuts.cc,v 2.3 1998/08/16 14:09:56 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: ExN05MinEkineCuts.cc,v 1.1 1999/01/07 16:06:17 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: ExN05MinRangeCuts.cc,v 2.3 1998/08/16 14:09:56 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: ExN05MinRangeCuts.cc,v 1.1 1999/01/07 16:06:17 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: ExN05PhysicsList.cc,v 2.7 1998/12/10 04:11:43 verderi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: ExN05PhysicsList.cc,v 1.3 1999/04/23 04:43:32 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
//
|
||||
|
||||
@@ -99,9 +99,8 @@ void ExN05PhysicsList::ConstructProcess()
|
||||
{
|
||||
AddTransportation();
|
||||
AddParameterisation();
|
||||
|
||||
ConstructEM();
|
||||
ConstructLeptHad();
|
||||
ConstructHad();
|
||||
ConstructGeneral();
|
||||
}
|
||||
|
||||
@@ -234,11 +233,6 @@ void ExN05PhysicsList::ConstructEM()
|
||||
}
|
||||
}
|
||||
|
||||
void ExN05PhysicsList::ConstructHad()
|
||||
{;}
|
||||
|
||||
void ExN05PhysicsList::ConstructLeptHad()
|
||||
{;}
|
||||
|
||||
#include "G4Decay.hh"
|
||||
void ExN05PhysicsList::ConstructGeneral()
|
||||
@@ -274,29 +268,14 @@ void ExN05PhysicsList::AddParameterisation()
|
||||
}
|
||||
}
|
||||
|
||||
void ExN05PhysicsList::SetCuts(G4double cut)
|
||||
void ExN05PhysicsList::SetCuts()
|
||||
{
|
||||
if (verboseLevel >0){
|
||||
if (verboseLevel >1){
|
||||
G4cout << "ExN05PhysicsList::SetCuts:";
|
||||
G4cout << "CutLength : " << cut/mm << " (mm)" << endl;
|
||||
}
|
||||
|
||||
// set cut values for gamma at first and for e- second and next for e+,
|
||||
// because some processes for e+/e- need cut values for gamma
|
||||
SetCutValue(cut, "gamma");
|
||||
SetCutValue(cut, "e-");
|
||||
SetCutValue(cut, "e+");
|
||||
|
||||
// set cut values for proton and anti_proton before all other hadrons
|
||||
// because some processes for hadrons need cut values for proton/anti_proton
|
||||
SetCutValue(cut, "proton");
|
||||
SetCutValue(cut, "anti_proton");
|
||||
|
||||
SetCutValueForOthers(cut);
|
||||
|
||||
if (verboseLevel>1) {
|
||||
DumpCutValuesTable();
|
||||
}
|
||||
// " G4VUserPhysicsList::SetCutsWithDefault" method sets
|
||||
// the default cut value for all particle types
|
||||
SetCutsWithDefault();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: ExN05PiModel.cc,v 2.3 1998/09/07 15:12:32 mora Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: ExN05PiModel.cc,v 1.1 1999/01/07 16:06:18 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
#include "ExN05PiModel.hh"
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: ExN05PionShowerModel.cc,v 2.1 1998/12/10 04:05:54 verderi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: ExN05PionShowerModel.cc,v 1.1 1999/01/07 16:06:18 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
#include "ExN05PionShowerModel.hh"
|
||||
#include "ExN05EnergySpot.hh"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: ExN05PrimaryGeneratorAction.cc,v 2.1 1998/07/12 02:42:27 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: ExN05PrimaryGeneratorAction.cc,v 1.1 1999/01/07 16:06:18 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
|
||||
#include "ExN05PrimaryGeneratorAction.hh"
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: ExN05RunAction.cc,v 2.2 1998/07/13 16:34:16 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: ExN05RunAction.cc,v 1.3 1999/04/22 21:45:27 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
|
||||
#include "ExN05RunAction.hh"
|
||||
@@ -18,7 +18,6 @@
|
||||
ExN05RunAction::ExN05RunAction()
|
||||
{
|
||||
timer = new G4Timer;
|
||||
runIDcounter = 0;
|
||||
}
|
||||
|
||||
ExN05RunAction::~ExN05RunAction()
|
||||
@@ -26,15 +25,13 @@ ExN05RunAction::~ExN05RunAction()
|
||||
delete timer;
|
||||
}
|
||||
|
||||
void ExN05RunAction::BeginOfRunAction(G4Run* aRun)
|
||||
void ExN05RunAction::BeginOfRunAction(const G4Run* aRun)
|
||||
{
|
||||
aRun->SetRunID(runIDcounter++);
|
||||
|
||||
G4cout << "### Run " << aRun->GetRunID() << " start." << endl;
|
||||
// timer->Start();
|
||||
}
|
||||
|
||||
void ExN05RunAction::EndOfRunAction(G4Run* aRun)
|
||||
void ExN05RunAction::EndOfRunAction(const G4Run* aRun)
|
||||
{
|
||||
timer->Stop();
|
||||
G4cout << "number of event = " << aRun->GetNumberOfEvent() << endl;
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: ExN05SpecialCuts.cc,v 2.3 1998/08/16 14:09:57 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: ExN05SpecialCuts.cc,v 1.2 1999/06/09 10:33:18 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -31,6 +31,10 @@ ExN05SpecialCuts::ExN05SpecialCuts(const G4String& aName)
|
||||
}
|
||||
}
|
||||
|
||||
ExN05SpecialCuts::~ExN05SpecialCuts()
|
||||
{
|
||||
}
|
||||
|
||||
G4VParticleChange* ExN05SpecialCuts::PostStepDoIt(
|
||||
const G4Track& aTrack,
|
||||
const G4Step&
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: ExN05SteppingAction.cc,v 2.0 1998/07/02 14:10:07 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: ExN05SteppingAction.cc,v 1.2 1999/04/16 12:05:05 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
|
||||
#include "ExN05SteppingAction.hh"
|
||||
@@ -24,14 +24,14 @@ ExN05SteppingAction::ExN05SteppingAction()
|
||||
new ExN05SteppingActionMessenger(this);
|
||||
}
|
||||
|
||||
void ExN05SteppingAction::UserSteppingAction()
|
||||
void ExN05SteppingAction::UserSteppingAction(const G4Step*)
|
||||
{
|
||||
if(drawFlag)
|
||||
{
|
||||
G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();
|
||||
|
||||
if (pVVisManager) {
|
||||
const G4SteppingManager* pSM = GetSteppingManager();
|
||||
const G4SteppingManager* pSM = fpSteppingManager;
|
||||
G4Polyline polyline;
|
||||
|
||||
G4double charge = pSM->GetTrack()->GetDefinition()->GetPDGCharge();
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: ExN05SteppingActionMessenger.cc,v 2.2 1998/07/15 12:41:22 verderi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: ExN05SteppingActionMessenger.cc,v 1.1 1999/01/07 16:06:19 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
|
||||
#include "ExN05SteppingActionMessenger.hh"
|
||||
|
||||
Reference in New Issue
Block a user