6.5.2011 Kamil Sedlak
1) Adding/improving the simulation of light signals and APD 2) Many small changes and improvements 3) Adding manual to musrSimAna to the svn repository 4) Adding some example files for musrSim
This commit is contained in:
95
run/101.mac
95
run/101.mac
@ -18,67 +18,32 @@
|
||||
#
|
||||
#============================================================
|
||||
/musr/command visattributes log_World invisible
|
||||
/musr/command visattributes log_source red
|
||||
#/musr/command visattributes log_source red
|
||||
/musr/command visattributes G4_PLASTIC_SC_VINYLTOLUENE lightblue
|
||||
###################################################################################
|
||||
######################### P H Y S I C S P R O C E S S E S ##################
|
||||
###################################################################################
|
||||
# --- Low Energy (default) ---
|
||||
/musr/command process addDiscreteProcess gamma G4LowEnergyPhotoElectric
|
||||
/musr/command process addDiscreteProcess gamma G4LowEnergyCompton
|
||||
/musr/command process addDiscreteProcess gamma G4LowEnergyGammaConversion
|
||||
/musr/command process addDiscreteProcess gamma G4LowEnergyRayleigh
|
||||
/musr/command process addProcess e- G4MultipleScattering -1 1 1
|
||||
#/musr/command process addDiscreteProcess e- G4CoulombScattering
|
||||
/musr/command process addProcess e- G4LowEnergyIonisation -1 2 2
|
||||
/musr/command process addProcess e- G4LowEnergyBremsstrahlung -1 -1 3
|
||||
/musr/command process addProcess e+ G4MultipleScattering -1 1 1
|
||||
#/musr/command process addDiscreteProcess e+ G4CoulombScattering
|
||||
/musr/command process addProcess e+ G4eIonisation -1 2 2
|
||||
/musr/command process addProcess e+ G4eBremsstrahlung -1 3 3
|
||||
/musr/command process addProcess e+ G4eplusAnnihilation 0 -1 4
|
||||
# Geant 4.9.4
|
||||
/musr/command process addDiscreteProcess gamma G4PhotoElectricEffect
|
||||
/musr/command process addDiscreteProcess gamma G4ComptonScattering
|
||||
/musr/command process addDiscreteProcess gamma G4GammaConversion
|
||||
/musr/command process addDiscreteProcess gamma G4RayleighScattering
|
||||
/musr/command process addProcess e- G4eMultipleScattering -1 1 1
|
||||
/musr/command process addProcess e- G4eIonisation -1 2 2
|
||||
/musr/command process addProcess e- G4eBremsstrahlung -1 3 3
|
||||
/musr/command process addProcess e+ G4eMultipleScattering -1 1 1
|
||||
/musr/command process addProcess e+ G4eIonisation -1 2 2
|
||||
/musr/command process addProcess e+ G4eBremsstrahlung -1 3 3
|
||||
/musr/command process addProcess e+ G4eplusAnnihilation 0 -1 4
|
||||
#/musr/command process addProcess mu- G4MuMultipleScattering -1 1 1
|
||||
#/musr/command process addProcess mu- G4MuIonisation -1 2 2
|
||||
#/musr/command process addProcess mu- G4MuBremsstrahlung -1 3 3
|
||||
#/musr/command process addProcess mu- G4MuPairProduction -1 4 4
|
||||
#/musr/command process addProcess mu+ G4MuMultipleScattering -1 1 1
|
||||
#/musr/command process addProcess mu+ G4MuIonisation -1 2 2
|
||||
#/musr/command process addProcess mu+ G4MuBremsstrahlung -1 3 3
|
||||
#/musr/command process addProcess mu+ G4MuPairProduction -1 4 4
|
||||
#
|
||||
# --- High Energy ---
|
||||
#/musr/command process addDiscreteProcess gamma G4PhotoElectricEffect
|
||||
#/musr/command process addDiscreteProcess gamma G4ComptonScattering
|
||||
#/musr/command process addDiscreteProcess gamma G4GammaConversion
|
||||
#/musr/command process addProcess e- G4MultipleScattering -1 1 1
|
||||
##/musr/command process addDiscreteProcess e- G4CoulombScattering
|
||||
#/musr/command process addProcess e- G4eIonisation -1 2 2
|
||||
#/musr/command process addProcess e- G4eBremsstrahlung -1 3 3
|
||||
#/musr/command process addProcess e+ G4MultipleScattering -1 1 1
|
||||
##/musr/command process addDiscreteProcess e+ G4CoulombScattering
|
||||
#/musr/command process addProcess e+ G4eIonisation -1 2 2
|
||||
#/musr/command process addProcess e+ G4eBremsstrahlung -1 3 3
|
||||
#/musr/command process addProcess e+ G4eplusAnnihilation 0 -1 4
|
||||
#
|
||||
# --- Penelope ---
|
||||
#/musr/command process addDiscreteProcess gamma G4PenelopePhotoElectric
|
||||
#/musr/command process addDiscreteProcess gamma G4PenelopeCompton
|
||||
#/musr/command process addDiscreteProcess gamma G4PenelopeGammaConversion
|
||||
#/musr/command process addDiscreteProcess gamma G4PenelopeRayleigh
|
||||
#/musr/command process addProcess e- G4MultipleScattering -1 1 1
|
||||
##/musr/command process addDiscreteProcess e- G4CoulombScattering
|
||||
#/musr/command process addProcess e- G4PenelopeIonisation -1 2 2
|
||||
#/musr/command process addProcess e- G4PenelopeBremsstrahlung -1 -1 3
|
||||
#/musr/command process addProcess e+ G4MultipleScattering -1 1 1
|
||||
##/musr/command process addDiscreteProcess e+ G4CoulombScattering
|
||||
#/musr/command process addProcess e+ G4PenelopeIonisation, -1 2 2
|
||||
#/musr/command process addProcess e+ G4PenelopeBremsstrahlung, -1 -1 3
|
||||
#/musr/command process addProcess e+ G4PenelopeAnnihilation, 0 -1 4
|
||||
#
|
||||
# --- Muons ---
|
||||
#/musr/command process addProcess mu+ G4MultipleScattering -1 1 1
|
||||
##/musr/command process addProcess mu+ MultipleAndCoulombScattering -1 1 1 goulombRegion
|
||||
##/musr/command process addDiscreteProcess mu+ G4CoulombScattering
|
||||
#/musr/command process addProcess mu+ G4MuIonisation -1 2 2
|
||||
#/musr/command process addProcess mu+ G4MuBremsstrahlung -1 3 3
|
||||
#/musr/command process addProcess mu+ G4MuPairProduction -1 4 4
|
||||
#/musr/command process addProcess mu- G4MultipleScattering -1 1 1
|
||||
##/musr/command process addDiscreteProcess mu- G4CoulombScattering
|
||||
#/musr/command process addProcess mu- G4MuIonisation -1 2 2
|
||||
#/musr/command process addProcess mu- G4MuBremsstrahlung -1 3 3
|
||||
#/musr/command process addProcess mu- G4MuPairProduction -1 4 4
|
||||
###################################################################################
|
||||
################## S O M E O T H E R P A R A M E T E R S ##################
|
||||
###################################################################################
|
||||
@ -165,6 +130,19 @@
|
||||
/musr/command rootOutput det_VvvProcID off
|
||||
/musr/command rootOutput det_VvvTrackID off
|
||||
/musr/command rootOutput det_VvvParticleID off
|
||||
/musr/command rootOutput odet_ID off
|
||||
/musr/command rootOutput nOptPhot off
|
||||
/musr/command rootOutput odet_nPhot off
|
||||
/musr/command rootOutput odet_timeFirst off
|
||||
/musr/command rootOutput odet_timeA off
|
||||
/musr/command rootOutput odet_timeB off
|
||||
/musr/command rootOutput odet_timeC off
|
||||
/musr/command rootOutput odet_timeD off
|
||||
/musr/command rootOutput odet_timeE off
|
||||
/musr/command rootOutput odet_timeMean off
|
||||
/musr/command rootOutput odet_timeLast off
|
||||
/musr/command rootOutput odet_timeCFD off
|
||||
/musr/command rootOutput odet_amplCFD off
|
||||
### Root variables that are not written out by default, but can be switched on:
|
||||
#/musr/command rootOutput fieldIntegralBx on
|
||||
#/musr/command rootOutput fieldIntegralBy on
|
||||
@ -177,7 +155,7 @@
|
||||
###################################################################################
|
||||
#/vis/disable
|
||||
#/control/execute visFromToni.mac
|
||||
/control/execute visDawn102.mac
|
||||
/control/execute visDawn101.mac
|
||||
#/control/execute visVRML.mac
|
||||
###################################################################################
|
||||
######################### P A R T I C L E G U N #################################
|
||||
@ -200,4 +178,5 @@
|
||||
#/gps/ang/maxtheta 2 deg
|
||||
#/gps/ang/maxphi 2 deg
|
||||
######################## B E A M O N #######################################
|
||||
/run/beamOn 10
|
||||
#/run/beamOn 1000
|
||||
/run/beamOn 5
|
90
run/102.mac
90
run/102.mac
@ -23,62 +23,27 @@
|
||||
###################################################################################
|
||||
######################### P H Y S I C S P R O C E S S E S ##################
|
||||
###################################################################################
|
||||
# --- Low Energy (default) ---
|
||||
/musr/command process addDiscreteProcess gamma G4LowEnergyPhotoElectric
|
||||
/musr/command process addDiscreteProcess gamma G4LowEnergyCompton
|
||||
/musr/command process addDiscreteProcess gamma G4LowEnergyGammaConversion
|
||||
/musr/command process addDiscreteProcess gamma G4LowEnergyRayleigh
|
||||
/musr/command process addProcess e- G4MultipleScattering -1 1 1
|
||||
#/musr/command process addDiscreteProcess e- G4CoulombScattering
|
||||
/musr/command process addProcess e- G4LowEnergyIonisation -1 2 2
|
||||
/musr/command process addProcess e- G4LowEnergyBremsstrahlung -1 -1 3
|
||||
/musr/command process addProcess e+ G4MultipleScattering -1 1 1
|
||||
#/musr/command process addDiscreteProcess e+ G4CoulombScattering
|
||||
/musr/command process addProcess e+ G4eIonisation -1 2 2
|
||||
/musr/command process addProcess e+ G4eBremsstrahlung -1 3 3
|
||||
/musr/command process addProcess e+ G4eplusAnnihilation 0 -1 4
|
||||
# Geant 4.9.4
|
||||
/musr/command process addDiscreteProcess gamma G4PhotoElectricEffect
|
||||
/musr/command process addDiscreteProcess gamma G4ComptonScattering
|
||||
/musr/command process addDiscreteProcess gamma G4GammaConversion
|
||||
/musr/command process addDiscreteProcess gamma G4RayleighScattering
|
||||
/musr/command process addProcess e- G4eMultipleScattering -1 1 1
|
||||
/musr/command process addProcess e- G4eIonisation -1 2 2
|
||||
/musr/command process addProcess e- G4eBremsstrahlung -1 3 3
|
||||
/musr/command process addProcess e+ G4eMultipleScattering -1 1 1
|
||||
/musr/command process addProcess e+ G4eIonisation -1 2 2
|
||||
/musr/command process addProcess e+ G4eBremsstrahlung -1 3 3
|
||||
/musr/command process addProcess e+ G4eplusAnnihilation 0 -1 4
|
||||
#/musr/command process addProcess mu- G4MuMultipleScattering -1 1 1
|
||||
#/musr/command process addProcess mu- G4MuIonisation -1 2 2
|
||||
#/musr/command process addProcess mu- G4MuBremsstrahlung -1 3 3
|
||||
#/musr/command process addProcess mu- G4MuPairProduction -1 4 4
|
||||
#/musr/command process addProcess mu+ G4MuMultipleScattering -1 1 1
|
||||
#/musr/command process addProcess mu+ G4MuIonisation -1 2 2
|
||||
#/musr/command process addProcess mu+ G4MuBremsstrahlung -1 3 3
|
||||
#/musr/command process addProcess mu+ G4MuPairProduction -1 4 4
|
||||
#
|
||||
# --- High Energy ---
|
||||
#/musr/command process addDiscreteProcess gamma G4PhotoElectricEffect
|
||||
#/musr/command process addDiscreteProcess gamma G4ComptonScattering
|
||||
#/musr/command process addDiscreteProcess gamma G4GammaConversion
|
||||
#/musr/command process addProcess e- G4MultipleScattering -1 1 1
|
||||
##/musr/command process addDiscreteProcess e- G4CoulombScattering
|
||||
#/musr/command process addProcess e- G4eIonisation -1 2 2
|
||||
#/musr/command process addProcess e- G4eBremsstrahlung -1 3 3
|
||||
#/musr/command process addProcess e+ G4MultipleScattering -1 1 1
|
||||
##/musr/command process addDiscreteProcess e+ G4CoulombScattering
|
||||
#/musr/command process addProcess e+ G4eIonisation -1 2 2
|
||||
#/musr/command process addProcess e+ G4eBremsstrahlung -1 3 3
|
||||
#/musr/command process addProcess e+ G4eplusAnnihilation 0 -1 4
|
||||
#
|
||||
# --- Penelope ---
|
||||
#/musr/command process addDiscreteProcess gamma G4PenelopePhotoElectric
|
||||
#/musr/command process addDiscreteProcess gamma G4PenelopeCompton
|
||||
#/musr/command process addDiscreteProcess gamma G4PenelopeGammaConversion
|
||||
#/musr/command process addDiscreteProcess gamma G4PenelopeRayleigh
|
||||
#/musr/command process addProcess e- G4MultipleScattering -1 1 1
|
||||
##/musr/command process addDiscreteProcess e- G4CoulombScattering
|
||||
#/musr/command process addProcess e- G4PenelopeIonisation -1 2 2
|
||||
#/musr/command process addProcess e- G4PenelopeBremsstrahlung -1 -1 3
|
||||
#/musr/command process addProcess e+ G4MultipleScattering -1 1 1
|
||||
##/musr/command process addDiscreteProcess e+ G4CoulombScattering
|
||||
#/musr/command process addProcess e+ G4PenelopeIonisation, -1 2 2
|
||||
#/musr/command process addProcess e+ G4PenelopeBremsstrahlung, -1 -1 3
|
||||
#/musr/command process addProcess e+ G4PenelopeAnnihilation, 0 -1 4
|
||||
#
|
||||
# --- Muons ---
|
||||
#/musr/command process addProcess mu+ G4MultipleScattering -1 1 1
|
||||
##/musr/command process addProcess mu+ MultipleAndCoulombScattering -1 1 1 goulombRegion
|
||||
##/musr/command process addDiscreteProcess mu+ G4CoulombScattering
|
||||
#/musr/command process addProcess mu+ G4MuIonisation -1 2 2
|
||||
#/musr/command process addProcess mu+ G4MuBremsstrahlung -1 3 3
|
||||
#/musr/command process addProcess mu+ G4MuPairProduction -1 4 4
|
||||
#/musr/command process addProcess mu- G4MultipleScattering -1 1 1
|
||||
##/musr/command process addDiscreteProcess mu- G4CoulombScattering
|
||||
#/musr/command process addProcess mu- G4MuIonisation -1 2 2
|
||||
#/musr/command process addProcess mu- G4MuBremsstrahlung -1 3 3
|
||||
#/musr/command process addProcess mu- G4MuPairProduction -1 4 4
|
||||
###################################################################################
|
||||
################## S O M E O T H E R P A R A M E T E R S ##################
|
||||
###################################################################################
|
||||
@ -165,6 +130,19 @@
|
||||
/musr/command rootOutput det_VvvProcID off
|
||||
/musr/command rootOutput det_VvvTrackID off
|
||||
/musr/command rootOutput det_VvvParticleID off
|
||||
/musr/command rootOutput odet_ID off
|
||||
/musr/command rootOutput nOptPhot off
|
||||
/musr/command rootOutput odet_nPhot off
|
||||
/musr/command rootOutput odet_timeFirst off
|
||||
/musr/command rootOutput odet_timeA off
|
||||
/musr/command rootOutput odet_timeB off
|
||||
/musr/command rootOutput odet_timeC off
|
||||
/musr/command rootOutput odet_timeD off
|
||||
/musr/command rootOutput odet_timeE off
|
||||
/musr/command rootOutput odet_timeMean off
|
||||
/musr/command rootOutput odet_timeLast off
|
||||
/musr/command rootOutput odet_timeCFD off
|
||||
/musr/command rootOutput odet_amplCFD off
|
||||
### Root variables that are not written out by default, but can be switched on:
|
||||
#/musr/command rootOutput fieldIntegralBx on
|
||||
#/musr/command rootOutput fieldIntegralBy on
|
||||
@ -177,7 +155,7 @@
|
||||
###################################################################################
|
||||
#/vis/disable
|
||||
#/control/execute visFromToni.mac
|
||||
/control/execute visDawn1.mac
|
||||
/control/execute visDawn102.mac
|
||||
#/control/execute visVRML.mac
|
||||
###################################################################################
|
||||
######################### P A R T I C L E G U N #################################
|
||||
|
241
run/110.mac
Normal file
241
run/110.mac
Normal file
@ -0,0 +1,241 @@
|
||||
#-----------------------------------------------------------------------
|
||||
# Macro file for the simulation of electron/positrons from the Sr decay
|
||||
# passing through the scintiallator detectors (blocks).
|
||||
# Unless specified otherwises, the default units are mm, ns, MeV, MeV/c.
|
||||
# Lines starting with star "#" are comments.
|
||||
###################################################################################
|
||||
############################# G E O M E T R Y ###################################
|
||||
#
|
||||
# WORLD
|
||||
/musr/command construct box World 10 10 100 G4_AIR 0 0 0 no_logical_volume norot dead -1
|
||||
#
|
||||
# Sr SOURCE
|
||||
/musr/command construct sphere source 0 0.02 0 360 0 180 G4_Sr 0 0 0 log_World norot dead 301
|
||||
#
|
||||
# SCINTILLATOR BLOCKS
|
||||
/musr/command construct box scintFarAwayC1 1.5 1.5 1 G4_PLASTIC_SC_VINYLTOLUENE 0 0 5 log_World norot musr/ScintSD 10
|
||||
/musr/command construct box scintFarAwayC2 1.5 1.5 1 G4_PLASTIC_SC_VINYLTOLUENE 0 0 14 log_World norot musr/ScintSD 11
|
||||
#
|
||||
# APDs
|
||||
/musr/command construct box APD1 0.1 1.5 1.5 G4_Cu 1.6 0 5 log_World norot dead 20
|
||||
/musr/command construct box APD2 0.1 1.5 1.5 G4_Cu 1.6 0 14 log_World norot dead 21
|
||||
#
|
||||
# Plastic holders
|
||||
/musr/command construct box Holder1 0.75 4 4 G4_GLASS_PLATE 2.5 0 5 log_World norot dead 30
|
||||
/musr/command construct box Holder2 0.75 4 4 G4_GLASS_PLATE 2.5 0 14 log_World norot dead 31
|
||||
#============================================================
|
||||
/musr/command visattributes log_World invisible
|
||||
/musr/command visattributes log_source red
|
||||
/musr/command visattributes G4_PLASTIC_SC_VINYLTOLUENE lightblue
|
||||
/musr/command visattributes log_APD1 red
|
||||
###################################################################################
|
||||
########################## O P T I C A L P H O T O N S #########################
|
||||
# PhotonEnergy[nEntries] =
|
||||
# { 2.695*eV, 2.75489*eV, 2.8175*eV, 2.88302*eV, // 460, 450, 440, 430 nm
|
||||
# 2.95167*eV, 3.02366*eV, 3.09925*eV, 3.17872*eV, 3.26237*eV, // 420, 410, 400, 390, 380 nm
|
||||
# 3.30587*eV, 3.35054*eV, 3.44361*eV, 3.542*eV, 3.64618*eV }; // 375, 370, 360, 350, 340 nm
|
||||
#/musr/command materialPropertiesTable optScintMPT ABSLENGTH 2 2.695e-6 3.64618e-6 80 80
|
||||
/musr/command materialPropertiesTable optScintMPT RINDEX 2 2.695e-6 3.64618e-6 1.58 1.58
|
||||
/musr/command materialPropertiesTable optScintMPT FASTCOMPONENT 14 2.695e-6 2.75489e-6 2.8175e-6 2.88302e-6 2.95167e-6 3.02366e-6 3.09925e-6 3.17872e-6 3.26237e-6 3.30587e-6 3.35054e-6 3.44361e-6 3.542e-6 3.64618e-6 0.01 0.07 0.15 0.26 0.375 0.52 0.65 0.80 0.95 1 0.88 0.44 0.08 0.01
|
||||
#/musr/command materialPropertiesTable optScintMPT SLOWCOMPONENT 14 2.695e-6 2.75489e-6 2.8175e-6 2.88302e-6 2.95167e-6 3.02366e-6 3.09925e-6 3.17872e-6 3.26237e-6 3.30587e-6 3.35054e-6 3.44361e-6 3.542e-6 3.64618e-6 0.01 0.07 0.15 0.26 0.375 0.52 0.65 0.80 0.95 1 0.88 0.44 0.08 0.01
|
||||
/musr/command materialPropertiesTable optScintMPT SCINTILLATIONYIELD 0 9167.
|
||||
/musr/command materialPropertiesTable optScintMPT RESOLUTIONSCALE 0 1.0
|
||||
/musr/command materialPropertiesTable optScintMPT FASTTIMECONSTANT 0 1.32
|
||||
/musr/command materialPropertiesTable optScintMPT FASTSCINTILLATIONRISETIME 0 0.063
|
||||
#/musr/command materialPropertiesTable optScintMPT SLOWTIMECONSTANT 0 1.6
|
||||
/musr/command materialPropertiesTable optScintMPT YIELDRATIO 0 1.0
|
||||
/musr/command setMaterialPropertiesTable optScintMPT G4_PLASTIC_SC_VINYLTOLUENE
|
||||
#
|
||||
# AIR
|
||||
/musr/command materialPropertiesTable optAIR_MPT ABSLENGTH 2 2.0e-6 4.5e-6 0.001 0.001
|
||||
/musr/command materialPropertiesTable optAIR_MPT RINDEX 2 2.0e-6 4.5e-6 1.0003 1.0003
|
||||
/musr/command setMaterialPropertiesTable optAIR_MPT G4_AIR
|
||||
#
|
||||
# OPTICAL BOUNDARY: SCINTILLATOR -> AIR
|
||||
#/musr/command materialPropertiesTable airWrap1 REFLECTIVITY 2 2.0e-6 4.5e-6 1.0 1.0
|
||||
#/musr/command materialPropertiesTable airWrap1 EFFICIENCY 2 2.0e-6 4.5e-6 0. 0.
|
||||
#/musr/command materialPropertiesTable airWrap1
|
||||
#/musr/command opticalSurface airBoundary1 phys_scintFarAwayC1 phys_World dielectric_dielectric polished unified airWrap1
|
||||
/musr/command opticalSurface airBoundary1 phys_scintFarAwayC1 phys_World dielectric_dielectric polishedteflonair LUT
|
||||
|
||||
# OPTICAL BOUNDARY: SCINTILLATOR -> AIR
|
||||
#/musr/command materialPropertiesTable airWrap2 REFLECTIVITY 2 2.0e-6 4.5e-6 1.0 1.0
|
||||
#/musr/command materialPropertiesTable airWrap2 EFFICIENCY 2 2.0e-6 4.5e-6 0. 0.
|
||||
/musr/command opticalSurface airBoundary2 phys_scintFarAwayC2 phys_World dielectric_dielectric polishedteflonair LUT
|
||||
#
|
||||
# OPTICAL BOUNDARY: SCINTILLATOR -> APD 1
|
||||
/musr/command materialPropertiesTable apdWrapping1 REFLECTIVITY 2 2.0e-6 4.5e-6 0.0 0.0
|
||||
/musr/command materialPropertiesTable apdWrapping1 EFFICIENCY 2 2.0e-6 4.5e-6 0.25 0.25
|
||||
/musr/command opticalSurface APDsurface phys_scintFarAwayC1 phys_APD1 dielectric_metal polished LUT apdWrapping1
|
||||
#
|
||||
# OPTICAL BOUNDARY: SCINTILLATOR -> APD 2
|
||||
/musr/command materialPropertiesTable apdWrapping2 REFLECTIVITY 2 2.0e-6 4.5e-6 0.0 0.0
|
||||
/musr/command materialPropertiesTable apdWrapping2 EFFICIENCY 2 2.0e-6 4.5e-6 0.25 0.25
|
||||
/musr/command opticalSurface APDsurface phys_scintFarAwayC2 phys_APD2 dielectric_metal polished LUT apdWrapping2
|
||||
#
|
||||
#
|
||||
/musr/command OPSA signalSeparationTime 1000
|
||||
#/musr/command OPSA eventsForOPSAhistos -2 0
|
||||
/musr/command OPSA OPSAhist 1000 0. 10.
|
||||
/musr/command OPSA pulseShapeArray APDpulseShapeFile_2011_1e_Z.txt
|
||||
/musr/command OPSA CFD -0.2 0.4 -1.8
|
||||
/musr/command OPSA APDcells 1 60 60 0.1 1.5 1.5
|
||||
/musr/command OPSA photonFractions 0.01 0.05 0.5 0.2
|
||||
/musr/command OPSA SetAPDcellsTimeVariationSigma 0.1
|
||||
###################################################################################
|
||||
######################### P H Y S I C S P R O C E S S E S ##################
|
||||
###################################################################################
|
||||
# Geant 4.9.4
|
||||
/musr/command process addDiscreteProcess gamma G4PhotoElectricEffect
|
||||
/musr/command process addDiscreteProcess gamma G4ComptonScattering
|
||||
/musr/command process addDiscreteProcess gamma G4GammaConversion
|
||||
/musr/command process addDiscreteProcess gamma G4RayleighScattering
|
||||
/musr/command process addDiscreteProcess opticalphoton G4OpAbsorption
|
||||
/musr/command process addDiscreteProcess opticalphoton G4OpRayleigh
|
||||
/musr/command process addDiscreteProcess opticalphoton G4OpBoundaryProcess
|
||||
#/musr/command process addDiscreteProcess opticalphoton G4OpWLS
|
||||
/musr/command process addProcess e- G4eMultipleScattering -1 1 1
|
||||
/musr/command process addProcess e- G4eIonisation -1 2 2
|
||||
/musr/command process addProcess e- G4eBremsstrahlung -1 3 3
|
||||
/musr/command process addProcess e- G4Scintillation 4 -1 4
|
||||
/musr/command process addProcess e+ G4eMultipleScattering -1 1 1
|
||||
/musr/command process addProcess e+ G4eIonisation -1 2 2
|
||||
/musr/command process addProcess e+ G4eBremsstrahlung -1 3 3
|
||||
/musr/command process addProcess e+ G4eplusAnnihilation 0 -1 4
|
||||
/musr/command process addProcess e+ G4Scintillation 5 -1 5
|
||||
#/musr/command process addProcess mu- G4MuMultipleScattering -1 1 1
|
||||
#/musr/command process addProcess mu- G4MuIonisation -1 2 2
|
||||
#/musr/command process addProcess mu- G4MuBremsstrahlung -1 3 3
|
||||
#/musr/command process addProcess mu- G4MuPairProduction -1 4 4
|
||||
#/musr/command process addProcess mu- G4Scintillation 5 -1 5
|
||||
#/musr/command process addProcess mu+ G4MuMultipleScattering -1 1 1
|
||||
#/musr/command process addProcess mu+ G4MuIonisation -1 2 2
|
||||
#/musr/command process addProcess mu+ G4MuBremsstrahlung -1 3 3
|
||||
#/musr/command process addProcess mu+ G4MuPairProduction -1 4 4
|
||||
#/musr/command process addProcess mu+ G4Scintillation 5 -1 5
|
||||
#
|
||||
#
|
||||
###/home/install/geant4.9.3/source/processes/electromagnetic/utils/src/G4EnergyLossMessenger.cc
|
||||
######## /process/msc/StepLimit Minimal | UseDistanceToBoundary | UseSafety
|
||||
#/process/msc/StepLimit UseSafety
|
||||
###/process/msc/LateralDisplacement
|
||||
#/process/msc/RangeFactor 0.04
|
||||
#/process/msc/GeomFactor 2.5
|
||||
###/process/msc/FactorForAngleLimit
|
||||
#/process/msc/Skin 3.0
|
||||
###/process/msc/ThetaLimit 0.2 rad
|
||||
###################################################################################
|
||||
################## S O M E O T H E R P A R A M E T E R S ##################
|
||||
###################################################################################
|
||||
#/musr/command rootOutputDirectoryName /home/sedlak/simData
|
||||
# Store all events into the ROOT tree or just the interesting ones ? (true is default)
|
||||
#/musr/command storeOnlyEventsWithHits false
|
||||
#/musr/command storeOnlyEventsWithHitInDetID 11
|
||||
# Set the minimum time separation between two subsequent signals in the same detector (in ns)
|
||||
/musr/command signalSeparationTime 50
|
||||
#
|
||||
/musr/command maximumRunTimeAllowed 400000
|
||||
/musr/run/howOftenToPrintEvent 1
|
||||
/musr/run/randomOption 2
|
||||
# Use optical photons:
|
||||
/musr/command G4OpticalPhotons true
|
||||
#/tracking/verbose 5
|
||||
#/process/verbose 5
|
||||
###################################################################################
|
||||
######################### R O O T O U T P U T ##############################
|
||||
###################################################################################
|
||||
#/musr/command rootOutput runID off
|
||||
#/musr/command rootOutput eventID off
|
||||
/musr/command rootOutput weight off
|
||||
/musr/command rootOutput BFieldAtDecay off
|
||||
/musr/command rootOutput muIniPosX off
|
||||
/musr/command rootOutput muIniPosY off
|
||||
/musr/command rootOutput muIniPosZ off
|
||||
/musr/command rootOutput muIniMomX off
|
||||
/musr/command rootOutput muIniMomY off
|
||||
/musr/command rootOutput muIniMomZ off
|
||||
/musr/command rootOutput muIniPolX off
|
||||
/musr/command rootOutput muIniPolY off
|
||||
/musr/command rootOutput muIniPolZ off
|
||||
/musr/command rootOutput muIniTime off
|
||||
/musr/command rootOutput muDecayDetID off
|
||||
/musr/command rootOutput muDecayPosX off
|
||||
/musr/command rootOutput muDecayPosY off
|
||||
/musr/command rootOutput muDecayPosZ off
|
||||
/musr/command rootOutput muDecayTime off
|
||||
/musr/command rootOutput muDecayPolX off
|
||||
/musr/command rootOutput muDecayPolY off
|
||||
/musr/command rootOutput muDecayPolZ off
|
||||
/musr/command rootOutput muTargetTime off
|
||||
/musr/command rootOutput muTargetPolX off
|
||||
/musr/command rootOutput muTargetPolY off
|
||||
/musr/command rootOutput muTargetPolZ off
|
||||
/musr/command rootOutput muM0Time off
|
||||
/musr/command rootOutput muM0PolX off
|
||||
/musr/command rootOutput muM0PolY off
|
||||
/musr/command rootOutput muM0PolZ off
|
||||
/musr/command rootOutput muM1Time off
|
||||
/musr/command rootOutput muM1PolX off
|
||||
/musr/command rootOutput muM1PolY off
|
||||
/musr/command rootOutput muM1PolZ off
|
||||
/musr/command rootOutput muM2Time off
|
||||
/musr/command rootOutput muM2PolX off
|
||||
/musr/command rootOutput muM2PolY off
|
||||
/musr/command rootOutput muM2PolZ off
|
||||
#/musr/command rootOutput posIniMomX off
|
||||
#/musr/command rootOutput posIniMomY off
|
||||
#/musr/command rootOutput posIniMomZ off
|
||||
/musr/command rootOutput fieldNomVal off
|
||||
#/musr/command rootOutput det_ID off
|
||||
#/musr/command rootOutput det_edep off
|
||||
/musr/command rootOutput det_edep_el off
|
||||
/musr/command rootOutput det_edep_pos off
|
||||
/musr/command rootOutput det_edep_gam off
|
||||
/musr/command rootOutput det_edep_mup off
|
||||
#/musr/command rootOutput det_nsteps off
|
||||
#/musr/command rootOutput det_length off
|
||||
#/musr/command rootOutput det_start off
|
||||
#/musr/command rootOutput det_end off
|
||||
#/musr/command rootOutput det_x off
|
||||
#/musr/command rootOutput det_y off
|
||||
#/musr/command rootOutput det_z off
|
||||
#/musr/command rootOutput det_kine off
|
||||
/musr/command rootOutput det_VrtxKine off
|
||||
/musr/command rootOutput det_VrtxX off
|
||||
/musr/command rootOutput det_VrtxY off
|
||||
/musr/command rootOutput det_VrtxZ off
|
||||
/musr/command rootOutput det_VrtxVolID off
|
||||
/musr/command rootOutput det_VrtxProcID off
|
||||
/musr/command rootOutput det_VrtxTrackID off
|
||||
/musr/command rootOutput det_VrtxParticleID off
|
||||
/musr/command rootOutput det_VvvKine off
|
||||
/musr/command rootOutput det_VvvX off
|
||||
/musr/command rootOutput det_VvvY off
|
||||
/musr/command rootOutput det_VvvZ off
|
||||
/musr/command rootOutput det_VvvVolID off
|
||||
/musr/command rootOutput det_VvvProcID off
|
||||
/musr/command rootOutput det_VvvTrackID off
|
||||
/musr/command rootOutput det_VvvParticleID off
|
||||
### Root variables that are not written out by default, but can be switched on:
|
||||
#/musr/command rootOutput fieldIntegralBx on
|
||||
#/musr/command rootOutput fieldIntegralBy on
|
||||
#/musr/command rootOutput fieldIntegralBz on
|
||||
#/musr/command rootOutput fieldIntegralBz1 on
|
||||
#/musr/command rootOutput fieldIntegralBz2 on
|
||||
#/musr/command rootOutput fieldIntegralBz3 on
|
||||
###################################################################################
|
||||
######################### V I S U A L I S A T I O N ##############################
|
||||
###################################################################################
|
||||
/vis/disable
|
||||
#/control/execute visFromToni.mac
|
||||
#/control/execute visDawn1.mac
|
||||
#/control/execute visVRML201.mac
|
||||
###################################################################################
|
||||
######################### P A R T I C L E G U N #################################
|
||||
###################################################################################
|
||||
/gun/primaryparticle e-
|
||||
/gun/vertex 0 0 0 mm
|
||||
/gun/momentum 2.15 MeV
|
||||
######################## B E A M O N #######################################
|
||||
/run/beamOn 20
|
||||
#/run/beamOn 5000000
|
10006
run/APDpulseShapeFile_2011_1e_Z.txt
Normal file
10006
run/APDpulseShapeFile_2011_1e_Z.txt
Normal file
File diff suppressed because it is too large
Load Diff
@ -23,7 +23,7 @@
|
||||
|
||||
# Configure the viewer (optional)
|
||||
#/vis/viewer/set/viewpointThetaPhi 235 -45
|
||||
/vis/viewer/set/viewpointThetaPhi 80 190
|
||||
/vis/viewer/set/viewpointThetaPhi 80 30
|
||||
#/vis/viewer/set/lightsThetaPhi 120 60
|
||||
#/vis/viewer/set/hiddenEdge true
|
||||
/vis/viewer/set/style surface
|
||||
|
70
run/visDawn102.mac
Normal file
70
run/visDawn102.mac
Normal file
@ -0,0 +1,70 @@
|
||||
# This is a macro file for visualizing G4 events.
|
||||
# It can either be included in another macro or called with /control/exec vis.mac
|
||||
|
||||
# Create an OpenGL driver (i.e. a scene handler and viewer)
|
||||
# Some useful choices: VRML2FILE, OGLSX, OGLIX, DAWNFILE, etc.
|
||||
#/vis/open VRML2FILE
|
||||
#*/vis/open OGLIX 600x600-0+0
|
||||
/vis/open DAWNFILE
|
||||
|
||||
# To calculate volumes and masses uncomment the next two lines
|
||||
#*/vis/open ATree
|
||||
#*/vis/ASCIITree/verbose 4
|
||||
|
||||
|
||||
# Create a new empty scene and attach it to handler
|
||||
/vis/scene/create
|
||||
|
||||
# Add world volume, trajectories and hits to the scene
|
||||
/vis/scene/add/volume
|
||||
/vis/scene/add/trajectories
|
||||
/vis/scene/add/hits
|
||||
/vis/sceneHandler/attach
|
||||
|
||||
# Configure the viewer (optional)
|
||||
#/vis/viewer/set/viewpointThetaPhi 235 -45
|
||||
/vis/viewer/set/viewpointThetaPhi 80 30
|
||||
#/vis/viewer/set/lightsThetaPhi 120 60
|
||||
#/vis/viewer/set/hiddenEdge true
|
||||
/vis/viewer/set/style surface
|
||||
/vis/viewer/zoom 0.8
|
||||
# Style: s - surface, w - wireframe
|
||||
# Note: "surface style" and "hiddenEdge true" remove transparency!
|
||||
# Other viewpoints (25 55) (235 -45) (125 35)
|
||||
|
||||
|
||||
# Store trajectory information for visualisation (set to 0 if too many tracks cause core dump)
|
||||
/tracking/storeTrajectory 1
|
||||
|
||||
#At the end of each event (default behaviour)
|
||||
#/vis/scene/endOfEventAction refresh
|
||||
#At the end of run of X events - Data from X events will be superimposed
|
||||
#cks
|
||||
#/vis/scene/endOfEventAction accumulate
|
||||
#At the end of Y runs - Data from Y runs will be superimposed
|
||||
#/vis/scene/endOfRunAction accumulate
|
||||
|
||||
# Coloured trajectories for an easier particle identification:
|
||||
# PDG IDs and colours: e- 11 red, e+ -11 blue, nu_e 12 yellow,
|
||||
# mu+ -13 magenta, anti_nu_mu -14 green, gamma 22 grey
|
||||
#
|
||||
#/vis/modeling/trajectories/create/drawByCharge
|
||||
#/vis/modeling/trajectories/drawByCharge-0/set 1 cyan
|
||||
|
||||
/vis/modeling/trajectories/create/drawByParticleID
|
||||
#*/vis/modeling/trajectories/drawByParticleID-0/set gamma grey
|
||||
#/vis/modeling/trajectories/drawByParticleID-0/setRGBA gamma 1 1 1 0
|
||||
/vis/modeling/trajectories/drawByParticleID-0/setRGBA mu+ 1 0 0 1
|
||||
/vis/modeling/trajectories/drawByParticleID-0/setRGBA e+ 0 0 1 1
|
||||
/vis/modeling/trajectories/drawByParticleID-0/setRGBA gamma 0 1 0 1
|
||||
/vis/modeling/trajectories/drawByParticleID-0/setRGBA e- 1 0 1 1
|
||||
/vis/modeling/trajectories/drawByParticleID-0/setRGBA nu_e 1 1 1 0 1
|
||||
/vis/modeling/trajectories/drawByParticleID-0/setRGBA anti_nu_mu 1 1 1 0.5
|
||||
#/vis/modeling/trajectories/drawByParticleID-0/set nu_e white
|
||||
#/vis/modeling/trajectories/drawByParticleID-0/set anti_nu_mu white
|
||||
|
||||
# Verbosity of hits
|
||||
#/hits/verbose 2
|
||||
|
||||
# Output just the detector geometry
|
||||
/vis/viewer/flush
|
@ -61,7 +61,7 @@
|
||||
#/musr/command construct box KoincB2 20 90 2.5 G4_PLASTIC_SC_VINYLTOLUENE -33 0 -60 log_World matrix3 musr/ScintSD 22
|
||||
# --- M0 ---
|
||||
/musr/command construct box M0 5 5 1.0 G4_PLASTIC_SC_VINYLTOLUENE 0 0 -46 log_World matrix4 musr/ScintSD 102
|
||||
/musr/command construct GPDmHolder GPDmHolder 5 25 1.0 G4_PLASTIC_SC_VINYLTOLUENE 0 -25 -46 log_World norot dead 103
|
||||
#/musr/command construct GPDmHolder GPDmHolder 5 25 1.0 G4_PLASTIC_SC_VINYLTOLUENE 0 -25 -46 log_World norot dead 103
|
||||
# --- Magnet ---
|
||||
#/musr/command construct tubs Magnet1 180 375 78 0 360 G4_Cu 133 0 0 log_World matrix5 dead 291
|
||||
#/musr/command construct tubs Magnet2 180 375 78 0 360 G4_Cu -133 0 0 log_World matrix5 dead 292
|
||||
@ -81,10 +81,12 @@
|
||||
#/musr/command visattributes log_GPDsampleHolderE red
|
||||
#/musr/command visattributes log_GPDsampleHolderF red
|
||||
#/musr/command visattributes log_GPDsampleHolderG red
|
||||
/musr/command visattributes log_GPDcollimator magenta
|
||||
/musr/command visattributes log_Firstcollimator magenta
|
||||
/musr/command visattributes log_SecondCollimator magenta
|
||||
/musr/command visattributes log_GPDmHolder magenta
|
||||
/musr/command visattributes log_GPDcollimator green
|
||||
/musr/command visattributes log_Firstcollimator green
|
||||
/musr/command visattributes log_Firstcollimatorhole green
|
||||
/musr/command visattributes log_SecondCollimator green
|
||||
/musr/command visattributes log_SecondCollHole green
|
||||
#/musr/command visattributes log_GPDmHolder magenta
|
||||
#/musr/command visattributes log_target blue
|
||||
/musr/command visattributes log_M0 red
|
||||
#/musr/command visattributes G4_Pb blue
|
||||
|
Reference in New Issue
Block a user