Belle II Software development
Elliptical Class Reference
Inheritance diagram for Elliptical:
GlobalDeformation

Public Member Functions

def __init__ (self, scale)
 

Protected Member Functions

def _transform (self, r, phi, z)
 

Detailed Description

 Elliptical distortion 

Definition at line 110 of file misalignment.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  scale 
)
 init 

Reimplemented from GlobalDeformation.

Definition at line 113 of file misalignment.py.

113 def __init__(self, scale):
114 """ init """
115 super().__init__(scale)
116

Member Function Documentation

◆ _transform()

def _transform (   self,
  r,
  phi,
  z 
)
protected
 the transformation 

Reimplemented from GlobalDeformation.

Definition at line 117 of file misalignment.py.

117 def _transform(self, r, phi, z):
118 """ the transformation """
119 import math
120 return [self.scale * 1. / 2. * math.cos(2 * phi) * r, 0., 0.]
121
122

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