-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.bash
75 lines (66 loc) · 2.45 KB
/
config.bash
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/bin/bash
#-------------------------------------------------------------------------------
# -- \file config.bash
# -- Description: The configuration file for the timeCal.bash script. This file
# -- will set all of the values necessary for the proper operation of the
# -- timeCal.bash script. Descriptions of the variables and what they do
# -- can be found in the following portions of the script. The offsets
# -- will all be output in ns.
# --
# -- NOTE : All of the distances should be input in "cm".
# --
# -- Note 2 : It is left as an exercise to the reader to make this work for
# -- any number of offsets instead of an average one.
# --
# -- \author S. V. Paulauskas
# -- \date January 11, 2014
# --
# -- This script is distributed as part of a suite to perform
# -- calibrations for VANDLE. It is distributed under the
# -- GPL V 3.0 license.
# ------------------------------------------------------------------------------
#---------- Path and Histogram Information ----------
#Sets the histogram to be used for the time calibration
his="his/test00.his"
#Sets the path for the results
resultDir="res/is599/is599_52k_00"
#Sets the path for the physical offsets of the bars
physOffsetDir="phys/is600"
#---------- Fitting Configuration ---------
#Sets the minimum statistics required for fitting the spectra
minStats=100
#---------- Start Information -----------
#The number of start detectors that are in the analysis
numStarts=1
#---------- Small Bar Information -----------
#The number of small VANDLE bars that are in the analysis
numSmallBars=12
#The file containing the small offsets
smallOffsets="small.dat"
#---------- Medium Bar Information ----------
#The number of medium VANDLE bars that are in the analysis
numMediumBars=26
#The file containing the small offsets
mediumOffsets="medium.dat"
#---------- Big Bar Information ----------
#The number of big VANDLE bars that are in the analysis
#numBigBars=0
#The file containing the small offsets
bigOffsets="big.dat"
#---------- Histogram Information ----------
#Offset for VANDLE histograms
vandleOffset=3200
#Base Offset for the Time Difference
vandleTdiffBaseId=2
#Base Offset for the Time of Flight
vandleTofBaseId=3
#The DAMM ID offset for small VANDLE bars
smallOffset=0
#The DAMM ID offset for medium VANDLE bars
mediumOffset=40
#The DAMM ID offset for big VANDLE bars
bigOffset=20
#VANDLE Histogram Resolution (bins/ns)
histResolution=2
#VANDLE Histogram Offsets (bins)
histOffset=1000