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

Public Member Functions

def __init__ (self, filename)
 
def generate (self)
 
def configure_collector (self, collector)
 

Public Attributes

 filename
 File name.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  filename 
)
filename : str
  Desired filename for the constraint file

Reimplemented in CDCTimeZerosConstraint.

Definition at line 66 of file constraints.py.

Member Function Documentation

◆ configure_collector()

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 CDCWireConstraints, and VXDHierarchyConstraints.

Definition at line 83 of file constraints.py.

◆ generate()

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 CDCWireConstraints, CDCTimeZerosConstraint, CDCLayerConstraints, and VXDHierarchyConstraints.

Definition at line 74 of file constraints.py.


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