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

Public Member Functions

def __init__ (self, scale, scale2=0.)
 

Public Attributes

 scale2
 second scale for 1/r member
 

Protected Member Functions

def _transform (self, r, phi, z)
 

Detailed Description

 Curl 

Definition at line 83 of file misalignment.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  scale,
  scale2 = 0. 
)
 init with scale, optionally scale2 for 1/r dependency 

Reimplemented from GlobalDeformation.

Definition at line 86 of file misalignment.py.

86 def __init__(self, scale, scale2=0.):
87 """ init with scale, optionally scale2 for 1/r dependency """
88
89
90 self.scale2 = scale2
91 super().__init__(scale)
92

Member Function Documentation

◆ _transform()

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

Reimplemented from GlobalDeformation.

Definition at line 93 of file misalignment.py.

93 def _transform(self, r, phi, z):
94 """ the transformation """
95 return [0., self.scale * r + self.scale2 / r, 0.]
96
97

Member Data Documentation

◆ scale2

scale2

second scale for 1/r member

Definition at line 90 of file misalignment.py.


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