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

Public Member Functions

def __init__ (self, filename='cdc-constraints.txt', rigid=True, twist=True, z_offset=False, r_scale=False, z_scale=False)
 
def generate (self)
 
def configure_collector (self, collector)
 

Public Attributes

 rigid
 6D CDC constraints
 
 twist
 CDC twist constraint.
 
 z_offset
 Constraint for z-offset.
 
 r_scale
 Constraint for r-scale.
 
 z_scale
 Constraint for z-scale.
 
 filename
 File name.
 

Static Public Attributes

list cdc
 CDC geometry hard-code -> TODO. More...
 
list parameter
 layer parameters More...
 

Detailed Description

Various constraints for CDC layers

(Code from Claus Kleinwort)

Definition at line 173 of file constraints.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  filename = 'cdc-constraints.txt',
  rigid = True,
  twist = True,
  z_offset = False,
  r_scale = False,
  z_scale = False 
)
filename : str
  Filename with constraints (probably generated later)
rigid : bool
  5D CDC constraints: x+y+rot + dx+dy
twist : bool
  CDC twist constraint: drot
z_offset : bool
  Constraint for Z-offset
r_scale : bool
  Constraint for R-scale
z_scale : bool
  Constraint for Z-scale

Definition at line 195 of file constraints.py.

Member Function Documentation

◆ configure_collector()

def configure_collector (   self,
  collector 
)
inherited
Can be overriden be child classes to pass additional configuration to the
MillepedeCollector (activated by the use of the constraints)

Reimplemented in CDCWireConstraints, and VXDHierarchyConstraints.

Definition at line 83 of file constraints.py.

◆ generate()

def generate (   self)
Generate constraints from CDC geometry

Reimplemented from Constraints.

Definition at line 222 of file constraints.py.

Member Data Documentation

◆ cdc

list cdc
static
Initial value:
= [['A1', 8, 160, 16.80, 23.80, 0., -35.9, 67.9],
['U2', 6, 160, 25.70, 34.80, 0.068, -51.4, 98.6],
['A3', 6, 192, 36.52, 45.57, 0., -57.5, 132.9],
['V4', 6, 224, 47.69, 56.69, -0.060, -59.6, 144.7],
['A5', 6, 256, 58.41, 67.41, 0., -61.8, 146.8],
['U6', 6, 288, 69.53, 78.53, 0.064, -63.9, 148.9],
['A7', 6, 320, 80.25, 89.25, 0., -66.0, 151.0],
['V8', 6, 352, 91.37, 100.37, -0.072, -68.2, 153.2],
['A9', 6, 384, 102.00, 111.14, 0., -70.2, 155.3]]

CDC geometry hard-code -> TODO.

Definition at line 181 of file constraints.py.

◆ parameter

list parameter
static
Initial value:
= [(1, 'x-offset bwd'), (2, 'y-offset bwd'), (6, 'z-rotation bwd'),
(11, 'x-offset fwd-bwd'), (12, 'y-offset fwd-bwd'), (16, 'z-rotation fwd-bwd')]

layer parameters

Definition at line 192 of file constraints.py.


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