-
Notifications
You must be signed in to change notification settings - Fork 2
/
Bi_test.mac
22 lines (20 loc) · 984 Bytes
/
Bi_test.mac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#Example of macro to be used for PEN analysis studies
#Choise of setup:0 5 PMT setup with 1 PEN sample and acrylic; 1 attenuation setup; 2 (being implemented) 5 PEN stacked samples in 5 PMT setup
/PEN/det/setDetectorType 2
/PEN/det/setNTargetSamples 1
/PEN/det/setTargetThickness 10. mm
#Set the position of the collimator, a values between -37 and 37 mm (size of samples)
/PEN/det/setCollimatorPositionX 0. mm
#Set the light yield
#/PEN/det/setLY 10000
/PEN/det/setTargetMat PVT_structure
#set the absorption, this values is added to the curve of absorption as function of wl: i.e: f(wl) = a[x] + new value
#/PEN/det/setABS 5.5
#set roughness of samples, 1. perfect polished surface 0. not polishment
/PEN/det/setSigAlpha 0.5
/PEN/det/setPMTReflectivity 0.5
#set the position of the source, MUST be the same of the collimator if you want it to work
/PEN/gun/sourcePositionX 0. mm
#Choise of source type: 0 Cs-137; 1 Bi-207; 2 Sr-90; 3 e-
/PEN/gun/sourceType 1
/run/beamOn 1000000