Rev | Line | |
---|
[807] | 1 | ################# |
---|
| 2 | ## |
---|
| 3 | ## This example demonstrates the cerenkov process by using a 200 MeV mu+ |
---|
| 4 | ## particle in a geometry configuration that shows the cerenkov cone |
---|
| 5 | ## and pmts hit by it. |
---|
| 6 | ## |
---|
| 7 | ################# |
---|
| 8 | |
---|
| 9 | /control/execute defaults.mac |
---|
| 10 | |
---|
| 11 | #This currently causes the program to crash due to a bug in geant4 |
---|
| 12 | #Uncomment it once that bug has been fixed. Until then, to use this, |
---|
| 13 | #modify LXePhysicsList to disable scintillation. |
---|
| 14 | #/process/inactivate Scintillation |
---|
| 15 | |
---|
| 16 | /LXe/detector/MainScintYield 0 |
---|
| 17 | |
---|
| 18 | /LXe/detector/nx 20 |
---|
| 19 | /LXe/detector/ny 20 |
---|
| 20 | /LXe/detector/nz 0 |
---|
| 21 | /LXe/detector/dimensions 60 60 25 cm |
---|
| 22 | /LXe/detector/pmtRadius 1.5 cm |
---|
| 23 | /LXe/detector/volumes/sphere 0 |
---|
| 24 | /LXe/detector/reflectivity 0.0 |
---|
| 25 | /LXe/detector/update |
---|
| 26 | |
---|
| 27 | /gun/particle mu+ |
---|
| 28 | /gun/energy 200 MeV |
---|
| 29 | |
---|
| 30 | #This causes the primary particle to be killed after its first step in the |
---|
| 31 | #scintillator volume. Thus preventing the cerenkov cone to fill in. |
---|
| 32 | /LXe/oneStepPrimaries true |
---|
| 33 | |
---|
| 34 | #reset from a random seed that shows a good cone |
---|
| 35 | /random/resetEngineFrom random/goodCerenkov.rndm |
---|
Note: See
TracBrowser
for help on using the repository browser.