Changeset 1337 for trunk/examples/extended/medical/fanoCavity
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- Location:
- trunk/examples/extended/medical/fanoCavity
- Files:
-
- 48 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/medical/fanoCavity/History
r807 r1337 1 $Id: History,v 1. 19 2007/11/13 11:31:53 maireExp $1 $Id: History,v 1.36 2010/06/07 05:40:46 perl Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 15 15 * Reverse chronological order (last date on top), please * 16 16 ---------------------------------------------------------- 17 18 06-06-10 J.Perl (fano-V09-03-03) 19 - Remove unused variable in EventAction 20 21 04-06-10 J.Perl (fano-V09-03-02) 22 - Updated vis usage 23 24 22-05-10 mma (fano-V09-03-01) 25 - fanoCavity.cc : introduction of G4UIExecutive 26 27 19-01-10 mma (fano-V09-03-00) 28 - introduce PhysListEmStandard_option2 : UrbanMscModel93 without options 29 PhysListEmStandard_WVI : WentzelVIModel 30 - put in run01.mac all physics lists choice 31 32 16-11-09 mma (fano-V09-02-03) 33 - PhysListEmStandard_option3 : use UrbanMscModel93 34 35 29-10-09 mma (fano-V09-02-02) 36 - new PhysListEmStandard_GS for GoudsmitSaundersonMsc model 37 38 25-10-09 mma (fano-V09-02-01) 39 - splite PhysicsList in 2, as others TestEm examples. 40 - local copy of PhysListEmStandard_option0, PhysListEmStandard_option3, 41 PhysListEmStandard_SS 42 - PhysicsList: add cut for proton recoil in case of Single Scattering 43 44 30-01-09 mma (fano-V09-02-00) 45 - EndOfRun : error = ratio*std::sqrt(dEoverE*dEoverE + dToverT*dToverT) 46 47 16-11-08 mma (fano-V09-01-06) 48 - Em options: 20bins/decade LinLossLimit=default=0.01 49 50 01-11-08 mma (fano-V09-01-05) 51 - PhysicsList : add comments for Em options 52 53 26-10-08 mma (fano-V09-01-04) 54 - PhysicsList : modified Em options 55 56 28-09-08 mma (fano-V09-01-03) 57 - HistoManager : root format by default 58 59 11-06-08 V.Ivant (fano-V09-01-02) 60 - Remove AIDA from GNUmakefile 61 62 07-05-08 mma (fano-V09-01-01) 63 - README : update Aida informations 64 65 11-04-08 mma 66 - HistoManager::Scale() : suppress warning 67 68 04-04-08 mma(fano-V09-01-00) 69 - PhysicsList : replace G4MultipleScattering by new G4eMultipleScattering 70 --> allows to use MscUrbanModel2 17 71 18 72 12-11-07 mma (fano-V09-00-08) -
trunk/examples/extended/medical/fanoCavity/README
r807 r1337 1 $Id: README,v 1.1 3 2007/11/13 11:31:54maire Exp $1 $Id: README,v 1.16 2009/10/25 19:06:26 maire Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 96 96 4- PHYSICS 97 97 98 The physics list contains the standard electromagnetic processes, with few98 The physics lists contains the standard electromagnetic processes, with few 99 99 modifications listed here. 100 100 … … 108 108 - Bremsstrahlung : Fano conditions imply no energy transfer via 109 109 bremsstrahlung radiation. Therefore this process is not registered in the 110 physics list. However, it is always possible to include it via an UI111 command. See PhysicsListMessengerclass.110 physics list. However, it is always possible to include it. 111 See PhysListEmStandard class. 112 112 113 113 - Ionisation : In order to have same stopping power in wall and cavity, one … … 154 154 155 155 It is possible to choose the format of the histogram file (hbook, root, XML) 156 with the command /testem/histo/setFileType ( hbookby default)156 with the command /testem/histo/setFileType (root by default) 157 157 158 158 It is also possible to print selected histograms on an ascii file: … … 182 182 183 183 To use histograms, at least one of the AIDA implementations should be 184 available (see http://aida.freehep.org).184 available. See InstallAida.txt 185 185 186 8a - PI187 188 A package including AIDA and extended interfaces also using Python is PI,189 available from: http://cern.ch/pi190 191 Once installed PI or PI-Lite in a specified local area $MYPY, it is required192 to add the installation path to $PATH, i.e. for example, for release 1.2.1 of193 PI:194 setenv PATH ${PATH}:$MYPI/1.2.1/app/releases/PI/PI_1_2_1/rh73_gcc32/bin195 196 CERN users can use the PATH to the LCG area on AFS.197 Before running the example the command should be issued:198 eval `aida-config --runtime csh`199 200 8b - OpenScientist201 202 OpenScientist is available at http://OpenScientist.lal.in2p3.fr.203 204 You have to "setup" the OpenScientist AIDA implementation before compiling205 (then with G4ANALYSIS_USE set) and running your Geant4 application.206 207 On UNIX you setup, with a csh flavoured shell :208 csh> source <<OpenScientist install path>/aida-setup.csh209 or with a sh flavoured shell :210 sh> . <<OpenScientist install path>/aida-setup.sh211 On Windows :212 DOS> call <<OpenScientist install path>/aida-setup.bat213 214 You can use various file formats for writing (AIDA-XML, hbook, root).215 These formats are readable by the Lab onx interactive program216 or the OpenPAW application. See the web pages.217 218 219 With OpenPAW, on a run.hbook file, one can view the histograms220 with something like :221 OS> opaw222 opaw> h/file 1 run.hbook ( or opaw> h/file 1 run.aida or run.root)223 opaw> zone 2 2224 opaw> h/plot 1225 opaw> h/plot 2 -
trunk/examples/extended/medical/fanoCavity/fanoCavity.cc
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: fanoCavity.cc,v 1. 6 2007/10/29 17:09:53maire Exp $27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $26 // $Id: fanoCavity.cc,v 1.7 2010/05/22 21:02:48 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 32 32 #include "G4RunManager.hh" 33 33 #include "G4UImanager.hh" 34 #include "G4UIterminal.hh"35 #include "G4UItcsh.hh"36 34 #include "Randomize.hh" 37 35 … … 50 48 #ifdef G4VIS_USE 51 49 #include "G4VisExecutive.hh" 50 #endif 51 52 #ifdef G4UI_USE 53 #include "G4UIExecutive.hh" 52 54 #endif 53 55 … … 104 106 #endif 105 107 106 G4UIsession * session = 0; 107 #ifdef G4UI_USE_TCSH 108 session = new G4UIterminal(new G4UItcsh); 109 #else 110 session = new G4UIterminal(); 111 #endif 112 session->SessionStart(); 113 delete session; 114 108 #ifdef G4UI_USE 109 G4UIExecutive * ui = new G4UIExecutive(argc,argv); 110 ui->SessionStart(); 111 delete ui; 112 #endif 113 115 114 #ifdef G4VIS_USE 116 115 delete visManager; 117 #endif 116 #endif 118 117 } 119 118 -
trunk/examples/extended/medical/fanoCavity/fanoCavity.in
r807 r1337 1 # $Id: fanoCavity.in,v 1. 5 2007/10/29 12:36:26 maire Exp $1 # $Id: fanoCavity.in,v 1.6 2009/10/25 19:06:26 maire Exp $ 2 2 # 3 3 /control/verbose 2 4 4 /run/verbose 2 5 # 6 /testem/phys/addPhysics standard_opt3 5 7 # 6 8 /run/initialize -
trunk/examples/extended/medical/fanoCavity/fanoCavity.out
r807 r1337 1 2 ############################################ 3 !!! WARNING - FPE detection is activated !!! 4 ############################################ 1 5 2 6 ************************************************************* 3 Geant4 version Name: g lobal-V09-00-03 (9-May-2008)7 Geant4 version Name: geant4-09-03-ref-06 (25-June-2010) 4 8 Copyright : Geant4 Collaboration 5 9 Reference : NIM A 506 (2003), 250-303 … … 10 14 ***** Table : Nb of materials = 7 ***** 11 15 12 Material: Water density: 1.000 g/cm3 RadL: 36.092 cm Imean: 75.000 eV16 Material: Water density: 1.000 g/cm3 RadL: 36.092 cm Nucl.Int.Length: 75.416 cm Imean: 75.000 eV 13 17 ---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole ElmMassFraction: 11.21 % ElmAbundance 66.67 % 14 18 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 88.79 % ElmAbundance 33.33 % 15 19 16 Material: Water_vapor density: 1.000 mg/cm3 RadL: 360.92 5m Imean: 75.000 eV temperature: 273.15 K pressure: 1.00 atm20 Material: Water_vapor density: 1.000 mg/cm3 RadL: 360.924 m Nucl.Int.Length: 754.163 m Imean: 75.000 eV temperature: 273.15 K pressure: 1.00 atm 17 21 ---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole ElmMassFraction: 11.21 % ElmAbundance 66.67 % 18 22 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 88.79 % ElmAbundance 33.33 % 19 23 20 Material: Air density: 1.290 mg/cm3 RadL: 285.161 m Imean: 85.684eV temperature: 273.15 K pressure: 1.00 atm24 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 21 25 ---> Element: Nitrogen (N) Z = 7.0 N = 14.0 A = 14.01 g/mole ElmMassFraction: 70.00 % ElmAbundance 72.71 % 22 26 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 30.00 % ElmAbundance 27.29 % 23 27 24 Material: Graphite density: 2.265 g/cm3 RadL: 18.850 cm Imean: 78.000 eV28 Material: Graphite density: 2.265 g/cm3 RadL: 18.850 cm Nucl.Int.Length: 35.387 cm Imean: 81.000 eV 25 29 ---> Element: Graphite ( ) Z = 6.0 N = 12.0 A = 12.01 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 26 30 27 Material: Graphite_gas density: 2.265 mg/cm3 RadL: 188.496 m Imean: 78.000 eV temperature: 273.15 K pressure: 1.00 atm31 Material: Graphite_gas density: 2.265 mg/cm3 RadL: 188.496 m Nucl.Int.Length: 353.873 m Imean: 81.000 eV temperature: 273.15 K pressure: 1.00 atm 28 32 ---> Element: Graphite_gas ( ) Z = 6.0 N = 12.0 A = 12.01 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 29 33 30 Material: Aluminium density: 2.700 g/cm3 RadL: 8.893 cm Imean: 166.400 eV34 Material: Aluminium density: 2.700 g/cm3 RadL: 8.893 cm Nucl.Int.Length: 38.879 cm Imean: 166.000 eV 31 35 ---> Element: Aluminium ( ) Z = 13.0 N = 27.0 A = 26.98 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 32 36 33 Material: Aluminium_gas density: 2.700 mg/cm3 RadL: 88.925 m Imean: 166.400 eV temperature: 273.15 K pressure: 1.00 atm37 Material: Aluminium_gas density: 2.700 mg/cm3 RadL: 88.925 m Nucl.Int.Length: 388.793 m Imean: 166.000 eV temperature: 273.15 K pressure: 1.00 atm 34 38 ---> Element: Aluminium_gas ( ) Z = 13.0 N = 27.0 A = 26.98 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 35 39 36 40 37 41 /run/verbose 2 42 # 43 /testem/phys/addPhysics standard_opt3 44 PhysicsList::AddPhysicsList: <standard_opt3> 38 45 # 39 46 /run/initialize … … 48 55 physicsList->Construct() start. 49 56 physicsList->Construct() start. 57 physicsList->CheckParticleList() start. 50 58 physicsList->setCut() start. 51 59 PhysicsList::SetCuts:CutLength : 10 km … … 54 62 # 55 63 /run/beamOn 4000 56 G4VRangeToEnergyConverter::ConvertCutToKineticEnergy for gamma 57 The cut in range [1e+07 (mm)] is too big for material idx=0 58 The cut in energy is set1.79769e+305GeV 59 G4VRangeToEnergyConverter::ConvertCutToKineticEnergy for e- 60 The cut in range [1e+07 (mm)] is too big for material idx=0 61 The cut in energy is set1.79769e+305GeV 62 G4VRangeToEnergyConverter::ConvertCutToKineticEnergy for e+ 63 The cut in range [1e+07 (mm)] is too big for material idx=0 64 The cut in energy is set1.79769e+305GeV 65 G4VRangeToEnergyConverter::ConvertCutToKineticEnergy for gamma 66 The cut in range [1e+07 (mm)] is too big for material idx=1 67 The cut in energy is set1.79769e+305GeV 68 69 compt: Total cross sections has a good parametrisation from 10 KeV to (100/Z) GeV 70 Sampling according myKlein-Nishina model 71 tables are built for gamma 72 Lambda tables from 100 eV to 10 GeV in 800 bins. 73 74 phot: Total cross sections from Sandia parametrisation. 75 Sampling according PhotoElectric model 76 77 conv: Total cross sections has a good parametrisation from 1.5 MeV to 100 GeV for all Z; 78 sampling secondary e+e- according Bethe-Heitler model 79 tables are built for gamma 80 Lambda tables from 1.022 MeV to 10 GeV in 800 bins. 81 82 msc: Model variant of multiple scattering for e- 83 Lambda tables from 100 eV to 10 GeV in 800 bins. 84 LateralDisplacementFlag= 1 Skin= 2 85 Boundary/stepping algorithm is active with RangeFactor= 0.02 Step limit type 2 86 87 eIoni: tables are built for e- 88 dE/dx and range tables from 100 eV to 10 GeV in 800 bins. 89 Lambda tables from threshold to 10 GeV in 800 bins. 90 Delta cross sections and sampling from myMollerBhabha model 91 Good description from 1 KeV to 100 GeV. 92 Step function: finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1 93 CSDA range table up to 10 GeV in 800 bins. 94 95 eIoni: tables are built for e+ 96 dE/dx and range tables from 100 eV to 10 GeV in 800 bins. 97 Lambda tables from threshold to 10 GeV in 800 bins. 98 Delta cross sections and sampling from myMollerBhabha model 99 Good description from 1 KeV to 100 GeV. 100 Step function: finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1 101 CSDA range table up to 10 GeV in 800 bins. 102 103 msc: Model variant of multiple scattering for proton 104 Lambda tables from 100 eV to 10 GeV in 800 bins. 105 LateralDisplacementFlag= 1 Skin= 2 106 Boundary/stepping algorithm is active with RangeFactor= 0.02 Step limit type 2 107 108 hIoni: tables are built for proton 109 dE/dx and range tables from 100 eV to 10 GeV in 800 bins. 110 Lambda tables from threshold to 10 GeV in 800 bins. 111 Scaling relation is used from proton dE/dx and range. 112 Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV 113 Parametrisation from Bragg for protons below. NuclearStopping= 1 114 Step function: finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1 115 CSDA range table up to 10 GeV in 800 bins. 64 65 phot: for gamma SubType= 12 66 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 67 PhotoElectric : Emin= 0 eV Emax= 10 GeV 68 69 compt: for gamma SubType= 13 70 Lambda tables from 100 eV to 10 GeV in 160 bins, spline: 1 71 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 72 myKlein-Nishina : Emin= 0 eV Emax= 10 GeV 73 74 conv: for gamma SubType= 14 75 Lambda tables from 1.022 MeV to 10 GeV in 160 bins, spline: 1 76 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 77 Bethe-Heitler : Emin= 0 eV Emax= 10 GeV 78 79 msc: for e- SubType= 10 80 Lambda tables from 100 eV to 10 GeV in 160 bins, spline: 1 81 RangeFactor= 0.02, stepLimitType: 2, latDisplacement: 1, skin= 3, geomFactor= 2.5 82 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 83 UrbanMsc93 : Emin= 0 eV Emax= 10 GeV 84 85 eIoni: for e- SubType= 2 86 dE/dx and range tables from 100 eV to 10 GeV in 160 bins 87 Lambda tables from threshold to 10 GeV in 160 bins, spline: 1 88 finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 89 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 90 myMollerBhabha : Emin= 0 eV Emax= 10 GeV 91 CSDA range table up to 10 GeV in 160 bins 92 93 eIoni: for e+ SubType= 2 94 dE/dx and range tables from 100 eV to 10 GeV in 160 bins 95 Lambda tables from threshold to 10 GeV in 160 bins, spline: 1 96 finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 97 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 98 myMollerBhabha : Emin= 0 eV Emax= 10 GeV 99 CSDA range table up to 10 GeV in 160 bins 100 101 annihil: for e+ SubType= 5 102 Lambda tables from 100 eV to 10 GeV in 160 bins, spline: 1 103 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 104 eplus2gg : Emin= 0 eV Emax= 10 GeV 105 106 msc: for proton SubType= 10 107 Lambda tables from 100 eV to 10 GeV in 160 bins, spline: 1 108 RangeFactor= 0.02, stepLimitType: 2, latDisplacement: 1, skin= 3, geomFactor= 2.5 109 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 110 UrbanMsc90 : Emin= 0 eV Emax= 10 GeV 111 112 hIoni: for proton SubType= 2 113 dE/dx and range tables from 100 eV to 10 GeV in 160 bins 114 Lambda tables from threshold to 10 GeV in 160 bins, spline: 1 115 finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 116 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 117 Bragg : Emin= 0 eV Emax= 2 MeV 118 BetheBloch : Emin= 2 MeV Emax= 10 GeV 119 CSDA range table up to 10 GeV in 160 bins 116 120 117 121 Region <DefaultRegionForTheWorld> -- appears in <Wall> world volume … … 119 123 Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0] 120 124 Materials : Water Water_vapor 121 Production cuts : gamma 10 km e- 10 km e+10 km125 Production cuts : gamma 10 km e- 10 km e+ 10 km proton 10 km 122 126 123 127 ========= Table of registered couples ============================== … … 125 129 Index : 0 used in the geometry : Yes recalculation needed : No 126 130 Material : Water 127 Range cuts : gamma 10 km e- 10 km e+10 km128 Energy thresholds : gamma 2.88022e+295 J e- 2.88022e+295 J e+ 2.88022e+295 J131 Range cuts : gamma 10 km e- 10 km e+ 10 km proton 10 km 132 Energy thresholds : gamma 10 GeV e- 10 GeV e+ 10 GeV proton 1 TeV 129 133 Region(s) which use this couple : 130 134 DefaultRegionForTheWorld … … 132 136 Index : 1 used in the geometry : Yes recalculation needed : No 133 137 Material : Water_vapor 134 Range cuts : gamma 10 km e- 10 km e+10 km135 Energy thresholds : gamma 2.88022e+295 J e- 18.4792 GeV e+ 17.5913 GeV138 Range cuts : gamma 10 km e- 10 km e+ 10 km proton 10 km 139 Energy thresholds : gamma 10 GeV e- 10 GeV e+ 10 GeV proton 1 TeV 136 140 Region(s) which use this couple : 137 141 DefaultRegionForTheWorld … … 152 156 Start Run processing. 153 157 154 ---> NbofEvents= 1000 NbOfelectr= 70 497 Tkin= 590.556 keV (0.000 %) NbOfelec in cav= 4840 Dose/EnFluence= 29.303cm2/g (0.000 %)155 156 ---> NbofEvents= 2000 NbOfelectr= 14 0946 Tkin= 589.455 keV (-0.186 %) NbOfelec in cav= 9491 Dose/EnFluence= 27.877 cm2/g (-4.868%)157 158 ---> NbofEvents= 3000 NbOfelectr= 21 2082 Tkin= 589.024 keV (-0.073 %) NbOfelec in cav= 14452 Dose/EnFluence= 28.465 cm2/g (2.109%)158 ---> NbofEvents= 1000 NbOfelectr= 70538 Tkin= 590.669 keV (0.000 %) NbOfelec in cav= 4726 Dose/EnFluence= 30.091 cm2/g (0.000 %) 159 160 ---> NbofEvents= 2000 NbOfelectr= 141090 Tkin= 589.502 keV (-0.198 %) NbOfelec in cav= 9358 Dose/EnFluence= 28.953 cm2/g (-3.782 %) 161 162 ---> NbofEvents= 3000 NbOfelectr= 211481 Tkin= 589.178 keV (-0.055 %) NbOfelec in cav= 14156 Dose/EnFluence= 28.931 cm2/g (-0.076 %) 159 163 Run terminated. 160 164 Run Summary 161 165 Number of events processed : 4000 162 User= 45.49s Real=45.58s Sys=0.01s166 User=32.81s Real=48.36s Sys=0s 163 167 164 168 ======================== run summary ====================== … … 170 174 ============================================================ 171 175 172 Process calls frequency ---> compt= 282 830 Transportation= 78247 msc= 1357160 eIoni= 1879015176 Process calls frequency ---> compt= 282107 Transportation= 77642 msc= 2087713 eIoni= 1755986 173 177 174 178 Gamma crossSections in wall material : compt= 63.447 cm2/g --> total= 63.447 cm2/g 175 179 176 Mean energy of secondary e- = 58 9.0917 keV +- 0.1026 % (--> range in wall material = 2.2155mm )177 Mass_energy_transfer coef: 29. 9009cm2/g178 179 StoppingPower in wall = 1.97 19MeV*cm2/g180 in cavity = 1.97 19MeV*cm2/g180 Mean energy of secondary e- = 588.9126 keV +- 0.1029 % (--> range in wall material = 2.2146 mm ) 181 Mass_energy_transfer coef: 29.8918 cm2/g 182 183 StoppingPower in wall = 1.9720 MeV*cm2/g 184 in cavity = 1.9720 MeV*cm2/g 181 185 182 186 Charged particle flow in cavity : 183 Enter --> nbParticles = 1 9159 Energy = 9.6732GeV184 Exit --> nbParticles = 1 9159 Energy = 9.6744GeV185 186 Total edep in cavity = 1 2.6517 MeV +- 2.0796 % Total charged trackLength = 53.2115 m (mean value = 2.7774mm )187 Total dose in cavity = 20. 1358MeV/mg188 Dose/EnergyFluence = 2 8.4663cm2/g189 190 (Dose/EnergyFluence)/Mass_energy_transfer = 0.9 5202 +- 0.02078191 192 StepSize of ch. tracks in wall = 1 47.0421 um +- 130.3004 um (nbSteps/track = 11.3711)193 StepSize of ch. tracks in cavity = 585.5850 um +- 658.6927 um (nbSteps/track = 4.7429)187 Enter --> nbParticles = 18882 Energy = 9.5906 GeV 188 Exit --> nbParticles = 18879 Energy = 9.5913 GeV 189 190 Total edep in cavity = 13.0468 MeV +- 3.3776 % Total charged trackLength = 51.4975 m (mean value = 2.7273 mm ) 191 Total dose in cavity = 20.7646 MeV/mg 192 Dose/EnergyFluence = 29.3552 cm2/g 193 194 (Dose/EnergyFluence)/Mass_energy_transfer = 0.98205 +- 0.03318 195 196 StepSize of ch. tracks in wall = 122.8120 um +- 121.5387 um (nbSteps/track = 13.6004) 197 StepSize of ch. tracks in cavity = 668.5550 um +- 853.6674 um (nbSteps/track = 4.0794) 194 198 195 199 --------- Ranecu engine status --------- 196 200 Initial seed (index) = 0 197 Current couple of seeds = 1 874919070, 2097012381201 Current couple of seeds = 1335550696, 1317159614 198 202 ---------------------------------------- 199 203 UserDetectorConstruction deleted. … … 203 207 G4 kernel has come to Quit state. 204 208 EventManager deleted. 205 Default detector region deleted.206 209 UImanager deleted. 207 210 Units table cleared. … … 209 212 RunManagerKernel is deleted. 210 213 RunManager is deleting. 214 -
trunk/examples/extended/medical/fanoCavity/include/DetectorConstruction.hh
r1230 r1337 25 25 // 26 26 // $Id: DetectorConstruction.hh,v 1.2 2007/10/08 12:05:02 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/include/DetectorMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: DetectorMessenger.hh,v 1.2 2007/10/08 12:05:02 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/include/EventAction.hh
r1230 r1337 25 25 // 26 26 // $Id: EventAction.hh,v 1.3 2007/10/29 17:09:53 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/include/EventActionMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: EventActionMessenger.hh,v 1.1 2007/01/19 17:20:26 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/include/HistoManager.hh
r1230 r1337 25 25 // 26 26 // $Id: HistoManager.hh,v 1.4 2007/11/13 11:31:54 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/include/HistoMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: HistoMessenger.hh,v 1.2 2007/11/13 11:31:54 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/include/MyKleinNishinaCompton.hh
r1230 r1337 25 25 // 26 26 // $Id: MyKleinNishinaCompton.hh,v 1.4 2009/10/25 19:06:26 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... -
trunk/examples/extended/medical/fanoCavity/include/MyMollerBhabhaModel.hh
r1230 r1337 25 25 // 26 26 // $Id: MyMollerBhabhaModel.hh,v 1.1 2007/01/19 17:20:26 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... -
trunk/examples/extended/medical/fanoCavity/include/PhysicsList.hh
r1230 r1337 25 25 // 26 26 // $Id: PhysicsList.hh,v 1.4 2009/10/25 19:06:26 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/include/PhysicsListMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: PhysicsListMessenger.hh,v 1.3 2009/10/25 19:06:26 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/include/PrimaryGeneratorAction.hh
r1230 r1337 25 25 // 26 26 // $Id: PrimaryGeneratorAction.hh,v 1.1 2007/01/19 17:20:26 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/include/PrimaryGeneratorMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: PrimaryGeneratorMessenger.hh,v 1.1 2007/01/19 17:20:26 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/include/ProcessesCount.hh
r1230 r1337 26 26 // 27 27 // $Id: ProcessesCount.hh,v 1.1 2007/01/19 17:20:26 maire Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/include/RunAction.hh
r1230 r1337 25 25 // 26 26 // $Id: RunAction.hh,v 1.3 2007/10/29 12:36:26 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/include/StackingAction.hh
r1230 r1337 25 25 // 26 26 // $Id: StackingAction.hh,v 1.1 2007/01/23 13:34:19 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/include/StackingMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: StackingMessenger.hh,v 1.1 2007/01/23 13:34:19 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/include/StepMax.hh
r1230 r1337 25 25 // 26 26 // $Id: StepMax.hh,v 1.1 2007/01/19 17:20:27 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/include/StepMaxMessenger.hh
r1230 r1337 25 25 // 26 26 // $Id: StepMaxMessenger.hh,v 1.1 2007/01/19 17:20:27 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/include/SteppingAction.hh
r1230 r1337 25 25 // 26 26 // $Id: SteppingAction.hh,v 1.4 2007/10/29 17:09:53 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/include/SteppingVerbose.hh
r1230 r1337 25 25 // 26 26 // $Id: SteppingVerbose.hh,v 1.1 2007/01/19 17:20:27 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/include/TrackingAction.hh
r1230 r1337 25 25 // 26 26 // $Id: TrackingAction.hh,v 1.3 2007/10/29 17:09:53 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/run01.mac
r1230 r1337 1 # $Id: run01.mac,v 1. 7 2009/10/25 19:06:26maire Exp $1 # $Id: run01.mac,v 1.8 2010/01/19 17:28:20 maire Exp $ 2 2 # 3 3 /control/verbose 2 4 4 /run/verbose 2 5 5 # 6 ###/testem/phys/addPhysics standard_opt0 7 ###/testem/phys/addPhysics standard_opt2 6 8 /testem/phys/addPhysics standard_opt3 9 ###/testem/phys/addPhysics standard_GS 10 ###/testem/phys/addPhysics standard_WVI 11 ###/testem/phys/addPhysics standard_SS 7 12 # 8 13 /run/initialize -
trunk/examples/extended/medical/fanoCavity/src/DetectorConstruction.cc
r1230 r1337 25 25 // 26 26 // $Id: DetectorConstruction.cc,v 1.3 2007/10/08 12:05:02 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 29 29 // -
trunk/examples/extended/medical/fanoCavity/src/DetectorMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: DetectorMessenger.cc,v 1.3 2007/11/05 13:44:18 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/src/EventAction.cc
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: EventAction.cc,v 1. 4 2007/10/29 17:09:53 maireExp $27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $26 // $Id: EventAction.cc,v 1.6 2010/06/07 05:40:46 perl Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 37 37 38 38 #include "G4Event.hh" 39 #include "G4TrajectoryContainer.hh"40 #include "G4Trajectory.hh"41 #include "G4VVisManager.hh"42 39 43 40 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 69 66 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 70 67 71 void EventAction::EndOfEventAction(const G4Event* evt)68 void EventAction::EndOfEventAction(const G4Event*) 72 69 { 73 //trajectories74 //75 if (G4VVisManager::GetConcreteInstance())76 {77 G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();78 G4int n_trajectories = 0;79 if (trajectoryContainer) n_trajectories = trajectoryContainer->entries();80 for(G4int i=0; i<n_trajectories; i++)81 { G4Trajectory* trj = (G4Trajectory*)82 ((*(evt->GetTrajectoryContainer()))[i]);83 if (drawFlag == "all") trj->DrawTrajectory(1000);84 else if ((drawFlag == "charged")&&(trj->GetCharge() != 0.))85 trj->DrawTrajectory();86 }87 }88 70 } 89 71 -
trunk/examples/extended/medical/fanoCavity/src/EventActionMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: EventActionMessenger.cc,v 1.1 2007/01/19 17:20:27 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/src/HistoManager.cc
r1230 r1337 25 25 // 26 26 // $Id: HistoManager.cc,v 1.7 2008/09/28 16:04:01 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/src/HistoMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: HistoMessenger.cc,v 1.2 2007/11/13 11:31:54 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/src/MyKleinNishinaCompton.cc
r1230 r1337 25 25 // 26 26 // $Id: MyKleinNishinaCompton.cc,v 1.6 2009/10/25 19:06:26 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... -
trunk/examples/extended/medical/fanoCavity/src/MyMollerBhabhaModel.cc
r1230 r1337 25 25 // 26 26 // $Id: MyMollerBhabhaModel.cc,v 1.1 2007/01/19 17:20:27 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/src/PhysicsList.cc
r1230 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: PhysicsList.cc,v 1.1 8 2009/10/29 16:19:59maire Exp $27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $26 // $Id: PhysicsList.cc,v 1.19 2010/01/19 17:28:20 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 34 34 35 35 #include "PhysListEmStandard_option0.hh" 36 #include "PhysListEmStandard_option2.hh" 36 37 #include "PhysListEmStandard_option3.hh" 37 38 #include "PhysListEmStandard_GS.hh" 39 #include "PhysListEmStandard_WVI.hh" 38 40 #include "PhysListEmStandard_SS.hh" 39 41 … … 149 151 emPhysicsList = new PhysListEmStandard_option0(name,detector); 150 152 153 } else if (name == "standard_opt2") { 154 155 emName = name; 156 delete emPhysicsList; 157 emPhysicsList = new PhysListEmStandard_option2(name,detector); 158 151 159 } else if (name == "standard_opt3") { 152 160 … … 161 169 emPhysicsList = new PhysListEmStandard_GS(name,detector); 162 170 171 } else if (name == "standard_WVI") { 172 173 emName = name; 174 delete emPhysicsList; 175 emPhysicsList = new PhysListEmStandard_WVI(name,detector); 176 163 177 } else if (name == "standard_SS") { 164 178 -
trunk/examples/extended/medical/fanoCavity/src/PhysicsListMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: PhysicsListMessenger.cc,v 1.3 2009/10/25 19:06:26 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/src/PrimaryGeneratorAction.cc
r1230 r1337 25 25 // 26 26 // $Id: PrimaryGeneratorAction.cc,v 1.1 2007/01/19 17:20:27 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/src/PrimaryGeneratorMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: PrimaryGeneratorMessenger.cc,v 1.1 2007/01/19 17:20:27 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/src/RunAction.cc
r1230 r1337 25 25 // 26 26 // $Id: RunAction.cc,v 1.4 2009/01/22 18:34:06 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/src/StackingAction.cc
r1230 r1337 25 25 // 26 26 // $Id: StackingAction.cc,v 1.2 2007/03/02 11:08:41 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/src/StackingMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: StackingMessenger.cc,v 1.1 2007/01/23 13:34:19 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/src/StepMax.cc
r1230 r1337 25 25 // 26 26 // $Id: StepMax.cc,v 1.1 2007/01/19 17:20:27 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/src/StepMaxMessenger.cc
r1230 r1337 25 25 // 26 26 // $Id: StepMaxMessenger.cc,v 1.1 2007/01/19 17:20:27 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/src/SteppingAction.cc
r1230 r1337 25 25 // 26 26 // $Id: SteppingAction.cc,v 1.4 2007/10/29 17:09:53 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/src/SteppingVerbose.cc
r1230 r1337 25 25 // 26 26 // $Id: SteppingVerbose.cc,v 1.1 2007/01/19 17:20:27 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/src/TrackingAction.cc
r1230 r1337 25 25 // 26 26 // $Id: TrackingAction.cc,v 1.4 2007/10/29 17:09:53 maire Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/medical/fanoCavity/vis.mac
r807 r1337 10 10 /run/initialize 11 11 # 12 # Create empty scene ("world" is default)13 /vis/ scene/create12 # Use this open statement to create an OpenGL view: 13 /vis/open OGL 600x600-0+0 14 14 # 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: 20 17 #/vis/open DAWNFILE 21 18 # 22 # Draw scene 23 /vis/viewer/set/viewpointThetaPhi 90 180 deg 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. 180. 37 # 38 # Specify zoom value: 24 39 /vis/viewer/zoom 1.4 25 /vis/viewer/flush26 40 # 27 # for drawing the tracks 28 # if too many tracks cause core dump => storeTrajectory 0 29 /tracking/storeTrajectory 1 41 # Specify style (surface or wireframe): 42 #/vis/viewer/set/style wireframe 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 1 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: 30 72 /vis/scene/endOfEventAction accumulate 31 73 # 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.