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

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.
 
 filename
 File name.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

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?

Definition at line 138 of file constraints.py.

Member Function Documentation

◆ configure_collector()

def configure_collector (   self,
  collector 
)
Propagate the hierarchy configuration to the collector

Reimplemented from Constraints.

Definition at line 157 of file constraints.py.

◆ generate()

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.


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