Changeset 1337 for trunk/examples/extended/g3tog4/cltog4
- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- Location:
- trunk/examples/extended/g3tog4/cltog4
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/g3tog4/cltog4/cltog4.cc
r1230 r1337 26 26 // 27 27 // $Id: cltog4.cc,v 1.6 2006/06/29 17:20:32 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/g3tog4/cltog4/cltog4.in
r807 r1337 10 10 /gun/energy 1 GeV 11 11 /gun/particle chargedgeantino 12 # 13 #/control/execute vis.mac 14 # 12 15 /run/beamOn 10 13 16 # -
trunk/examples/extended/g3tog4/cltog4/cltog4.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 … … 7 11 ************************************************************* 8 12 9 Instantiated G3toG4DetectorConstruction using call list file " /afs/cern.ch/sw/geant4/stt/dev2/src/geant4/examples/extended/g3tog4/data/testmodel.dat"13 Instantiated G3toG4DetectorConstruction using call list file "../data/testmodel.dat" 10 14 /run/verbose 1 11 15 /tracking/verbose 1 … … 13 17 /run/initialize 14 18 Instantiated unit rotation matrix irot=0 15 Reading the call List file /afs/cern.ch/sw/geant4/stt/dev2/src/geant4/examples/extended/g3tog4/data/testmodel.dat...19 Reading the call List file ../data/testmodel.dat... 16 20 G4ggclos: setting top-level VolTableEntry 17 21 Dump of VTD - 26 entries: … … 59 63 G4AttValue pointer is zero, G4AttDef pointer is zero 60 64 G3toG4PhysicsList::SetCuts:CutLength : 2 mm 61 /control/execute /afs/cern.ch/sw/geant4/stt/dev2/src/geant4/tests/test602/test602.in65 /control/execute cltog4.in 62 66 /control/verbose 1 63 67 /tracking/verbose 1 … … 69 73 /run/beamOn 10 70 74 71 phot: Total cross sections from Sandia parametrisation. 72 Sampling according PhotoElectric model 73 74 compt: Total cross sections has a good parametrisation from 10 KeV to (100/Z) GeV 75 Sampling according Klein-Nishina model 76 tables are built for gamma 77 Lambda tables from 100 eV to 100 GeV in 90 bins. 78 79 conv: Total cross sections has a good parametrisation from 1.5 MeV to 100 GeV for all Z; 80 sampling secondary e+e- according Bethe-Heitler model 81 tables are built for gamma 82 Lambda tables from 1.022 MeV to 100 GeV in 100 bins. 83 84 msc: Model variant of multiple scattering for e- 85 Lambda tables from 100 eV to 100 TeV in 120 bins. 86 LateralDisplacementFlag= 1 Skin= 0 87 Boundary/stepping algorithm is active with RangeFactor= 0.02 Step limit type 1 88 89 eIoni: tables are built for e- 90 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 91 Lambda tables from threshold to 100 TeV in 120 bins. 92 Delta cross sections and sampling from MollerBhabha model 93 Good description from 1 KeV to 100 GeV. 94 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 95 96 eBrem: tables are built for e- 97 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 98 Lambda tables from threshold to 100 TeV in 120 bins. 99 Total cross sections and sampling from StandBrem model (based on the EEDL data library) 100 Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1 101 102 eIoni: tables are built for e+ 103 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 104 Lambda tables from threshold to 100 TeV in 120 bins. 105 Delta cross sections and sampling from MollerBhabha model 106 Good description from 1 KeV to 100 GeV. 107 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 108 109 eBrem: tables are built for e+ 110 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 111 Lambda tables from threshold to 100 TeV in 120 bins. 112 Total cross sections and sampling from StandBrem model (based on the EEDL data library) 113 Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1 114 115 annihil: Sampling according eplus2gg model 116 tables are built for e+ 117 Lambda tables from 100 eV to 100 TeV in 120 bins. 118 119 msc: Model variant of multiple scattering for proton 120 Lambda tables from 100 eV to 100 TeV in 120 bins. 121 LateralDisplacementFlag= 1 Skin= 0 122 Boundary/stepping algorithm is active with RangeFactor= 0.02 Step limit type 1 123 124 hIoni: tables are built for proton 125 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 126 Lambda tables from threshold to 100 TeV in 120 bins. 127 Scaling relation is used from proton dE/dx and range. 128 Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV 129 Parametrisation from Bragg for protons below. NuclearStopping= 1 130 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 131 132 hIoni: tables are built for anti_proton 133 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 134 Lambda tables from threshold to 100 TeV in 120 bins. 135 Scaling relation is used from proton dE/dx and range. 136 Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV 137 Parametrisation from Bragg for protons below. NuclearStopping= 1 138 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 139 140 msc: Model variant of multiple scattering for mu+ 141 Lambda tables from 100 eV to 100 TeV in 120 bins. 142 LateralDisplacementFlag= 1 Skin= 0 143 Boundary/stepping algorithm is active with RangeFactor= 0.02 Step limit type 1 144 145 muIoni: tables are built for mu+ 146 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 147 Lambda tables from threshold to 100 TeV in 120 bins. 148 Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below, 149 radiative corrections for E > 1 GeV 150 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 151 152 muBrems: tables are built for mu+ 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 Parametrised model 156 157 muPairProd: tables are built for mu+ 158 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 159 Lambda tables from threshold to 100 TeV in 120 bins. 160 Parametrised model 161 162 muIoni: tables are built for mu- 163 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 164 Lambda tables from threshold to 100 TeV in 120 bins. 165 Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below, 166 radiative corrections for E > 1 GeV 167 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 168 169 muBrems: tables are built for mu- 170 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 171 Lambda tables from threshold to 100 TeV in 120 bins. 172 Parametrised model 173 174 muPairProd: tables are built for mu- 175 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 176 Lambda tables from threshold to 100 TeV in 120 bins. 177 Parametrised model 178 179 hIoni: tables are built for pi+ 180 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 181 Lambda tables from threshold to 100 TeV in 120 bins. 182 Scaling relation is used from proton dE/dx and range. 183 Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV 184 Parametrisation from Bragg for protons below. NuclearStopping= 1 185 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 186 187 msc: Model variant of multiple scattering for pi- 188 Lambda tables from 100 eV to 100 TeV in 120 bins. 189 LateralDisplacementFlag= 1 Skin= 0 190 Boundary/stepping algorithm is active with RangeFactor= 0.02 Step limit type 1 191 192 hIoni: tables are built for pi- 193 dE/dx and range tables from 100 eV to 100 TeV in 120 bins. 194 Lambda tables from threshold to 100 TeV in 120 bins. 195 Scaling relation is used from proton dE/dx and range. 196 Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV 197 Parametrisation from Bragg for protons below. NuclearStopping= 1 198 Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1 75 phot: for gamma SubType= 12 76 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 77 PhotoElectric : Emin= 0 eV Emax= 10 TeV 78 79 compt: for gamma SubType= 13 80 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 81 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 82 Klein-Nishina : Emin= 0 eV Emax= 10 TeV 83 84 conv: for gamma SubType= 14 85 Lambda tables from 1.022 MeV to 10 TeV in 77 bins, spline: 1 86 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 87 Bethe-Heitler : Emin= 0 eV Emax= 10 TeV 88 89 msc: for e- SubType= 10 90 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 91 RangeFactor= 0.04, stepLimitType: 1, latDisplacement: 1 92 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 93 UrbanMsc93 : Emin= 0 eV Emax= 10 TeV 94 95 eIoni: for e- SubType= 2 96 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 97 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 98 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 99 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 100 MollerBhabha : Emin= 0 eV Emax= 10 TeV 101 102 eBrem: for e- SubType= 3 103 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 104 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 105 LPM flag: 1 for E > 1 GeV 106 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 107 eBrem : Emin= 0 eV Emax= 1 GeV 108 eBremRel : Emin= 1 GeV Emax= 10 TeV 109 110 eIoni: for e+ SubType= 2 111 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 112 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 113 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 114 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 115 MollerBhabha : Emin= 0 eV Emax= 10 TeV 116 117 eBrem: for e+ SubType= 3 118 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 119 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 120 LPM flag: 1 for E > 1 GeV 121 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 122 eBrem : Emin= 0 eV Emax= 1 GeV 123 eBremRel : Emin= 1 GeV Emax= 10 TeV 124 125 annihil: for e+ SubType= 5 126 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 127 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 128 eplus2gg : Emin= 0 eV Emax= 10 TeV 129 130 msc: for proton SubType= 10 131 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 132 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 133 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 134 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV 135 136 hIoni: for proton SubType= 2 137 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 138 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 139 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 140 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 141 Bragg : Emin= 0 eV Emax= 2 MeV 142 BetheBloch : Emin= 2 MeV Emax= 10 TeV 143 144 hIoni: for anti_proton SubType= 2 145 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 146 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 147 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 148 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 149 ICRU73QO : Emin= 0 eV Emax= 2 MeV 150 BetheBloch : Emin= 2 MeV Emax= 10 TeV 151 152 hIoni: for kaon+ SubType= 2 153 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 154 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 155 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 156 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 157 Bragg : Emin= 0 eV Emax= 1.05231 MeV 158 BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV 159 160 hIoni: for kaon- SubType= 2 161 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 162 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 163 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 164 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 165 ICRU73QO : Emin= 0 eV Emax= 1.05231 MeV 166 BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV 167 168 muMsc: for mu+ SubType= 10 169 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 170 RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 0 171 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 172 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV 173 174 muIoni: for mu+ SubType= 2 175 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 176 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 177 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 178 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 179 Bragg : Emin= 0 eV Emax= 200 keV 180 BetheBloch : Emin= 200 keV Emax= 1 GeV 181 MuBetheBloch : Emin= 1 GeV Emax= 10 TeV 182 183 muBrems: for mu+ SubType= 3 184 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 185 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 186 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 187 MuBrem : Emin= 0 eV Emax= 10 TeV 188 189 muPairProd: for mu+ SubType= 4 190 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 191 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 192 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 193 muPairProd : Emin= 0 eV Emax= 10 TeV 194 195 muIoni: for mu- SubType= 2 196 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 197 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 198 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 199 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 200 ICRU73QO : Emin= 0 eV Emax= 200 keV 201 BetheBloch : Emin= 200 keV Emax= 1 GeV 202 MuBetheBloch : Emin= 1 GeV Emax= 10 TeV 203 204 muBrems: for mu- SubType= 3 205 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 206 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 207 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 208 MuBrem : Emin= 0 eV Emax= 10 TeV 209 210 muPairProd: for mu- SubType= 4 211 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 212 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 213 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 214 muPairProd : Emin= 0 eV Emax= 10 TeV 215 216 hIoni: for pi+ SubType= 2 217 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 218 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 219 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 220 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 221 Bragg : Emin= 0 eV Emax= 297.504 keV 222 BetheBloch : Emin= 297.504 keV Emax= 10 TeV 223 224 msc: for pi- SubType= 10 225 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 226 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 227 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 228 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV 229 230 hIoni: for pi- SubType= 2 231 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 232 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 233 finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01 234 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 235 ICRU73QO : Emin= 0 eV Emax= 297.504 keV 236 BetheBloch : Emin= 297.504 keV Emax= 10 TeV 199 237 200 238 ========= Table of registered couples ============================== … … 202 240 Index : 0 used in the geometry : Yes recalculation needed : No 203 241 Material : VACUUM 204 Range cuts : gamma 2 mm e- 2 mm e+ 2 mm205 Energy thresholds : gamma 990 eV e- 990 eV e+ 990 eV242 Range cuts : gamma 2 mm e- 2 mm e+ 2 mm proton 0 fm 243 Energy thresholds : gamma 990 eV e- 990 eV e+ 990 eV proton 0 eV 206 244 Region(s) which use this couple : 207 245 DefaultRegionForTheWorld … … 304 342 Run Summary 305 343 Number of events processed : 10 306 User=0 s Real=0s Sys=0s344 User=0.01s Real=0s Sys=0s 307 345 G4 kernel has come to Quit state. 346 -
trunk/examples/extended/g3tog4/cltog4/include/G3toG4DetectorConstruction.hh
r1230 r1337 26 26 // 27 27 // $Id: G3toG4DetectorConstruction.hh,v 1.3 2006/06/29 17:20:35 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 #ifndef G3toG4DetectorConstruction_h -
trunk/examples/extended/g3tog4/cltog4/include/G3toG4EventAction.hh
r1230 r1337 26 26 // 27 27 // $Id: G3toG4EventAction.hh,v 1.3 2006/06/29 17:20:38 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/g3tog4/cltog4/include/G3toG4EventActionMessenger.hh
r1230 r1337 26 26 // 27 27 // $Id: G3toG4EventActionMessenger.hh,v 1.3 2006/06/29 17:20:41 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/g3tog4/cltog4/include/G3toG4PhysicsList.hh
r1230 r1337 26 26 // 27 27 // $Id: G3toG4PhysicsList.hh,v 1.3 2006/06/29 17:20:44 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/g3tog4/cltog4/include/G3toG4PrimaryGeneratorAction.hh
r1230 r1337 26 26 // 27 27 // $Id: G3toG4PrimaryGeneratorAction.hh,v 1.3 2006/06/29 17:20:47 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 -
trunk/examples/extended/g3tog4/cltog4/include/G3toG4RunAction.hh
r1230 r1337 26 26 // 27 27 // $Id: G3toG4RunAction.hh,v 1.3 2006/06/29 17:20:50 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 -
trunk/examples/extended/g3tog4/cltog4/src/G3toG4DetectorConstruction.cc
r1230 r1337 26 26 // 27 27 // $Id: G3toG4DetectorConstruction.cc,v 1.5 2006/06/29 17:20:53 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 //-------------------------------------------------------------------------- -
trunk/examples/extended/g3tog4/cltog4/src/G3toG4EventAction.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: G3toG4EventAction.cc,v 1. 6 2006/06/29 17:20:56 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: G3toG4EventAction.cc,v 1.7 2010/06/06 04:57:51 perl Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // … … 40 40 #include "G4HCofThisEvent.hh" 41 41 #include "G4TrajectoryContainer.hh" 42 #include "G4Trajectory.hh"43 #include "G4VVisManager.hh"44 42 #include "G4UImanager.hh" 45 43 #include "G4UnitsTable.hh" … … 78 76 G4cout << " " << n_trajectories 79 77 << " trajectories stored in this event." << G4endl; 80 81 if(G4VVisManager::GetConcreteInstance()){82 for(G4int i=0; i<n_trajectories; i++) {83 G4Trajectory* trj = (G4Trajectory*)(*(Ev->GetTrajectoryContainer()))[i];84 if (drawFlag == "all") trj->DrawTrajectory(50);85 else if ((drawFlag == "charged")&&(trj->GetCharge() != 0.))86 trj->DrawTrajectory(50);87 }88 }89 78 } 90 79 -
trunk/examples/extended/g3tog4/cltog4/src/G3toG4EventActionMessenger.cc
r1230 r1337 26 26 // 27 27 // $Id: G3toG4EventActionMessenger.cc,v 1.4 2006/06/29 17:20:58 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/examples/extended/g3tog4/cltog4/src/G3toG4PhysicsList.cc
r1230 r1337 25 25 // 26 26 // 27 // $Id: G3toG4PhysicsList.cc,v 1. 5 2006/06/29 17:21:00 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: G3toG4PhysicsList.cc,v 1.6 2010/03/18 09:44:13 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // … … 153 153 #include "G4PhotoElectricEffect.hh" 154 154 155 #include "G4MultipleScattering.hh" 155 #include "G4eMultipleScattering.hh" 156 #include "G4MuMultipleScattering.hh" 157 #include "G4hMultipleScattering.hh" 156 158 157 159 #include "G4eIonisation.hh" … … 183 185 } else if (particleName == "e-") { 184 186 //electron 185 pmanager->AddProcess(new G4 MultipleScattering(),-1, 1,1);187 pmanager->AddProcess(new G4eMultipleScattering(),-1, 1,1); 186 188 pmanager->AddProcess(new G4eIonisation(), -1, 2,2); 187 189 pmanager->AddProcess(new G4eBremsstrahlung(), -1, 3,3); … … 189 191 } else if (particleName == "e+") { 190 192 //positron 191 pmanager->AddProcess(new G4 MultipleScattering(),-1, 1,1);193 pmanager->AddProcess(new G4eMultipleScattering(),-1, 1,1); 192 194 pmanager->AddProcess(new G4eIonisation(), -1, 2,2); 193 195 pmanager->AddProcess(new G4eBremsstrahlung(), -1, 3,3); … … 197 199 particleName == "mu-" ) { 198 200 //muon 199 pmanager->AddProcess(new G4Mu ltipleScattering(),-1, 1,1);201 pmanager->AddProcess(new G4MuMultipleScattering(),-1, 1,1); 200 202 pmanager->AddProcess(new G4MuIonisation(), -1, 2,2); 201 203 pmanager->AddProcess(new G4MuBremsstrahlung(), -1, 3,3); … … 206 208 (particle->GetParticleName() != "chargedgeantino")) { 207 209 //all others charged particles except geantino 208 pmanager->AddProcess(new G4 MultipleScattering(),-1,1,1);210 pmanager->AddProcess(new G4hMultipleScattering(),-1,1,1); 209 211 pmanager->AddProcess(new G4hIonisation(), -1,2,2); 210 212 } -
trunk/examples/extended/g3tog4/cltog4/src/G3toG4PrimaryGeneratorAction.cc
r1230 r1337 26 26 // 27 27 // $Id: G3toG4PrimaryGeneratorAction.cc,v 1.5 2006/06/29 17:21:18 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 -
trunk/examples/extended/g3tog4/cltog4/src/G3toG4RunAction.cc
r1230 r1337 26 26 // 27 27 // $Id: G3toG4RunAction.cc,v 1.4 2006/06/29 17:21:20 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30
Note: See TracChangeset
for help on using the changeset viewer.