Belle II Software development
|
Public Member Functions | |
def | __init__ (self, type=2, pxd=True, svd=True) |
def | configure_collector (self, collector) |
def | generate (self) |
Public Attributes | |
type | |
Constraint type. | |
pxd | |
Flag for PXD. | |
svd | |
Flag for SVD. | |
Constraints for VXD hierarchy They come in 3 types: 0 : no hierarchy, just sensors aligned in their local system 1 : sensors -> half-shells (no ladders) 2 : sensors -> ladders ->half-shells (aka full hierarchy) and additionally can use them for PXD, SVD or both (default) (setting pxd/svd to False will disable the hierarchy for that sub-detector) NOTE: the filename cannot be currently changed, it is hard-coded in the collector module as these constraints are actually generated by C++ code and not by python modules as others.
Definition at line 121 of file constraints.py.
def __init__ | ( | self, | |
type = 2 , |
|||
pxd = True , |
|||
svd = True |
|||
) |
Initialize type : int Type of constraints (0 - no, 1 - half-shells, 2 -full) pxd : bool Use constraints for PXD? svd : bool Use constraints for SVD?
Reimplemented from Constraints.
Definition at line 138 of file constraints.py.
def configure_collector | ( | self, | |
collector | |||
) |
Propagate the hierarchy configuration to the collector
Reimplemented from Constraints.
Definition at line 157 of file constraints.py.
def generate | ( | self | ) |
Generate the constraints - does nothing. The collector will make the job
Reimplemented from Constraints.
Definition at line 165 of file constraints.py.
pxd |
Flag for PXD.
Definition at line 153 of file constraints.py.
svd |
Flag for SVD.
Definition at line 155 of file constraints.py.
type |
Constraint type.
Definition at line 151 of file constraints.py.