Belle II Software development
CDCDedxDatabaseImport.py
1#!/usr/bin/env python3
2
3
10
11
18
19from ROOT import Belle2 # noqa: make Belle2 namespace available
20from ROOT.Belle2 import CDCDedxDatabaseImporter
21
22dedxScaleImporter = CDCDedxDatabaseImporter("DedxPDFs.root", "DedxPDFs")
23dedxScaleImporter.importPDFs()
24
25dedxScaleImporter = CDCDedxDatabaseImporter("DedxPars.root", "CDCDedxScaleFactor")
26dedxScaleImporter.importScaleFactor(35.428)
27
28dedxMeanImporter = CDCDedxDatabaseImporter("DedxPars.root", "CDCDedxMeanPars")
29dedxMeanImporter.importMeanParameters()
30
31dedxSigmaImporter = CDCDedxDatabaseImporter("DedxPars.root", "CDCDedxSigmaPars")
32dedxSigmaImporter.importSigmaParameters()
33
34dedxHadronImporter = CDCDedxDatabaseImporter("DedxPars.root", "CDCDedxHadronCor")
35dedxHadronImporter.importHadronCorrection()