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

Public Member Functions

def __init__ (self)
 
def event (self)
 

Public Attributes

 digitParams
 ecl digit parameters
 

Detailed Description

Adds ECLDigits with very large/small time/amplitude values

Definition at line 33 of file ecl_packer_unpacker.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)
constructor

Definition at line 38 of file ecl_packer_unpacker.py.

38  def __init__(self):
39  """constructor"""
40  super().__init__()
41  amps = [0, 1, 100000, 262015]
42  times = [-2048, -100, 0, 100, 2047]
43  qualitys = [0, 1, 2, 3]
44  chis = [0, 1, 254, 511]
45  paramNames = ["amp", "time", "quality", "chi"]
46 
47  self.digitParams = [dict(zip(paramNames, params)) for params in itertools.product(amps, times, qualitys, chis)]
48 

Member Function Documentation

◆ event()

def event (   self)
event function

Definition at line 49 of file ecl_packer_unpacker.py.


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