 |
Belle II Software
release-05-01-25
|
6 """ Class to generate data for AlignmentGenerator module
7 Can be used to train VXD misalignment by storing wrong alignment
8 and trying to reach nominal values (zeros)
17 """ get object name """
21 """ get alignment data """
25 """ align sensors by VxdID pattern """
26 self.
alignment.append(str(vxdid +
',' + str(param_id) +
',' + distribution +
',' + str(value)))
29 """ generate u coordinate shift for VxdID mask with gausian distribution of given width """
33 """ generate v coordinate shift for VxdID mask with gausian distribution of given width """
37 """ generate w coordinate shift for VxdID mask with gausian distribution of given width """
41 """ generate alpha rotation for VxdID mask with gausian distribution of given width """
45 """ generate beta rotation for VxdID mask with gausian distribution of given width """
49 """ generate gamma rotation coordinate shift for VxdID mask with gausian distribution of given width """
53 """ generate u coordinate shift for VxdID mask with uniform distribution of given width """
57 """ generate v coordinate shift for VxdID mask with uniform distribution of given width """
61 """ generate w coordinate shift for VxdID mask with uniform distribution of given width """
65 """ generate alpha rotation for VxdID mask with uniform distribution of given width """
69 """ generate beta rotation for VxdID mask with uniform distribution of given width """
73 """ generate gamma rotation coordinate shift for VxdID mask with uniform distribution of given width """
77 """ set u coordinate shift for VxdID """
81 """ set v coordinate shift for VxdID """
85 """ set w coordinate shift for VxdID """
89 """ set alpha angle for VxdID mask """
93 """ set beta angle for VxdID mask """
97 """ set gamma angle for VxdID mask """
101 """ Set all shifts/rotation to given value (usually 0.) for VxdID mask """
102 self.
set_u(vxdid, value)
103 self.
set_v(vxdid, value)
104 self.
set_w(vxdid, value)
def set_w(self, vxdid, value)
def gen_beta_gaus(self, vxdid, value)
alignment
alignment data = list of VxdID mask, param id, generation distribution and value
def set_all(self, vxdid, value)
def set_gamma(self, vxdid, value)
def gen_v_gaus(self, vxdid, value)
def gen_alpha_uniform(self, vxdid, value)
def gen_gamma_gaus(self, vxdid, value)
def set_alpha(self, vxdid, value)
def set_u(self, vxdid, value)
def gen_gamma_uniform(self, vxdid, value)
def gen_beta_uniform(self, vxdid, value)
def gen_u_uniform(self, vxdid, value)
def gen_u_gaus(self, vxdid, value)
def gen_alpha_gaus(self, vxdid, value)
def set_beta(self, vxdid, value)
def gen_w_gaus(self, vxdid, value)
def gen_w_uniform(self, vxdid, value)
def set_v(self, vxdid, value)
def align_sensors(self, vxdid, param_id, distribution, value)
def gen_v_uniform(self, vxdid, value)