11from basf2
import conditions
as b2conditions
37 print(
"Check the run number!!")
39if searchbaseValue != -1:
40 myflag =
"searchBase" + str(searchbaseValue) +
"_thr" + str(setLauraThreshold)
43outputfile =
"SVDHotStripFinderZS5_exp" + str(exp) +
"run" + str(run) +
"_V1_" + str(myflag) +
".root"
45 outputfile =
"SVDHotStripFinderZS5_exp" + str(exp) +
"run" + str(run) +
"_V2_" + str(myflag) +
".root"
47b2conditions.prepend_globaltag(
"svd_onlySVDinGeoConfiguration")
48b2conditions.prepend_globaltag(
"data_reprocessing_prompt")
49b2conditions.prepend_globaltag(
"svd_basic")
51main = b2.create_path()
60 inputFileName=
"/ghi/fs01/belle2/bdata/Data/Raw/e000" + \
61 str(exp) +
"/r0" + str(run) +
"/sub00/" + str(runType) +
".000" + str(exp) +
".0" + str(run) +
".HLT*",
62 branchNames=[
'RawSVDs'])
64main.add_module(
'Gearbox')
65main.add_module(
'Geometry')
68main.add_module(
'SVDUnpacker', svdShaperDigitListName=
'SVDShaperDigits')
70 'SVDZeroSuppressionEmulator',
72 ShaperDigits=
'SVDShaperDigits',
73 ShaperDigitsIN=
'SVDShaperDigitsZS5',
77main.add_module(
'SVDHotStripFinder', ShaperDigits=
'SVDShaperDigitsZS5', outputFileName=outputfile, searchBase=searchbaseValue,
78 threshold=1, absOccThreshold=0.20, relOccPrec=setLauraThreshold, useHSFinderV1=
not useLauraAlg)
80main.add_module(
'Progress')