11 from ROOT
import Belle2
16 numberOfLadders = [8, 12, 7, 10, 12, 16]
17 numberOfSensors = [2, 2, 2, 3, 4, 5]
18 numberOfParameters = 6
22 -------------------------
23 Misalignment of for Phase II
24 -------------------------
30 for j
in range(1, numberOfLadders[i - 1] + 1):
31 for h
in range(1, numberOfParameters + 1):
34 number = np.random.normal(0.0, 0.01, 1)
37 for k
in range(1, numberOfSensors[i - 1] + 1):
38 for h
in range(1, numberOfParameters + 1):
41 number = np.random.normal(0.0, 0.01, 1)
47 payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(1, 0, 0, 1).
getID(), 1)
48 payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(1, 0, 0, 1).
getID(), 2)
49 payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(1, 0, 0, 1).
getID(), 3)
52 payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(1, 0, 0, 2).
getID(), 1)
53 payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(1, 0, 0, 2).
getID(), 2)
54 payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(1, 0, 0, 2).
getID(), 3)
57 payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(3, 0, 0, 1).
getID(), 1)
58 payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(3, 0, 0, 1).
getID(), 2)
59 payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(3, 0, 0, 1).
getID(), 3)
62 payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(3, 0, 0, 2).
getID(), 1)
63 payload.setGlobalParam(np.random.normal(0.0, 0.01, 1),
Belle2.VxdID(3, 0, 0, 2).
getID(), 2)
64 payload.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.
int getID(const std::vector< double > &breaks, double t)
get id of the time point t