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

Public Member Functions

def initialize (self)
 
def event (self)
 

Detailed Description

Returns 1 if current event contains at least one SVDSimHit or one
   SVD-related BeamBackHit, 0 otherwise

Definition at line 18 of file clean_bg_file.py.

Member Function Documentation

◆ event()

def event (   self)
reimplementation of Module::event().

Definition at line 26 of file clean_bg_file.py.

26  def event(self):
27  """reimplementation of Module::event()."""
28 
29  self.return_value(0)
30  simhits = Belle2.PyStoreArray('SVDSimHits')
31  bghits = Belle2.PyStoreArray('BeamBackHits')
32  if len(simhits) > 0 or len(bghits) > 0:
33  self.return_value(1)
34 
35 
A (simplified) python wrapper for StoreArray.
Definition: PyStoreArray.h:72

◆ initialize()

def initialize (   self)
reimplementation of Module::initialize().

Definition at line 23 of file clean_bg_file.py.


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