Import Geant4 5.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:28:22 +02:00
parent fbd4999cf7
commit 4aea781e80
5454 changed files with 223141 additions and 67347 deletions
@@ -1,4 +1,4 @@
$Id: History,v 1.28 2003/03/27 11:16:16 maire Exp $
$Id: History,v 1.32 2003/06/18 09:31:54 gcosmo Exp $
-------------------------------------------------------------------
=========================================================
@@ -14,7 +14,20 @@ track of all tags.
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
18-06-03 G.Cosmo (testem1-V05-01-03)
- Em1RunAction.cc: removed usage of G4USE_STD_NAMESPACE after
migration from G4std.
03-06-03 V.Ivanchenko (testem1-V05-01-02)
- Fix compilation warnings
15-05-03 V.Ivanchenko (testem1-V05-01-01)
- Proper deletion of old geometry when it is updated
09-05-03 V.Ivant (testem1-V05-01-00)
- change updated command
27-03-03 mma (testem1-V05-00-05)
- modular physics list
@@ -22,7 +35,7 @@ track of all tags.
11-03-03 V.Ivant (testem1-V05-00-03)
- Remove all old interfaces to cuts
- Add definition of mean excitation energy for water
- Add definition of mean excitation energy for water
06-03-03 mma (testem1-V05-00-02)
- PhysicsList::SetCuts : suppress cutForProton
@@ -22,7 +22,7 @@
//
//
// $Id: TestEm1.cc,v 1.8 2001/12/07 11:49:08 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -1,4 +1,4 @@
# $Id: TestEm1.in,v 1.9 2003/03/26 17:49:54 vnivanch Exp $
# $Id: TestEm1.in,v 1.12 2003/06/03 09:59:55 vnivanch Exp $
#
# Macro file for "TestEm1.cc"
# (can be run in batch, without graphic)
@@ -10,10 +10,12 @@
#
/testem/phys/setGCut 2.20 mm
/testem/phys/setECut 6.05 mum
/testem/phys/setPCut 6.05 mum
#
/run/initialize
#
/process/eLoss/StepFunction 0.183 170 micrometer
/process/eLoss/StepFunction 0.183 1.70 micrometer
#/process/eLoss/integral false
#
/run/verbose 2
#
@@ -1,6 +1,6 @@
**********************************************
Geant4 version $Name: geant4-05-01 $
(30-Apr-2003)
Geant4 version $Name: geant4-05-02 $
(27-June-2003)
Copyright : Geant4 Collaboration
**********************************************
G4Material: Mean excitation energy is changed for Water Iold= 70.8926eV; Inew= 75 eV;
@@ -61,6 +61,7 @@ Current available graphics systems are:
#
/testem/phys/setGCut 2.20 mm
/testem/phys/setECut 6.05 mum
/testem/phys/setPCut 6.05 mum
#
/run/initialize
@@ -69,7 +70,8 @@ Current available graphics systems are:
phot: Total cross sections from Sandia parametrisation.
Em1PhysicsList::SetCuts:CutLength : 1 mm
#
/process/eLoss/StepFunction 0.183 170 micrometer
/process/eLoss/StepFunction 0.183 1.70 micrometer
#/process/eLoss/integral false
#
/run/verbose 2
#
@@ -93,7 +95,7 @@ msc: Tables of transport mean free paths.
eIoni: delta cross sections from Moller+Bhabha. Good description from 1 KeV to 100 GeV.
delta ray energy sampled from differential Xsection.
PhysicsTables from 1 keV to 100 TeV in 100 bins.
Step function: finalRange(mm)= 0.17, dRoverRange= 0.183
Step function: finalRange(mm)= 0.0017, dRoverRange= 0.183
eBrem: Total cross sections from a NEW parametrisation based on the EEDL data library.
Good description from 1 KeV to 100 GeV.
@@ -114,7 +116,7 @@ hIoni: Knock-on electron cross sections .
Good description above the mean excitation energy.
delta ray energy sampled from differential Xsection.
PhysicsTables from 1 keV to 100 TeV in 100 bins.
Step function: finalRange(mm)= 0.17, dRoverRange= 0.183
Step function: finalRange(mm)= 0.0017, dRoverRange= 0.183
msc: Tables of transport mean free paths.
New model of MSC , computes the lateral
@@ -138,8 +140,8 @@ MuPairProd: theoretical cross sections
Index : 0 used in the geometry : Yes recalculation needed : No
Material : Aluminium
Range cuts : gamma 2.2 mm e- 6.05 mum e+ 1 mm
Energy thresholds : gamma 9.98636 keV e- 9.96618 keV e+ 568.011 keV
Range cuts : gamma 2.2 mm e- 6.05 mum e+ 6.05 mum
Energy thresholds : gamma 9.98636 keV e- 9.96618 keV e+ 9.96618 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -162,18 +164,18 @@ Start Run processing.
Run terminated.
Run Summary
Number of events processed : 100
User=19s Real=30s Sys=5.6s
User=29s Real=44s Sys=11s
nb tracks/event neutral: 27.9700 charged: 706.0200
nb steps/event neutral: 151.6800 charged: 2246.3000
nb tracks/event neutral: 27.9700 charged: 701.2500
nb steps/event neutral: 147.2700 charged: 3376.9000
nb of process calls per event:
eIoni eBrem compt phot conv annihil
2219.7900 25.0300 123.7100 26.4900 1.4800 1.4800
3350.4700 24.8800 119.3000 26.4200 1.5500 1.5500
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 224687272, 1952306832
Current couple of seeds = 1487975150, 725420439
----------------------------------------
Graphics systems deleted.
Visualization Manager deleting...
@@ -22,7 +22,7 @@
//
//
// $Id: Em1DetectorConstruction.hh,v 1.5 2001/12/07 11:49:09 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em1DetectorMessenger.hh,v 1.5 2002/12/11 14:19:22 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em1EventAction.hh,v 1.5 2001/11/29 11:28:07 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em1EventActionMessenger.hh,v 1.4 2001/10/26 12:51:23 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em1PhysListEmModel.hh,v 1.1 2003/03/27 11:16:18 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -22,7 +22,7 @@
//
//
// $Id: Em1PhysListEmStandard.hh,v 1.1 2003/03/27 11:16:18 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -22,7 +22,7 @@
//
//
// $Id: Em1PhysListGeneral.hh,v 1.1 2003/03/27 11:16:18 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -22,7 +22,7 @@
//
//
// $Id: Em1PhysListParticles.hh,v 1.1 2003/03/27 11:16:19 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -22,7 +22,7 @@
//
//
// $Id: Em1PhysicsList.hh,v 1.7 2003/03/27 11:16:19 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em1PhysicsListMessenger.hh,v 1.7 2003/03/27 11:16:19 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em1PrimaryGeneratorAction.hh,v 1.5 2001/12/07 11:49:09 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em1PrimaryGeneratorMessenger.hh,v 1.1 2001/12/07 11:49:09 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em1RunAction.hh,v 1.10 2002/12/11 14:19:22 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em1SteppingAction.hh,v 1.4 2001/10/26 12:51:24 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em1SteppingVerbose.hh,v 1.7 2001/10/26 12:51:24 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// This class manages the verbose outputs in G4SteppingManager.
// It inherits from G4SteppingVerbose.
@@ -22,7 +22,7 @@
//
//
// $Id: Em1TrackingAction.hh,v 1.4 2001/10/26 12:51:24 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -22,7 +22,7 @@
//
//
// $Id: Em1VisManager.hh,v 1.4 2001/10/26 12:51:24 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: ProcessesCount.hh,v 1.7 2001/10/26 12:51:24 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: ProcessesCount.hh,v 1.8 2003/06/16 16:47:30 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -36,7 +36,7 @@
#define ProcessesCount_HH
#include "globals.hh"
#include "g4std/vector"
#include <vector>
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -58,7 +58,7 @@ private:
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
typedef G4std::vector<OneProcessCount*> ProcessesCount;
typedef std::vector<OneProcessCount*> ProcessesCount;
#endif
@@ -22,8 +22,8 @@
//
//
// $Id: Em1DetectorConstruction.cc,v 1.13 2003/03/27 11:16:20 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: Em1DetectorConstruction.cc,v 1.15 2003/05/16 16:56:52 vnivanch Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -41,6 +41,10 @@
#include "G4FieldManager.hh"
#include "G4TransportationManager.hh"
#include "G4PhysicalVolumeStore.hh"
#include "G4LogicalVolumeStore.hh"
#include "G4SolidStore.hh"
#include "G4RunManager.hh"
#include "G4VisAttributes.hh"
@@ -163,8 +167,11 @@ void Em1DetectorConstruction::DefineMaterials()
G4VPhysicalVolume* Em1DetectorConstruction::ConstructVolumes()
{
if(lBox) delete lBox;
if(pBox) delete pBox;
// Cleanup old geometry
G4PhysicalVolumeStore::GetInstance()->Clean();
G4LogicalVolumeStore::GetInstance()->Clean();
G4SolidStore::GetInstance()->Clean();
G4Box*
sBox = new G4Box("Container", //its name
BoxSize/2,BoxSize/2,BoxSize/2); //its dimensions
@@ -251,13 +258,7 @@ void Em1DetectorConstruction::SetMagField(G4double fieldValue)
void Em1DetectorConstruction::UpdateGeometry()
{
G4bool first = true;
if (pBox) first = false;
G4VPhysicalVolume* v = ConstructVolumes();
G4RunManager* rm = G4RunManager::GetRunManager();
rm->GeometryHasBeenModified();
rm->DefineWorldVolume(v);
if (!first) rm->ResetNavigator();
G4RunManager::GetRunManager()->DefineWorldVolume(ConstructVolumes());
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -22,7 +22,7 @@
//
//
// $Id: Em1DetectorMessenger.cc,v 1.6 2002/12/11 14:19:23 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em1EventAction.cc,v 1.6 2001/11/29 11:28:07 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: Em1EventAction.cc,v 1.7 2003/06/03 09:59:55 vnivanch Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -72,15 +72,15 @@ void Em1EventAction::BeginOfEventAction(const G4Event* evt)
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void Em1EventAction::EndOfEventAction(const G4Event* evt)
void Em1EventAction::EndOfEventAction(const G4Event*)
{
if (drawFlag != "none") G4cout << " Energy deposit: "
if (drawFlag != "none") G4cout << " Energy deposit: "
<< G4BestUnit(TotalEnergyDeposit,"Energy")
<< G4endl;
if (G4VVisManager::GetConcreteInstance())
{
const G4Event* evt = fpEventManager->GetConstCurrentEvent();
const G4Event* evt = fpEventManager->GetConstCurrentEvent();
G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();
G4int n_trajectories = 0;
if (trajectoryContainer) n_trajectories = trajectoryContainer->entries();
@@ -22,7 +22,7 @@
//
//
// $Id: Em1EventActionMessenger.cc,v 1.6 2002/12/11 14:19:23 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em1PhysListEmModel.cc,v 1.1 2003/03/27 11:16:20 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -22,7 +22,7 @@
//
//
// $Id: Em1PhysListEmStandard.cc,v 1.1 2003/03/27 11:16:20 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -22,7 +22,7 @@
//
//
// $Id: Em1PhysListGeneral.cc,v 1.1 2003/03/27 11:16:20 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -22,7 +22,7 @@
//
//
// $Id: Em1PhysListParticles.cc,v 1.1 2003/03/27 11:16:20 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em1PhysicsList.cc,v 1.11 2003/03/27 11:16:20 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: Em1PhysicsList.cc,v 1.12 2003/06/03 09:59:55 vnivanch Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -42,12 +42,14 @@
#include "Em1DetectorConstruction.hh"
#include "G4EnergyLossTables.hh"
#include "G4Material.hh"
#include "G4LossTableManager.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
Em1PhysicsList::Em1PhysicsList(Em1DetectorConstruction* p)
: G4VModularPhysicsList()
{
G4LossTableManager::Instance();
pDet = p;
currentDefaultCut = 1.0*mm;
@@ -22,7 +22,7 @@
//
//
// $Id: Em1PhysicsListMessenger.cc,v 1.10 2003/03/27 11:16:21 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em1PrimaryGeneratorAction.cc,v 1.5 2001/12/07 11:49:09 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em1PrimaryGeneratorMessenger.cc,v 1.3 2002/12/11 14:19:24 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em1RunAction.cc,v 1.18 2002/12/11 14:19:24 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: Em1RunAction.cc,v 1.20 2003/06/18 09:30:23 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -38,7 +38,7 @@
#include "G4UImanager.hh"
#include "G4VVisManager.hh"
#include "G4ios.hh"
#include "g4std/iomanip"
#include <iomanip>
#include "Randomize.hh"
@@ -148,35 +148,31 @@ void Em1RunAction::EndOfRunAction(const G4Run* aRun)
{ //nb of tracks and steps per event
G4double dNbOfEvents = double(NbOfEvents);
#ifdef G4USE_STD_NAMESPACE
G4std::ios::fmtflags mode = G4cout.flags();
G4cout.setf(G4std::ios::fixed,G4std::ios::floatfield);
#else
G4long mode = G4cout.setf(G4std::ios::fixed,G4std::ios::floatfield);
#endif
std::ios::fmtflags mode = G4cout.flags();
G4cout.setf(std::ios::fixed,std::ios::floatfield);
G4int prec = G4cout.precision(4);
G4cout << "\n nb tracks/event"
<< " neutral: " << G4std::setw(10) << NbOfTraks0/dNbOfEvents
<< " charged: " << G4std::setw(10) << NbOfTraks1/dNbOfEvents
<< " neutral: " << std::setw(10) << NbOfTraks0/dNbOfEvents
<< " charged: " << std::setw(10) << NbOfTraks1/dNbOfEvents
<< "\n nb steps/event"
<< " neutral: " << G4std::setw(10) << NbOfSteps0/dNbOfEvents
<< " charged: " << G4std::setw(10) << NbOfSteps1/dNbOfEvents
<< " neutral: " << std::setw(10) << NbOfSteps0/dNbOfEvents
<< " charged: " << std::setw(10) << NbOfSteps1/dNbOfEvents
<< G4endl;
//frequency of processes call
G4cout << "\n nb of process calls per event: \n ";
for (size_t i=0; i< ProcCounter->size();i++)
G4cout << G4std::setw(12) << (*ProcCounter)[i]->GetName();
G4cout << std::setw(12) << (*ProcCounter)[i]->GetName();
G4cout << "\n ";
for (size_t j=0; j< ProcCounter->size();j++)
G4cout << G4std::setw(12) << ((*ProcCounter)[j]->GetCounter())
G4cout << std::setw(12) << ((*ProcCounter)[j]->GetCounter())
/dNbOfEvents;
G4cout << G4endl;
G4cout.setf(mode,G4std::ios::floatfield);
G4cout.setf(mode,std::ios::floatfield);
G4cout.precision(prec);
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em1SteppingAction.cc,v 1.8 2002/05/31 17:10:35 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: Em1SteppingAction.cc,v 1.9 2003/05/09 09:15:57 vnivanch Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -53,18 +53,18 @@ Em1SteppingAction::~Em1SteppingAction()
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void Em1SteppingAction::UserSteppingAction(const G4Step* aStep)
{
G4double EdepStep = aStep->GetTotalEnergyDeposit();
if (EdepStep > 0.) eventAction->addEdep(EdepStep);
const G4VProcess* process = aStep->GetPostStepPoint()->GetProcessDefinedStep();
if (process) runAction->CountProcesses(process->GetProcessName());
G4double charge = aStep->GetTrack()->GetDefinition()->GetPDGCharge();
G4double steplen = aStep->GetStepLength();
#ifndef G4NOHIST
if (charge != 0.) runAction->GetHisto(2)->fill(steplen);
{
G4double EdepStep = aStep->GetTotalEnergyDeposit();
if (EdepStep > 0.) eventAction->addEdep(EdepStep);
const G4VProcess* process = aStep->GetPostStepPoint()->GetProcessDefinedStep();
if (process) runAction->CountProcesses(process->GetProcessName());
#ifndef G4NOHIST
G4double charge = aStep->GetTrack()->GetDefinition()->GetPDGCharge();
G4double steplen = aStep->GetStepLength();
if (charge != 0.) runAction->GetHisto(2)->fill(steplen);
#endif
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em1SteppingVerbose.cc,v 1.9 2003/02/10 17:07:06 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: Em1SteppingVerbose.cc,v 1.10 2003/06/16 16:47:32 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -54,38 +54,38 @@ void Em1SteppingVerbose::StepInfo()
if( verboseLevel >= 4 ) VerboseTrack();
if( verboseLevel >= 3 ){
G4cout << G4endl;
G4cout << G4std::setw( 5) << "#Step#" << " "
<< G4std::setw( 6) << "X" << " "
<< G4std::setw( 6) << "Y" << " "
<< G4std::setw( 6) << "Z" << " "
<< G4std::setw( 9) << "KineE" << " "
<< G4std::setw( 9) << "dEStep" << " "
<< G4std::setw(10) << "StepLeng"
<< G4std::setw(10) << "TrakLeng"
<< G4std::setw(10) << "Volume" << " "
<< G4std::setw(10) << "Process" << G4endl;
G4cout << std::setw( 5) << "#Step#" << " "
<< std::setw( 6) << "X" << " "
<< std::setw( 6) << "Y" << " "
<< std::setw( 6) << "Z" << " "
<< std::setw( 9) << "KineE" << " "
<< std::setw( 9) << "dEStep" << " "
<< std::setw(10) << "StepLeng"
<< std::setw(10) << "TrakLeng"
<< std::setw(10) << "Volume" << " "
<< std::setw(10) << "Process" << G4endl;
}
G4cout << G4std::setw(5) << fTrack->GetCurrentStepNumber() << " "
<< G4std::setw(6) << G4BestUnit(fTrack->GetPosition().x(),"Length")
<< G4std::setw(6) << G4BestUnit(fTrack->GetPosition().y(),"Length")
<< G4std::setw(6) << G4BestUnit(fTrack->GetPosition().z(),"Length")
<< G4std::setw(6) << G4BestUnit(fTrack->GetKineticEnergy(),"Energy")
<< G4std::setw(6) << G4BestUnit(fStep->GetTotalEnergyDeposit(),"Energy")
<< G4std::setw(6) << G4BestUnit(fStep->GetStepLength(),"Length")
<< G4std::setw(6) << G4BestUnit(fTrack->GetTrackLength(),"Length")
G4cout << std::setw(5) << fTrack->GetCurrentStepNumber() << " "
<< std::setw(6) << G4BestUnit(fTrack->GetPosition().x(),"Length")
<< std::setw(6) << G4BestUnit(fTrack->GetPosition().y(),"Length")
<< std::setw(6) << G4BestUnit(fTrack->GetPosition().z(),"Length")
<< std::setw(6) << G4BestUnit(fTrack->GetKineticEnergy(),"Energy")
<< std::setw(6) << G4BestUnit(fStep->GetTotalEnergyDeposit(),"Energy")
<< std::setw(6) << G4BestUnit(fStep->GetStepLength(),"Length")
<< std::setw(6) << G4BestUnit(fTrack->GetTrackLength(),"Length")
<< " ";
// if( fStepStatus != fWorldBoundary){
if( fTrack->GetNextVolume() != 0 ) {
G4cout << G4std::setw(10) << fTrack->GetVolume()->GetName();
G4cout << std::setw(10) << fTrack->GetVolume()->GetName();
} else {
G4cout << G4std::setw(10) << "OutOfWorld";
G4cout << std::setw(10) << "OutOfWorld";
}
if(fStep->GetPostStepPoint()->GetProcessDefinedStep() != NULL){
G4cout << " "
<< G4std::setw(10) << fStep->GetPostStepPoint()
<< std::setw(10) << fStep->GetPostStepPoint()
->GetProcessDefinedStep()->GetProcessName();
} else {
G4cout << " UserLimit";
@@ -99,27 +99,27 @@ void Em1SteppingVerbose::StepInfo()
fN2ndariesPostStepDoIt;
if(tN2ndariesTot>0){
G4cout << " :----- List of 2ndaries - "
<< "#SpawnInStep=" << G4std::setw(3) << tN2ndariesTot
<< "(Rest=" << G4std::setw(2) << fN2ndariesAtRestDoIt
<< ",Along=" << G4std::setw(2) << fN2ndariesAlongStepDoIt
<< ",Post=" << G4std::setw(2) << fN2ndariesPostStepDoIt
<< "#SpawnInStep=" << std::setw(3) << tN2ndariesTot
<< "(Rest=" << std::setw(2) << fN2ndariesAtRestDoIt
<< ",Along=" << std::setw(2) << fN2ndariesAlongStepDoIt
<< ",Post=" << std::setw(2) << fN2ndariesPostStepDoIt
<< "), "
<< "#SpawnTotal=" << G4std::setw(3) << (*fSecondary).size()
<< "#SpawnTotal=" << std::setw(3) << (*fSecondary).size()
<< " ---------------"
<< G4endl;
for(size_t lp1=(*fSecondary).size()-tN2ndariesTot;
lp1<(*fSecondary).size(); lp1++){
G4cout << " : "
<< G4std::setw(6)
<< std::setw(6)
<< G4BestUnit((*fSecondary)[lp1]->GetPosition().x(),"Length")
<< G4std::setw(6)
<< std::setw(6)
<< G4BestUnit((*fSecondary)[lp1]->GetPosition().y(),"Length")
<< G4std::setw(6)
<< std::setw(6)
<< G4BestUnit((*fSecondary)[lp1]->GetPosition().z(),"Length")
<< G4std::setw(6)
<< std::setw(6)
<< G4BestUnit((*fSecondary)[lp1]->GetKineticEnergy(),"Energy")
<< G4std::setw(10)
<< std::setw(10)
<< (*fSecondary)[lp1]->GetDefinition()->GetParticleName();
G4cout << G4endl;
}
@@ -144,31 +144,31 @@ void Em1SteppingVerbose::TrackingStarted()
G4int prec = G4cout.precision(3);
if( verboseLevel > 0 ){
G4cout << G4std::setw( 5) << "Step#" << " "
<< G4std::setw( 6) << "X" << " "
<< G4std::setw( 6) << "Y" << " "
<< G4std::setw( 6) << "Z" << " "
<< G4std::setw( 9) << "KineE" << " "
<< G4std::setw( 9) << "dEStep" << " "
<< G4std::setw(10) << "StepLeng"
<< G4std::setw(10) << "TrakLeng"
<< G4std::setw(10) << "Volume" << " "
<< G4std::setw(10) << "Process" << G4endl;
G4cout << std::setw( 5) << "Step#" << " "
<< std::setw( 6) << "X" << " "
<< std::setw( 6) << "Y" << " "
<< std::setw( 6) << "Z" << " "
<< std::setw( 9) << "KineE" << " "
<< std::setw( 9) << "dEStep" << " "
<< std::setw(10) << "StepLeng"
<< std::setw(10) << "TrakLeng"
<< std::setw(10) << "Volume" << " "
<< std::setw(10) << "Process" << G4endl;
G4cout << G4std::setw(5) << fTrack->GetCurrentStepNumber() << " "
<< G4std::setw(6) << G4BestUnit(fTrack->GetPosition().x(),"Length")
<< G4std::setw(6) << G4BestUnit(fTrack->GetPosition().y(),"Length")
<< G4std::setw(6) << G4BestUnit(fTrack->GetPosition().z(),"Length")
<< G4std::setw(6) << G4BestUnit(fTrack->GetKineticEnergy(),"Energy")
<< G4std::setw(6) << G4BestUnit(fStep->GetTotalEnergyDeposit(),"Energy")
<< G4std::setw(6) << G4BestUnit(fStep->GetStepLength(),"Length")
<< G4std::setw(6) << G4BestUnit(fTrack->GetTrackLength(),"Length")
G4cout << std::setw(5) << fTrack->GetCurrentStepNumber() << " "
<< std::setw(6) << G4BestUnit(fTrack->GetPosition().x(),"Length")
<< std::setw(6) << G4BestUnit(fTrack->GetPosition().y(),"Length")
<< std::setw(6) << G4BestUnit(fTrack->GetPosition().z(),"Length")
<< std::setw(6) << G4BestUnit(fTrack->GetKineticEnergy(),"Energy")
<< std::setw(6) << G4BestUnit(fStep->GetTotalEnergyDeposit(),"Energy")
<< std::setw(6) << G4BestUnit(fStep->GetStepLength(),"Length")
<< std::setw(6) << G4BestUnit(fTrack->GetTrackLength(),"Length")
<< " ";
if(fTrack->GetNextVolume()){
G4cout << G4std::setw(10) << fTrack->GetVolume()->GetName();
G4cout << std::setw(10) << fTrack->GetVolume()->GetName();
} else {
G4cout << G4std::setw(10) << "OutOfWorld";
G4cout << std::setw(10) << "OutOfWorld";
}
G4cout << " initStep" << G4endl;
}
@@ -22,8 +22,8 @@
//
//
// $Id: Em1TrackingAction.cc,v 1.8 2002/05/31 17:10:35 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: Em1TrackingAction.cc,v 1.9 2003/05/09 09:15:57 vnivanch Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -53,14 +53,19 @@ void Em1TrackingAction::PostUserTrackingAction(const G4Track* aTrack)
//count nb of steps of this track
G4int nbSteps = aTrack->GetCurrentStepNumber();
G4double Trleng = aTrack->GetTrackLength();
if (aTrack->GetDefinition()->GetPDGCharge() == 0.) {
runAction->CountTraks0(1);
runAction->CountSteps0(nbSteps);
if (aTrack->GetDefinition()->GetPDGCharge() == 0.)
{runAction->CountTraks0(1); runAction->CountSteps0(nbSteps);}
else {runAction->CountTraks1(1); runAction->CountSteps1(nbSteps);
#ifndef G4NOHIST
runAction->GetHisto(0)->fill(Trleng);
runAction->GetHisto(1)->fill((float)nbSteps);
} else {
runAction->CountTraks1(1);
runAction->CountSteps1(nbSteps);
#ifndef G4NOHIST
G4double Trleng = aTrack->GetTrackLength();
runAction->GetHisto(0)->fill(Trleng);
runAction->GetHisto(1)->fill((float)nbSteps);
#endif
}
}
@@ -22,7 +22,7 @@
//
//
// $Id: Em1VisManager.cc,v 1.7 2002/11/13 21:39:42 duns Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 24th January 1998.
@@ -22,7 +22,7 @@
//
//
// $Id: TestEm10.cc,v 1.2 2001/07/11 09:57:18 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// --------------------------------------------------------------
@@ -1,5 +1,5 @@
**********************************************
Geant4 version $Name: geant4-05-01 $
Geant4 version $Name: geant4-05-02 $
(13-Dec-2002)
Copyright : Geant4 Collaboration
**********************************************
@@ -1,6 +1,6 @@
**********************************************
Geant4 version $Name: geant4-05-01 $
(30-Apr-2003)
Geant4 version $Name: geant4-05-02 $
(27-June-2003)
Copyright : Geant4 Collaboration
**********************************************
Visualization Manager instantiating...
@@ -174,58 +174,58 @@ gas material = Air
plate plasma energy = 29.55 eV
gas plasma energy = 0.731967 eV
Regular X-ray TR radiator EM process is called
0 fGamma = 107.6 sumE = 0.1933
1 fGamma = 123.4 sumE = 0.2553
2 fGamma = 141.5 sumE = 0.3303
3 fGamma = 162.3 sumE = 0.4171
4 fGamma = 186.2 sumE = 0.5041
5 fGamma = 213.7 sumE = 0.5873
6 fGamma = 245.2 sumE = 0.6919
7 fGamma = 281.3 sumE = 0.8242
8 fGamma = 322.9 sumE = 0.914
9 fGamma = 370.5 sumE = 1.058
10 fGamma = 425.3 sumE = 1.179
11 fGamma = 488.2 sumE = 1.277
12 fGamma = 560.3 sumE = 1.423
13 fGamma = 643.2 sumE = 1.53
14 fGamma = 738.3 sumE = 1.64
15 fGamma = 847.6 sumE = 1.77
16 fGamma = 973 sumE = 1.943
17 fGamma = 1117 sumE = 2.024
18 fGamma = 1282 sumE = 2.251
19 fGamma = 1472 sumE = 2.413
20 fGamma = 1690 sumE = 2.628
21 fGamma = 1940 sumE = 2.842
22 fGamma = 2228 sumE = 2.938
23 fGamma = 2558 sumE = 3.031
24 fGamma = 2936 sumE = 3.432
25 fGamma = 3371 sumE = 3.327
26 fGamma = 3871 sumE = 3.48
27 fGamma = 4444 sumE = 3.561
28 fGamma = 5102 sumE = 3.472
29 fGamma = 5858 sumE = 3.698
30 fGamma = 6726 sumE = 3.649
31 fGamma = 7722 sumE = 3.826
32 fGamma = 8866 sumE = 3.921
33 fGamma = 1.018e+04 sumE = 4.137
34 fGamma = 1.169e+04 sumE = 4.02
35 fGamma = 1.342e+04 sumE = 4.187
36 fGamma = 1.541e+04 sumE = 4.157
37 fGamma = 1.769e+04 sumE = 4.105
38 fGamma = 2.031e+04 sumE = 4.082
39 fGamma = 2.332e+04 sumE = 4.096
40 fGamma = 2.677e+04 sumE = 4.138
41 fGamma = 3.074e+04 sumE = 4.222
42 fGamma = 3.529e+04 sumE = 4.274
43 fGamma = 4.052e+04 sumE = 4.305
44 fGamma = 4.652e+04 sumE = 4.324
45 fGamma = 5.342e+04 sumE = 4.336
46 fGamma = 6.133e+04 sumE = 4.341
47 fGamma = 7.042e+04 sumE = 4.343
48 fGamma = 8.085e+04 sumE = 4.344
49 fGamma = 9.283e+04 sumE = 4.343
0 fGamma = 107.6 sumE = 0.1939
1 fGamma = 123.4 sumE = 0.2562
2 fGamma = 141.5 sumE = 0.3312
3 fGamma = 162.3 sumE = 0.4127
4 fGamma = 186.2 sumE = 0.5086
5 fGamma = 213.7 sumE = 0.606
6 fGamma = 245.2 sumE = 0.7458
7 fGamma = 281.3 sumE = 0.8992
8 fGamma = 322.9 sumE = 1.071
9 fGamma = 370.5 sumE = 1.216
10 fGamma = 425.3 sumE = 1.423
11 fGamma = 488.2 sumE = 1.546
12 fGamma = 560.3 sumE = 1.857
13 fGamma = 643.2 sumE = 2.068
14 fGamma = 738.3 sumE = 2.186
15 fGamma = 847.6 sumE = 2.529
16 fGamma = 973 sumE = 2.738
17 fGamma = 1117 sumE = 3.213
18 fGamma = 1282 sumE = 3.92
19 fGamma = 1472 sumE = 3.717
20 fGamma = 1690 sumE = 4.394
21 fGamma = 1940 sumE = 4.373
22 fGamma = 2228 sumE = 5.599
23 fGamma = 2558 sumE = 5.115
24 fGamma = 2936 sumE = 6.031
25 fGamma = 3371 sumE = 5.996
26 fGamma = 3871 sumE = 6.794
27 fGamma = 4444 sumE = 7.16
28 fGamma = 5102 sumE = 6.72
29 fGamma = 5858 sumE = 6.38
30 fGamma = 6726 sumE = 6.386
31 fGamma = 7722 sumE = 7.062
32 fGamma = 8866 sumE = 6.933
33 fGamma = 1.018e+04 sumE = 7.159
34 fGamma = 1.169e+04 sumE = 7.213
35 fGamma = 1.342e+04 sumE = 6.817
36 fGamma = 1.541e+04 sumE = 7.552
37 fGamma = 1.769e+04 sumE = 7.114
38 fGamma = 2.031e+04 sumE = 6.976
39 fGamma = 2.332e+04 sumE = 6.661
40 fGamma = 2.677e+04 sumE = 6.809
41 fGamma = 3.074e+04 sumE = 6.807
42 fGamma = 3.529e+04 sumE = 6.856
43 fGamma = 4.052e+04 sumE = 6.88
44 fGamma = 4.652e+04 sumE = 6.943
45 fGamma = 5.342e+04 sumE = 7.002
46 fGamma = 6.133e+04 sumE = 7.048
47 fGamma = 7.042e+04 sumE = 7.084
48 fGamma = 8.085e+04 sumE = 7.114
49 fGamma = 9.283e+04 sumE = 7.138
total time for build X-ray TR energy loss tables = 74.17 s
total time for build X-ray TR energy loss tables = 111.86 s
phot: Total cross sections from Sandia parametrisation.
Em10PhysicsList::SetCuts:CutLength : 1 mm
@@ -239,8 +239,15 @@ compt: Total cross sections from a parametrisation. Good description from 10 Ke
conv: Total cross sections from a parametrisation. Good description from 1.5 MeV to 100 GeV for all Z.
e+e- energies according Bethe-Heitler
PhysicsTables from 1.022 MeV to 100 GeV in 100 bins.
PAI mat name = Ar7CH4
PAI mat index = 28
eIoni: delta cross sections from Moller+Bhabha. Good description from 1 KeV to 100 GeV.
PAI matcuts name = Ar7CH4
PAI matcuts index = 3
PAI DeltaCutInKineticEnergyNow = 0.99 keV
e-: delta cross sections from Moller+Bhabha. Good description from 1 KeV to 100 GeV.
delta ray energy sampled from differential Xsection.
PhysicsTables from 1 keV to 100 TeV in 100 bins.
Step function: finalRange(mm)= 1, dRoverRange= 0.2
@@ -250,12 +257,47 @@ eBrem: Total cross sections from a NEW parametrisation based on the EEDL data l
log scale extrapolation above 100 GeV
Gamma energy sampled from a parametrised formula.
PhysicsTables from 1 keV to 100 TeV in 100 bins.
PAI mat name = Ar7CH4
PAI mat index = 28
hIoni: Knock-on electron cross sections .
PAI matcuts name = Ar7CH4
PAI matcuts index = 3
PAI DeltaCutInKineticEnergyNow = 0.99 keV
proton: Knock-on electron cross sections .
Good description above the mean excitation energy.
delta ray energy sampled from differential Xsection.
PhysicsTables from 1 keV to 100 TeV in 100 bins.
Step function: finalRange(mm)= 1, dRoverRange= 0.2
PAI mat name = Ar7CH4
PAI mat index = 28
PAI matcuts name = Ar7CH4
PAI matcuts index = 3
PAI DeltaCutInKineticEnergyNow = 0.99 keV
PAI mat name = Ar7CH4
PAI mat index = 28
PAI matcuts name = Ar7CH4
PAI matcuts index = 3
PAI DeltaCutInKineticEnergyNow = 0.99 keV
PAI mat name = Ar7CH4
PAI mat index = 28
PAI matcuts name = Ar7CH4
PAI matcuts index = 3
PAI DeltaCutInKineticEnergyNow = 0.99 keV
PAI mat name = Ar7CH4
PAI mat index = 28
PAI matcuts name = Ar7CH4
PAI matcuts index = 3
PAI DeltaCutInKineticEnergyNow = 0.99 keV
========= Table of registered couples ==============================
@@ -299,25 +341,25 @@ Index : 3 used in the geometry : Yes recalculation needed : No
---> Begin of Event: 0
================== run summary =====================
end of Run TotNbofEvents = 1000
mean charged track length in absorber=23.4199 +- 0.978724 mm
mean charged track length in absorber=24.0667 +- 0.999523 mm
mean energy deposit in absorber=0.0066657 +- 0.000200206 MeV
mean energy deposit in absorber=0.0053188 +- 0.000141656 MeV
mean number of steps in absorber (charged) =1.227 +- 0.0164156
mean number of steps in absorber (neutral) =1.981 +- 0.0448847
mean number of steps in absorber (charged) =1.251 +- 0.0168523
mean number of steps in absorber (neutral) =2.263 +- 0.0473691
mean number of charged secondaries = 0.203 +- 0.0142755
mean number of charged secondaries = 0.229 +- 0.0151182
mean number of neutral secondaries = 0 +- 0
mean number of e-s =0.203 and e+s =0
mean number of e-s =0.229 and e+s =0
(number) transmission coeff=0.16 reflection coeff=0.006
(number) transmission coeff=0.18 reflection coeff=0.002
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 1545544388, 618057029
Current couple of seeds = 1657761120, 607392201
----------------------------------------
Graphics systems deleted.
Visualization Manager deleting...
@@ -22,7 +22,7 @@
//
//
// $Id: Em10CalorHit.hh,v 1.2 2001/07/11 09:57:19 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em10CalorimeterSD.hh,v 1.2 2001/07/11 09:57:19 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em10DetectorConstruction.hh,v 1.5 2002/02/05 11:06:37 grichine Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em10DetectorMessenger.hh,v 1.3 2001/07/11 09:57:20 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em10EventAction.hh,v 1.2 2001/07/11 09:57:20 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em10EventActionMessenger.hh,v 1.2 2001/07/11 09:57:20 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em10PhysicsList.hh,v 1.2 2001/07/11 09:57:20 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
#ifndef Em10PhysicsList_h
@@ -22,7 +22,7 @@
//
//
// $Id: Em10PhysicsListMessenger.hh,v 1.2 2001/07/11 09:57:20 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em10PrimaryGeneratorAction.hh,v 1.2 2001/07/11 09:57:20 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em10PrimaryGeneratorMessenger.hh,v 1.2 2001/07/11 09:57:20 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em10RunAction.hh,v 1.2 2001/07/11 09:57:20 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: Em10RunAction.hh,v 1.3 2003/06/16 16:47:33 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -34,7 +34,7 @@
#include "G4UserRunAction.hh"
#include "globals.hh"
#include "g4std/iostream"
#include <iostream>
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
@@ -23,7 +23,7 @@
//
// $Id: Em10RunMessenger.hh,v 1.2 2001/07/11 09:57:20 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em10StepCut.hh,v 1.2 2001/07/11 09:57:21 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em10SteppingAction.hh,v 1.2 2001/07/11 09:57:21 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em10SteppingMessenger.hh,v 1.2 2001/07/11 09:57:21 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
@@ -22,7 +22,7 @@
//
//
// $Id: Em10SteppingVerbose.hh,v 1.2 2001/07/11 09:57:21 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
//---------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: Em10VisManager.hh,v 1.2 2001/07/11 09:57:21 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: TRTDetectorConstruction.hh,v 1.2 2001/07/11 09:57:22 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: TRTMaterials.hh,v 1.2 2001/07/11 09:57:22 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em10CalorHit.cc,v 1.2 2001/07/11 09:57:23 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em10CalorimeterSD.cc,v 1.2 2001/07/11 09:57:23 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em10DetectorConstruction.cc,v 1.8 2002/02/05 11:06:38 grichine Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em10DetectorMessenger.cc,v 1.6 2002/12/05 00:24:24 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em10EventAction.cc,v 1.3 2001/11/21 11:57:14 mverderi Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: Em10EventAction.cc,v 1.4 2003/06/16 16:47:34 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -116,9 +116,9 @@ void Em10EventAction::EndOfEventAction(const G4Event* evt)
}
if(verboselevel==2)
G4cout
<< " Absorber: total energy: " << G4std::setw(7) <<
<< " Absorber: total energy: " << std::setw(7) <<
G4BestUnit(totEAbs,"Energy")
<< " total track length: " << G4std::setw(7) <<
<< " total track length: " << std::setw(7) <<
G4BestUnit(totLAbs,"Length")
<< G4endl;
@@ -22,7 +22,7 @@
//
//
// $Id: Em10EventActionMessenger.cc,v 1.3 2002/12/05 00:24:24 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em10PhysicsList.cc,v 1.5 2003/02/20 13:09:29 vnivanch Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: Em10PhysicsList.cc,v 1.6 2003/06/16 16:47:35 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
#include "G4Timer.hh"
@@ -41,7 +41,7 @@
#include "G4EnergyLossTables.hh"
#include "G4UnitsTable.hh"
#include "G4ios.hh"
#include "g4std/iomanip"
#include <iomanip>
#include "G4FastSimulationManagerProcess.hh"
@@ -22,7 +22,7 @@
//
//
// $Id: Em10PhysicsListMessenger.cc,v 1.3 2002/12/05 00:24:24 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em10PrimaryGeneratorAction.cc,v 1.4 2002/02/05 11:06:38 grichine Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em10PrimaryGeneratorMessenger.cc,v 1.3 2002/12/05 00:24:24 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em10RunAction.cc,v 1.3 2001/11/21 11:57:14 mverderi Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: Em10RunAction.cc,v 1.4 2003/06/16 16:47:36 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -34,7 +34,7 @@
#include "G4UImanager.hh"
#include "G4VVisManager.hh"
#include "G4ios.hh"
#include "g4std/iomanip"
#include <iomanip>
#include "Randomize.hh"
#ifndef G4NOHIST
@@ -417,20 +417,20 @@ void Em10RunAction::EndOfRunAction(const G4Run* aRun)
{
E += dStep ;
dnorm = distStep[iss]/norm;
G4cout << G4std::setw(5) << iss << G4std::setw(10) << E <<
G4std::setw(12) << distStep[iss] <<
G4std::setw(12) << dnorm << G4endl ;
G4cout << std::setw(5) << iss << std::setw(10) << E <<
std::setw(12) << distStep[iss] <<
std::setw(12) << dnorm << G4endl ;
}
G4cout << G4endl;
}
}
if(nbinEn > 0)
{
G4std::ofstream fileOut("distribution.out", G4std::ios::out ) ;
fileOut.setf( G4std::ios::scientific, G4std::ios::floatfield );
std::ofstream fileOut("distribution.out", std::ios::out ) ;
fileOut.setf( std::ios::scientific, std::ios::floatfield );
G4std::ofstream normOut("normDist.out", G4std::ios::out ) ;
normOut.setf( G4std::ios::scientific, G4std::ios::floatfield );
std::ofstream normOut("normDist.out", std::ios::out ) ;
normOut.setf( std::ios::scientific, std::ios::floatfield );
G4double E , dnorm, norm,fmax,Emp ;
Emp=-999.999 ;
@@ -455,9 +455,9 @@ void Em10RunAction::EndOfRunAction(const G4Run* aRun)
}
dnorm = distEn[ien]/norm;
G4cout << G4std::setw(5) << ien << G4std::setw(10) << E/keV <<
G4std::setw(12) << distEn[ien] <<
G4std::setw(12) << dnorm << G4endl ;
G4cout << std::setw(5) << ien << std::setw(10) << E/keV <<
std::setw(12) << distEn[ien] <<
std::setw(12) << dnorm << G4endl ;
fileOut << E/keV << "\t"<< distEn[ien] << G4endl ;
normOut << E/keV << "\t"<< dnorm << G4endl ;
@@ -490,8 +490,8 @@ void Em10RunAction::EndOfRunAction(const G4Run* aRun)
if(distEn[i2] >= 0.5*fmax) E2=E ;
}
G4cout << " Emp = " << G4std::setw(15) << Emp/MeV << " width="
<< G4std::setw(15) << (E2-E1)/MeV << " MeV " << G4endl;
G4cout << " Emp = " << std::setw(15) << Emp/MeV << " width="
<< std::setw(15) << (E2-E1)/MeV << " MeV " << G4endl;
G4cout << G4endl ;
}
}
@@ -518,9 +518,9 @@ void Em10RunAction::EndOfRunAction(const G4Run* aRun)
{
E += dTt ;
dnorm = distTt[itt]/norm;
G4cout << G4std::setw(5) << itt << G4std::setw(10) << E <<
G4std::setw(12) << distTt[itt] <<
G4std::setw(12) << dnorm << G4endl ;
G4cout << std::setw(5) << itt << std::setw(10) << E <<
std::setw(12) << distTt[itt] <<
std::setw(12) << dnorm << G4endl ;
}
G4cout << G4endl;
}
@@ -548,9 +548,9 @@ void Em10RunAction::EndOfRunAction(const G4Run* aRun)
{
E += dTb ;
dnorm = distTb[itt]/norm;
G4cout << G4std::setw(5) << itt << G4std::setw(10) << E <<
G4std::setw(12) << distTb[itt] <<
G4std::setw(12) << dnorm << G4endl ;
G4cout << std::setw(5) << itt << std::setw(10) << E <<
std::setw(12) << distTb[itt] <<
std::setw(12) << dnorm << G4endl ;
}
G4cout << G4endl;
}
@@ -569,9 +569,9 @@ void Em10RunAction::EndOfRunAction(const G4Run* aRun)
{
E += dTsec ;
dnorm = distTsec[itt]/norm;
G4cout << G4std::setw(5) << itt << G4std::setw(10) << E <<
G4std::setw(12) << distTsec[itt] <<
G4std::setw(12) << dnorm << G4endl ;
G4cout << std::setw(5) << itt << std::setw(10) << E <<
std::setw(12) << distTsec[itt] <<
std::setw(12) << dnorm << G4endl ;
}
G4cout << G4endl;
}
@@ -597,9 +597,9 @@ void Em10RunAction::EndOfRunAction(const G4Run* aRun)
{
R+= dR ;
dnorm = distR[ier]/norm;
G4cout << G4std::setw(5) << ier << G4std::setw(10) << R <<
G4std::setw(12) << distR[ier] <<
G4std::setw(12) << dnorm << G4endl ;
G4cout << std::setw(5) << ier << std::setw(10) << R <<
std::setw(12) << distR[ier] <<
std::setw(12) << dnorm << G4endl ;
}
G4cout << G4endl;
}
@@ -635,10 +635,10 @@ void Em10RunAction::EndOfRunAction(const G4Run* aRun)
fnorm = fac0*distTh[ien] ;
if( fnorm > pere)
Thpere = Th ;
G4cout << G4std::setw(5) << ien << G4std::setw(10) << Thdeg << " " <<
G4std::setw(10) << Th << " " <<
G4std::setw(12) << distTh[ien] << " " <<
G4std::setw(12) << dnorm << " " << G4std::setw(12) << fnorm <<G4endl ;
G4cout << std::setw(5) << ien << std::setw(10) << Thdeg << " " <<
std::setw(10) << Th << " " <<
std::setw(12) << distTh[ien] << " " <<
std::setw(12) << dnorm << " " << std::setw(12) << fnorm <<G4endl ;
}
Thmean /= sum ;
G4cout << G4endl;
@@ -681,10 +681,10 @@ void Em10RunAction::EndOfRunAction(const G4Run* aRun)
fnormb = fac0b*distThback[ien] ;
if( fnormb > pereb)
Thpereb = Thb ;
G4cout << G4std::setw(5) << ien << G4std::setw(10) << Thdegb << " " <<
G4std::setw(10) << Thb << " " <<
G4std::setw(12) << distThback[ien] << " " <<
G4std::setw(12) << dnormb << " " << G4std::setw(12) << fnormb <<G4endl ;
G4cout << std::setw(5) << ien << std::setw(10) << Thdegb << " " <<
std::setw(10) << Thb << " " <<
std::setw(12) << distThback[ien] << " " <<
std::setw(12) << dnormb << " " << std::setw(12) << fnormb <<G4endl ;
}
Thmeanb /= sumb ;
G4cout << G4endl;
@@ -712,9 +712,9 @@ void Em10RunAction::EndOfRunAction(const G4Run* aRun)
{
E *= fact ;
dnorm = distGamma[itt]/norm;
G4cout << G4std::setw(5) << itt << G4std::setw(13) << E <<
G4std::setw(12) << distGamma[itt] <<
G4std::setw(15) << dnorm << G4endl ;
G4cout << std::setw(5) << itt << std::setw(13) << E <<
std::setw(12) << distGamma[itt] <<
std::setw(15) << dnorm << G4endl ;
}
G4cout << G4endl;
}
@@ -735,9 +735,9 @@ void Em10RunAction::EndOfRunAction(const G4Run* aRun)
z+= dz ;
if(abs(z)<1.e-12) z=0.;
dnorm = distvertexz[iez]/norm;
G4cout << G4std::setw(5) << iez << G4std::setw(10) << z <<
G4std::setw(12) << distvertexz[iez] <<
G4std::setw(12) << dnorm << G4endl ;
G4cout << std::setw(5) << iez << std::setw(10) << z <<
std::setw(12) << distvertexz[iez] <<
std::setw(12) << dnorm << G4endl ;
}
G4cout << G4endl;
}
@@ -1009,7 +1009,7 @@ void Em10RunAction::FillTh(G4double Th)
{
G4double thdeg=Th*180./pi;
G4cout << "theta < 0.001*dth (from plot excluded) theta="
<< G4std::setw(12) << G4std::setprecision(4) << thdeg << G4endl;
<< std::setw(12) << std::setprecision(4) << thdeg << G4endl;
wg=0. ;
}
distTh[ibin] += wg ;
@@ -1050,7 +1050,7 @@ void Em10RunAction::FillThBack(G4double Th)
{
G4double thdeg=Th*180./pi;
G4cout << "theta < 0.001*dth (from plot excluded) theta="
<< G4std::setw(12) << G4std::setprecision(4) << thdeg << G4endl;
<< std::setw(12) << std::setprecision(4) << thdeg << G4endl;
wg=0. ;
}
distThback[ibin] += wg ;
@@ -22,7 +22,7 @@
//
//
// $Id: Em10RunMessenger.cc,v 1.3 2002/12/05 00:24:24 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em10StepCut.cc,v 1.2 2001/07/11 09:57:26 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
#include "Em10StepCut.hh"
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em10SteppingAction.cc,v 1.3 2001/11/21 11:57:15 mverderi Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: Em10SteppingAction.cc,v 1.4 2003/06/16 16:47:37 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -41,7 +41,7 @@
#include "G4EventManager.hh"
#include "Em10SteppingMessenger.hh"
#include "G4ios.hh"
#include "g4std/iomanip"
#include <iomanip>
#include "G4UImanager.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
@@ -22,7 +22,7 @@
//
//
// $Id: Em10SteppingMessenger.cc,v 1.2 2001/07/11 09:57:27 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em10SteppingVerbose.cc,v 1.4 2002/02/05 11:06:38 grichine Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: Em10SteppingVerbose.cc,v 1.5 2003/06/16 16:47:38 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
@@ -54,49 +54,49 @@ void Em10SteppingVerbose::StepInfo()
if( verboseLevel >= 4 ) VerboseTrack();
if( verboseLevel >= 3 ){
G4cout << G4endl;
G4cout << G4std::setw( 5) << "#Step#" << " "
<< G4std::setw(10) << "X" << " "
<< G4std::setw(10) << "Y" << " "
<< G4std::setw(10) << "Z" << " "
<< G4std::setw(10) << "KineE" << " "
<< G4std::setw(10) << "dEStep" << " "
<< G4std::setw(10) << "StepLeng"
<< G4std::setw(10) << "TrakLeng"
<< G4std::setw(10) << "NextVolu"
<< G4std::setw(10) << "Process"
<< G4std::setw(10) << "Dir_x" << " "
<< G4std::setw(10) << "Dir_y" << " "
<< G4std::setw(10) << "Dir_z" << " "
G4cout << std::setw( 5) << "#Step#" << " "
<< std::setw(10) << "X" << " "
<< std::setw(10) << "Y" << " "
<< std::setw(10) << "Z" << " "
<< std::setw(10) << "KineE" << " "
<< std::setw(10) << "dEStep" << " "
<< std::setw(10) << "StepLeng"
<< std::setw(10) << "TrakLeng"
<< std::setw(10) << "NextVolu"
<< std::setw(10) << "Process"
<< std::setw(10) << "Dir_x" << " "
<< std::setw(10) << "Dir_y" << " "
<< std::setw(10) << "Dir_z" << " "
<< G4endl;
}
G4cout << G4std::setw( 5) << fTrack->GetCurrentStepNumber() << " "
<< G4std::setw(10) << G4BestUnit(fTrack->GetPosition().x(),"Length")
<< G4std::setw(10) << G4BestUnit(fTrack->GetPosition().y(),"Length")
<< G4std::setw(10) << G4BestUnit(fTrack->GetPosition().z(),"Length")
<< G4std::setw(10) << G4BestUnit(fTrack->GetKineticEnergy(),"Energy")
<< G4std::setw(10) << G4BestUnit(fStep->GetTotalEnergyDeposit(),"Energy")
<< G4std::setw(10) << G4BestUnit(fStep->GetStepLength(),"Length")
<< G4std::setw(10) << G4BestUnit(fTrack->GetTrackLength(),"Length");
G4cout << std::setw( 5) << fTrack->GetCurrentStepNumber() << " "
<< std::setw(10) << G4BestUnit(fTrack->GetPosition().x(),"Length")
<< std::setw(10) << G4BestUnit(fTrack->GetPosition().y(),"Length")
<< std::setw(10) << G4BestUnit(fTrack->GetPosition().z(),"Length")
<< std::setw(10) << G4BestUnit(fTrack->GetKineticEnergy(),"Energy")
<< std::setw(10) << G4BestUnit(fStep->GetTotalEnergyDeposit(),"Energy")
<< std::setw(10) << G4BestUnit(fStep->GetStepLength(),"Length")
<< std::setw(10) << G4BestUnit(fTrack->GetTrackLength(),"Length");
// if( fStepStatus != fWorldBoundary){
if( fTrack->GetNextVolume() != 0 ) {
G4cout << G4std::setw(10) << fTrack->GetVolume()->GetName();
G4cout << std::setw(10) << fTrack->GetVolume()->GetName();
} else {
G4cout << G4std::setw(10) << "OutOfWorld";
G4cout << std::setw(10) << "OutOfWorld";
}
if(fStep->GetPostStepPoint()->GetProcessDefinedStep() != NULL){
G4cout << " "
<< G4std::setw(10) << fStep->GetPostStepPoint()->GetProcessDefinedStep()
<< std::setw(10) << fStep->GetPostStepPoint()->GetProcessDefinedStep()
->GetProcessName();
} else {
G4cout << " UserLimit";
}
G4cout << G4std::setw(12) << G4BestUnit(fTrack->GetMomentumDirection().x(),"Length")
<< G4std::setw(12) << G4BestUnit(fTrack->GetMomentumDirection().y(),"Length")
<< G4std::setw(12) << G4BestUnit(fTrack->GetMomentumDirection().z(),"Length");
G4cout << std::setw(12) << G4BestUnit(fTrack->GetMomentumDirection().x(),"Length")
<< std::setw(12) << G4BestUnit(fTrack->GetMomentumDirection().y(),"Length")
<< std::setw(12) << G4BestUnit(fTrack->GetMomentumDirection().z(),"Length");
G4cout << G4endl;
@@ -106,12 +106,12 @@ void Em10SteppingVerbose::StepInfo()
fN2ndariesPostStepDoIt;
if(tN2ndariesTot>0){
G4cout << " :----- List of 2ndaries - "
<< "#SpawnInStep=" << G4std::setw(3) << tN2ndariesTot
<< "(Rest=" << G4std::setw(2) << fN2ndariesAtRestDoIt
<< ",Along=" << G4std::setw(2) << fN2ndariesAlongStepDoIt
<< ",Post=" << G4std::setw(2) << fN2ndariesPostStepDoIt
<< "#SpawnInStep=" << std::setw(3) << tN2ndariesTot
<< "(Rest=" << std::setw(2) << fN2ndariesAtRestDoIt
<< ",Along=" << std::setw(2) << fN2ndariesAlongStepDoIt
<< ",Post=" << std::setw(2) << fN2ndariesPostStepDoIt
<< "), "
<< "#SpawnTotal=" << G4std::setw(3) << (*fSecondary).size()
<< "#SpawnTotal=" << std::setw(3) << (*fSecondary).size()
<< " ---------------"
<< G4endl;
@@ -119,15 +119,15 @@ void Em10SteppingVerbose::StepInfo()
lp1<(*fSecondary).size(); lp1++){
G4cout << " : "
<< G4std::setw(6)
<< std::setw(6)
<< G4BestUnit((*fSecondary)[lp1]->GetPosition().x(),"Length")
<< G4std::setw(6)
<< std::setw(6)
<< G4BestUnit((*fSecondary)[lp1]->GetPosition().y(),"Length")
<< G4std::setw(6)
<< std::setw(6)
<< G4BestUnit((*fSecondary)[lp1]->GetPosition().z(),"Length")
<< G4std::setw(6)
<< std::setw(6)
<< G4BestUnit((*fSecondary)[lp1]->GetKineticEnergy(),"Energy")
<< G4std::setw(10)
<< std::setw(10)
<< (*fSecondary)[lp1]->GetDefinition()->GetParticleName();
G4cout << G4endl;
}
@@ -152,30 +152,30 @@ void Em10SteppingVerbose::TrackingStarted()
G4int prec = G4cout.precision(3);
if( verboseLevel > 0 ){
G4cout << G4std::setw( 5) << "Step#" << " "
<< G4std::setw( 6) << "X" << " "
<< G4std::setw( 6) << "Y" << " "
<< G4std::setw( 6) << "Z" << " "
<< G4std::setw( 9) << "KineE" << " "
<< G4std::setw( 9) << "dEStep" << " "
<< G4std::setw(10) << "StepLeng"
<< G4std::setw(10) << "TrakLeng"
<< G4std::setw(10) << "Volume" << " "
<< G4std::setw(10) << "Process" << G4endl;
G4cout << std::setw( 5) << "Step#" << " "
<< std::setw( 6) << "X" << " "
<< std::setw( 6) << "Y" << " "
<< std::setw( 6) << "Z" << " "
<< std::setw( 9) << "KineE" << " "
<< std::setw( 9) << "dEStep" << " "
<< std::setw(10) << "StepLeng"
<< std::setw(10) << "TrakLeng"
<< std::setw(10) << "Volume" << " "
<< std::setw(10) << "Process" << G4endl;
G4cout << G4std::setw( 5) << fTrack->GetCurrentStepNumber() << " "
<< G4std::setw( 6) << G4BestUnit(fTrack->GetPosition().x(),"Length")
<< G4std::setw( 6) << G4BestUnit(fTrack->GetPosition().y(),"Length")
<< G4std::setw( 6) << G4BestUnit(fTrack->GetPosition().z(),"Length")
<< G4std::setw( 6) << G4BestUnit(fTrack->GetKineticEnergy(),"Energy")
<< G4std::setw( 6) << G4BestUnit(fStep->GetTotalEnergyDeposit(),"Energy")
<< G4std::setw( 6) << G4BestUnit(fStep->GetStepLength(),"Length")
<< G4std::setw( 6) << G4BestUnit(fTrack->GetTrackLength(),"Length");
G4cout << std::setw( 5) << fTrack->GetCurrentStepNumber() << " "
<< std::setw( 6) << G4BestUnit(fTrack->GetPosition().x(),"Length")
<< std::setw( 6) << G4BestUnit(fTrack->GetPosition().y(),"Length")
<< std::setw( 6) << G4BestUnit(fTrack->GetPosition().z(),"Length")
<< std::setw( 6) << G4BestUnit(fTrack->GetKineticEnergy(),"Energy")
<< std::setw( 6) << G4BestUnit(fStep->GetTotalEnergyDeposit(),"Energy")
<< std::setw( 6) << G4BestUnit(fStep->GetStepLength(),"Length")
<< std::setw( 6) << G4BestUnit(fTrack->GetTrackLength(),"Length");
if(fTrack->GetNextVolume()){
G4cout << G4std::setw(10) << fTrack->GetVolume()->GetName();
G4cout << std::setw(10) << fTrack->GetVolume()->GetName();
} else {
G4cout << G4std::setw(10) << "OutOfWorld";
G4cout << std::setw(10) << "OutOfWorld";
}
G4cout << " initStep" << G4endl;
}
@@ -22,7 +22,7 @@
//
//
// $Id: Em10VisManager.cc,v 1.4 2002/11/13 21:39:47 duns Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 24th January 1998.
@@ -1,4 +1,4 @@
$Id: History,v 1.28 2003/03/26 16:23:15 maire Exp $
$Id: History,v 1.32 2003/06/18 09:34:13 gcosmo Exp $
-------------------------------------------------------------------
=========================================================
@@ -14,7 +14,21 @@ track of all tags.
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
18-06-03 G.Cosmo (testem2-V05-01-03)
- Em2RunAction.cc: removed usage of G4USE_STD_NAMESPACE after
migration from G4std.
03-06-03 V.Ivanchenko (testem2-V05-01-02)
- Fix compilation warnings
15-05-03 V.Ivanchenko (testem2-V05-01-01)
- Proper deletion of old geometry when it is updated
09-05-03 V.Ivanchenko (testem2-V05-01-00)
- Add run05.mac - several runs with different setup
- Change update command
26-03-03 mma (testem2-V05-00-03)
- G4PVPlacement and G4PVReplica in logical mother
@@ -1,4 +1,4 @@
$Id: README,v 1.9 2002/12/11 17:12:20 maire Exp $
$Id: README,v 1.10 2003/06/03 10:07:12 vnivanch Exp $
-------------------------------------------------------------------
=========================================================
@@ -39,6 +39,9 @@ $Id: README,v 1.9 2002/12/11 17:12:20 maire Exp $
2. "general" - decays and transportation
3. "standard" (alternative) - standard EM physics
4. "model" (alternative) - standard EM physics using model approach
Model approach for EM physics was introduced in order to provide more
flexible way of construction of physics processes.
3- AN EVENT : THE PRIMARY GENERATOR
@@ -22,7 +22,7 @@
//
//
// $Id: TestEm2.cc,v 1.6 2001/10/25 15:12:05 maire Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -1,5 +1,5 @@
**********************************************
Geant4 version $Name: geant4-05-01 $
Geant4 version $Name: geant4-05-02 $
(13-Dec-2002)
Copyright : Geant4 Collaboration
**********************************************
@@ -1,6 +1,6 @@
**********************************************
Geant4 version $Name: geant4-05-01 $
(30-Apr-2003)
Geant4 version $Name: geant4-05-02 $
(27-June-2003)
Copyright : Geant4 Collaboration
**********************************************
G4Material: Mean excitation energy is changed for Water Iold= 70.8926eV; Inew= 75 eV;
@@ -168,20 +168,20 @@ Start Run processing.
Run terminated.
Run Summary
Number of events processed : 100
User=23.77s Real=40.12s Sys=2.87s
User=23.48s Real=32.28s Sys=2.71s
LATERAL PROFILE CUMULATIVE LATERAL PROFILE
bin Mean rms bin Mean rms
0.00-> 1.11 radl: 14.36% 5.72% 0-> 1.11 radl: 14.36% 5.72%
1.11-> 2.22 radl: 26.26% 10.79% 0-> 2.22 radl: 40.62% 13.37%
2.22-> 3.33 radl: 22.19% 9.03% 0-> 3.33 radl: 62.81% 15.91%
3.33-> 4.44 radl: 13.75% 7.33% 0-> 4.44 radl: 76.56% 14.26%
4.44-> 5.55 radl: 8.50% 7.31% 0-> 5.55 radl: 85.06% 10.05%
5.55-> 6.66 radl: 5.11% 5.66% 0-> 6.66 radl: 90.17% 6.73%
6.66-> 7.77 radl: 2.43% 3.31% 0-> 7.77 radl: 92.60% 5.49%
7.77-> 8.88 radl: 1.46% 2.59% 0-> 8.88 radl: 94.06% 3.94%
8.88-> 9.99 radl: 0.77% 2.44% 0-> 9.99 radl: 94.83% 3.01%
0.00-> 1.11 radl: 14.59% 6.17% 0-> 1.11 radl: 14.59% 6.17%
1.11-> 2.22 radl: 23.22% 10.06% 0-> 2.22 radl: 37.82% 12.90%
2.22-> 3.33 radl: 21.18% 10.07% 0-> 3.33 radl: 59.00% 16.67%
3.33-> 4.44 radl: 15.27% 7.88% 0-> 4.44 radl: 74.27% 15.55%
4.44-> 5.55 radl: 10.03% 6.62% 0-> 5.55 radl: 84.30% 13.02%
5.55-> 6.66 radl: 5.16% 5.60% 0-> 6.66 radl: 89.46% 10.50%
6.66-> 7.77 radl: 2.44% 4.09% 0-> 7.77 radl: 91.89% 8.64%
7.77-> 8.88 radl: 1.33% 3.36% 0-> 8.88 radl: 93.23% 6.18%
8.88-> 9.99 radl: 0.88% 2.56% 0-> 9.99 radl: 94.10% 4.76%
@@ -189,21 +189,21 @@ Run Summary
bin Mean rms bin Mean rms
0.00-> 0.11 radl: 68.50% 9.87% 0-> 0.11 radl: 68.50% 9.87%
0.11-> 0.22 radl: 14.54% 7.51% 0-> 0.22 radl: 83.05% 6.59%
0.22-> 0.33 radl: 5.46% 3.40% 0-> 0.33 radl: 88.51% 5.19%
0.33-> 0.44 radl: 3.16% 2.72% 0-> 0.44 radl: 91.67% 4.03%
0.44-> 0.56 radl: 1.89% 2.15% 0-> 0.56 radl: 93.55% 3.36%
0.56-> 0.67 radl: 1.27% 1.12% 0-> 0.67 radl: 94.83% 3.01%
0.00-> 0.11 radl: 67.07% 10.66% 0-> 0.11 radl: 67.07% 10.66%
0.11-> 0.22 radl: 15.01% 6.21% 0-> 0.22 radl: 82.07% 8.48%
0.22-> 0.33 radl: 5.96% 4.27% 0-> 0.33 radl: 88.04% 6.95%
0.33-> 0.44 radl: 3.02% 2.50% 0-> 0.44 radl: 91.06% 5.77%
0.44-> 0.56 radl: 1.99% 1.99% 0-> 0.56 radl: 93.05% 5.04%
0.56-> 0.67 radl: 1.05% 0.87% 0-> 0.67 radl: 94.10% 4.76%
SUMMARY
energy deposit : 94.83 % E0 +- 3.01 % E0
charged traklen: 13.83 radl +- 0.44 radl
neutral traklen: 204.03 radl +- 17.83 radl
energy deposit : 94.10 % E0 +- 4.76 % E0
charged traklen: 13.74 radl +- 0.70 radl
neutral traklen: 201.02 radl +- 21.34 radl
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 341185374, 166917226
Current couple of seeds = 252860250, 1878946438
----------------------------------------
Graphics systems deleted.
Visualization Manager deleting...
@@ -26,7 +26,7 @@ chmod +x $name.xb
#
# cleanup
#
rm *.o
rm -f *.o
echo 'done'
exit
@@ -25,7 +25,7 @@ chmod +x $name.xt
#
# cleanup
#
rm *.o
rm -f *.o
echo 'done'
exit
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em2DetectorConstruction.hh,v 1.6 2003/02/14 14:21:28 vnivanch Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: Em2DetectorConstruction.hh,v 1.7 2003/05/09 08:46:57 vnivanch Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -48,63 +48,62 @@ class Em2DetectorMessenger;
class Em2DetectorConstruction : public G4VUserDetectorConstruction
{
public:
Em2DetectorConstruction();
~Em2DetectorConstruction();
public:
void SetMaterial(const G4String&);
void SetLBining (G4ThreeVector);
void SetRBining (G4ThreeVector);
void SetRBining (G4ThreeVector);
void SetMagField(G4double);
G4VPhysicalVolume* Construct();
void UpdateGeometry();
public:
const
const
G4VPhysicalVolume* GetEcal() {return physiEcal;};
G4Material* GetMaterial() {return myMaterial;};
G4int GetnLtot() {return nLtot;};
G4int GetnRtot() {return nRtot;};
G4double GetdLradl() {return dLradl;};
G4double GetdRradl() {return dRradl;};
G4double GetfullLength() {return EcalLength;};
G4double GetfullRadius() {return EcalRadius;};
G4int GetnLtot() {return nLtot;};
G4int GetnRtot() {return nRtot;};
G4double GetdLradl() {return dLradl;};
G4double GetdRradl() {return dRradl;};
G4double GetfullLength() {return EcalLength;};
G4double GetfullRadius() {return EcalRadius;};
private:
void DefineMaterials();
G4VPhysicalVolume* ConstructVolumes();
G4int nLtot, nRtot; // nb of bins: longitudinal and radial
G4double dLradl, dRradl; // bin thickness (in radl unit)
G4Material* myMaterial; //pointer to the material
G4UniformMagField* magField; //pointer to the mag field
G4double EcalLength; //full length of the Calorimeter
G4double EcalRadius; //radius of the Calorimeter
G4Tubs* solidEcal; //pointer to the solid calorimeter
G4Tubs* solidEcal; //pointer to the solid calorimeter
G4LogicalVolume* logicEcal; //pointer to the logical calorimeter
G4VPhysicalVolume* physiEcal; //pointer to the physical calorimeter
G4Tubs* solidSlice; //pointer to the solid L-slice
G4Tubs* solidSlice; //pointer to the solid L-slice
G4LogicalVolume* logicSlice; //pointer to the logical L-slide
G4VPhysicalVolume* physiSlice; //pointer to the physical L-slide
G4Tubs* solidRing; //pointer to the solid R-slice
G4Tubs* solidRing; //pointer to the solid R-slice
G4LogicalVolume* logicRing; //pointer to the logical R-slide
G4VPhysicalVolume* physiRing; //pointer to the physical R-slide
Em2DetectorMessenger* detectorMessenger; //pointer to the Messenger
private:
void DefineMaterials();
G4VPhysicalVolume* ConstructVolumes();
Em2DetectorMessenger* detectorMessenger; //pointer to the Messenger
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -22,7 +22,7 @@
//
//
// $Id: Em2DetectorMessenger.hh,v 1.6 2002/12/16 11:29:22 stesting Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em2EventAction.hh,v 1.5 2002/12/16 11:29:22 stesting Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em2EventActionMessenger.hh,v 1.5 2002/12/16 11:29:22 stesting Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em2PhysListEmModel.hh,v 1.2 2002/12/16 11:29:22 stesting Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -22,7 +22,7 @@
//
//
// $Id: Em2PhysListEmStandard.hh,v 1.2 2002/12/16 11:29:22 stesting Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -22,7 +22,7 @@
//
//
// $Id: Em2PhysListGeneral.hh,v 1.2 2002/12/16 11:29:22 stesting Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -22,7 +22,7 @@
//
//
// $Id: Em2PhysListParticles.hh,v 1.2 2002/12/16 11:29:22 stesting Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -22,7 +22,7 @@
//
//
// $Id: Em2PhysicsList.hh,v 1.9 2003/03/17 15:30:08 vnivanch Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em2PhysicsListMessenger.hh,v 1.5 2002/12/16 11:29:22 stesting Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em2PrimaryGeneratorAction.hh,v 1.5 2002/12/16 11:29:22 stesting Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em2RunAction.hh,v 1.13 2002/12/16 11:29:22 stesting Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: Em2RunAction.hh,v 1.14 2003/06/16 16:47:39 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -42,9 +42,9 @@
#include "G4Positron.hh"
#include "globals.hh"
#include "g4std/vector"
#include <vector>
typedef G4std::vector<G4double> MyVector;
typedef std::vector<G4double> MyVector;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -22,7 +22,7 @@
//
//
// $Id: Em2SteppingAction.hh,v 1.5 2002/12/16 11:29:22 stesting Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: Em2SteppingVerbose.hh,v 1.8 2002/12/16 11:29:22 stesting Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// This class manages the verbose outputs in G4SteppingManager.
// It inherits from G4SteppingVerbose.
@@ -22,7 +22,7 @@
//
//
// $Id: Em2TrackingAction.hh,v 1.5 2002/12/16 11:29:22 stesting Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//

Some files were not shown because too many files have changed in this diff Show More