Belle II Software development
misalignVXDYing.py
1#!/usr/bin/env python3
2
3
10
11from ROOT import Belle2
12
13payload = Belle2.VXDAlignment()
14
15ying = Belle2.VxdID(1, 0, 0, 1).getID()
16yang = Belle2.VxdID(1, 0, 0, 2).getID()
17pat = Belle2.VxdID(3, 0, 0, 1).getID()
18mat = Belle2.VxdID(3, 0, 0, 2).getID()
19
20x = 1
21y = 2
22z = 3
23
24payload.setGlobalParam(0.01, ying, y)
25
26iov = Belle2.IntervalOfValidity(0, 0, -1, -1)
27Belle2.Database.Instance().storeData('VXDAlignment', payload, iov)
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.
Definition: VXDAlignment.h:19
Class to uniquely identify a any structure of the PXD and SVD.
Definition: VxdID.h:33
static Database & Instance()
Instance of a singleton Database.
Definition: Database.cc:42