Belle II Software
release-05-01-25
misalignVXDYing.py
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
4
from
ROOT
import
Belle2
5
6
payload =
Belle2.VXDAlignment
()
7
8
ying =
Belle2.VxdID
(1, 0, 0, 1).
getID
()
9
yang =
Belle2.VxdID
(1, 0, 0, 2).
getID
()
10
pat =
Belle2.VxdID
(3, 0, 0, 1).
getID
()
11
mat =
Belle2.VxdID
(3, 0, 0, 2).
getID
()
12
13
x = 1
14
y = 2
15
z = 3
16
17
payload.setGlobalParam(0.01, ying, y)
18
19
iov =
Belle2.IntervalOfValidity
(0, 0, -1, -1)
20
Belle2.Database.Instance
().storeData(
'VXDAlignment'
, payload, iov)
Belle2::IntervalOfValidity
A class that describes the interval of experiments/runs for which an object in the database is valid.
Definition:
IntervalOfValidity.h:35
Belle2::VxdID
Class to uniquely identify a any structure of the PXD and SVD.
Definition:
VxdID.h:43
Belle2::getID
int getID(const std::vector< double > &breaks, double t)
get id of the time point t
Definition:
calibTools.h:71
Belle2::Database::Instance
static Database & Instance()
Instance of a singleton Database.
Definition:
Database.cc:54
Belle2::VXDAlignment
VXD alignment (and maybe some calibration) parameters.
Definition:
VXDAlignment.h:29
alignment
examples
misalignVXDYing.py
Generated on Fri Nov 5 2021 03:44:46 for Belle II Software by
1.8.17