![]() |
Belle II Software
release-05-02-19
|


Public Member Functions | |
| def | __init__ (self, filename='cdc-wire-constraints.txt', layers=None, layer_rigid=True, layer_radius=False, cdc_radius=False) |
| def | configure_collector (self, collector) |
| def | get_label (self, layer, wire, parameter) |
| def | generate (self) |
Public Attributes | |
| layers | |
| List of layers for whose wires to generate the constraints. More... | |
| layer_rigid | |
| 6 x 56 (6/layer) constraints. More... | |
| layer_radius | |
| 2 x 56 constraints: Sum(dr)=0 for all wires in each layer at each end-plate -> layer radius kept same by this constraint (1 per layer) | |
| cdc_radius | |
| 2 Constraints: Sum(dr)=0 for all wires in CDC at each end-plate -> "average CDC radius" kept same by this constraint (1 per CDC) | |
| filename | |
| File name. More... | |
Static Public Attributes | |
| list | wires_in_layer |
| CDC layer/wire configuration. More... | |
Various constraints for CDC wires (w.r.t. layers)
Definition at line 363 of file constraints.py.
| def __init__ | ( | self, | |
filename = 'cdc-wire-constraints.txt', |
|||
layers = None, |
|||
layer_rigid = True, |
|||
layer_radius = False, |
|||
cdc_radius = False |
|||
| ) |
Initialize constraint Parameters ---------- filename : str Can override the default file name layers : list (int) List of layer numbers for which to generate the constraints (default is 0..55) layer_rigid : bool 6 constraints - fix sum of shifts of wire ends in x/y/rotation at fwd/bwd end-plate layer_radius : bool 2 constraints to fix average change of layer radius (wires in layer moving away from origin) cdc_radius : bool 1 constraint - fix average change in CDC radius from all wires
Definition at line 380 of file constraints.py.
| def configure_collector | ( | self, | |
| collector | |||
| ) |
Enables wire-by-wire derivatives in collector
Reimplemented from Constraints.
Definition at line 415 of file constraints.py.
| def generate | ( | self | ) |
| def get_label | ( | self, | |
| layer, | |||
| wire, | |||
| parameter | |||
| ) |
Return GlobalLabel for wire parameter
Definition at line 421 of file constraints.py.
|
inherited |
File name.
filename : str Desired filename for the constraint file
Definition at line 67 of file constraints.py.
| layer_rigid |
6 x 56 (6/layer) constraints.
Sum(dX_B/dY_B/drot_B/dX_FB/dY_FB/drot_FB)=0 for all wires in each layer -> removes the basic unconstrained DoF when aligning wires and layers simultaneously. Average shift and rotation of wires in layer (at each end-plate) = 0. -> coherent movements of wires absorbed in layer parameters
Definition at line 407 of file constraints.py.
| layers |
List of layers for whose wires to generate the constraints.
None = all layers
Definition at line 402 of file constraints.py.
|
static |
CDC layer/wire configuration.
Definition at line 369 of file constraints.py.