11from ROOT
import Belle2
16numberOfLadders = [8, 12, 7, 10, 12, 16]
17numberOfSensors = [2, 2, 2, 3, 4, 5]
22-------------------------
23Misalignment of for Phase II
24-------------------------
30 for j
in range(1, numberOfLadders[i - 1] + 1):
31 for h
in range(1, numberOfParameters + 1):
32 payload.setGlobalParam(0.0,
Belle2.VxdID(i, j, 0).getID(), h)
34 number = np.random.normal(0.0, 0.01, 1)
35 payload.setGlobalParam(number,
Belle2.VxdID(i, j, 0).getID(), h)
37 for k
in range(1, numberOfSensors[i - 1] + 1):
38 for h
in range(1, numberOfParameters + 1):
39 payload.setGlobalParam(0.0,
Belle2.VxdID(i, j, k).getID(), h)
41 number = np.random.normal(0.0, 0.01, 1)
42 payload.setGlobalParam(number,
Belle2.VxdID(i, j, k).getID(), h)
47payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(1, 0, 0, 1).getID(), 1)
48payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(1, 0, 0, 1).getID(), 2)
49payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(1, 0, 0, 1).getID(), 3)
52payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(1, 0, 0, 2).getID(), 1)
53payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(1, 0, 0, 2).getID(), 2)
54payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(1, 0, 0, 2).getID(), 3)
57payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(3, 0, 0, 1).getID(), 1)
58payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(3, 0, 0, 1).getID(), 2)
59payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(3, 0, 0, 1).getID(), 3)
62payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(3, 0, 0, 2).getID(), 1)
63payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(3, 0, 0, 2).getID(), 2)
64payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(3, 0, 0, 2).getID(), 3)
A class that describes the interval of experiments/runs for which an object in the database is valid.
VXD alignment (and maybe some calibration) parameters.
Class to uniquely identify a any structure of the PXD and SVD.
static Database & Instance()
Instance of a singleton Database.