# 积分charge时peak前后区间延展范围
baselength = 10
afterlength = 75
# 拟合时的区间范围，按照PE记录
peakspanl, peakspanr = 0.35, 0.35
vallyspanl, vallyspanr = 0.15, 0.25
# 绘图时zoom in, zoom_out 范围
peak_in_l, peak_in_r = 0, 50
# ADC转换mV因子
ADC2mV = 1000/1024
# SER长度
spelength = 150
spestart = 20
speend = spelength - spestart
# 激光分析区间
laserB = -40
laserE = -10
# 弹性散射分析区间
elasticB = 20
elasticE = 80
# 前后脉冲时间区间,analyze start and end are 0,wavelength
anapromptE = 0
anadelay1B = 35
promptB = 100
promptE = 10
delay1B = 200
delay1E = 1000
delay10B = 1000
delay10E = 9800
DCRB = -300
DCRE = -150
# database
databaseDir = '/tarski/JNE/JinpingData/Jinping_1ton_Data/pmtTest'
PMTResultDir = 'ExPMT'
TestResultDir = 'ExResult'
TestSummaryPath = TestResultDir + '/TestSummary.csv'
# 后脉冲
fitWindowMCP = [200, 2500]
fitWindowHama = [200, 9000]
searchwindowsMCP = [[200, 350], [380, 460], [530, 700], [1100,1300], [1600,2200]]
boundsMCP = [[2,30], [10,50], [10,40], [20,100], [40,100]]
searchwindowsHama = [[200, 700], [1600,1900], [6000, 9000]]
boundsHama = [[5,800], [5, 1000], [5, 2000]]
additionWindowMCP = [[4000, 8000]]
additionBoundsMCP = [[100, 500]]