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/TestEm12
Files:
40 edited

Legend:

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

    r807 r1337  
    1 $Id: History,v 1.15 2007/11/09 17:35:06 maire Exp $
     1$Id: History,v 1.34 2010/06/07 05:40:45 perl Exp $
    22-------------------------------------------------------------------
    33
     
    1515     * Reverse chronological order (last date on top), please *
    1616     ----------------------------------------------------------
     17     
     1806-06-10 J.Perl (testem12-V09-03-03)
     19- Remove unused variable in EventAction
     20
     2103-06-10 J.Perl (testem12-V09-03-02)
     22- Updated vis usage
     23
     2425-05-10 mma (testem12-V09-03-01)
     25- add PhysListStandardGS, PhysListStandardSS, PhysListStandardWVI
     26   
     2720-05-10 mma (testem12-V09-03-00)
     28- TestEm12.cc : introduction of G4UIExecutive
     29     
     3016-11-09 mma (testem12-V09-02-01)
     31- PhysListEmStandard copied from TestEm5
     32     
     3322-09-09 mma (testem12-V09-02-00)
     34- PhysicsList.cc :
     35  - renamed "standard" -> "local"; "emstandard" -> "emstandard_opt0"
     36  - Substituted obsolete low-energy physics builders by builders from
     37    the physics_list library;
     38- updated README and macro files
     39     
     4016-11-08 mma (testem12-V09-01-08)
     41- Em options: 20bins/decade  LinLossLimit=default=0.01
     42     
     4329-10-08 mma (testem12-V09-01-07)
     44- update PhysListEmStandard : options and hMultipleScattering for muon
     45   
     4626-10-08 mma (testem12-V09-01-06)
     47- update PhysListEmStandard and README
     48     
     4923-09-08 mma (testem12-V09-01-05)
     50- HistoManager : root format by default
     51
     5212-06-08 mma (testem12-V09-01-04)
     53- Remove AIDA from GNUmakefile
     54     
     5507-05-08 mma (testem12-V09-01-03)
     56- README : update Aida informations
     57     
     5811-04-08 mma
     59- HistoManager::Scale() : suppress warning
     60     
     6107-04-08 mma (testem12-V09-01-02)
     62- PhysListEmStandard : replace G4MultipleScattering by G4eMultipleScattering;
     63- HistoManager::saveAscii() : redefinition of binEdge
     64     
     6524-01-08 mma (testem12-V09-01-01)
     66- update macro berger.mac : setCuts 2um (=1keV)
     67
     6814-01-08 jja (testem12-V09-01-00)
     69- add macro berger/berger.C
     70
     7110-01-08 jean jacquemier
     72- new subdirectory berger/data
     73     
     7407-12-07 mma
     75- add macro berger.mac
    1776     
    187709-11-07 mma (testem12-V09-00-01)
  • trunk/examples/extended/electromagnetic/TestEm12/README

    r807 r1337  
    1 $Id: README,v 1.7 2007/11/09 17:35:06 maire Exp $
     1$Id: README,v 1.11 2009/09/22 15:18:20 maire Exp $
    22-------------------------------------------------------------------
    33
     
    3131 2- PHYSICS LIST
    3232 
    33         The particle list is the one of novice/exampleN02.
    34         The physics list contains the 'standard' electromagnetic processes,
    35         and decay.
    36                
    37         Few commands have been added to PhysicsList, in order to set the
    38         production threshold for secondaries either in range for gamma, e-/e+.
     33 Physics lists can be local (eg. in this example) or from G4 kernel
     34 physics_lists subdirectory.
     35     
     36 Local physics lists:   
     37 - "local"      standard EM physics with current 'best' options setting.
     38                       
     39 From geant4/source/physics_lists/builders:     
     40  - "emstandard_opt0" recommended standard EM physics for LHC
     41  - "emstandard_opt1" best CPU performance standard physics for LHC
     42  - "emstandard_opt2"     
     43  - "emstandard_opt3" best current advanced EM options.
     44                      analog to "local" above 
     45  - "emlivermore"  low-energy EM physics using Livermore data
     46  - "empenelope"   low-energy EM physics implementing Penelope models
     47     
     48 Physics lists and options can be (re)set with UI commands
     49   
     50 Please, notice that options set through G4EmProcessOPtions are global, eg
     51 for all particle types. In G4 builders, it is shown how to set options per
     52 particle type.
     53
    3954         
    4055 3- AN EVENT : THE PRIMARY GENERATOR
     
    127142   
    128143   It is possible to choose the format of the histogram file (hbook, root, XML)
    129    with the command /testem/histo/setFileType (hbook by default)
     144   with the command /testem/histo/setFileType (root by default)
    130145   
    131146   It is also possible to print selected histograms on an ascii file:
     
    140155
    141156  To use histograms, at least one of the AIDA implementations should be
    142   available (see http://aida.freehep.org).
    143  
    144  8a - PI
    145 
    146   A package including AIDA and extended interfaces also using Python is PI,
    147   available from: http://cern.ch/pi
    148 
    149   Once installed PI or PI-Lite in a specified local area $MYPY, it is required
    150   to add the installation path to $PATH, i.e. for example, for release 1.2.1 of
    151   PI:
    152   setenv PATH ${PATH}:$MYPI/1.2.1/app/releases/PI/PI_1_2_1/rh73_gcc32/bin
    153 
    154   CERN users can use the PATH to the LCG area on AFS.
    155   Before running the example the command should be issued:
    156   eval `aida-config --runtime csh`
    157 
    158  8b -  OpenScientist
    159 
    160   OpenScientist is available at http://OpenScientist.lal.in2p3.fr.
    161 
    162   You have to "setup" the OpenScientist AIDA implementation before compiling
    163   (then with G4ANALYSIS_USE set) and running your Geant4 application.
    164 
    165  On UNIX you setup, with a csh flavoured shell :
    166         csh> source <<OpenScientist install path>/aida-setup.csh
    167         or with a sh flavoured shell :
    168         sh> . <<OpenScientist install path>/aida-setup.sh
    169  On Windows :
    170         DOS> call <<OpenScientist install path>/aida-setup.bat
    171 
    172   You can use various file formats for writing (AIDA-XML, hbook, root).
    173   These formats are readable by the Lab onx interactive program
    174   or the OpenPAW application. See the web pages.
    175 
    176 
    177   With OpenPAW, on a run.hbook file, one can view the histograms
    178   with something like :
    179         OS> opaw
    180         opaw> h/file 1 run.hbook  ( or opaw> h/file 1 run.aida or run.root) 
    181         opaw> zone 2 2
    182         opaw> h/plot 1
    183         opaw> h/plot 2
     157  available. See InstallAida.txt
  • trunk/examples/extended/electromagnetic/TestEm12/TestEm12.cc

    r1230 r1337  
    2424// ********************************************************************
    2525//
    26 // $Id: TestEm12.cc,v 1.4 2006/06/29 16:41:58 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     26// $Id: TestEm12.cc,v 1.5 2010/05/20 13:13:33 maire Exp $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    3232#include "G4RunManager.hh"
    3333#include "G4UImanager.hh"
    34 #include "G4UIterminal.hh"
    35 #include "G4UItcsh.hh"
    3634#include "Randomize.hh"
    3735
     
    4947#ifdef G4VIS_USE
    5048 #include "G4VisExecutive.hh"
     49#endif
     50
     51#ifdef G4UI_USE
     52#include "G4UIExecutive.hh"
    5153#endif
    5254
     
    7173  runManager->SetUserInitialization(phys = new PhysicsList);
    7274  runManager->SetUserAction(kin = new PrimaryGeneratorAction(det));
    73  
    74 #ifdef G4VIS_USE
    75   //visualization manager
    76   G4VisManager* visManager = new G4VisExecutive;
    77   visManager->Initialize();
    78 #endif
    7975   
    8076  //set user action classes
     
    9187  G4UImanager* UI = G4UImanager::GetUIpointer(); 
    9288
    93   if (argc==1)   // Define UI terminal for interactive mode 
    94     {
    95      G4UIsession* session = 0;
    96 #ifdef G4UI_USE_TCSH
    97       session = new G4UIterminal(new G4UItcsh);     
    98 #else
    99       session = new G4UIterminal();
    100 #endif                     
    101      session->SessionStart();
    102      delete session;
    103     }
    104   else           // Batch mode
    105     {
     89  if (argc!=1)   // batch mode 
     90    {
    10691     G4String command = "/control/execute ";
    10792     G4String fileName = argv[1];
    10893     UI->ApplyCommand(command+fileName);
    10994    }
     95   
     96  else           //define visualization and UI terminal for interactive mode
     97    {
     98#ifdef G4VIS_USE
     99   G4VisManager* visManager = new G4VisExecutive;
     100   visManager->Initialize();
     101#endif   
     102     
     103#ifdef G4UI_USE
     104      G4UIExecutive * ui = new G4UIExecutive(argc,argv);     
     105      ui->SessionStart();
     106      delete ui;
     107#endif
     108         
     109#ifdef G4VIS_USE
     110     delete visManager;
     111#endif     
     112    }
    110113
    111114  //job termination
    112 #ifdef G4VIS_USE
    113   delete visManager;
    114 #endif
    115  
     115  //
    116116  delete histo;
    117117  delete runManager;
  • trunk/examples/extended/electromagnetic/TestEm12/TestEm12.in

    r807 r1337  
    1 # $Id: TestEm12.in,v 1.7 2006/10/25 17:27:02 maire Exp $
     1# $Id: TestEm12.in,v 1.9 2009/09/22 15:18:20 maire Exp $
    22#
    33# limit the step size from histos 1 and 8
     
    1010/testem/det/setNbOfLayers 1
    1111#
    12 /testem/phys/addPhysics  standard       # em physics
     12/testem/phys/addPhysics  local  # em physics
    1313#
    1414/run/initialize
     
    1919/gun/energy 4 MeV
    2020#
    21 /testem/histo/setFileType hbook
     21/testem/histo/setFileType root
    2222/testem/histo/setFileName testem12
    2323/testem/histo/setHisto 1 120  0.   2.4 cm       #edep profile
  • trunk/examples/extended/electromagnetic/TestEm12/TestEm12.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 = 8 *****
    1115
    12  Material:    G4_Al     density:  2.699 g/cm3   RadL:   8.896 cm   Imean: 166.000 eV
     16 Material:    G4_Al     density:  2.699 g/cm3   RadL:   8.896 cm   Nucl.Int.Length:  38.894 cm   Imean: 166.000 eV
    1317   --->  Element: Al (Al)   Z = 13.0   N =  27.0   A =  26.98 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    1418
    15  Material:    G4_Si     density:  2.330 g/cm3   RadL:   9.366 cm   Imean: 173.000 eV
     19 Material:    G4_Si     density:  2.330 g/cm3   RadL:   9.366 cm   Nucl.Int.Length:  45.660 cm   Imean: 173.000 eV
    1620   --->  Element: Si (Si)   Z = 14.0   N =  28.1   A =  28.09 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    1721
    18  Material:    G4_Fe     density:  7.874 g/cm3   RadL:   1.757 cm   Imean: 286.000 eV
     22 Material:    G4_Fe     density:  7.874 g/cm3   RadL:   1.757 cm   Nucl.Int.Length:  16.990 cm   Imean: 286.000 eV
    1923   --->  Element: Fe (Fe)   Z = 26.0   N =  55.8   A =  55.85 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    2024
    21  Material:    G4_Ge     density:  5.323 g/cm3   RadL:   2.301 cm   Imean: 350.000 eV
     25 Material:    G4_Ge     density:  5.323 g/cm3   RadL:   2.301 cm   Nucl.Int.Length:  27.431 cm   Imean: 350.000 eV
    2226   --->  Element: Ge (Ge)   Z = 32.0   N =  72.6   A =  72.61 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    2327
    24  Material:     G4_W     density: 19.300 g/cm3   RadL:   3.504 mm   Imean: 727.000 eV
     28 Material:     G4_W     density: 19.300 g/cm3   RadL:   3.504 mm   Nucl.Int.Length:  10.312 cm   Imean: 727.000 eV
    2529   --->  Element: W (W)   Z = 74.0   N = 183.8   A = 183.84 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    2630
    27  Material:    G4_Pb     density: 11.350 g/cm3   RadL:   5.613 mm   Imean: 823.000 eV
     31 Material:    G4_Pb     density: 11.350 g/cm3   RadL:   5.613 mm   Nucl.Int.Length:  18.248 cm   Imean: 823.000 eV
    2832   --->  Element: Pb (Pb)   Z = 82.0   N = 207.2   A = 207.22 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    2933
    30  Material:   G4_AIR     density:  1.205 mg/cm3  RadL: 303.921 m    Imean:  85.700 eV   temperature: 273.15 K  pressure:   1.00 atm
     34 Material:   G4_AIR     density:  1.205 mg/cm3  RadL: 303.921 m    Nucl.Int.Length: 710.095 m    Imean:  85.700 eV   temperature: 273.15 K  pressure:   1.00 atm
    3135   --->  Element: C (C)   Z =  6.0   N =  12.0   A =  12.01 g/mole  ElmMassFraction:   0.01 %  ElmAbundance   0.02 %
    3236   --->  Element: N (N)   Z =  7.0   N =  14.0   A =  14.01 g/mole  ElmMassFraction:  75.53 %  ElmAbundance  78.44 %
     
    3438   --->  Element: Ar (Ar)   Z = 18.0   N =  39.9   A =  39.95 g/mole  ElmMassFraction:   1.28 %  ElmAbundance   0.47 %
    3539
    36  Material: G4_WATER H_2O   density:  1.000 g/cm3   RadL:  36.083 cm   Imean:  75.000 eV
     40 Material: G4_WATER H_2O   density:  1.000 g/cm3   RadL:  36.083 cm   Nucl.Int.Length:  75.423 cm   Imean:  78.000 eV
    3741   --->  Element: H (H)   Z =  1.0   N =   1.0   A =   1.01 g/mole  ElmMassFraction:  11.19 %  ElmAbundance  66.67 %
    3842   --->  Element: O (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  ElmMassFraction:  88.81 %  ElmAbundance  33.33 %
    3943
    40 
    41 Visualization Manager instantiating...
    42 Visualization Manager initialising...
    43 Registering graphics systems...
    44 
    45 You have successfully registered the following graphics systems.
    46 Current available graphics systems are:
    47   ASCIITree (ATree)
    48   DAWNFILE (DAWNFILE)
    49   G4HepRep (HepRepXML)
    50   G4HepRepFile (HepRepFile)
    51   RayTracer (RayTracer)
    52   VRML1FILE (VRML1FILE)
    53   VRML2FILE (VRML2FILE)
    54   OpenGLImmediateX (OGLIX)
    55   OpenGLStoredX (OGLSX)
    56 
    57 Registering model factories...
    58 
    59 You have successfully registered the following model factories.
    60 Registered model factories:
    61   generic
    62   drawByCharge
    63   drawByParticleID
    64   drawByOriginVolume
    65   drawByAttribute
    66 
    67 Registered filter factories:
    68   chargeFilter
    69   particleFilter
    70   originVolumeFilter
    71   attributeFilter
    7244
    7345/run/verbose 2
     
    7749/testem/det/setNbOfLayers 1
    7850#
    79 /testem/phys/addPhysics standard
    80 PhysicsList::AddPhysicsList: <standard>
     51/testem/phys/addPhysics local
     52PhysicsList::AddPhysicsList: <local>
    8153#
    8254/run/initialize
     
    9062physicsList->Construct() start.
    9163physicsList->Construct() start.
     64physicsList->CheckParticleList() start.
    9265physicsList->setCut() start.
    9366PhysicsList::SetCuts:CutLength : 1 mm
     
    9871/gun/energy 4 MeV
    9972#
    100 /testem/histo/setFileType hbook
     73/testem/histo/setFileType root
    10174/testem/histo/setFileName testem12
    102 /testem/histo/setHisto 1 120 0. 2.4 cm 
     75/testem/histo/setHisto 1 120 0. 2.4 cm
    10376----> SetHisto 1: dE/dr (MeV/mm) along radius (cm);  120 bins from 0 cm to 2.4 cm
    104 /testem/histo/setHisto 2 180 0. 4.5 MeV 
     77/testem/histo/setHisto 2 180 0. 4.5 MeV
    10578----> SetHisto 2: total Energy deposited in absorber (MeV);  180 bins from 0 MeV to 4.5 MeV
    106 /testem/histo/setHisto 3 100 0. 3. cm 
     79/testem/histo/setHisto 3 100 0. 3. cm
    10780----> SetHisto 3: true track length of the primary particle (cm);  100 bins from 0 cm to 3 cm
    108 /testem/histo/setHisto 4 100 0. 500. um 
     81/testem/histo/setHisto 4 100 0. 500. um
    10982----> SetHisto 4: true step size of the primary particle (um);  100 bins from 0 um to 500 um
    110 /testem/histo/setHisto 5 200 -3. 3. cm 
     83/testem/histo/setHisto 5 200 -3. 3. cm
    11184----> SetHisto 5: projected range of the primary particle (cm);  200 bins from -3 cm to 3 cm
    11285/testem/histo/setcsdaRange 2.037 cm
    113 /testem/histo/setHisto 8 120 0. 1.2 none 
     86/testem/histo/setHisto 8 120 0. 1.2 none
    11487----> SetHisto 8: d(E/E0)/d(r/r0) along r/r0;  120 bins from 0 none to 1.2 none
    11588#
     
    11891/run/beamOn 10000
    11992
    120 phot:  Total cross sections from Sandia parametrisation.
    121       Sampling according PhotoElectric model
    122 
    123 compt:  Total cross sections has a good parametrisation from 10 KeV to (100/Z) GeV
    124       Sampling according Klein-Nishina model
    125       tables are built for  gamma
    126       Lambda tables from 100 eV  to 100 GeV in 90 bins.
    127 
    128 conv:  Total cross sections has a good parametrisation from 1.5 MeV to 100 GeV for all Z;
    129       sampling secondary e+e- according Bethe-Heitler model
    130       tables are built for  gamma
    131       Lambda tables from 1.022 MeV to 100 GeV in 100 bins.
    132 
    133 msc:  Model variant of multiple scattering for e-
    134       Lambda tables from 100 eV  to 100 TeV in 120 bins.
    135       LateralDisplacementFlag=  1   Skin= 0
    136       Boundary/stepping algorithm is active with RangeFactor= 0.02  Step limit type 1
    137 
    138 eIoni:   tables are built for  e-
    139       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    140       Lambda tables from threshold to 100 TeV in 120 bins.
    141       Delta cross sections and sampling from MollerBhabha model
    142       Good description from 1 KeV to 100 GeV.
    143       Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
    144       CSDA range table up to 1 GeV in 70 bins.
    145 
    146 eBrem:   tables are built for  e-
    147       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    148       Lambda tables from threshold to 100 TeV in 120 bins.
    149       Total cross sections and sampling from StandBrem model (based on the EEDL data library)
    150       Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1
    151 
    152 eIoni:   tables are built for  e+
    153       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    154       Lambda tables from threshold to 100 TeV in 120 bins.
    155       Delta cross sections and sampling from MollerBhabha model
    156       Good description from 1 KeV to 100 GeV.
    157       Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
    158       CSDA range table up to 1 GeV in 70 bins.
    159 
    160 eBrem:   tables are built for  e+
    161       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    162       Lambda tables from threshold to 100 TeV in 120 bins.
    163       Total cross sections and sampling from StandBrem model (based on the EEDL data library)
    164       Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1
    165 
    166 annihil:       Sampling according eplus2gg model
    167       tables are built for  e+
    168       Lambda tables from 100 eV  to 100 TeV in 120 bins.
    169 
    170 msc:  Model variant of multiple scattering for proton
    171       Lambda tables from 100 eV  to 100 TeV in 120 bins.
    172       LateralDisplacementFlag=  1   Skin= 0
    173       Boundary/stepping algorithm is active with RangeFactor= 0.02  Step limit type 1
    174 
    175 hIoni:   tables are built for  proton
    176       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    177       Lambda tables from threshold to 100 TeV in 120 bins.
    178       Scaling relation is used from proton dE/dx and range.
    179       Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV
    180       Parametrisation from Bragg for protons below. NuclearStopping= 1
    181       Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
    182       CSDA range table up to 1 GeV in 70 bins.
    183 
    184 msc:  Model variant of multiple scattering for GenericIon
    185       LateralDisplacementFlag=  0   Skin= 0
    186       Boundary/stepping algorithm is active with RangeFactor= 0.2  Step limit type 1
    187 
    188 ionIoni:   tables are built for  GenericIon
    189       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    190       Lambda tables from threshold to 100 TeV in 120 bins.
    191       Scaling relation is used from proton dE/dx and range.
    192       Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV
    193       Parametrisation from BraggIon for protons below. NuclearStopping= 1
    194 
    195       Stopping Power data for 8 ion/material pairs are used.
    196       Step function: finalRange(mm)= 0.1, dRoverRange= 0.1, integral: 1, fluct: 1
    197       CSDA range table up to 1 GeV in 70 bins.
    198 
    199 hIoni:   tables are built for  anti_proton
    200       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    201       Lambda tables from threshold to 100 TeV in 120 bins.
    202       Scaling relation is used from proton dE/dx and range.
    203       Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV
    204       Parametrisation from Bragg for protons below. NuclearStopping= 1
    205       Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
    206       CSDA range table up to 1 GeV in 70 bins.
    207 
    208 msc:  Model variant of multiple scattering for mu+
    209       Lambda tables from 100 eV  to 100 TeV in 120 bins.
    210       LateralDisplacementFlag=  1   Skin= 0
    211       Boundary/stepping algorithm is active with RangeFactor= 0.02  Step limit type 1
    212 
    213 muIoni:   tables are built for  mu+
    214       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    215       Lambda tables from threshold to 100 TeV in 120 bins.
    216       Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below,
    217       radiative corrections for E > 1 GeV
    218       Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
    219       CSDA range table up to 1 GeV in 70 bins.
    220 
    221 muBrems:   tables are built for  mu+
    222       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    223       Lambda tables from threshold to 100 TeV in 120 bins.
    224       Parametrised model
    225 
    226 muPairProd:   tables are built for  mu+
    227       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    228       Lambda tables from threshold to 100 TeV in 120 bins.
    229       Parametrised model
    230 
    231 muIoni:   tables are built for  mu-
    232       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    233       Lambda tables from threshold to 100 TeV in 120 bins.
    234       Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below,
    235       radiative corrections for E > 1 GeV
    236       Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
    237       CSDA range table up to 1 GeV in 70 bins.
    238 
    239 muBrems:   tables are built for  mu-
    240       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    241       Lambda tables from threshold to 100 TeV in 120 bins.
    242       Parametrised model
    243 
    244 muPairProd:   tables are built for  mu-
    245       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    246       Lambda tables from threshold to 100 TeV in 120 bins.
    247       Parametrised model
    248 
    249 hIoni:   tables are built for  pi+
    250       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    251       Lambda tables from threshold to 100 TeV in 120 bins.
    252       Scaling relation is used from proton dE/dx and range.
    253       Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV
    254       Parametrisation from Bragg for protons below. NuclearStopping= 1
    255       Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
    256       CSDA range table up to 1 GeV in 70 bins.
    257 
    258 msc:  Model variant of multiple scattering for pi-
    259       Lambda tables from 100 eV  to 100 TeV in 120 bins.
    260       LateralDisplacementFlag=  1   Skin= 0
    261       Boundary/stepping algorithm is active with RangeFactor= 0.02  Step limit type 1
    262 
    263 hIoni:   tables are built for  pi-
    264       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    265       Lambda tables from threshold to 100 TeV in 120 bins.
    266       Scaling relation is used from proton dE/dx and range.
    267       Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV
    268       Parametrisation from Bragg for protons below. NuclearStopping= 1
    269       Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1
    270       CSDA range table up to 1 GeV in 70 bins.
     93phot:   for  gamma    SubType= 12
     94      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     95       PhotoElectric :     Emin=          0 eV         Emax=   10 TeV
     96
     97compt:   for  gamma    SubType= 13
     98      Lambda tables from 100 eV  to 10 TeV in 77 bins, spline: 1
     99      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     100       Klein-Nishina :     Emin=          0 eV         Emax=   10 TeV
     101
     102conv:   for  gamma    SubType= 14
     103      Lambda tables from 1.022 MeV to 10 TeV in 77 bins, spline: 1
     104      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     105       Bethe-Heitler :     Emin=          0 eV         Emax=   10 TeV
     106
     107msc:   for e-    SubType= 10
     108      Lambda tables from 100 eV  to 10 TeV in 77 bins, spline: 1
     109      RangeFactor= 0.04, stepLimitType: 1, latDisplacement: 1
     110      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     111          UrbanMsc93 :     Emin=          0 eV         Emax=   10 TeV
     112
     113eIoni:   for  e-    SubType= 2
     114      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     115      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     116      finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     117      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     118        MollerBhabha :     Emin=          0 eV         Emax=   10 TeV
     119      CSDA range table up to 1 GeV in 160 bins
     120
     121eBrem:   for  e-    SubType= 3
     122      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     123      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     124      LPM flag: 1 for E > 1 GeV
     125      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     126               eBrem :     Emin=          0 eV         Emax=   1 GeV
     127            eBremRel :     Emin=          1 GeV        Emax=   10 TeV
     128
     129eIoni:   for  e+    SubType= 2
     130      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     131      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     132      finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     133      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     134        MollerBhabha :     Emin=          0 eV         Emax=   10 TeV
     135      CSDA range table up to 1 GeV in 160 bins
     136
     137eBrem:   for  e+    SubType= 3
     138      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     139      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     140      LPM flag: 1 for E > 1 GeV
     141      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     142               eBrem :     Emin=          0 eV         Emax=   1 GeV
     143            eBremRel :     Emin=          1 GeV        Emax=   10 TeV
     144
     145annihil:   for  e+    SubType= 5
     146      Lambda tables from 100 eV  to 10 TeV in 77 bins, spline: 1
     147      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     148            eplus2gg :     Emin=          0 eV         Emax=   10 TeV
     149
     150msc:   for proton    SubType= 10
     151      Lambda tables from 100 eV  to 10 TeV in 77 bins, spline: 1
     152      RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
     153      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     154          UrbanMsc90 :     Emin=          0 eV         Emax=   10 TeV
     155
     156hIoni:   for  proton    SubType= 2
     157      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     158      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     159      finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     160      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     161               Bragg :     Emin=          0 eV         Emax=   2 MeV
     162          BetheBloch :     Emin=          2 MeV        Emax=   10 TeV
     163      CSDA range table up to 1 GeV in 160 bins
     164
     165hBrems:   for  proton    SubType= 3
     166      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     167      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     168      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     169               hBrem :     Emin=          0 eV         Emax=   10 TeV
     170
     171hPairProd:   for  proton    SubType= 4
     172      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     173      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     174      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     175           hPairProd :     Emin=          0 eV         Emax=   10 TeV
     176
     177msc:   for GenericIon    SubType= 10
     178      RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
     179      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     180          UrbanMsc90 :     Emin=          0 eV         Emax=   10 TeV
     181
     182ionIoni:   for  GenericIon    SubType= 2
     183      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     184      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     185      finalRange(mm)= 0.1, dRoverRange= 0.1, integral: 1, fluct: 1, linLossLimit= 0.02
     186      Stopping Power data for 17 ion/material pairs, nuclearStopping: 1
     187      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     188         ParamICRU73 :     Emin=          0 eV         Emax=   10 TeV
     189      CSDA range table up to 1 GeV in 160 bins
     190
     191nuclearStopping:   for  GenericIon    SubType= 1
     192      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     193   ICRU49NucStopping :     Emin=          0 eV         Emax=   10 TeV
     194
     195nuclearStopping:   for  alpha    SubType= 1
     196      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     197   ICRU49NucStopping :     Emin=          0 eV         Emax=   10 TeV
     198
     199hIoni:   for  anti_proton    SubType= 2
     200      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     201      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     202      finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     203      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     204            ICRU73QO :     Emin=          0 eV         Emax=   2 MeV
     205          BetheBloch :     Emin=          2 MeV        Emax=   10 TeV
     206      CSDA range table up to 1 GeV in 160 bins
     207
     208hIoni:   for  kaon+    SubType= 2
     209      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     210      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     211      finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     212      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     213               Bragg :     Emin=          0 eV         Emax=   1.05231 MeV
     214          BetheBloch :     Emin=    1.05231 MeV        Emax=   10 TeV
     215      CSDA range table up to 1 GeV in 160 bins
     216
     217hIoni:   for  kaon-    SubType= 2
     218      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     219      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     220      finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     221      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     222            ICRU73QO :     Emin=          0 eV         Emax=   1.05231 MeV
     223          BetheBloch :     Emin=    1.05231 MeV        Emax=   10 TeV
     224      CSDA range table up to 1 GeV in 160 bins
     225
     226muMsc:   for mu+    SubType= 10
     227      Lambda tables from 100 eV  to 10 TeV in 77 bins, spline: 1
     228      RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 0
     229      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     230          UrbanMsc90 :     Emin=          0 eV         Emax=   10 TeV
     231
     232muIoni:   for  mu+    SubType= 2
     233      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     234      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     235      finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     236      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     237               Bragg :     Emin=          0 eV         Emax=   200 keV
     238          BetheBloch :     Emin=        200 keV        Emax=   1 GeV
     239        MuBetheBloch :     Emin=          1 GeV        Emax=   10 TeV
     240      CSDA range table up to 1 GeV in 160 bins
     241
     242muBrems:   for  mu+    SubType= 3
     243      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     244      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     245      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     246              MuBrem :     Emin=          0 eV         Emax=   10 TeV
     247
     248muPairProd:   for  mu+    SubType= 4
     249      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     250      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     251      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     252          muPairProd :     Emin=          0 eV         Emax=   10 TeV
     253
     254muIoni:   for  mu-    SubType= 2
     255      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     256      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     257      finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     258      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     259            ICRU73QO :     Emin=          0 eV         Emax=   200 keV
     260          BetheBloch :     Emin=        200 keV        Emax=   1 GeV
     261        MuBetheBloch :     Emin=          1 GeV        Emax=   10 TeV
     262      CSDA range table up to 1 GeV in 160 bins
     263
     264muBrems:   for  mu-    SubType= 3
     265      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     266      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     267      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     268              MuBrem :     Emin=          0 eV         Emax=   10 TeV
     269
     270muPairProd:   for  mu-    SubType= 4
     271      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     272      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     273      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     274          muPairProd :     Emin=          0 eV         Emax=   10 TeV
     275
     276hIoni:   for  pi+    SubType= 2
     277      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     278      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     279      finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     280      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     281               Bragg :     Emin=          0 eV         Emax=   297.504 keV
     282          BetheBloch :     Emin=    297.504 keV        Emax=   10 TeV
     283      CSDA range table up to 1 GeV in 160 bins
     284
     285hBrems:   for  pi+    SubType= 3
     286      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     287      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     288      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     289               hBrem :     Emin=          0 eV         Emax=   10 TeV
     290
     291hPairProd:   for  pi+    SubType= 4
     292      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     293      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     294      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     295           hPairProd :     Emin=          0 eV         Emax=   10 TeV
     296
     297msc:   for pi-    SubType= 10
     298      Lambda tables from 100 eV  to 10 TeV in 77 bins, spline: 1
     299      RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
     300      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     301          UrbanMsc90 :     Emin=          0 eV         Emax=   10 TeV
     302
     303hIoni:   for  pi-    SubType= 2
     304      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     305      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     306      finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     307      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     308            ICRU73QO :     Emin=          0 eV         Emax=   297.504 keV
     309          BetheBloch :     Emin=    297.504 keV        Emax=   10 TeV
     310      CSDA range table up to 1 GeV in 160 bins
     311
     312hBrems:   for  pi-    SubType= 3
     313      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     314      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     315      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     316               hBrem :     Emin=          0 eV         Emax=   10 TeV
     317
     318hPairProd:   for  pi-    SubType= 4
     319      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     320      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     321      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     322           hPairProd :     Emin=          0 eV         Emax=   10 TeV
    271323
    272324Region <DefaultRegionForTheWorld> -- appears in <Absorber> world volume
     
    274326 Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
    275327 Materials : G4_WATER
    276  Production cuts :  gamma 1 um     e- 1 um     e+ 1 um
     328 Production cuts :   gamma 1 um      e- 1 um      e+ 1 um  proton 0 fm
    277329
    278330========= Table of registered couples ==============================
     
    280332Index : 0     used in the geometry : Yes     recalculation needed : No
    281333 Material : G4_WATER
    282  Range cuts        :  gamma 1 um     e- 1 um     e+ 1 um
    283  Energy thresholds :  gamma 990 eV     e- 990 eV     e+ 990 eV
     334 Range cuts        :  gamma  1 um     e-  1 um     e+  1 um  proton 0 fm
     335 Energy thresholds :  gamma  990 eV     e-  990 eV     e+  990 eV  proton 0 eV
    284336 Region(s) which use this couple :
    285337    DefaultRegionForTheWorld
     
    324376Run Summary
    325377  Number of events processed : 10000
    326   User=65.4s Real=92.27s Sys=2.75s
     378  User=42.93s Real=71.08s Sys=0.28s
    327379
    328380 ======================== run summary ======================
     
    332384 ============================================================
    333385
    334  Total Energy deposited        = 3.934 MeV +- 240.666 keV
    335 
    336  Track length of primary track = 2.016 cm  +- 2.808 mm
    337  Range from EmCalculator       = 2.021 cm  (from full dE/dx)
    338 
    339  Projected range               = 1.305 cm  +- 4.176 mm
    340 
    341  Nb of steps of primary track  = 238.40 +- 31.17         Step size= 84.562 um  +- 4.576 um
     386 Total Energy deposited        = 3.932 MeV +- 234.119 keV
     387
     388 Track length of primary track = 2.045 cm  +- 2.840 mm
     389 Range from EmCalculator       = 2.048 cm  (from full dE/dx)
     390
     391 Projected range               = 1.316 cm  +- 4.268 mm
     392
     393 Nb of steps of primary track  = 241.47 +- 31.53         Step size= 84.668 um  +- 4.553 um
    342394
    343395--------- Ranecu engine status ---------
    344396 Initial seed (index) = 0
    345  Current couple of seeds = 1695104246, 964521664
     397 Current couple of seeds = 343308114, 1826359441
    346398----------------------------------------
    347 Graphics systems deleted.
    348 Visualization Manager deleting...
    349399UserDetectorConstruction deleted.
    350400UserPhysicsList deleted.
     
    353403G4 kernel has come to Quit state.
    354404EventManager deleted.
    355 Default detector region deleted.
    356405UImanager deleted.
    357406Units table cleared.
     
    359408RunManagerKernel is deleted.
    360409RunManager is deleting.
     410
  • trunk/examples/extended/electromagnetic/TestEm12/include/DetectorConstruction.hh

    r1230 r1337  
    2525//
    2626// $Id: DetectorConstruction.hh,v 1.2 2006/06/29 16:42: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/TestEm12/include/DetectorMessenger.hh

    r1230 r1337  
    2525//
    2626// $Id: DetectorMessenger.hh,v 1.2 2006/06/29 16:42: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/TestEm12/include/EventAction.hh

    r1230 r1337  
    2525//
    2626// $Id: EventAction.hh,v 1.2 2006/06/29 16:42:06 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/TestEm12/include/EventActionMessenger.hh

    r1230 r1337  
    2525//
    2626// $Id: EventActionMessenger.hh,v 1.2 2006/06/29 16:42:08 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/TestEm12/include/HistoManager.hh

    r1230 r1337  
    2525//
    2626// $Id: HistoManager.hh,v 1.6 2007/11/09 17:35:06 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/TestEm12/include/HistoMessenger.hh

    r1230 r1337  
    2525//
    2626// $Id: HistoMessenger.hh,v 1.4 2008/01/11 13:11:31 jjacquem 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/TestEm12/include/PhysListEmStandard.hh

    r1230 r1337  
    2626//
    2727// $Id: PhysListEmStandard.hh,v 1.2 2006/06/29 16:42:25 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/TestEm12/include/PhysicsList.hh

    r1230 r1337  
    2626//
    2727// $Id: PhysicsList.hh,v 1.3 2006/06/29 16:42:37 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/TestEm12/include/PhysicsListMessenger.hh

    r1230 r1337  
    2525//
    2626// $Id: PhysicsListMessenger.hh,v 1.2 2006/06/29 16:42: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/TestEm12/include/PrimaryGeneratorAction.hh

    r1230 r1337  
    2525//
    2626// $Id: PrimaryGeneratorAction.hh,v 1.2 2006/06/29 16:42: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/TestEm12/include/PrimaryGeneratorMessenger.hh

    r1230 r1337  
    2525//
    2626// $Id: PrimaryGeneratorMessenger.hh,v 1.2 2006/06/29 16:42: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/TestEm12/include/RunAction.hh

    r1230 r1337  
    2525//
    2626// $Id: RunAction.hh,v 1.4 2007/04/27 10:38:11 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/TestEm12/include/StepMax.hh

    r1230 r1337  
    2525//
    2626// $Id: StepMax.hh,v 1.3 2006/06/29 16:42:50 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/TestEm12/include/StepMaxMessenger.hh

    r1230 r1337  
    2525//
    2626// $Id: StepMaxMessenger.hh,v 1.3 2006/06/29 16:42:52 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/TestEm12/include/SteppingAction.hh

    r1230 r1337  
    2525//
    2626// $Id: SteppingAction.hh,v 1.2 2006/06/29 16:42:54 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/TestEm12/include/SteppingVerbose.hh

    r1230 r1337  
    2525//
    2626// $Id: SteppingVerbose.hh,v 1.2 2006/06/29 16:42:56 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/TestEm12/include/TrackingAction.hh

    r1230 r1337  
    2525//
    2626// $Id: TrackingAction.hh,v 1.2 2006/06/29 16:42:58 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/TestEm12/src/DetectorConstruction.cc

    r1230 r1337  
    2525//
    2626// $Id: DetectorConstruction.cc,v 1.2 2006/06/29 16:43:00 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/TestEm12/src/DetectorMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: DetectorMessenger.cc,v 1.2 2006/06/29 16:43: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/TestEm12/src/EventAction.cc

    r1230 r1337  
    2424// ********************************************************************
    2525//
    26 // $Id: EventAction.cc,v 1.2 2006/06/29 16:43:05 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......
     
    3737
    3838#include "G4Event.hh"
    39 #include "G4TrajectoryContainer.hh"
    40 #include "G4Trajectory.hh"
    41 #include "G4VVisManager.hh"
    4239
    4340//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    7269//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
    7370
    74 void EventAction::EndOfEventAction(const G4Event* evt)
     71void EventAction::EndOfEventAction(const G4Event*)
    7572{
    7673  //plot energy deposited per event
     
    8077    histoManager->FillHisto(2,totalEdep);
    8178  } 
    82  
    83   //trajectories
    84   //
    85   if (G4VVisManager::GetConcreteInstance())
    86   {
    87    G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();
    88    G4int n_trajectories = 0;
    89    if (trajectoryContainer) n_trajectories = trajectoryContainer->entries(); 
    90    for(G4int i=0; i<n_trajectories; i++)
    91       { G4Trajectory* trj = (G4Trajectory*)
    92                                        ((*(evt->GetTrajectoryContainer()))[i]);
    93         if (drawFlag == "all") trj->DrawTrajectory(1000);
    94         else if ((drawFlag == "charged")&&(trj->GetCharge() != 0.))
    95                                trj->DrawTrajectory(1000);
    96       }
    97   }
    9879}
    9980
  • trunk/examples/extended/electromagnetic/TestEm12/src/EventActionMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: EventActionMessenger.cc,v 1.2 2006/06/29 16:43:07 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/TestEm12/src/HistoManager.cc

    r1230 r1337  
    2525//
    2626// $Id: HistoManager.cc,v 1.11 2008/09/23 20:48:12 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/TestEm12/src/HistoMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: HistoMessenger.cc,v 1.5 2008/01/11 13:11:31 jjacquem 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/TestEm12/src/PhysListEmStandard.cc

    r1230 r1337  
    2424// ********************************************************************
    2525//
    26 // $Id: PhysListEmStandard.cc,v 1.8 2009/11/16 16:18:27 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     26// $Id: PhysListEmStandard.cc,v 1.9 2010/05/20 13:13:33 maire Exp $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    3939
    4040#include "G4eMultipleScattering.hh"
     41#include "G4UrbanMscModel90.hh"
     42#include "G4UrbanMscModel92.hh"
    4143#include "G4UrbanMscModel93.hh"
    4244#include "G4eIonisation.hh"
     
    148150    }
    149151  }
    150 
     152/*
    151153  // Em options
    152154  //
     
    179181  //
    180182  emOptions.SetSubCutoff(false);        //default
     183*/ 
    181184}
    182185
  • trunk/examples/extended/electromagnetic/TestEm12/src/PhysicsList.cc

    r1230 r1337  
    2424// ********************************************************************
    2525//
    26 // $Id: PhysicsList.cc,v 1.8 2009/09/22 15:18:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     26// $Id: PhysicsList.cc,v 1.9 2010/05/20 13:13:33 maire Exp $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    3434
    3535#include "PhysListEmStandard.hh"
     36#include "PhysListEmStandardSS.hh"
     37#include "PhysListEmStandardGS.hh"
     38#include "PhysListEmStandardWVI.hh"
    3639
    3740#include "G4EmStandardPhysics.hh"
     
    241244    delete emPhysicsList;
    242245    emPhysicsList = new G4EmStandardPhysics_option3();
    243            
     246   
     247  } else if (name == "standardSS") {
     248
     249    emName = name;
     250    delete emPhysicsList;
     251    emPhysicsList = new PhysListEmStandardSS(name);
     252
     253  } else if (name == "standardGS") {
     254
     255    emName = name;
     256    delete emPhysicsList;
     257    emPhysicsList = new PhysListEmStandardGS(name);
     258
     259  } else if (name == "standardWVI") {
     260
     261    emName = name;
     262    delete emPhysicsList;
     263    emPhysicsList = new PhysListEmStandardWVI(name);
     264               
    244265  } else if (name == "emlivermore") {
    245266    emName = name;
  • trunk/examples/extended/electromagnetic/TestEm12/src/PhysicsListMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: PhysicsListMessenger.cc,v 1.2 2006/06/29 16:43: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/TestEm12/src/PrimaryGeneratorAction.cc

    r1230 r1337  
    2525//
    2626// $Id: PrimaryGeneratorAction.cc,v 1.2 2006/06/29 16:43: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/TestEm12/src/PrimaryGeneratorMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: PrimaryGeneratorMessenger.cc,v 1.2 2006/06/29 16:43: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/TestEm12/src/RunAction.cc

    r1230 r1337  
    2525//
    2626// $Id: RunAction.cc,v 1.8 2007/08/19 20:57:29 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/TestEm12/src/StepMax.cc

    r1230 r1337  
    2525//
    2626// $Id: StepMax.cc,v 1.3 2006/06/29 16:43: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/TestEm12/src/StepMaxMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: StepMaxMessenger.cc,v 1.3 2006/06/29 16:43: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/TestEm12/src/SteppingAction.cc

    r1230 r1337  
    2525//
    2626// $Id: SteppingAction.cc,v 1.4 2007/04/27 10:38:11 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/TestEm12/src/SteppingVerbose.cc

    r1230 r1337  
    2525//
    2626// $Id: SteppingVerbose.cc,v 1.2 2006/06/29 16:43:46 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/TestEm12/src/TrackingAction.cc

    r1230 r1337  
    2525//
    2626// $Id: TrackingAction.cc,v 1.2 2006/06/29 16:43:48 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/TestEm12/vis.mac

    r807 r1337  
    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:
     39/vis/viewer/zoom 1.4
     40#
     41# Specify style (surface or wireframe):
    2342/vis/viewer/set/style surface
    24 /vis/viewer/zoom 1.4
    25 /vis/viewer/flush
    2643#
    27 # for drawing the tracks
    28 # if too many tracks cause core dump => storeTrajectory 0
    29 /tracking/storeTrajectory 1
     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:
    3072/vis/scene/endOfEventAction accumulate
    3173#
    32 /testem/event/drawTracks all
    33 
     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.