Import Geant4 10.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 11:51:14 +02:00
parent e2d2f9810a
commit 286caacf06
12421 changed files with 730077 additions and 502383 deletions
@@ -1,4 +1,4 @@
# $Id: GNUmakefile,v 1.3 2009-05-11 13:03:17 gcosmo Exp $
# $Id: GNUmakefile 68025 2013-03-13 13:43:46Z gcosmo $
# --------------------------------------------------------------
# GNUmakefile for examples module.
# --------------------------------------------------------------
@@ -1,4 +1,4 @@
$Id: History,v 1.20 2010-11-17 10:55:23 gcosmo Exp $
$Id: History 77529 2013-11-25 13:11:09Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -16,6 +16,11 @@ committal in the CVS repository !
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
November 22nd, 2013 Tatiana Nikitina G01-V09-06-00
- Added test case for 'genericPolycone' and 'genericPolyhedra'.
Requires update to GDML schema 3.1.0 to avoid validation errors.
October 19th, 2012 Ben Morgan
- Simplify CMake syntax to find Geant4 with gdml support
@@ -1,4 +1,4 @@
$Id: README,v 1.4 2009-05-11 13:03:17 gcosmo Exp $
$Id: README 68025 2013-03-13 13:43:46Z gcosmo $
-------------------------------------------------------------------
=========================================================
+29 -24
View File
@@ -1,13 +1,13 @@
Usage: load_gdml <intput_gdml_file:mandatory> <output_gdml_file:optional>
G4GDML: Reading '/build/cdash/G4/release/09-06-cand-00_branch/examples/extended/persistency/gdml/G01/solids.gdml'...
G4GDML: Reading '/ec/G4-builds/release/slc6-gcc47-RelWithDebInfo/09-06-ref-11_branch/examples/extended/persistency/gdml/G01/solids.gdml'...
G4GDML: Reading definitions...
G4GDML: Reading materials...
G4GDML: Reading solids...
G4GDML: Reading structure...
G4GDML: Reading setup...
G4GDML: Reading '/build/cdash/G4/release/09-06-cand-00_branch/examples/extended/persistency/gdml/G01/solids.gdml' done!
G4GDML: Reading '/ec/G4-builds/release/slc6-gcc47-RelWithDebInfo/09-06-ref-11_branch/examples/extended/persistency/gdml/G01/solids.gdml' done!
Stripping off GDML names of materials, solids and volumes ...
############################################
@@ -15,7 +15,7 @@ Stripping off GDML names of materials, solids and volumes ...
############################################
*************************************************************
Geant4 version Name: geant4-09-06-ref-00 (30-November-2012)
Geant4 version Name: geant4-10-00-ref-00 (6-December-2013)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
@@ -47,14 +47,14 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
========= Table of registered couples ==============================
Index : 0 used in the geometry : Yes recalculation needed : No
Index : 0 used in the geometry : Yes
Material : Air
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma -1 MeV e- -1 MeV e+ -1 MeV proton -1 MeV
Region(s) which use this couple :
DefaultRegionForTheWorld
Index : 1 used in the geometry : Yes recalculation needed : No
Index : 1 used in the geometry : Yes
Material : Water
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma -1 MeV e- -1 MeV e+ -1 MeV proton -1 MeV
@@ -77,8 +77,8 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Voxelisation: top memory users:
Percent Memory Heads Nodes Pointers Total CPU Volume
------- -------- ------ ------ -------- ---------- ----------
100.00 3k 11 39 118 0.00 World
Start Run processing.
100.00 3k 12 44 132 0.00 World
### Run 0 starts.
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
@@ -429,14 +429,14 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
========= Table of registered couples ==============================
Index : 0 used in the geometry : Yes recalculation needed : No
Index : 0 used in the geometry : Yes
Material : Air
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma -1 MeV e- -1 MeV e+ -1 MeV proton -1 MeV
Region(s) which use this couple :
DefaultRegionForTheWorld
Index : 1 used in the geometry : Yes recalculation needed : No
Index : 1 used in the geometry : Yes
Material : Water
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma -1 MeV e- -1 MeV e+ -1 MeV proton -1 MeV
@@ -445,7 +445,7 @@ Index : 1 used in the geometry : Yes recalculation needed : No
====================================================================
Start Run processing.
### Run 1 starts.
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
@@ -777,7 +777,7 @@ Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolu
Run terminated.
Run Summary
Number of events processed : 20
User=0s Real=0.01s Sys=0s
User=0.01s Real=0.02s Sys=0s
/tracking/verbose 0
/gun/direction 0.3 0.2 1
/run/beamOn 20
@@ -797,14 +797,14 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
========= Table of registered couples ==============================
Index : 0 used in the geometry : Yes recalculation needed : No
Index : 0 used in the geometry : Yes
Material : Air
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma -1 MeV e- -1 MeV e+ -1 MeV proton -1 MeV
Region(s) which use this couple :
DefaultRegionForTheWorld
Index : 1 used in the geometry : Yes recalculation needed : No
Index : 1 used in the geometry : Yes
Material : Water
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma -1 MeV e- -1 MeV e+ -1 MeV proton -1 MeV
@@ -813,11 +813,11 @@ Index : 1 used in the geometry : Yes recalculation needed : No
====================================================================
Start Run processing.
### Run 2 starts.
Run terminated.
Run Summary
Number of events processed : 20
User=0.01s Real=0s Sys=0s
User=0s Real=0s Sys=0s
/gun/direction 0.3 -0.2 1
/run/beamOn 20
@@ -836,14 +836,14 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
========= Table of registered couples ==============================
Index : 0 used in the geometry : Yes recalculation needed : No
Index : 0 used in the geometry : Yes
Material : Air
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma -1 MeV e- -1 MeV e+ -1 MeV proton -1 MeV
Region(s) which use this couple :
DefaultRegionForTheWorld
Index : 1 used in the geometry : Yes recalculation needed : No
Index : 1 used in the geometry : Yes
Material : Water
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma -1 MeV e- -1 MeV e+ -1 MeV proton -1 MeV
@@ -852,7 +852,7 @@ Index : 1 used in the geometry : Yes recalculation needed : No
====================================================================
Start Run processing.
### Run 3 starts.
Run terminated.
Run Summary
Number of events processed : 20
@@ -875,14 +875,14 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
========= Table of registered couples ==============================
Index : 0 used in the geometry : Yes recalculation needed : No
Index : 0 used in the geometry : Yes
Material : Air
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma -1 MeV e- -1 MeV e+ -1 MeV proton -1 MeV
Region(s) which use this couple :
DefaultRegionForTheWorld
Index : 1 used in the geometry : Yes recalculation needed : No
Index : 1 used in the geometry : Yes
Material : Water
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma -1 MeV e- -1 MeV e+ -1 MeV proton -1 MeV
@@ -891,7 +891,7 @@ Index : 1 used in the geometry : Yes recalculation needed : No
====================================================================
Start Run processing.
### Run 4 starts.
Run terminated.
Run Summary
Number of events processed : 20
@@ -900,9 +900,14 @@ G4 kernel has come to Quit state.
UserDetectorConstruction deleted.
UserPhysicsList deleted.
UserPrimaryGenerator deleted.
RunManager is deleting RunManagerKernel.
EventManager deleted.
UImanager deleted.
Units table cleared.
================== Deleting memory pools ===================
Number of memory pools allocated: 9 of which, static: 0
Dynamic pools deleted: 9 / Total memory freed: 0.0096 Mb
============================================================
G4Allocator objects are deleted.
UImanager deleted.
StateManager deleted.
RunManagerKernel is deleted.
RunManager is deleted.
RunManagerKernel is deleted. Good bye :)
@@ -27,7 +27,7 @@
/// \brief Definition of the G01DetectorConstruction class
//
//
// $Id$
// $Id: G01DetectorConstruction.hh 68025 2013-03-13 13:43:46Z gcosmo $
//
//
@@ -47,7 +47,7 @@ class G01DetectorConstruction : public G4VUserDetectorConstruction
fWorld = setWorld;
}
G4VPhysicalVolume *Construct()
virtual G4VPhysicalVolume *Construct()
{
return fWorld;
}
@@ -27,7 +27,7 @@
/// \brief Definition of the G01PhysicsList class
//
//
// $Id$
// $Id: G01PhysicsList.hh 68025 2013-03-13 13:43:46Z gcosmo $
//
//
@@ -48,9 +48,9 @@ class G01PhysicsList : public G4VUserPhysicsList
protected:
void ConstructParticle();
void ConstructProcess();
void SetCuts();
virtual void ConstructParticle();
virtual void ConstructProcess();
virtual void SetCuts();
};
#endif
@@ -28,7 +28,6 @@
//
//
// $Id: PrimaryGeneratorAction.hh,v 1.2 2008-11-10 15:39:34 gcosmo Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
@@ -51,7 +50,7 @@ class G01PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
G01PrimaryGeneratorAction();
~G01PrimaryGeneratorAction();
void GeneratePrimaries(G4Event* anEvent);
virtual void GeneratePrimaries(G4Event* anEvent);
private:
@@ -27,7 +27,7 @@
/// \brief Main program of the persistency/gdml/G01 example
//
//
// $Id$
// $Id: load_gdml.cc 68025 2013-03-13 13:43:46Z gcosmo $
//
//
// --------------------------------------------------------------
@@ -17,6 +17,7 @@
<position name="pos21" x="-125" y=" 125"/>
<position name="pos31" x=" 125" y=" 125"/>
<position name="pos41" x=" 250" y=" 125"/>
<position name="pos412" x=" 250" y=" 225"/>
<position name="pos51" x=" 550" y=" 125"/>
<position name="pos61" x=" 550" y="-125"/>
<position name="pos71" x=" 550" y=" 0"/>
@@ -27,6 +28,7 @@
<position name="pos301" x=" 750" y=" 125"/>
<position name="pos401" x=" 750" y="-125"/>
<position name="pos501" x="-750" y="-125"/>
<position name="pos502" x="-750" y="-225"/>
<position name="pos601" x="-750" y=" 125"/>
<position name="pos701" x="-750" y=" 0"/>
<position name="pos801" x="950" y=" 125"/>
@@ -110,6 +112,12 @@
<zplane z="100.0" rmin="10.0" rmax="30.0"/>
</polycone>
<genericPolycone aunit="degree" name="testgenpoly" deltaphi="360.0" startphi="0.0">
<rzpoint r="0.0" z="10.0" />
<rzpoint r="5.0" z="20.0" />
<rzpoint r="0.0" z="30.0" />
</genericPolycone>
<tessellated aunit="degree" lunit="mm" name="testtessel">
<triangular vertex1="v0" vertex2="v1" vertex3="v2"/>
<triangular vertex1="v1" vertex2="v3" vertex3="v2"/>
@@ -125,6 +133,11 @@
<zplane z="10.0" rmin="1.0" rmax="5.0"/>
<zplane z="100.0" rmin="10.0" rmax="30.0"/>
</polyhedra>
<genericPolyhedra aunit="degree" deltaphi="90." lunit="mm" name="testgenph" numsides="3" startphi="0." >
<rzpoint r="0.0" z="10.0" />
<rzpoint r="5.0" z="20.0" />
<rzpoint r="0.0" z="30.0" />
</genericPolyhedra>
<hype name="testhype" rmin="10.0" rmax="30.0" inst="10.0" outst="20.0" z="50.0"/>
@@ -186,6 +199,11 @@
<solidref ref="testpoly"/>
</volume>
<volume name="vol412">
<materialref ref="Water"/>
<solidref ref="testgenpoly"/>
</volume>
<volume name="vol51">
<materialref ref="Water"/>
<solidref ref="testellipsoid"/>
@@ -231,6 +249,10 @@
<materialref ref="Water"/>
<solidref ref="testph"/>
</volume>
<volume name="vol502">
<materialref ref="Water"/>
<solidref ref="testgenph"/>
</volume>
<volume name="vol601">
<materialref ref="Water"/>
<solidref ref="testhype"/>
@@ -308,6 +330,12 @@
<positionref ref="pos41"/>
<rotationref ref="identity"/>
</physvol>
<physvol>
<volumeref ref="vol412"/>
<positionref ref="pos412"/>
<rotationref ref="identity"/>
</physvol>
<physvol>
<volumeref ref="vol51"/>
@@ -364,6 +392,12 @@
<volumeref ref="vol501"/>
<positionref ref="pos501"/>
<rotationref ref="identity"/>
</physvol>
<physvol>
<volumeref ref="vol502"/>
<positionref ref="pos502"/>
<rotationref ref="identity"/>
</physvol>
<physvol>
@@ -27,7 +27,7 @@
/// \brief Implementation of the G01PhysicsList class
//
//
// $Id$
// $Id: G01PhysicsList.cc 68025 2013-03-13 13:43:46Z gcosmo $
//
//
@@ -36,6 +36,7 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
G01PhysicsList::G01PhysicsList()
: G4VUserPhysicsList()
{
}
@@ -27,7 +27,7 @@
/// \brief Implementation of the G01PrimaryGeneratorAction class
//
//
// $Id$
// $Id: G01PrimaryGeneratorAction.cc 68025 2013-03-13 13:43:46Z gcosmo $
//
//
@@ -41,6 +41,8 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
G01PrimaryGeneratorAction::G01PrimaryGeneratorAction()
: G4VUserPrimaryGeneratorAction(),
fParticleGun(0)
{
G4int n_particle = 1;
fParticleGun = new G4ParticleGun(n_particle);
@@ -1,4 +1,4 @@
# $Id: GNUmakefile,v 1.2 2008-08-27 11:04:41 gcosmo Exp $
# $Id: GNUmakefile 68025 2013-03-13 13:43:46Z gcosmo $
# --------------------------------------------------------------
# GNUmakefile for examples module. Gabriele Cosmo, 06/04/98.
# --------------------------------------------------------------
@@ -1,4 +1,4 @@
$Id: History,v 1.11 2010-11-30 10:53:38 gcosmo Exp $
$Id: History 73394 2013-08-27 09:23:26Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -17,8 +17,11 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
August 27th, 2013 Gabriele Cosmo G02-V09-06-00
- Added G4Ellipsoid among solids for parameterisation.
July 27th, 2011 Witek Pokorski G02-V09-05-00
- Cosmetic changes to comply to coding conventions
- Cosmetic changes to comply to coding conventions.
November 10th, 2011 Gabriele Cosmo G02-V09-04-01
- Changed from no longer supported physics-list QGSP-BERT-EMV to QGSP-BERT.
@@ -1,4 +1,4 @@
$Id: README,v 1.2 2008-11-13 16:44:29 gcosmo Exp $
$Id: README 68025 2013-03-13 13:43:46Z gcosmo $
-------------------------------------------------------------------
Example of use GDML reader/writer in Detector Construction
@@ -27,7 +27,7 @@
/// \brief Main program of the persistency/gdml/G02 example
//
//
// $Id$
// $Id: geotest.cc 68025 2013-03-13 13:43:46Z gcosmo $
//
//
// --------------------------------------------------------------
@@ -27,7 +27,7 @@
/// \brief Definition of the G02ChamberParameterisation class
//
//
// $Id$
// $Id: G02ChamberParameterisation.hh 73394 2013-08-27 09:23:26Z gcosmo $
//
// Class G02ChamberParameterisation
//
@@ -53,6 +53,7 @@ class G4Trap;
class G4Cons;
class G4Orb;
class G4Sphere;
class G4Ellipsoid;
class G4Torus;
class G4Para;
class G4Hype;
@@ -75,7 +76,7 @@ class G02ChamberParameterisation : public G4VPVParameterisation
G4double lengthInitial,
G4double lengthFinal );
virtual ~G02ChamberParameterisation();
~G02ChamberParameterisation();
void ComputeTransformation (const G4int copyNo,
G4VPhysicalVolume* physVol) const;
@@ -90,6 +91,7 @@ class G02ChamberParameterisation : public G4VPVParameterisation
void ComputeDimensions (G4Cons&,const G4int,const G4VPhysicalVolume*) const {}
void ComputeDimensions (G4Sphere&,const G4int,const G4VPhysicalVolume*) const {}
void ComputeDimensions (G4Orb&,const G4int,const G4VPhysicalVolume*) const {}
void ComputeDimensions (G4Ellipsoid&,const G4int,const G4VPhysicalVolume*) const {}
void ComputeDimensions (G4Torus&,const G4int,const G4VPhysicalVolume*) const {}
void ComputeDimensions (G4Para&,const G4int,const G4VPhysicalVolume*) const {}
void ComputeDimensions (G4Hype&,const G4int,const G4VPhysicalVolume*) const {}
@@ -27,7 +27,7 @@
/// \brief Definition of the G02DetectorConstruction class
//
//
// $Id$
// $Id: G02DetectorConstruction.hh 68025 2013-03-13 13:43:46Z gcosmo $
//
// Class G02DetectorConstruction
//
@@ -63,7 +63,7 @@ class G02DetectorConstruction : public G4VUserDetectorConstruction
// Construction of SubDetectors
//
G4VPhysicalVolume* Construct();
virtual G4VPhysicalVolume* Construct();
G4LogicalVolume* ConstructSubDetector1();
G4LogicalVolume* ConstructSubDetector2();
G4VPhysicalVolume* ConstructDetector();
@@ -27,7 +27,7 @@
/// \brief Definition of the G02DetectorMessenger class
//
//
// $Id$
// $Id: G02DetectorMessenger.hh 68025 2013-03-13 13:43:46Z gcosmo $
//
// Class G02DetectorMessenger
//
@@ -58,8 +58,7 @@ class G02DetectorMessenger: public G4UImessenger
G02DetectorMessenger( G02DetectorConstruction* );
~G02DetectorMessenger();
void SetNewValue( G4UIcommand*, G4String );
void SetNewValue( G4UIcommand*, G4int );
virtual void SetNewValue( G4UIcommand*, G4String );
private:
@@ -27,7 +27,7 @@
/// \brief Definition of the G02PrimaryGeneratorAction class
//
//
// $Id$
// $Id: G02PrimaryGeneratorAction.hh 68025 2013-03-13 13:43:46Z gcosmo $
//
// Class G02PrimaryGeneratorAction
//
@@ -59,7 +59,7 @@ class G02PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
// Used by Geant4 to generate the primary particles of the event
//
void GeneratePrimaries(G4Event* anEvent);
virtual void GeneratePrimaries(G4Event* anEvent);
private:
@@ -27,7 +27,7 @@
/// \brief Definition of the G02RunAction class
//
//
// $Id$
// $Id: G02RunAction.hh 68025 2013-03-13 13:43:46Z gcosmo $
//
// Class G02RunAction
//
@@ -56,8 +56,8 @@ class G02RunAction : public G4UserRunAction
G02RunAction();
~G02RunAction();
void BeginOfRunAction(const G4Run*);
void EndOfRunAction(const G4Run*);
virtual void BeginOfRunAction(const G4Run*);
virtual void EndOfRunAction(const G4Run*);
};
@@ -27,7 +27,7 @@
/// \brief Implementation of the G02ChamberParameterisation class
//
//
// $Id$
// $Id: G02ChamberParameterisation.cc 68025 2013-03-13 13:43:46Z gcosmo $
//
// Class G02ChamberParameterisation implementation
//
@@ -48,6 +48,7 @@ G02ChamberParameterisation( G4int NoChambers,
G4double widthChamber,
G4double lengthInitial,
G4double lengthFinal )
: G4VPVParameterisation()
{
fNoChambers = NoChambers;
fStartZ = startZ;
@@ -27,7 +27,7 @@
/// \brief Implementation of the G02DetectorConstruction class
//
//
// $Id$
// $Id: G02DetectorConstruction.cc 68025 2013-03-13 13:43:46Z gcosmo $
//
// Class G02DetectorConstruction implementation
//
@@ -87,7 +87,9 @@
// Constructor
//
G02DetectorConstruction::G02DetectorConstruction()
: fAir(0), fAluminum(0), fPb(0), fXenon(0)
: G4VUserDetectorConstruction(),
fAir(0), fAluminum(0), fPb(0), fXenon(0),
fDetectorMessenger(0)
{
fExpHall_x=5.*m;
@@ -27,7 +27,7 @@
/// \brief Implementation of the G02DetectorMessenger class
//
//
// $Id$
// $Id: G02DetectorMessenger.cc 68025 2013-03-13 13:43:46Z gcosmo $
//
// Class G02DetectorMessenger implementation
//
@@ -44,7 +44,12 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
G02DetectorMessenger::G02DetectorMessenger( G02DetectorConstruction* myDet )
: fTheDetector( myDet )
: G4UImessenger(),
fTheDetector( myDet ),
fTheDetectorDir(0),
fTheReadCommand(0),
fTheWriteCommand(0),
fTheStepCommand(0)
{
fTheDetectorDir = new G4UIdirectory( "/mydet/" );
fTheDetectorDir->SetGuidance("Detector control.");
@@ -27,7 +27,7 @@
/// \brief Implementation of the G02PrimaryGeneratorAction class
//
//
// $Id$
// $Id: G02PrimaryGeneratorAction.cc 68025 2013-03-13 13:43:46Z gcosmo $
//
// Class G02PrimaryGeneratorAction implementation
//
@@ -42,6 +42,10 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
G02PrimaryGeneratorAction::G02PrimaryGeneratorAction()
: G4VUserPrimaryGeneratorAction(),
fParticleGun(0),
fParticleTable(0)
{
// Particle gun and particle table
//
@@ -27,7 +27,7 @@
/// \brief Implementation of the G02RunAction class
//
//
// $Id$
// $Id: G02RunAction.cc 68025 2013-03-13 13:43:46Z gcosmo $
//
// Class G02RunAction implementation
//
@@ -48,6 +48,7 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
G02RunAction::G02RunAction()
: G4UserRunAction()
{
}
@@ -1,4 +1,4 @@
# $Id: GNUmakefile,v 1.2 2009-04-15 13:26:26 gcosmo Exp $
# $Id: GNUmakefile 68025 2013-03-13 13:43:46Z gcosmo $
# --------------------------------------------------------------
# GNUmakefile for examples module. Gabriele Cosmo, 06/04/98.
# --------------------------------------------------------------
@@ -1,4 +1,4 @@
$Id: History,v 1.11 2010-11-17 11:40:58 gcosmo Exp $
$Id: History 69987 2013-05-21 12:33:52Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -17,6 +17,9 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
May 17th, 2013 Witek Pokorski G03-V09-06-00
- changes to comply to coding rule 2.1
July 27th, 2012 Witek Pokorski G03-V09-05-00
- Adding cmake and cosmetic changes to comply to coding conventions
@@ -1,4 +1,4 @@
$Id: README,v 1.2 2009-04-15 13:26:26 gcosmo Exp $
$Id: README 68025 2013-03-13 13:43:46Z gcosmo $
-------------------------------------------------------------------
Example of definition of a GDML extension with associated reader and writer
@@ -27,7 +27,7 @@
/// \brief Main program of the persistency/gdml/G03 example
//
//
// $Id$
// $Id: gdml_ext.cc 68025 2013-03-13 13:43:46Z gcosmo $
//
//
// --------------------------------------------------------------
@@ -27,7 +27,7 @@
/// \brief Definition of the G03ColorReader class
//
//
// $Id$
// $Id: G03ColorReader.hh 69987 2013-05-21 12:33:52Z gcosmo $
//
//
// class G03ColorReader
@@ -60,7 +60,7 @@ class G03ColorReader : public G4GDMLReadStructure
protected:
void VolumeRead(const xercesc::DOMElement* const);
virtual void VolumeRead(const xercesc::DOMElement* const);
private:
@@ -27,7 +27,7 @@
/// \brief Definition of the G03ColorWriter class
//
//
// $Id$
// $Id: G03ColorWriter.hh 68025 2013-03-13 13:43:46Z gcosmo $
//
//
// class G03ColorWriter
@@ -27,7 +27,7 @@
/// \brief Definition of the G03DetectorConstruction class
//
//
// $Id$
// $Id: G03DetectorConstruction.hh 69987 2013-05-21 12:33:52Z gcosmo $
//
// Class G03DetectorConstruction
//
@@ -58,7 +58,7 @@ class G03DetectorConstruction : public G4VUserDetectorConstruction
// Construction of Detector
//
G4VPhysicalVolume* Construct();
virtual G4VPhysicalVolume* Construct();
// Make List of materials
//
@@ -27,7 +27,7 @@
/// \brief Definition of the G03DetectorMessenger class
//
//
// $Id$
// $Id: G03DetectorMessenger.hh 69987 2013-05-21 12:33:52Z gcosmo $
//
// Class G03DetectorMessenger
//
@@ -55,7 +55,7 @@ class G03DetectorMessenger: public G4UImessenger
G03DetectorMessenger( G03DetectorConstruction* );
~G03DetectorMessenger();
void SetNewValue( G4UIcommand*, G4String );
virtual void SetNewValue( G4UIcommand*, G4String );
private:
@@ -27,7 +27,7 @@
/// \brief Definition of the G03PrimaryGeneratorAction class
//
//
// $Id$
// $Id: G03PrimaryGeneratorAction.hh 69987 2013-05-21 12:33:52Z gcosmo $
//
// Class G03PrimaryGeneratorAction
//
@@ -57,7 +57,7 @@ class G03PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
// Used by Geant4 to generate the primary particles of the event
//
void GeneratePrimaries(G4Event* anEvent);
virtual void GeneratePrimaries(G4Event* anEvent);
private:
@@ -27,7 +27,7 @@
/// \brief Definition of the G03RunAction class
//
//
// $Id$
// $Id: G03RunAction.hh 69987 2013-05-21 12:33:52Z gcosmo $
//
// Class G03RunAction
//
@@ -54,8 +54,8 @@ class G03RunAction : public G4UserRunAction
G03RunAction();
~G03RunAction();
void BeginOfRunAction(const G4Run*);
void EndOfRunAction(const G4Run*);
virtual void BeginOfRunAction(const G4Run*);
virtual void EndOfRunAction(const G4Run*);
};
@@ -26,7 +26,7 @@
/// \file persistency/gdml/G03/src/G03ColorReader.cc
/// \brief Implementation of the G03ColorReader class
//
// $Id$
// $Id: G03ColorReader.cc 68025 2013-03-13 13:43:46Z gcosmo $
//
// --------------------------------------------------------------------
@@ -26,7 +26,7 @@
/// \file persistency/gdml/G03/src/G03ColorWriter.cc
/// \brief Implementation of the G03ColorWriter class
//
// $Id$
// $Id: G03ColorWriter.cc 68025 2013-03-13 13:43:46Z gcosmo $
//
// --------------------------------------------------------------------
@@ -27,7 +27,7 @@
/// \brief Implementation of the G03DetectorConstruction class
//
//
// $Id$
// $Id: G03DetectorConstruction.cc 68025 2013-03-13 13:43:46Z gcosmo $
//
// Class G03DetectorConstruction implementation
//
@@ -58,7 +58,10 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
G03DetectorConstruction::G03DetectorConstruction()
: fAir(0), fAluminum(0), fPb(0), fXenon(0)
: G4VUserDetectorConstruction(),
fAir(0), fAluminum(0), fPb(0), fXenon(0),
fReader(0), fWriter(0), fParser(0),
fDetectorMessenger(0)
{
fReadFile = "color_extension.gdml";
fWriteFile = "color_extension_test.gdml";
@@ -27,7 +27,7 @@
/// \brief Implementation of the G03DetectorMessenger class
//
//
// $Id$
// $Id: G03DetectorMessenger.cc 68025 2013-03-13 13:43:46Z gcosmo $
//
// Class G03DetectorMessenger implementation
//
@@ -43,7 +43,11 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
G03DetectorMessenger::G03DetectorMessenger( G03DetectorConstruction* myDet )
: fTheDetector( myDet )
: G4UImessenger(),
fTheDetector( myDet ),
fTheDetectorDir(0),
fTheReadCommand(0),
fTheWriteCommand(0)
{
fTheDetectorDir = new G4UIdirectory( "/mydet/" );
fTheDetectorDir->SetGuidance("Detector control.");
@@ -27,7 +27,7 @@
/// \brief Implementation of the G03PrimaryGeneratorAction class
//
//
// $Id$
// $Id: G03PrimaryGeneratorAction.cc 68025 2013-03-13 13:43:46Z gcosmo $
//
// Class G03PrimaryGeneratorAction implementation
//
@@ -42,6 +42,9 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
G03PrimaryGeneratorAction::G03PrimaryGeneratorAction()
: G4VUserPrimaryGeneratorAction(),
fParticleGun(0),
fParticleTable(0)
{
// Particle gun and particle table
//
@@ -27,7 +27,7 @@
/// \brief Implementation of the G03RunAction class
//
//
// $Id$
// $Id: G03RunAction.cc 68025 2013-03-13 13:43:46Z gcosmo $
//
// Class G03RunAction implementation
//
@@ -48,6 +48,7 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
G03RunAction::G03RunAction()
: G4UserRunAction()
{
}
@@ -1,4 +1,4 @@
# $Id: GNUmakefile,v 1.1 2010-10-11 08:40:51 gcosmo Exp $
# $Id: GNUmakefile 68025 2013-03-13 13:43:46Z gcosmo $
# --------------------------------------------------------------
# GNUmakefile for examples module.
# --------------------------------------------------------------
@@ -1,4 +1,4 @@
$Id: History,v 1.4 2010-11-09 10:34:35 allison Exp $
$Id: History 69988 2013-05-21 12:36:24Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -17,6 +17,9 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
May 17st, 2013 W. Pokorski (G04-V09-06-00)
- changes for Coding Rule 2.1
July 31st, 2012 W. Pokorski (G04-V09-05-00)
- adding CMake file + cosmetic changes
@@ -1,4 +1,4 @@
$Id: README,v 1.1 2010-10-11 08:40:51 gcosmo Exp $
$Id: README 68025 2013-03-13 13:43:46Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -0,0 +1,763 @@
Usage: gdml_det <intput_gdml_file:mandatory>
G4GDML: Reading '/ec/G4-builds/release/slc6-gcc47-RelWithDebInfo/09-06-ref-11_branch/examples/extended/persistency/gdml/G04/auxiliary.gdml'...
G4GDML: Reading definitions...
G4GDML: Reading materials...
G4GDML: Reading solids...
G4GDML: Reading structure...
G4GDML: Reading setup...
G4GDML: Reading '/ec/G4-builds/release/slc6-gcc47-RelWithDebInfo/09-06-ref-11_branch/examples/extended/persistency/gdml/G04/auxiliary.gdml' done!
Stripping off GDML names of materials, solids and volumes ...
############################################
!!! WARNING - FPE detection is activated !!!
############################################
*************************************************************
Geant4 version Name: geant4-10-00-ref-00 (6-December-2013)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
*************************************************************
Found 1 volume(s) with auxiliary information.
Volume Boxvol has the following list of auxiliary information:
--> Type: SensDet Value: Tracker
--> Type: Color Value: Blue
Volume Boxvol has the following list of auxiliary information:
Attaching sensitive detector Tracker to volume Boxvol
Visualization Manager instantiating with verbosity "warnings (3)"...
Visualization Manager initialising...
Registering graphics systems...
You have successfully registered the following graphics systems.
Current available graphics systems are:
ASCIITree (ATree)
DAWNFILE (DAWNFILE)
G4HepRep (HepRepXML)
G4HepRepFile (HepRepFile)
OpenGLImmediateX (OGLIX)
OpenGLImmediateXm (OGLI, OGLIXm)
OpenGLStoredX (OGLSX)
OpenGLStoredXm (OGL, OGLS, OGLSXm)
RayTracer (RayTracer)
RayTracerX (RayTracerX)
VRML1FILE (VRML1FILE)
VRML2FILE (VRML2FILE)
gMocrenFile (gMocrenFile)
Registering model factories...
You have successfully registered the following model factories.
Registered model factories:
generic
drawByCharge
drawByParticleID
drawByOriginVolume
drawByAttribute
Registered filter factories:
chargeFilter
particleFilter
originVolumeFilter
attributeFilter
You have successfully registered the following user vis actions.
Run Duration User Vis Actions: none
End of Event User Vis Actions: none
End of Run User Vis Actions: none
Some /vis commands (optionally) take a string to specify colour.
Available colours:
black, blue, brown, cyan, gray, green, grey, magenta, red, white, yellow
/run/verbose 2
/run/beamOn 20
Region <DefaultRegionForTheWorld> -- -- appears in <World_PV> world volume
This region is in the mass world.
Root logical volume(s) : World
Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
Materials : Air
Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Root logical volume(s) :
Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
Materials :
Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
========= Table of registered couples ==============================
Index : 0 used in the geometry : Yes
Material : Air
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma -1 MeV e- -1 MeV e+ -1 MeV proton -1 MeV
Region(s) which use this couple :
DefaultRegionForTheWorld
====================================================================
Start closing geometry.
G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Total memory consumed for geometry optimisation: 0 kByte
Total CPU time elapsed for geometry optimisation: 0 seconds
### Run 0 starts.
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -614 0.1 0.1 1e+03 0 1.39e+03 1.39e+03 Boxvol_PV Transportation
2 614 0.1 0.1 1e+03 0 1.23e+03 2.61e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 0.1 1e+03 0 4.39e+03 7e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -535 147 0.1 1e+03 0 1.47e+03 1.47e+03 Boxvol_PV Transportation
2 579 258 0.1 1e+03 0 1.12e+03 2.59e+03 World_PV Transportation
Processing hits ....
3 5e+03 700 0.1 1e+03 0 4.44e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -676 0.1 133 1e+03 0 1.33e+03 1.33e+03 Boxvol_PV Transportation
2 498 0.1 250 1e+03 0 1.18e+03 2.51e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 700 1e+03 0 4.52e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -614 0.1 0.1 1e+03 0 1.39e+03 1.39e+03 Boxvol_PV Transportation
2 614 0.1 0.1 1e+03 0 1.23e+03 2.61e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 0.1 1e+03 0 4.39e+03 7e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -535 147 0.1 1e+03 0 1.47e+03 1.47e+03 Boxvol_PV Transportation
2 579 258 0.1 1e+03 0 1.12e+03 2.59e+03 World_PV Transportation
Processing hits ....
3 5e+03 700 0.1 1e+03 0 4.44e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -676 0.1 133 1e+03 0 1.33e+03 1.33e+03 Boxvol_PV Transportation
2 498 0.1 250 1e+03 0 1.18e+03 2.51e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 700 1e+03 0 4.52e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -614 0.1 0.1 1e+03 0 1.39e+03 1.39e+03 Boxvol_PV Transportation
2 614 0.1 0.1 1e+03 0 1.23e+03 2.61e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 0.1 1e+03 0 4.39e+03 7e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -535 147 0.1 1e+03 0 1.47e+03 1.47e+03 Boxvol_PV Transportation
2 579 258 0.1 1e+03 0 1.12e+03 2.59e+03 World_PV Transportation
Processing hits ....
3 5e+03 700 0.1 1e+03 0 4.44e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -676 0.1 133 1e+03 0 1.33e+03 1.33e+03 Boxvol_PV Transportation
2 498 0.1 250 1e+03 0 1.18e+03 2.51e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 700 1e+03 0 4.52e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -614 0.1 0.1 1e+03 0 1.39e+03 1.39e+03 Boxvol_PV Transportation
2 614 0.1 0.1 1e+03 0 1.23e+03 2.61e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 0.1 1e+03 0 4.39e+03 7e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -535 147 0.1 1e+03 0 1.47e+03 1.47e+03 Boxvol_PV Transportation
2 579 258 0.1 1e+03 0 1.12e+03 2.59e+03 World_PV Transportation
Processing hits ....
3 5e+03 700 0.1 1e+03 0 4.44e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -676 0.1 133 1e+03 0 1.33e+03 1.33e+03 Boxvol_PV Transportation
2 498 0.1 250 1e+03 0 1.18e+03 2.51e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 700 1e+03 0 4.52e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -614 0.1 0.1 1e+03 0 1.39e+03 1.39e+03 Boxvol_PV Transportation
2 614 0.1 0.1 1e+03 0 1.23e+03 2.61e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 0.1 1e+03 0 4.39e+03 7e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -535 147 0.1 1e+03 0 1.47e+03 1.47e+03 Boxvol_PV Transportation
2 579 258 0.1 1e+03 0 1.12e+03 2.59e+03 World_PV Transportation
Processing hits ....
3 5e+03 700 0.1 1e+03 0 4.44e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -676 0.1 133 1e+03 0 1.33e+03 1.33e+03 Boxvol_PV Transportation
2 498 0.1 250 1e+03 0 1.18e+03 2.51e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 700 1e+03 0 4.52e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -614 0.1 0.1 1e+03 0 1.39e+03 1.39e+03 Boxvol_PV Transportation
2 614 0.1 0.1 1e+03 0 1.23e+03 2.61e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 0.1 1e+03 0 4.39e+03 7e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -535 147 0.1 1e+03 0 1.47e+03 1.47e+03 Boxvol_PV Transportation
2 579 258 0.1 1e+03 0 1.12e+03 2.59e+03 World_PV Transportation
Processing hits ....
3 5e+03 700 0.1 1e+03 0 4.44e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -676 0.1 133 1e+03 0 1.33e+03 1.33e+03 Boxvol_PV Transportation
2 498 0.1 250 1e+03 0 1.18e+03 2.51e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 700 1e+03 0 4.52e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -614 0.1 0.1 1e+03 0 1.39e+03 1.39e+03 Boxvol_PV Transportation
2 614 0.1 0.1 1e+03 0 1.23e+03 2.61e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 0.1 1e+03 0 4.39e+03 7e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -535 147 0.1 1e+03 0 1.47e+03 1.47e+03 Boxvol_PV Transportation
2 579 258 0.1 1e+03 0 1.12e+03 2.59e+03 World_PV Transportation
Processing hits ....
3 5e+03 700 0.1 1e+03 0 4.44e+03 7.03e+03 OutOfWorld Transportation
Run terminated.
Run Summary
Number of events processed : 20
User=0s Real=0s Sys=0s
/gun/direction 0 0 -1
/run/beamOn 20
Region <DefaultRegionForTheWorld> -- -- appears in <World_PV> world volume
This region is in the mass world.
Root logical volume(s) : World
Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
Materials : Air
Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Root logical volume(s) :
Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
Materials :
Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
========= Table of registered couples ==============================
Index : 0 used in the geometry : Yes
Material : Air
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma -1 MeV e- -1 MeV e+ -1 MeV proton -1 MeV
Region(s) which use this couple :
DefaultRegionForTheWorld
====================================================================
### Run 1 starts.
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -614 0.1 0.1 1e+03 0 1.39e+03 1.39e+03 Boxvol_PV Transportation
2 614 0.1 0.1 1e+03 0 1.23e+03 2.61e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 0.1 1e+03 0 4.39e+03 7e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -535 147 0.1 1e+03 0 1.47e+03 1.47e+03 Boxvol_PV Transportation
2 579 258 0.1 1e+03 0 1.12e+03 2.59e+03 World_PV Transportation
Processing hits ....
3 5e+03 700 0.1 1e+03 0 4.44e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -676 0.1 133 1e+03 0 1.33e+03 1.33e+03 Boxvol_PV Transportation
2 498 0.1 250 1e+03 0 1.18e+03 2.51e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 700 1e+03 0 4.52e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -614 0.1 0.1 1e+03 0 1.39e+03 1.39e+03 Boxvol_PV Transportation
2 614 0.1 0.1 1e+03 0 1.23e+03 2.61e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 0.1 1e+03 0 4.39e+03 7e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -535 147 0.1 1e+03 0 1.47e+03 1.47e+03 Boxvol_PV Transportation
2 579 258 0.1 1e+03 0 1.12e+03 2.59e+03 World_PV Transportation
Processing hits ....
3 5e+03 700 0.1 1e+03 0 4.44e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -676 0.1 133 1e+03 0 1.33e+03 1.33e+03 Boxvol_PV Transportation
2 498 0.1 250 1e+03 0 1.18e+03 2.51e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 700 1e+03 0 4.52e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -614 0.1 0.1 1e+03 0 1.39e+03 1.39e+03 Boxvol_PV Transportation
2 614 0.1 0.1 1e+03 0 1.23e+03 2.61e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 0.1 1e+03 0 4.39e+03 7e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -535 147 0.1 1e+03 0 1.47e+03 1.47e+03 Boxvol_PV Transportation
2 579 258 0.1 1e+03 0 1.12e+03 2.59e+03 World_PV Transportation
Processing hits ....
3 5e+03 700 0.1 1e+03 0 4.44e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -676 0.1 133 1e+03 0 1.33e+03 1.33e+03 Boxvol_PV Transportation
2 498 0.1 250 1e+03 0 1.18e+03 2.51e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 700 1e+03 0 4.52e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -614 0.1 0.1 1e+03 0 1.39e+03 1.39e+03 Boxvol_PV Transportation
2 614 0.1 0.1 1e+03 0 1.23e+03 2.61e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 0.1 1e+03 0 4.39e+03 7e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -535 147 0.1 1e+03 0 1.47e+03 1.47e+03 Boxvol_PV Transportation
2 579 258 0.1 1e+03 0 1.12e+03 2.59e+03 World_PV Transportation
Processing hits ....
3 5e+03 700 0.1 1e+03 0 4.44e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -676 0.1 133 1e+03 0 1.33e+03 1.33e+03 Boxvol_PV Transportation
2 498 0.1 250 1e+03 0 1.18e+03 2.51e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 700 1e+03 0 4.52e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -614 0.1 0.1 1e+03 0 1.39e+03 1.39e+03 Boxvol_PV Transportation
2 614 0.1 0.1 1e+03 0 1.23e+03 2.61e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 0.1 1e+03 0 4.39e+03 7e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -535 147 0.1 1e+03 0 1.47e+03 1.47e+03 Boxvol_PV Transportation
2 579 258 0.1 1e+03 0 1.12e+03 2.59e+03 World_PV Transportation
Processing hits ....
3 5e+03 700 0.1 1e+03 0 4.44e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -676 0.1 133 1e+03 0 1.33e+03 1.33e+03 Boxvol_PV Transportation
2 498 0.1 250 1e+03 0 1.18e+03 2.51e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 700 1e+03 0 4.52e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -614 0.1 0.1 1e+03 0 1.39e+03 1.39e+03 Boxvol_PV Transportation
2 614 0.1 0.1 1e+03 0 1.23e+03 2.61e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 0.1 1e+03 0 4.39e+03 7e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -535 147 0.1 1e+03 0 1.47e+03 1.47e+03 Boxvol_PV Transportation
2 579 258 0.1 1e+03 0 1.12e+03 2.59e+03 World_PV Transportation
Processing hits ....
3 5e+03 700 0.1 1e+03 0 4.44e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -676 0.1 133 1e+03 0 1.33e+03 1.33e+03 Boxvol_PV Transportation
2 498 0.1 250 1e+03 0 1.18e+03 2.51e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 700 1e+03 0 4.52e+03 7.03e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -614 0.1 0.1 1e+03 0 1.39e+03 1.39e+03 Boxvol_PV Transportation
2 614 0.1 0.1 1e+03 0 1.23e+03 2.61e+03 World_PV Transportation
Processing hits ....
3 5e+03 0.1 0.1 1e+03 0 4.39e+03 7e+03 OutOfWorld Transportation
*********************************************************************************************************
* G4Track Information: Particle = geantino, Track ID = 1, Parent ID = 0
*********************************************************************************************************
Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolume ProcName
0 -2e+03 0.1 0.1 1e+03 0 0 0 World_PV initStep
1 -535 147 0.1 1e+03 0 1.47e+03 1.47e+03 Boxvol_PV Transportation
2 579 258 0.1 1e+03 0 1.12e+03 2.59e+03 World_PV Transportation
Processing hits ....
3 5e+03 700 0.1 1e+03 0 4.44e+03 7.03e+03 OutOfWorld Transportation
Run terminated.
Run Summary
Number of events processed : 20
User=0s Real=0.01s Sys=0s
/tracking/verbose 0
/gun/direction 0.3 0.2 1
/run/beamOn 20
Region <DefaultRegionForTheWorld> -- -- appears in <World_PV> world volume
This region is in the mass world.
Root logical volume(s) : World
Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
Materials : Air
Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Root logical volume(s) :
Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
Materials :
Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
========= Table of registered couples ==============================
Index : 0 used in the geometry : Yes
Material : Air
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma -1 MeV e- -1 MeV e+ -1 MeV proton -1 MeV
Region(s) which use this couple :
DefaultRegionForTheWorld
====================================================================
### Run 2 starts.
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Run terminated.
Run Summary
Number of events processed : 20
User=0s Real=0s Sys=0s
/gun/direction 0.3 -0.2 1
/run/beamOn 20
Region <DefaultRegionForTheWorld> -- -- appears in <World_PV> world volume
This region is in the mass world.
Root logical volume(s) : World
Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
Materials : Air
Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Root logical volume(s) :
Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
Materials :
Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
========= Table of registered couples ==============================
Index : 0 used in the geometry : Yes
Material : Air
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma -1 MeV e- -1 MeV e+ -1 MeV proton -1 MeV
Region(s) which use this couple :
DefaultRegionForTheWorld
====================================================================
### Run 3 starts.
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Run terminated.
Run Summary
Number of events processed : 20
User=0s Real=0s Sys=0s
/gun/direction -0.3 0.2 0.6
/run/beamOn 20
Region <DefaultRegionForTheWorld> -- -- appears in <World_PV> world volume
This region is in the mass world.
Root logical volume(s) : World
Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
Materials : Air
Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Root logical volume(s) :
Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
Materials :
Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
========= Table of registered couples ==============================
Index : 0 used in the geometry : Yes
Material : Air
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma -1 MeV e- -1 MeV e+ -1 MeV proton -1 MeV
Region(s) which use this couple :
DefaultRegionForTheWorld
====================================================================
### Run 4 starts.
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Processing hits ....
Run terminated.
Run Summary
Number of events processed : 20
User=0s Real=0s Sys=0s
Graphics systems deleted.
Visualization Manager deleting...
G4 kernel has come to Quit state.
UserDetectorConstruction deleted.
UserPhysicsList deleted.
UserPrimaryGenerator deleted.
RunManager is deleting RunManagerKernel.
G4SDManager deleted.
EventManager deleted.
Units table cleared.
================== Deleting memory pools ===================
Number of memory pools allocated: 10 of which, static: 0
Dynamic pools deleted: 10 / Total memory freed: 0.011 Mb
============================================================
G4Allocator objects are deleted.
UImanager deleted.
StateManager deleted.
RunManagerKernel is deleted. Good bye :)
@@ -27,7 +27,7 @@
/// \brief Main program of the persistency/gdml/G04 example
//
//
// $Id$
// $Id: gdml_det.cc 68025 2013-03-13 13:43:46Z gcosmo $
//
//
// --------------------------------------------------------------
@@ -27,7 +27,7 @@
/// \brief Definition of the G04DetectorConstruction class
//
//
// $Id$
// $Id: G04DetectorConstruction.hh 69988 2013-05-21 12:36:24Z gcosmo $
//
//
@@ -47,7 +47,7 @@ class G04DetectorConstruction : public G4VUserDetectorConstruction
fWorld = setWorld;
}
G4VPhysicalVolume *Construct()
virtual G4VPhysicalVolume *Construct()
{
return fWorld;
}
@@ -27,7 +27,7 @@
/// \brief Definition of the G04PhysicsList class
//
//
// $Id$
// $Id: G04PhysicsList.hh 69988 2013-05-21 12:36:24Z gcosmo $
//
//
@@ -48,9 +48,9 @@ class G04PhysicsList : public G4VUserPhysicsList
protected:
void ConstructParticle();
void ConstructProcess();
void SetCuts();
virtual void ConstructParticle();
virtual void ConstructProcess();
virtual void SetCuts();
};
#endif
@@ -27,7 +27,7 @@
/// \brief Definition of the G04PrimaryGeneratorAction class
//
//
// $Id$
// $Id: G04PrimaryGeneratorAction.hh 69988 2013-05-21 12:36:24Z gcosmo $
//
//
@@ -50,7 +50,7 @@ class G04PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
G04PrimaryGeneratorAction();
~G04PrimaryGeneratorAction();
void GeneratePrimaries(G4Event* anEvent);
virtual void GeneratePrimaries(G4Event* anEvent);
private:
@@ -27,7 +27,7 @@
/// \brief Definition of the G04SensitiveDetector class
//
//
// $Id$
// $Id: G04SensitiveDetector.hh 69988 2013-05-21 12:36:24Z gcosmo $
//
#ifndef G04SensitiveDetector_h
@@ -45,9 +45,9 @@ class G04SensitiveDetector : public G4VSensitiveDetector
G04SensitiveDetector(const G4String&);
~G04SensitiveDetector();
void Initialize(G4HCofThisEvent*);
G4bool ProcessHits(G4Step*, G4TouchableHistory*);
void EndOfEvent(G4HCofThisEvent*);
virtual void Initialize(G4HCofThisEvent*);
virtual G4bool ProcessHits(G4Step*, G4TouchableHistory*);
virtual void EndOfEvent(G4HCofThisEvent*);
private:
@@ -27,7 +27,7 @@
/// \brief Implementation of the G04PhysicsList class
//
//
// $Id$
// $Id: G04PhysicsList.cc 68025 2013-03-13 13:43:46Z gcosmo $
//
//
@@ -36,6 +36,7 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
G04PhysicsList::G04PhysicsList()
: G4VUserPhysicsList()
{
}
@@ -27,7 +27,7 @@
/// \brief Implementation of the G04PrimaryGeneratorAction class
//
//
// $Id$
// $Id: G04PrimaryGeneratorAction.cc 68025 2013-03-13 13:43:46Z gcosmo $
//
//
@@ -41,6 +41,8 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
G04PrimaryGeneratorAction::G04PrimaryGeneratorAction()
: G4VUserPrimaryGeneratorAction(),
fParticleGun(0)
{
G4int n_particle = 1;
fParticleGun = new G4ParticleGun(n_particle);
@@ -27,7 +27,7 @@
/// \brief Implementation of the G04SensitiveDetector class
//
//
// $Id$
// $Id: G04SensitiveDetector.cc 68025 2013-03-13 13:43:46Z gcosmo $
//
#include "G04SensitiveDetector.hh"