7 from svd
import add_svd_reconstruction
10 from ROOT
import Belle2
25 parser = argparse.ArgumentParser(description=
"Phase3 SVD installed in BelleII: SVDModeByte check script")
26 parser.add_argument(
'--input', dest=
'input', help=
'Input root/sroot file')
30 args = parser.parse_args()
34 if not os.path.isfile(fileIN):
37 print(
'the input file ' + str(fileIN) +
' does not exist, check and retry.')
42 print(
'*** this is the unpacking script used:')
43 with open(sys.argv[0],
'r')
as fin:
44 print(fin.read(), end=
"")
45 print(
'*** end of unpacking script')
52 use_central_database(
"data_reprocessing_proc8")
64 main.add_module(
'RootInput', inputFileNames=[fileIN], branchNames=[
'SVDShaperDigits'])
66 main.add_module(
"Gearbox")
67 main.add_module(
'Geometry')
73 main.add_module(
'SVDDataFormatCheck', ShaperDigits=
'SVDShaperDigits')
75 main.add_module(
'Progress')