Belle II Software development
|
Public Member Functions | |
def | __init__ (self, filename) |
def | generate (self) |
def | configure_collector (self, collector) |
Public Attributes | |
filename | |
File name. | |
Base class representing a "generator" for file with set of constraints Can be used directly if you already have a file with constraints.
Definition at line 59 of file constraints.py.
def __init__ | ( | self, | |
filename | |||
) |
filename : str Desired filename for the constraint file
Reimplemented in CDCLayerConstraints, CDCTimeZerosConstraint, CDCWireConstraints, and VXDHierarchyConstraints.
Definition at line 66 of file constraints.py.
def configure_collector | ( | self, | |
collector | |||
) |
Can be overriden be child classes to pass additional configuration to the MillepedeCollector (activated by the use of the constraints)
Reimplemented in VXDHierarchyConstraints, and CDCWireConstraints.
Definition at line 83 of file constraints.py.
def generate | ( | self | ) |
Should be overriden by the deriving classes and actually fill the dictionary with the constraints (this runs withing a basf2 module event function - so you have geometry available)
Reimplemented in VXDHierarchyConstraints, CDCLayerConstraints, CDCTimeZerosConstraint, and CDCWireConstraints.
Definition at line 74 of file constraints.py.
filename |
File name.
Definition at line 72 of file constraints.py.