Belle II Software development
ZeroDriftLengthStrokeWidthMap Class Reference
Inheritance diagram for ZeroDriftLengthStrokeWidthMap:
CDCHitStrokeWidthMap

Public Member Functions

def __call__ (self, iCDCHit, cdcHit)
 

Detailed Description

CDCHit to stroke width map highlighting the CDCHits with 0 drift length.

Definition at line 91 of file attributemaps.py.

Member Function Documentation

◆ __call__()

def __call__ (   self,
  iCDCHit,
  cdcHit 
)
Function call to map the CDCHit id and object to a stroke width.

Reimplemented from CDCHitStrokeWidthMap.

Definition at line 97 of file attributemaps.py.

97 def __call__(self, iCDCHit, cdcHit):
98 """
99 Function call to map the CDCHit id and object to a stroke width.
100 """
101
102 wirehit = Belle2.TrackFindingCDC.CDCWireHit(cdcHit)
103 if wirehit.getRefDriftLength() == 0.0:
104 return 1
105 else:
106 return 0.2
107
108
Class representing a hit wire in the central drift chamber.
Definition: CDCWireHit.h:55

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