Changeset 1313 for trunk/examples/novice/N04
- Timestamp:
- Jun 14, 2010, 3:54:58 PM (14 years ago)
- Location:
- trunk/examples/novice/N04
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/novice/N04/History
r1190 r1313 1 $Id: History,v 1.6 3 2009/10/30 15:08:39 allisonExp $1 $Id: History,v 1.65 2010/06/06 04:07:31 perl Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 15 15 * Reverse chronological order (last date on top), please * 16 16 ---------------------------------------------------------- 17 18 04-06-10 J.Perl (exampleN04-V09-03-01) 19 - Updated vis usage 20 21 04-06-10 V.Ivant (exampleN04-V09-03-00) 22 - Substituted QGSP -> QGSP_BERT 17 23 18 24 30-10-09 John Allison (exampleN04-V09-02-00) -
trunk/examples/novice/N04/exampleN04.EMtest.out
r1190 r1313 5 5 6 6 ************************************************************* 7 Geant4 version Name: geant4-09-0 2-ref-09 (5-June-2009)7 Geant4 version Name: geant4-09-03-ref-04 (9-April-2010) 8 8 Copyright : Geant4 Collaboration 9 9 Reference : NIM A 506 (2003), 250-303 … … 12 12 13 13 14 <<< Geant4 Physics List engine packaging library: PACK 5.4 15 <<< Geant4 Physics List simulation engine: QGSP 3.3 14 <<< Geant4 Physics List engine packaging library: PACK 5.5 15 <<< Geant4 Physics List simulation engine: QGSP 3.4 16 17 *===================================================================== 18 * 19 * The Physics list QGSP is NO LONGER SUPPORTED ! 20 * and is likely to be deleted in a future release of Geant4 21 * 22 * We recommend you try the physics lists QGSP_BERT, 23 * this offers similar functionality for most use cases 24 * 25 * 26 * We invite you to report your use case for, and your experience with 27 * this physics list on the Geant4 User Forum dedicated to physics 28 * lists: 29 * http://hypernews.slac.stanford.edu/HyperNews/geant4/get/phys-list.html 30 * 31 *=====================================================================* 16 32 17 33 ### Adding tracking cuts for neutron TimeCut(ns)= 10000 KinEnergyCut(MeV)= 0 … … 66 82 msc: for e- SubType= 10 67 83 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 68 RangeFactor= 0.04, step limit type: 1, lateralDisplacement: 1, skin= 3, geomFactor= 2.584 RangeFactor= 0.04, stepLimitType: 1, latDisplacement: 1 69 85 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 70 86 UrbanMsc92 : Emin= 0 eV Emax= 10 TeV … … 107 123 msc: for proton SubType= 10 108 124 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 109 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 , skin= 3, geomFactor= 2.5125 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 110 126 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 111 127 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV … … 133 149 134 150 msc: for GenericIon SubType= 10 135 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0 , skin= 3, geomFactor= 2.5151 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0 136 152 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 137 153 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV … … 140 156 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 141 157 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 142 finalRange(mm)= 0.1, dRoverRange= 0.1, integral: 1, fluct: 1, linLossLimit= 0. 15158 finalRange(mm)= 0.1, dRoverRange= 0.1, integral: 1, fluct: 1, linLossLimit= 0.02 143 159 Stopping Power data for 17 ion/material pairs, nuclearStopping: 1 144 160 ===== EM models for the G4Region DefaultRegionForTheWorld ====== … … 199 215 muMsc: for mu+ SubType= 10 200 216 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 201 RangeFactor= 0.2, step limit type: 1, lateralDisplacement: 1, polarAngleLimit(deg)= 11.4592202 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 203 WentzelVIUni: Emin= 0 eV Emax= 10 TeV217 RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 0 218 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 219 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV 204 220 205 221 muIoni: for mu+ SubType= 2 … … 268 284 msc: for pi- SubType= 10 269 285 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 270 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 , skin= 3, geomFactor= 2.5286 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 271 287 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 272 288 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV … … 304 320 AntiProtonInelastic Models: G4LEAntiProtonInelastic: Emin(GeV)= 0 Emax(GeV)= 25 305 321 G4HEAntiProtonInelastic: Emin(GeV)= 20 Emax(GeV)= 100000 306 CHIPSNuclearAbsorptionAtRest307 322 308 323 Hadronic Processes for <e-> … … 322 337 KaonMinusInelastic Models: QGSP: Emin(GeV)= 12 Emax(GeV)= 100000 323 338 G4LEKaonMinusInelastic: Emin(GeV)= 0 Emax(GeV)= 25 324 CHIPSNuclearAbsorptionAtRest325 339 326 340 Hadronic Processes for <lambda> … … 348 362 PionMinusInelastic Models: QGSP: Emin(GeV)= 12 Emax(GeV)= 100000 349 363 G4LEPionMinusInelastic: Emin(GeV)= 0 Emax(GeV)= 25 350 CHIPSNuclearAbsorptionAtRest351 364 352 365 Hadronic Processes for <proton> … … 359 372 Stage 1->2 : 1 isolated muon found. 360 373 >>> Event 0 361 29hits are stored in ExN04TrackerHitsCollection.374 95 hits are stored in ExN04TrackerHitsCollection. 362 375 5 hits are stored in ExN04CalorimeterHitsCollection. 363 Total energy deposition in calorimeter : 0.32 558714501726(GeV)376 Total energy deposition in calorimeter : 0.32655288052577 (GeV) 364 377 1 hits are stored in ExN04MuonHitsCollection. 365 378 ### Run 1 start. … … 367 380 Stage 1->2 : 1 isolated muon found. 368 381 >>> Event 0 369 5hits are stored in ExN04TrackerHitsCollection.370 2 7hits are stored in ExN04CalorimeterHitsCollection.371 Total energy deposition in calorimeter : 23.59312405238(GeV)382 23 hits are stored in ExN04TrackerHitsCollection. 383 24 hits are stored in ExN04CalorimeterHitsCollection. 384 Total energy deposition in calorimeter : 3.8449798484351 (GeV) 372 385 1 hits are stored in ExN04MuonHitsCollection. 373 386 Stage 0->1 : 1 hits found in the muon chamber. 374 387 Stage 1->2 : 1 isolated muon found. 375 388 >>> Event 1 376 54hits are stored in ExN04TrackerHitsCollection.377 1 3hits are stored in ExN04CalorimeterHitsCollection.378 Total energy deposition in calorimeter : 3.6120226096048(GeV)389 11 hits are stored in ExN04TrackerHitsCollection. 390 14 hits are stored in ExN04CalorimeterHitsCollection. 391 Total energy deposition in calorimeter : 4.0748168340171 (GeV) 379 392 1 hits are stored in ExN04MuonHitsCollection. 380 393 -
trunk/examples/novice/N04/exampleN04.cc
r1230 r1313 25 25 // 26 26 // 27 // $Id: exampleN04.cc,v 1.1 8 2009/10/30 15:08:39 allisonExp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01$27 // $Id: exampleN04.cc,v 1.19 2010/06/04 17:50:22 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-cand-00 $ 29 29 // 30 30 // … … 36 36 37 37 #include "ExN04DetectorConstruction.hh" 38 #include "QGSP .hh"38 #include "QGSP_BERT.hh" 39 39 #include "ExN04PrimaryGeneratorAction.hh" 40 40 #include "ExN04RunAction.hh" … … 69 69 runManager->SetUserInitialization(detector); 70 70 // 71 G4VUserPhysicsList* physics = new QGSP ;71 G4VUserPhysicsList* physics = new QGSP_BERT(); 72 72 runManager->SetUserInitialization(physics); 73 73 -
trunk/examples/novice/N04/exampleN04.out
r1190 r1313 5 5 6 6 ************************************************************* 7 Geant4 version Name: geant4-09-0 2-ref-09 (5-June-2009)7 Geant4 version Name: geant4-09-03-ref-04 (9-April-2010) 8 8 Copyright : Geant4 Collaboration 9 9 Reference : NIM A 506 (2003), 250-303 … … 12 12 13 13 14 <<< Geant4 Physics List engine packaging library: PACK 5.4 15 <<< Geant4 Physics List simulation engine: QGSP 3.3 14 <<< Geant4 Physics List engine packaging library: PACK 5.5 15 <<< Geant4 Physics List simulation engine: QGSP 3.4 16 17 *===================================================================== 18 * 19 * The Physics list QGSP is NO LONGER SUPPORTED ! 20 * and is likely to be deleted in a future release of Geant4 21 * 22 * We recommend you try the physics lists QGSP_BERT, 23 * this offers similar functionality for most use cases 24 * 25 * 26 * We invite you to report your use case for, and your experience with 27 * this physics list on the Geant4 User Forum dedicated to physics 28 * lists: 29 * http://hypernews.slac.stanford.edu/HyperNews/geant4/get/phys-list.html 30 * 31 *=====================================================================* 16 32 17 33 ### Adding tracking cuts for neutron TimeCut(ns)= 10000 KinEnergyCut(MeV)= 0 … … 69 85 msc: for e- SubType= 10 70 86 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 71 RangeFactor= 0.04, step limit type: 1, lateralDisplacement: 1, skin= 3, geomFactor= 2.587 RangeFactor= 0.04, stepLimitType: 1, latDisplacement: 1 72 88 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 73 89 UrbanMsc92 : Emin= 0 eV Emax= 10 TeV … … 110 126 msc: for proton SubType= 10 111 127 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 112 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 , skin= 3, geomFactor= 2.5128 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 113 129 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 114 130 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV … … 136 152 137 153 msc: for GenericIon SubType= 10 138 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0 , skin= 3, geomFactor= 2.5154 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0 139 155 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 140 156 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV … … 143 159 dE/dx and range tables from 100 eV to 10 TeV in 77 bins 144 160 Lambda tables from threshold to 10 TeV in 77 bins, spline: 1 145 finalRange(mm)= 0.1, dRoverRange= 0.1, integral: 1, fluct: 1, linLossLimit= 0. 15161 finalRange(mm)= 0.1, dRoverRange= 0.1, integral: 1, fluct: 1, linLossLimit= 0.02 146 162 Stopping Power data for 17 ion/material pairs, nuclearStopping: 1 147 163 ===== EM models for the G4Region DefaultRegionForTheWorld ====== … … 202 218 muMsc: for mu+ SubType= 10 203 219 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 204 RangeFactor= 0.2, step limit type: 1, lateralDisplacement: 1, polarAngleLimit(deg)= 11.4592205 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 206 WentzelVIUni: Emin= 0 eV Emax= 10 TeV220 RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 0 221 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 222 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV 207 223 208 224 muIoni: for mu+ SubType= 2 … … 271 287 msc: for pi- SubType= 10 272 288 Lambda tables from 100 eV to 10 TeV in 77 bins, spline: 1 273 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 , skin= 3, geomFactor= 2.5289 RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1 274 290 ===== EM models for the G4Region DefaultRegionForTheWorld ====== 275 291 UrbanMsc90 : Emin= 0 eV Emax= 10 TeV … … 307 323 AntiProtonInelastic Models: G4LEAntiProtonInelastic: Emin(GeV)= 0 Emax(GeV)= 25 308 324 G4HEAntiProtonInelastic: Emin(GeV)= 20 Emax(GeV)= 100000 309 CHIPSNuclearAbsorptionAtRest310 325 311 326 Hadronic Processes for <e-> … … 325 340 KaonMinusInelastic Models: QGSP: Emin(GeV)= 12 Emax(GeV)= 100000 326 341 G4LEKaonMinusInelastic: Emin(GeV)= 0 Emax(GeV)= 25 327 CHIPSNuclearAbsorptionAtRest328 342 329 343 Hadronic Processes for <lambda> … … 351 365 PionMinusInelastic Models: QGSP: Emin(GeV)= 12 Emax(GeV)= 100000 352 366 G4LEPionMinusInelastic: Emin(GeV)= 0 Emax(GeV)= 25 353 CHIPSNuclearAbsorptionAtRest354 367 355 368 Hadronic Processes for <proton> … … 403 416 Stage 1->2 : 1 isolated muon found. 404 417 >>> Event 0 405 64hits are stored in ExN04TrackerHitsCollection.406 2 9hits are stored in ExN04CalorimeterHitsCollection.407 Total energy deposition in calorimeter : 0. 52062252114346(GeV)418 79 hits are stored in ExN04TrackerHitsCollection. 419 22 hits are stored in ExN04CalorimeterHitsCollection. 420 Total energy deposition in calorimeter : 0.48210533 (GeV) 408 421 1 hits are stored in ExN04MuonHitsCollection. 409 422 Stage 0->1 : 0 hits found in the muon chamber. … … 417 430 Stage 1->2 : 1 isolated muon found. 418 431 >>> Event 2 419 48hits are stored in ExN04TrackerHitsCollection.420 2 3hits are stored in ExN04CalorimeterHitsCollection.421 Total energy deposition in calorimeter : 0.4 5789630807974 (GeV)432 75 hits are stored in ExN04TrackerHitsCollection. 433 20 hits are stored in ExN04CalorimeterHitsCollection. 434 Total energy deposition in calorimeter : 0.4736239236114 (GeV) 422 435 1 hits are stored in ExN04MuonHitsCollection. 423 436 Run terminated. 424 437 Run Summary 425 438 Number of events processed : 3 426 User=1. 08s Real=1.11s Sys=0s439 User=1.88s Real=1.89s Sys=0s 427 440 G4 kernel has come to Quit state. 428 441 -
trunk/examples/novice/N04/vis.mac
r807 r1313 8 8 /run/verbose 2 9 9 # 10 # create empty scene 10 # Use this open statement to create an OpenGL view: 11 /vis/open OGL 600x600-0+0 11 12 # 12 /vis/scene/create 13 # Use this open statement to create a .prim file suitable for 14 # viewing in DAWN: 15 #/vis/open DAWNFILE 13 16 # 14 # Create a scene handler for a specific graphics system 15 # (Edit the next line(s) to choose another graphic system) 17 # Use this open statement to create a .heprep file suitable for 18 # viewing in HepRApp: 19 #/vis/open HepRepFile 16 20 # 17 /vis/open OGLIX 21 # Use this open statement to create a .wrl file suitable for 22 # viewing in a VRML viewer: 23 #/vis/open VRML2FILE 18 24 # 19 ####/vis/open DAWNFILE 20 ####/vis/open OIX 25 # Disable auto refresh and quieten vis messages whilst scene and 26 # trajectories are established: 27 /vis/viewer/set/autoRefresh false 28 /vis/verbose errors 21 29 # 22 # draw scene 30 # Draw geometry: 31 /vis/drawVolume 23 32 # 24 /vis/viewer/set/viewpointThetaPhi 90 180 deg 33 # Specify view angle: 34 /vis/viewer/set/viewpointThetaPhi 90. 180. 35 # 36 # Specify zoom value: 25 37 /vis/viewer/zoom 1.4 26 38 # 27 # for drawing the tracks 28 # Draw trajectories at end of event, showing trajectory points as 29 # markers of size 2 pixels 30 /vis/scene/add/trajectories 39 # Specify style (surface or wireframe): 40 #/vis/viewer/set/style wireframe 41 # 42 # Draw coordinate axes: 43 #/vis/scene/add/axes 0 0 0 1 m 44 # 45 # Draw smooth trajectories at end of event, showing trajectory points 46 # as markers 2 pixels wide: 47 /vis/scene/add/trajectories smooth 31 48 /vis/modeling/trajectories/create/drawByCharge 32 49 /vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true … … 34 51 # (if too many tracks cause core dump => /tracking/storeTrajectory 0) 35 52 # 36 # for drawing the hits uncomment following line37 # 53 # Draw hits at end of event: 54 #/vis/scene/add/hits 38 55 # 56 # To draw only gammas: 57 #/vis/filtering/trajectories/create/particleFilter 58 #/vis/filtering/trajectories/particleFilter-0/add gamma 59 # 60 # To invert the above, drawing all particles except gammas, 61 # keep the above two lines but also add: 62 #/vis/filtering/trajectories/particleFilter-0/invert true 63 # 64 # Many other options are available with /vis/modeling and /vis/filtering. 65 # For example, to select colour by particle ID: 66 #/vis/modeling/trajectories/create/drawByParticleID 67 #/vis/modeling/trajectories/drawByParticleID-0/set e- blue 68 # 69 # To superimpose all of the events from a given run: 39 70 /vis/scene/endOfEventAction accumulate 40 71 # 41 # Refresh ready for run 42 /vis/viewer/flush 72 # Re-establish auto refreshing and verbosity: 73 /vis/viewer/set/autoRefresh true 74 /vis/verbose warnings 43 75 # 44 # Now ready for /run/beamOn. 76 # For file-based drivers, use this to create an empty detector view: 77 #/vis/viewer/flush
Note: See TracChangeset
for help on using the changeset viewer.