Belle II Software  release-08-01-10
GlobalDeformation Class Reference
Inheritance diagram for GlobalDeformation:

Public Member Functions

def __init__ (self, scale)
 
def __call__ (self, xyz)
 

Public Attributes

 scale
 scaling parameter of the deformation
 

Private Member Functions

def _transform (self, r, phi, z)
 
def _xyz_to_rphiz (self, xyz)
 
def _rphiz_to_xyz (self, rphiz)
 

Detailed Description

Base class to calculate global deformation of the detector

Definition at line 19 of file misalignment.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  scale 
)
 Constructor, sets the scale of the transformation 

Reimplemented in ZExpansion, Twist, Bowing, Skew, Clamshell, Elliptical, Telescope, and RadialExpansion.

Definition at line 24 of file misalignment.py.

24  def __init__(self, scale):
25  """ Constructor, sets the scale of the transformation """
26 
27 
28  self.scale = scale
29 

Member Function Documentation

◆ __call__()

def __call__ (   self,
  xyz 
)
 Return TVector3 with difference in global position induced by the deformation,
given the original x,y,z position as TVector3 or a list with length of 3.

Definition at line 30 of file misalignment.py.

◆ _rphiz_to_xyz()

def _rphiz_to_xyz (   self,
  rphiz 
)
private
 Convert (r,phi,z) to (x,y,z) 

Definition at line 62 of file misalignment.py.

◆ _transform()

def _transform (   self,
  r,
  phi,
  z 
)
private
 Fcn to be overriden by child classes, return vector (list of 3 numbers) of displacement 

Reimplemented in ZExpansion, Twist, Bowing, Skew, Clamshell, Elliptical, Telescope, Curl, and RadialExpansion.

Definition at line 48 of file misalignment.py.

◆ _xyz_to_rphiz()

def _xyz_to_rphiz (   self,
  xyz 
)
private
 Convert (x,y,z) to (r,phi,z) 

Definition at line 51 of file misalignment.py.


The documentation for this class was generated from the following file: