erobbtan

1 Electron/Hole Macro

Oct 1st, 2024
2
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. /CDMS/Physics/DMC
  2. /CDMS/Lab NoLab
  3. /CDMS/Detector zip
  4. /CDMS/Zip/MakeHousing
  5. /CDMS/Zip/DetectorConfig HV100mm
  6. /CDMS/Zip/UseEMField
  7. /CDMS/Zip/UseLattice
  8. /CDMS/Zip/Lattice/Orientation 0 0 1 -1
  9. /CDMS/Zip/EMField/Voltage {ARG2} V -1
  10. /CDMS/Zip/EMField/VoltageOnly true -1
  11.  
  12. /CDMS/Source point
  13. /CDMS/Point/Generator gun
  14. /CDMS/Point/Particle {ARG3} # G4CMPDriftElectron or G4CMPDriftHole
  15. /CDMS/Point/Direction 0 0 0 # Isotropic
  16. /CDMS/Point/Position 0 0 0 mm
  17. /CDMS/Point/Energy 1 eV
  18.  
  19. /CDMS/Zip/PhononAbsQETs 1.
  20. /CDMS/Zip/PhononAbsTop 1.
  21. /CDMS/Zip/PhononAbsSide 1.
  22. /CDMS/Zip/PhononAbsBottom 1.
  23.  
  24. /CDMS/StepCounter hits
  25. /CDMS/HitCounter/setParticleVolume G4CMPDriftElectron *
  26. /CDMS/HitCounter/setParticleVolume G4CMPDriftHole *
  27. /CDMS/HitCounter/setParticleVolume phononTS *
  28. /CDMS/HitCounter/setParticleVolume phononTF *
  29. /CDMS/HitCounter/setParticleVolume phononL *
  30. /CDMS/HitCounter/MinimumHitEnergy -1 eV
  31. #/CDMS/HitCounter/SaveCreatorProcess true # If true, 'Process' field is filled with the process that created the particle.
  32. # Otherwise, it's the process that limited the step
  33.  
  34. /CDMS/updateGeom
  35.  
  36. /g4cmp/enableFanoStatistics False
  37. /g4cmp/maxLukePhonons -1
  38.  
  39. /CDMS/writeFilePrefix /home/robbt001/projects/def-mdiamond/robbt001/robbt001_test # Change this with your file name
  40. /CDMS/writeData false
  41. /CDMS/writeTrees true
  42. /CDMS/Output/Root/writeDMC true
  43.  
  44. /run/autoSeed true
  45. /run/numberOfThreads 1
  46. /run/initialize
  47. /run/setRunID {ARG1}
  48. #/run/setRunID /home/robbt001/projects/def-mdiamond/robbt001
  49. /run/setEventID {ARG1}
  50. #/process/inactivate G4CMPInterValleyScattering # disable intervalley scatters. Can also be applied to G4CMPLukeScattering.
  51. /run/beamOn 1
Advertisement
Add Comment
Please, Sign In to add comment