Warning, /geant4/examples/extended/exoticphysics/channeling/ch5/macros/run_single_crystal.mac is written in an unsupported language. File is not indexed.
0001 #Positron Source type
0002 /det/isHybridSource false
0003
0004 #Radiator Crystal settings
0005 /crystal/setCrystalMaterial W
0006 /crystal/setCrystalSize 20 20 12.0 mm
0007 /crystal/setCrystalLattice <111>
0008 /crystal/setCrystalAngleX 0.e-6
0009 /crystal/setCrystalAngleY 0.e-6
0010
0011 #further settings
0012 /det/setScoringCrystalExit true
0013
0014 /run/initialize
0015
0016 /run/verbose 1
0017
0018 /run/setfilenamesave output/output_2.86GeV_W12.0mm_single_crystal.root
0019
0020 /control/execute macros/setPrimaryBeam.mac
0021
0022 /score/create/boxMesh boxMesh1
0023 /score/mesh/boxSize 10 10 6.0 mm
0024 /score/mesh/nBin 41 41 25
0025 /score/mesh/translate/xyz 0 0 -6.0 mm
0026 /score/quantity/energyDeposit Edep #[MeV]
0027 /score/close
0028 /score/list
0029
0030 #statistics
0031 /run/printProgress 100
0032 /run/beamOn 10000
0033
0034 /score/dumpQuantityToFile boxMesh1 Edep output/Edep_2.86GeV_W12.0mm_single_crystal.txt