Ignore:
Timestamp:
Sep 30, 2010, 2:47:17 PM (14 years ago)
Author:
garnier
Message:

tag geant4.9.4 beta 1 + modifs locales

Location:
trunk/examples/extended/electromagnetic/TestEm17
Files:
39 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/extended/electromagnetic/TestEm17/History

    r807 r1337  
    1 $Id: History,v 1.4 2007/05/12 16:33:53 vnivanch Exp $
     1$Id: History,v 1.12 2010/06/07 05:40:46 perl Exp $
    22-------------------------------------------------------------------
    33
     
    1515     * Reverse chronological order (last date on top), please *
    1616     ----------------------------------------------------------
     17     
     1806-06-10 J.Perl (testem17-V09-03-02)
     19- Remove unused variable in EventAction
     20
     2103-06-10 J.Perl (testem17-V09-03-01)
     22- Updated vis usage
     23 
     2421-05-10 mma (testem17-V09-03-00)
     25- TestEm17.cc : introduction of G4UIExecutive
     26
     2724-09-08 mma (testem17-V09-01-04)
     28- HistoManager : root as default format
     29
     3012-06-08 mma (testem17-V09-01-03)
     31- Remove AIDA from GNUmakefile
     32     
     3307-05-08 mma (testem17-V09-01-02)
     34- PhysListEmStandard : add spline option for physics tables
     35- README : update Aida informations
     36
     3731-03-08 V.Ivant (testem17-V09-01-01)
     38- reduce number of string comparisons (10% CPU)
     39
     4018-03-08 V.Ivant (testem17-V09-01-00)
     41- added pion and protons bremsstrahlung and pair production
    1742
    184312-05-07 V.Ivant (testem17-V08-03-00)
  • trunk/examples/extended/electromagnetic/TestEm17/README

    r807 r1337  
    1 $Id: README,v 1.1 2006/05/09 16:22:19 maire Exp $
     1$Id: README,v 1.3 2008/09/26 20:15:04 maire Exp $
    22-------------------------------------------------------------------
    33
     
    7979        the commands:
    8080        /testem/histo/setFileName  name  (default testem17)
    81         /testem/histo/setFileType  name  (default hbook)
     81        /testem/histo/setFileType  name  (default root)
    8282
    8383        Note that, by default, histograms are disabled. To activate them,
     
    124124         
    125125  To use histograms, at least one of the AIDA implementations should be
    126   available (see http://aida.freehep.org).
     126  available. See InstallAida.txt
    127127 
    128  8a - PI
    129 
    130   A package including AIDA and extended interfaces also using Python is PI,
    131   available from: http://cern.ch/pi
    132 
    133   Once installed PI or PI-Lite in a specified local area $MYPY, it is required
    134   to add the installation path to $PATH, i.e. for example, for release 1.2.1 of
    135   PI:
    136   setenv PATH ${PATH}:$MYPI/1.2.1/app/releases/PI/PI_1_2_1/rh73_gcc32/bin
    137 
    138   CERN users can use the PATH to the LCG area on AFS.
    139   Before running the example the command should be issued:
    140   eval `aida-config --runtime csh`
    141 
    142  8b -  OpenScientist
    143 
    144   OpenScientist is available at http://OpenScientist.lal.in2p3.fr.
    145 
    146   You have to "setup" the OpenScientist AIDA implementation before compiling
    147   (then with G4ANALYSIS_USE set) and running your Geant4 application.
    148 
    149  On UNIX you setup, with a csh flavoured shell :
    150         csh> source <<OpenScientist install path>/aida-setup.csh
    151         or with a sh flavoured shell :
    152         sh> . <<OpenScientist install path>/aida-setup.sh
    153  On Windows :
    154         DOS> call <<OpenScientist install path>/aida-setup.bat
    155 
    156   You can use various file formats for writing (AIDA-XML, hbook, root).
    157   These formats are readable by the Lab onx interactive program
    158   or the OpenPAW application. See the web pages.
    159 
    160 
    161   With OpenPAW, on a run.hbook file, one can view the histograms
    162   with something like :
    163         OS> opaw
    164         opaw> h/file 1 run.hbook  ( or opaw> h/file 1 run.aida or run.root) 
    165         opaw> zone 2 2
    166         opaw> h/plot 1
    167         opaw> h/plot 2
  • trunk/examples/extended/electromagnetic/TestEm17/TestEm17.cc

    r1230 r1337  
    2525//
    2626//
    27 // $Id: TestEm17.cc,v 1.2 2006/06/29 16:48:08 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// $Id: TestEm17.cc,v 1.3 2010/05/21 08:30:24 maire Exp $
     28// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2929//
    3030//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    3333#include "G4RunManager.hh"
    3434#include "G4UImanager.hh"
    35 #include "G4UIterminal.hh"
    36 #include "G4UItcsh.hh"
    3735#include "Randomize.hh"
    3836
     
    5048#ifdef G4VIS_USE
    5149 #include "G4VisExecutive.hh"
     50#endif
     51
     52#ifdef G4UI_USE
     53#include "G4UIExecutive.hh"
    5254#endif
    5355
     
    7274  runManager->SetUserAction(prim = new PrimaryGeneratorAction(det));
    7375 
    74   #ifdef G4VIS_USE
    75    // visualization manager
    76    G4VisManager* visManager = new G4VisExecutive;
    77    visManager->Initialize();
    78   #endif
    79  
    8076  HistoManager* histo = new HistoManager();
    8177     
     
    9591   
    9692  } else {              // start interactive session
    97     G4UIsession* session = 0;
    98 #ifdef G4UI_USE_TCSH
    99       session = new G4UIterminal(new G4UItcsh);     
    100 #else
    101       session = new G4UIterminal();
    102 #endif         
    103     session->SessionStart();
    104     delete session;
     93#ifdef G4VIS_USE
     94   G4VisManager* visManager = new G4VisExecutive;
     95   visManager->Initialize();
     96#endif   
     97     
     98#ifdef G4UI_USE
     99      G4UIExecutive * ui = new G4UIExecutive(argc,argv);     
     100      ui->SessionStart();
     101      delete ui;
     102#endif
     103         
     104#ifdef G4VIS_USE
     105     delete visManager;
     106#endif     
    105107  }
    106108
    107109  // job termination
    108110  //
    109  
    110 #ifdef G4VIS_USE
    111  delete visManager;
    112 #endif
    113 
    114111  delete histo;
    115112  delete runManager;
  • trunk/examples/extended/electromagnetic/TestEm17/TestEm17.in

    r807 r1337  
    1 # $Id: TestEm17.in,v 1.1 2006/05/09 16:22:19 maire Exp $
     1# $Id: TestEm17.in,v 1.3 2008/03/31 10:11:30 vnivanch Exp $
    22#
    33# Macro file for "TestEm17.cc"
     
    2121#
    2222/run/beamOn 10000
     23#
     24/gun/particle pi+
     25/run/beamOn 10000
     26#
     27/gun/particle proton
     28/run/beamOn 10000
     29#
     30
  • trunk/examples/extended/electromagnetic/TestEm17/TestEm17.out

    r807 r1337  
     1
     2        ############################################
     3        !!! WARNING - FPE detection is activated !!!
     4        ############################################
    15
    26*************************************************************
    3  Geant4 version Name: global-V09-00-03    (9-May-2008)
     7 Geant4 version Name: geant4-09-03-ref-06    (25-June-2010)
    48                      Copyright : Geant4 Collaboration
    59                      Reference : NIM A 506 (2003), 250-303
     
    1014***** Table : Nb of materials = 7 *****
    1115
    12  Material: galactic     density:  0.000 mg/cm3  RadL: 204727576.737 pc   Imean:  21.800 eV   temperature:   2.73 K  pressure:   0.00 atm
     16 Material: galactic     density:  0.000 kg/m3   RadL: 204727512.315 pc   Nucl.Int.Length: 113804112.800 pc   Imean:  19.200 eV   temperature:   2.73 K  pressure:   0.00 atm
    1317   --->  Element: galactic ( )   Z =  1.0   N =   1.0   A =   1.01 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    1418
    15  Material:      Air     density:  1.290 mg/cm3  RadL: 285.161 m    Imean:  85.684 eV   temperature: 273.15 K  pressure:   1.00 atm
     19 Material:      Air     density:  1.290 mg/cm3  RadL: 285.161 m    Nucl.Int.Length: 662.680 m    Imean:  85.703 eV   temperature: 273.15 K  pressure:   1.00 atm
    1620   --->  Element: Nitrogen (N)   Z =  7.0   N =  14.0   A =  14.01 g/mole  ElmMassFraction:  70.00 %  ElmAbundance  72.71 %
    1721   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  ElmMassFraction:  30.00 %  ElmAbundance  27.29 %
    1822
    19  Material:    CaCO3     density:  2.800 g/cm3   RadL:   8.581 cm   Imean: 123.060 eV
     23 Material:    CaCO3     density:  2.800 g/cm3   RadL:   8.581 cm   Nucl.Int.Length:  34.749 cm   Imean: 123.236 eV
    2024   --->  Element: Calcium (Ca)   Z = 20.0   N =  40.1   A =  40.08 g/mole  ElmMassFraction:  40.04 %  ElmAbundance  20.00 %
    2125   --->  Element: Carbon (C)   Z =  6.0   N =  12.0   A =  12.01 g/mole  ElmMassFraction:  12.00 %  ElmAbundance  20.00 %
    2226   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  ElmMassFraction:  47.96 %  ElmAbundance  60.00 %
    2327
    24  Material:   Carbon     density:  2.265 g/cm3   RadL:  18.850 cm   Imean:  78.000 eV
     28 Material:   Carbon     density:  2.265 g/cm3   RadL:  18.850 cm   Nucl.Int.Length:  35.387 cm   Imean:  81.000 eV
    2529   --->  Element: Carbon ( )   Z =  6.0   N =  12.0   A =  12.01 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    2630
    27  Material:     Iron     density:  7.870 g/cm3   RadL:   1.759 cm   Imean: 286.000 eV
    28    --->  Element: Iron ( )   Z = 26.0   N =  55.9   A =  55.85 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    29 
    30  Material:      Tin     density:  7.310 g/cm3   RadL:   1.206 cm   Imean: 490.000 eV
     31 Material:     Iron     density:  7.870 g/cm3   RadL:   1.759 cm   Nucl.Int.Length:  16.999 cm   Imean: 286.000 eV
     32   --->  Element: Iron ( )   Z = 26.0   N =  55.8   A =  55.85 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
     33
     34 Material:      Tin     density:  7.310 g/cm3   RadL:   1.206 cm   Nucl.Int.Length:  23.531 cm   Imean: 488.000 eV
    3135   --->  Element: Tin ( )   Z = 50.0   N = 118.7   A = 118.70 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    3236
    33  Material:       HI     density:  2.800 g/cm3   RadL:   3.049 cm   Imean: 465.242 eV
     37 Material:       HI     density:  2.800 g/cm3   RadL:   3.049 cm   Nucl.Int.Length:  60.888 cm   Imean: 462.393 eV
    3438   --->  Element: Hydrogen (H)   Z =  1.0   N =   1.0   A =   1.01 g/mole  ElmMassFraction:   0.79 %  ElmAbundance  50.00 %
    3539   --->  Element: Iodine (I)   Z = 53.0   N = 126.9   A = 126.90 g/mole  ElmMassFraction:  99.21 %  ElmAbundance  50.00 %
    3640
    37 
    38 Visualization Manager instantiating...
    39 Visualization Manager initialising...
    40 Registering graphics systems...
    41 
    42 You have successfully registered the following graphics systems.
    43 Current available graphics systems are:
    44   ASCIITree (ATree)
    45   DAWNFILE (DAWNFILE)
    46   G4HepRep (HepRepXML)
    47   G4HepRepFile (HepRepFile)
    48   RayTracer (RayTracer)
    49   VRML1FILE (VRML1FILE)
    50   VRML2FILE (VRML2FILE)
    51   OpenGLImmediateX (OGLIX)
    52   OpenGLStoredX (OGLSX)
    53 
    54 Registering model factories...
    55 
    56 You have successfully registered the following model factories.
    57 Registered model factories:
    58   generic
    59   drawByCharge
    60   drawByParticleID
    61   drawByOriginVolume
    62   drawByAttribute
    63 
    64 Registered filter factories:
    65   chargeFilter
    66   particleFilter
    67   originVolumeFilter
    68   attributeFilter
    6941
    7042/run/verbose 2
     
    8355physicsList->Construct() start.
    8456physicsList->Construct() start.
     57physicsList->CheckParticleList() start.
    8558physicsList->setCut() start.
    8659PhysicsList::SetCuts:CutLength : 1 mm
     
    9265#
    9366/run/beamOn 10000
     67
     68hIoni:   for  proton    SubType= 2
     69      dE/dx and range tables from 100 eV  to 1000 PeV in 160 bins
     70      Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1
     71      finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     72      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     73               Bragg :     Emin=          0 eV         Emax=   2 MeV
     74          BetheBloch :     Emin=          2 MeV        Emax=   1000 PeV
     75
     76hBrems:   for  proton    SubType= 3
     77      dE/dx and range tables from 100 eV  to 1000 PeV in 160 bins
     78      Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1
     79      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     80               hBrem :     Emin=          0 eV         Emax=   100 TeV
     81
     82hPairProd:   for  proton    SubType= 4
     83      dE/dx and range tables from 100 eV  to 1000 PeV in 160 bins
     84      Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1
     85      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     86           hPairProd :     Emin=          0 eV         Emax=   100 TeV
     87
     88muIoni:   for  mu+    SubType= 2
     89      dE/dx and range tables from 100 eV  to 1000 PeV in 160 bins
     90      Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1
     91      finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     92      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     93               Bragg :     Emin=          0 eV         Emax=   200 keV
     94          BetheBloch :     Emin=        200 keV        Emax=   1 GeV
     95        MuBetheBloch :     Emin=          1 GeV        Emax=   1000 PeV
     96
     97muBrems:   for  mu+    SubType= 3
     98      dE/dx and range tables from 100 eV  to 1000 PeV in 160 bins
     99      Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1
     100      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     101              MuBrem :     Emin=          0 eV         Emax=   1000 PeV
     102
     103muPairProd:   for  mu+    SubType= 4
     104      dE/dx and range tables from 100 eV  to 1000 PeV in 160 bins
     105      Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1
     106      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     107          muPairProd :     Emin=          0 eV         Emax=   1000 PeV
     108
     109muIoni:   for  mu-    SubType= 2
     110      dE/dx and range tables from 100 eV  to 1000 PeV in 160 bins
     111      Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1
     112      finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     113      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     114            ICRU73QO :     Emin=          0 eV         Emax=   200 keV
     115          BetheBloch :     Emin=        200 keV        Emax=   1 GeV
     116        MuBetheBloch :     Emin=          1 GeV        Emax=   1000 PeV
     117
     118muBrems:   for  mu-    SubType= 3
     119      dE/dx and range tables from 100 eV  to 1000 PeV in 160 bins
     120      Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1
     121      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     122              MuBrem :     Emin=          0 eV         Emax=   1000 PeV
     123
     124muPairProd:   for  mu-    SubType= 4
     125      dE/dx and range tables from 100 eV  to 1000 PeV in 160 bins
     126      Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1
     127      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     128          muPairProd :     Emin=          0 eV         Emax=   1000 PeV
     129
     130hIoni:   for  pi+    SubType= 2
     131      dE/dx and range tables from 100 eV  to 1000 PeV in 160 bins
     132      Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1
     133      finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     134      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     135               Bragg :     Emin=          0 eV         Emax=   297.504 keV
     136          BetheBloch :     Emin=    297.504 keV        Emax=   1000 PeV
     137
     138hBrems:   for  pi+    SubType= 3
     139      dE/dx and range tables from 100 eV  to 1000 PeV in 160 bins
     140      Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1
     141      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     142               hBrem :     Emin=          0 eV         Emax=   100 TeV
     143
     144hPairProd:   for  pi+    SubType= 4
     145      dE/dx and range tables from 100 eV  to 1000 PeV in 160 bins
     146      Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1
     147      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     148           hPairProd :     Emin=          0 eV         Emax=   100 TeV
     149
     150hIoni:   for  pi-    SubType= 2
     151      dE/dx and range tables from 100 eV  to 1000 PeV in 160 bins
     152      Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1
     153      finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     154      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     155            ICRU73QO :     Emin=          0 eV         Emax=   297.504 keV
     156          BetheBloch :     Emin=    297.504 keV        Emax=   1000 PeV
     157
     158hBrems:   for  pi-    SubType= 3
     159      dE/dx and range tables from 100 eV  to 1000 PeV in 160 bins
     160      Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1
     161      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     162               hBrem :     Emin=          0 eV         Emax=   100 TeV
     163
     164hPairProd:   for  pi-    SubType= 4
     165      dE/dx and range tables from 100 eV  to 1000 PeV in 160 bins
     166      Lambda tables from threshold to 1000 PeV in 160 bins, spline: 1
     167      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     168           hPairProd :     Emin=          0 eV         Emax=   100 TeV
    94169
    95170Region <DefaultRegionForTheWorld> -- appears in <Iron> world volume
     
    97172 Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
    98173 Materials : Iron
    99  Production cuts :  gamma 1 mm     e- 1 mm     e+ 1 mm
     174 Production cuts :   gamma 1 mm      e- 1 mm      e+ 1 mm  proton 0 fm
    100175
    101176========= Table of registered couples ==============================
     
    103178Index : 0     used in the geometry : Yes     recalculation needed : No
    104179 Material : Iron
    105  Range cuts        :  gamma 1 mm     e- 1 mm     e+ 1 mm
    106  Energy thresholds :  gamma 20.8323 keV    e- 1.28002 MeV    e+ 1.21851 MeV
     180 Range cuts        :  gamma  1 mm     e-  1 mm     e+  1 mm  proton 0 fm
     181 Energy thresholds :  gamma  20.6438 keV    e-  1.29592 MeV    e+  1.21169 MeV proton 0 eV
    107182 Region(s) which use this couple :
    108183    DefaultRegionForTheWorld
     
    145220Run Summary
    146221  Number of events processed : 10000
    147   User=8.7s Real=32.93s Sys=2.4s
     222  User=4.58s Real=9.39s Sys=0.25s
    148223
    149224 The run consists of 10000 mu+ of 10 TeV through 1 m   of Iron (density: 7.9 g/cm3 )
    150225
    151  Number of process calls --->   muIoni : 469509 muPairProd : 63194      muBrems : 732
    152 
    153  Simulation: total CrossSection = 0.53343 /cm    MeanFreePath = 1.8746 cm        massicCrossSection = 0.067781 cm2/g
     226 Number of process calls --->   muIoni : 461894 muPairProd : 63886      muBrems : 665
     227
     228 Simulation: total CrossSection = 0.52644 /cm    MeanFreePath = 1.8995 cm        massicCrossSection = 0.066893 cm2/g
    154229 Theory:     total CrossSection = 0.53938 /cm    MeanFreePath = 1.854 cm         massicCrossSection = 0.068536 cm2/g
    155230
    156231--------- Ranecu engine status ---------
    157232 Initial seed (index) = 0
    158  Current couple of seeds = 2031201429, 1872579439
    159 ----------------------------------------
    160 Graphics systems deleted.
    161 Visualization Manager deleting...
     233 Current couple of seeds = 1599898295, 1410323926
     234----------------------------------------
     235#
     236/gun/particle pi+
     237/run/beamOn 10000
     238
     239Region <DefaultRegionForTheWorld> -- appears in <Iron> world volume
     240 Root logical volume(s) : Iron
     241 Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
     242 Materials : Iron
     243 Production cuts :   gamma 1 mm      e- 1 mm      e+ 1 mm  proton 0 fm
     244
     245========= Table of registered couples ==============================
     246
     247Index : 0     used in the geometry : Yes     recalculation needed : No
     248 Material : Iron
     249 Range cuts        :  gamma  1 mm     e-  1 mm     e+  1 mm  proton 0 fm
     250 Energy thresholds :  gamma  20.643844 keV    e-  1.295918 MeV    e+  1.2116932 MeV proton 0 eV
     251 Region(s) which use this couple :
     252    DefaultRegionForTheWorld
     253
     254====================================================================
     255
     256### Run 1 start.
     257
     258--------- Ranecu engine status ---------
     259 Initial seed (index) = 0
     260 Current couple of seeds = 1599898295, 1410323926
     261----------------------------------------
     262Start Run processing.
     263
     264---> Begin of Event: 0
     265
     266---> Begin of Event: 1000
     267
     268---> Begin of Event: 2000
     269
     270---> Begin of Event: 3000
     271
     272---> Begin of Event: 4000
     273
     274---> Begin of Event: 5000
     275
     276---> Begin of Event: 6000
     277
     278---> Begin of Event: 7000
     279
     280---> Begin of Event: 8000
     281
     282---> Begin of Event: 9000
     283Run terminated.
     284Run Summary
     285  Number of events processed : 10000
     286  User=4.12s Real=5.27s Sys=0.24s
     287
     288 The run consists of 10000 pi+ of 10 TeV through 1 m   of Iron (density: 7.9 g/cm3 )
     289
     290 Number of process calls --->   hIoni : 433928  hPairProd : 59452       hBrems : 347
     291
     292 Simulation: total CrossSection = 0.49373 /cm    MeanFreePath = 2.0254 cm        massicCrossSection = 0.062735 cm2/g
     293
     294--------- Ranecu engine status ---------
     295 Initial seed (index) = 0
     296 Current couple of seeds = 1194972054, 916833196
     297----------------------------------------
     298#
     299/gun/particle proton
     300/run/beamOn 10000
     301
     302Region <DefaultRegionForTheWorld> -- appears in <Iron> world volume
     303 Root logical volume(s) : Iron
     304 Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
     305 Materials : Iron
     306 Production cuts :   gamma 1 mm      e- 1 mm      e+ 1 mm  proton 0 fm
     307
     308========= Table of registered couples ==============================
     309
     310Index : 0     used in the geometry : Yes     recalculation needed : No
     311 Material : Iron
     312 Range cuts        :  gamma  1 mm     e-  1 mm     e+  1 mm  proton 0 fm
     313 Energy thresholds :  gamma  20.643844 keV    e-  1.295918 MeV    e+  1.2116932 MeV proton 0 eV
     314 Region(s) which use this couple :
     315    DefaultRegionForTheWorld
     316
     317====================================================================
     318
     319### Run 2 start.
     320
     321--------- Ranecu engine status ---------
     322 Initial seed (index) = 0
     323 Current couple of seeds = 1194972054, 916833196
     324----------------------------------------
     325Start Run processing.
     326
     327---> Begin of Event: 0
     328
     329---> Begin of Event: 1000
     330
     331---> Begin of Event: 2000
     332
     333---> Begin of Event: 3000
     334
     335---> Begin of Event: 4000
     336
     337---> Begin of Event: 5000
     338
     339---> Begin of Event: 6000
     340
     341---> Begin of Event: 7000
     342
     343---> Begin of Event: 8000
     344
     345---> Begin of Event: 9000
     346Run terminated.
     347Run Summary
     348  Number of events processed : 10000
     349  User=3.58s Real=3.91s Sys=0.24s
     350
     351 The run consists of 10000 proton of 10 TeV through 1 m   of Iron (density: 7.9 g/cm3 )
     352
     353 Number of process calls --->   hIoni : 433160  hPairProd : 34070       hBrems : 10
     354
     355 Simulation: total CrossSection = 0.46724 /cm    MeanFreePath = 2.1402 cm        massicCrossSection = 0.05937 cm2/g
     356
     357--------- Ranecu engine status ---------
     358 Initial seed (index) = 0
     359 Current couple of seeds = 250921008, 1691860124
     360----------------------------------------
     361#
    162362UserDetectorConstruction deleted.
    163363UserPhysicsList deleted.
     
    166366G4 kernel has come to Quit state.
    167367EventManager deleted.
    168 Default detector region deleted.
    169368UImanager deleted.
    170369Units table cleared.
     
    172371RunManagerKernel is deleted.
    173372RunManager is deleting.
     373
  • trunk/examples/extended/electromagnetic/TestEm17/include/DetectorConstruction.hh

    r1230 r1337  
    2626//
    2727// $Id: DetectorConstruction.hh,v 1.2 2006/06/29 16:48:10 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     28// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2929//
    3030//
  • trunk/examples/extended/electromagnetic/TestEm17/include/DetectorMessenger.hh

    r1230 r1337  
    2626//
    2727// $Id: DetectorMessenger.hh,v 1.2 2006/06/29 16:48:13 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     28// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2929//
    3030//
  • trunk/examples/extended/electromagnetic/TestEm17/include/EventAction.hh

    r1230 r1337  
    2525//
    2626// $Id: EventAction.hh,v 1.2 2006/06/29 16:48:15 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/include/EventActionMessenger.hh

    r1230 r1337  
    2525//
    2626// $Id: EventActionMessenger.hh,v 1.2 2006/06/29 16:48:17 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/include/HistoManager.hh

    r1230 r1337  
    2525//
    2626// $Id: HistoManager.hh,v 1.3 2008/03/18 15:30:33 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/include/HistoMessenger.hh

    r1230 r1337  
    2525//
    2626// $Id: HistoMessenger.hh,v 1.2 2006/06/29 16:48:21 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/include/MuCrossSections.hh

    r1230 r1337  
    2525//
    2626// $Id: MuCrossSections.hh,v 1.2 2006/06/29 16:48:23 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/include/MuNuclearBuilder.hh

    r1230 r1337  
    2525//
    2626// $Id: MuNuclearBuilder.hh,v 1.2 2006/06/29 16:48:25 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/include/PhysListEmStandard.hh

    r1230 r1337  
    2525//
    2626// $Id: PhysListEmStandard.hh,v 1.2 2006/06/29 16:48:30 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/include/PhysicsList.hh

    r1230 r1337  
    2525//
    2626// $Id: PhysicsList.hh,v 1.2 2006/06/29 16:48:32 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/include/PhysicsListMessenger.hh

    r1230 r1337  
    2525//
    2626// $Id: PhysicsListMessenger.hh,v 1.2 2006/06/29 16:48:34 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/include/PrimaryGeneratorAction.hh

    r1230 r1337  
    2525//
    2626// $Id: PrimaryGeneratorAction.hh,v 1.2 2006/06/29 16:48:36 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/include/ProcessesCount.hh

    r1230 r1337  
    2525//
    2626// $Id: ProcessesCount.hh,v 1.2 2006/06/29 16:48:38 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/include/RunAction.hh

    r1230 r1337  
    2525//
    2626// $Id: RunAction.hh,v 1.2 2006/06/29 16:48:40 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/include/StackingAction.hh

    r1230 r1337  
    2525//
    2626// $Id: StackingAction.hh,v 1.2 2006/06/29 16:48:42 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/include/SteppingAction.hh

    r1230 r1337  
    2525//
    2626// $Id: SteppingAction.hh,v 1.2 2006/06/29 16:48:44 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/include/SteppingVerbose.hh

    r1230 r1337  
    2525//
    2626// $Id: SteppingVerbose.hh,v 1.2 2006/06/29 16:48:47 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//   This class manages the verbose outputs in G4SteppingManager.
  • trunk/examples/extended/electromagnetic/TestEm17/src/DetectorConstruction.cc

    r1230 r1337  
    2626//
    2727// $Id: DetectorConstruction.cc,v 1.3 2007/05/12 16:33:53 vnivanch Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     28// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2929//
    3030//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/src/DetectorMessenger.cc

    r1230 r1337  
    2626//
    2727// $Id: DetectorMessenger.cc,v 1.2 2006/06/29 16:48:51 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     28// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2929//
    3030//
  • trunk/examples/extended/electromagnetic/TestEm17/src/EventAction.cc

    r1230 r1337  
    2424// ********************************************************************
    2525//
    26 // $Id: EventAction.cc,v 1.2 2006/06/29 16:48:53 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     26// $Id: EventAction.cc,v 1.4 2010/06/07 05:40:46 perl Exp $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    3535
    3636#include "G4Event.hh"
    37 #include "G4TrajectoryContainer.hh"
    38 #include "G4Trajectory.hh"
    39 #include "G4VVisManager.hh"
    4037
    4138//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    6764//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
    6865
    69 void EventAction::EndOfEventAction(const G4Event* evt)
     66void EventAction::EndOfEventAction(const G4Event*)
    7067{
    71   if (G4VVisManager::GetConcreteInstance())
    72   {
    73     G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();
    74     G4int n_trajectories = 0;
    75     if (trajectoryContainer) n_trajectories = trajectoryContainer->entries(); 
    76     for (G4int i=0; i<n_trajectories; i++) {
    77        G4Trajectory* trj = (G4Trajectory*)
    78                                        ((*(evt->GetTrajectoryContainer()))[i]);
    79        trj->DrawTrajectory(1000);
    80     }
    81   }
    8268}
    8369
  • trunk/examples/extended/electromagnetic/TestEm17/src/EventActionMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: EventActionMessenger.cc,v 1.2 2006/06/29 16:48:55 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/src/HistoManager.cc

    r1230 r1337  
    2525//
    2626// $Id: HistoManager.cc,v 1.4 2008/09/26 20:15:04 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/src/HistoMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: HistoMessenger.cc,v 1.2 2006/06/29 16:49:01 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/src/MuCrossSections.cc

    r1230 r1337  
    2525//
    2626// $Id: MuCrossSections.cc,v 1.2 2006/06/29 16:49:03 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/src/MuNuclearBuilder.cc

    r1230 r1337  
    2626//
    2727// $Id: MuNuclearBuilder.cc,v 1.2 2006/06/29 16:49:05 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     28// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2929//
    3030//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/src/PhysListEmStandard.cc

    r1230 r1337  
    2525//
    2626// $Id: PhysListEmStandard.cc,v 1.4 2008/05/07 13:57:56 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/src/PhysicsList.cc

    r1230 r1337  
    2626//
    2727// $Id: PhysicsList.cc,v 1.4 2006/10/24 10:06:21 maire Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     28// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2929//
    3030//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/src/PhysicsListMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: PhysicsListMessenger.cc,v 1.2 2006/06/29 16:49:13 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/src/PrimaryGeneratorAction.cc

    r1230 r1337  
    2525//
    2626// $Id: PrimaryGeneratorAction.cc,v 1.2 2006/06/29 16:49:15 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/src/RunAction.cc

    r1230 r1337  
    2525//
    2626// $Id: RunAction.cc,v 1.4 2008/03/31 10:22:59 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/src/StackingAction.cc

    r1230 r1337  
    2525//
    2626// $Id: StackingAction.cc,v 1.2 2006/06/29 16:49:20 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/src/SteppingAction.cc

    r1230 r1337  
    2525//
    2626// $Id: SteppingAction.cc,v 1.4 2008/03/31 10:22:59 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/src/SteppingVerbose.cc

    r1230 r1337  
    2525//
    2626// $Id: SteppingVerbose.cc,v 1.2 2006/06/29 16:49:25 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm17/vis.mac

    r807 r1337  
    11#
    2 # Macro file for the initialization phase of "TestEm14.cc"
     2# Macro file for the initialization phase of "TestEm6.cc"
    33#
    44# Sets some default verbose
     
    1010/run/initialize
    1111#
    12 # Create empty scene ("world" is default)
    13 /vis/scene/create
     12# Use this open statement to create an OpenGL view:
     13/vis/open OGL 600x600-0+0
    1414#
    15 # Create a scene handler for a specific graphics system
    16 # Edit the next line(s) to choose another graphic system
    17 #
    18 /vis/open OGLIX
    19 #
     15# Use this open statement to create a .prim file suitable for
     16# viewing in DAWN:
    2017#/vis/open DAWNFILE
    2118#
    22 # Draw scene
     19# Use this open statement to create a .heprep file suitable for
     20# viewing in HepRApp:
     21#/vis/open HepRepFile
     22#
     23# Use this open statement to create a .wrl file suitable for
     24# viewing in a VRML viewer:
     25#/vis/open VRML2FILE
     26#
     27# Disable auto refresh and quieten vis messages whilst scene and
     28# trajectories are established:
     29/vis/viewer/set/autoRefresh false
     30/vis/verbose errors
     31#
     32# Draw geometry:
     33/vis/drawVolume
     34#
     35# Specify view angle:
     36#/vis/viewer/set/viewpointThetaPhi 90. 0.
     37#
     38# Specify zoom value:
    2339/vis/viewer/zoom 1.4
    24 /vis/viewer/flush
    2540#
    26 # for drawing the tracks
    27 # if too many tracks cause core dump => storeTrajectory 0
    28 /tracking/storeTrajectory 1
     41# Specify style (surface or wireframe):
     42#/vis/viewer/set/style surface
     43#
     44# Draw coordinate axes:
     45#/vis/scene/add/axes 0 0 0 1 m
     46#
     47# Draw smooth trajectories at end of event, showing trajectory points
     48# as markers 2 pixels wide:
     49/vis/scene/add/trajectories smooth
     50/vis/modeling/trajectories/create/drawByCharge
     51/vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true
     52/vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2
     53# (if too many tracks cause core dump => /tracking/storeTrajectory 0)
     54#
     55# Draw hits at end of event:
     56#/vis/scene/add/hits
     57#
     58# To draw only gammas:
     59#/vis/filtering/trajectories/create/particleFilter
     60#/vis/filtering/trajectories/particleFilter-0/add gamma
     61#
     62# To invert the above, drawing all particles except gammas,
     63# keep the above two lines but also add:
     64#/vis/filtering/trajectories/particleFilter-0/invert true
     65#
     66# Many other options are available with /vis/modeling and /vis/filtering.
     67# For example, to select colour by particle ID:
     68#/vis/modeling/trajectories/create/drawByParticleID
     69#/vis/modeling/trajectories/drawByParticleID-0/set e- blue
     70#
     71# To superimpose all of the events from a given run:
    2972/vis/scene/endOfEventAction accumulate
    30 
     73#
     74# Re-establish auto refreshing and verbosity:
     75/vis/viewer/set/autoRefresh true
     76/vis/verbose warnings
     77#
     78# For file-based drivers, use this to create an empty detector view:
     79#/vis/viewer/flush
Note: See TracChangeset for help on using the changeset viewer.