Belle II Software development
CountEvents Class Reference
Inheritance diagram for CountEvents:

Public Member Functions

def initialize (self)
 
def event (self)
 

Public Attributes

 num_events
 Stores the total number of events passing this module.
 

Detailed Description

Count the number of events passing this module

Definition at line 15 of file prescale.py.

Member Function Documentation

◆ event()

def event (   self)
Increment number of events each event

Definition at line 23 of file prescale.py.

23 def event(self):
24 """Increment number of events each event"""
25 self.num_events += 1
26
27

◆ initialize()

def initialize (   self)
Start number of events at zero

Definition at line 18 of file prescale.py.

18 def initialize(self):
19 """Start number of events at zero"""
20
21 self.num_events = 0
22

Member Data Documentation

◆ num_events

num_events

Stores the total number of events passing this module.

Definition at line 21 of file prescale.py.


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