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

Public Member Functions

def __init__ (self, digits)
 
def initialize (self)
 
def event (self)
 

Public Attributes

 svddigits
 shaper digits
 
 digits
 test digits
 
 samples
 six samples
 
 mode
 mode byte
 
 fadc_time
 FADC time.
 

Detailed Description

Create SVD ShaperDigits

Definition at line 16 of file test_shaperdigit_sorter.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  digits 
)
digits is a list of (sensor, side, strip) for which to generate a digit

Definition at line 19 of file test_shaperdigit_sorter.py.

19  def __init__(self, digits):
20  """digits is a list of (sensor, side, strip) for which to generate a digit"""
21  super().__init__()
22 
23  self.svddigits = Belle2.PyStoreArray("SVDShaperDigits")
24 
25  self.digits = digits
26 
27  self.samples = ROOT.array('unsigned char', 6)()
28 
29  for i, sample in zip(range(6), [0, 0, 12, 18, 12, 8]):
30  self.samples[i] = sample
31 
32  self.mode = Belle2.SVDModeByte(144)
33 
34  self.fadc_time = 0
35 
A (simplified) python wrapper for StoreArray.
Definition: PyStoreArray.h:72
Class to store SVD mode information.
Definition: SVDModeByte.h:69

Member Function Documentation

◆ event()

def event (   self)
event

Definition at line 41 of file test_shaperdigit_sorter.py.

◆ initialize()

def initialize (   self)
initialize

Definition at line 36 of file test_shaperdigit_sorter.py.


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