Belle II Software  release-08-01-10
misalignVXDYing.py
1 #!/usr/bin/env python3
2 
3 
10 
11 from ROOT import Belle2
12 
13 payload = Belle2.VXDAlignment()
14 
15 ying = Belle2.VxdID(1, 0, 0, 1).getID()
16 yang = Belle2.VxdID(1, 0, 0, 2).getID()
17 pat = Belle2.VxdID(3, 0, 0, 1).getID()
18 mat = Belle2.VxdID(3, 0, 0, 2).getID()
19 
20 x = 1
21 y = 2
22 z = 3
23 
24 payload.setGlobalParam(0.01, ying, y)
25 
26 iov = Belle2.IntervalOfValidity(0, 0, -1, -1)
27 Belle2.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
int getID(const std::vector< double > &breaks, double t)
get id of the time point t
Definition: calibTools.h:60