16 from ROOT
import Belle2
17 from ROOT.Belle2
import IntervalOfValidity
24 clusteralgo.setPrefix(
"PXDClusterPositionCollector")
27 clusteralgo.setInputFileNames([
"PXDClusterPositionCollectorOutput_kind_0.root",
"PXDClusterPositionCollectorOutput_kind_1.root",
28 "PXDClusterPositionCollectorOutput_kind_2.root",
"PXDClusterPositionCollectorOutput_kind_3.root"])
32 clusteralgo.minClusterForShapeLikelyhood = 250
34 clusteralgo.minClusterForPositionOffset = 1000
36 clusteralgo.maxEtaBins = 10
38 clusteralgo.clusterKinds.push_back(0)
39 clusteralgo.clusterKinds.push_back(1)
40 clusteralgo.clusterKinds.push_back(2)
41 clusteralgo.clusterKinds.push_back(3)
44 iov = IntervalOfValidity.always()
45 print(
"Result of calibration =", clusteralgo.execute([], 0, iov))
Class implementing the PXD cluster position calibration algorithm.