13 """ Class to generate data for AlignmentGenerator module
14 Can be used to train VXD misalignment by storing wrong alignment
15 and trying to reach nominal values (zeros)
24 """ get object name """
28 """ get alignment data """
32 """ align sensors by VxdID pattern """
33 self.
alignment.append(str(vxdid +
',' + str(param_id) +
',' + distribution +
',' + str(value)))
36 """ generate u coordinate shift for VxdID mask with gausian distribution of given width """
40 """ generate v coordinate shift for VxdID mask with gausian distribution of given width """
44 """ generate w coordinate shift for VxdID mask with gausian distribution of given width """
48 """ generate alpha rotation for VxdID mask with gausian distribution of given width """
52 """ generate beta rotation for VxdID mask with gausian distribution of given width """
56 """ generate gamma rotation coordinate shift for VxdID mask with gausian distribution of given width """
60 """ generate u coordinate shift for VxdID mask with uniform distribution of given width """
64 """ generate v coordinate shift for VxdID mask with uniform distribution of given width """
68 """ generate w coordinate shift for VxdID mask with uniform distribution of given width """
72 """ generate alpha rotation for VxdID mask with uniform distribution of given width """
76 """ generate beta rotation for VxdID mask with uniform distribution of given width """
80 """ generate gamma rotation coordinate shift for VxdID mask with uniform distribution of given width """
84 """ set u coordinate shift for VxdID """
88 """ set v coordinate shift for VxdID """
92 """ set w coordinate shift for VxdID """
96 """ set alpha angle for VxdID mask """
100 """ set beta angle for VxdID mask """
104 """ set gamma angle for VxdID mask """
108 """ Set all shifts/rotation to given value (usually 0.) for VxdID mask """
109 self.
set_u(vxdid, value)
110 self.
set_v(vxdid, value)
111 self.
set_w(vxdid, value)
basf2 (Belle II Analysis Software Framework) # Author: The Belle II Collaboration # # See git log for...
def set_gamma(self, vxdid, value)
def gen_u_uniform(self, vxdid, value)
def gen_alpha_uniform(self, vxdid, value)
def gen_alpha_gaus(self, vxdid, value)
def gen_w_gaus(self, vxdid, value)
def set_v(self, vxdid, value)
def gen_gamma_gaus(self, vxdid, value)
def gen_beta_gaus(self, vxdid, value)
def align_sensors(self, vxdid, param_id, distribution, value)
alignment
alignment data = list of VxdID mask, param id, generation distribution and value
def gen_v_uniform(self, vxdid, value)
def gen_gamma_uniform(self, vxdid, value)
def gen_v_gaus(self, vxdid, value)
def set_all(self, vxdid, value)
def set_w(self, vxdid, value)
def set_u(self, vxdid, value)
def gen_w_uniform(self, vxdid, value)
def set_beta(self, vxdid, value)
def gen_u_gaus(self, vxdid, value)
def set_alpha(self, vxdid, value)
def gen_beta_uniform(self, vxdid, value)