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

Public Member Functions

def initialize (self)
 
def param (self, params)
 
def event (self)
 

Public Attributes

 filterarrayname
 
 lowerthan
 
 higherthan
 

Detailed Description

Definition at line 48 of file neurotrigger.py.

Member Function Documentation

◆ event()

def event (   self)

Definition at line 58 of file neurotrigger.py.

58 def event(self):
59 lower = self.lowerthan == 0 or bool(len(Belle2.PyStoreArray(self.filterarrayname)) < self.lowerthan)
60 higher = bool(len(Belle2.PyStoreArray(self.filterarrayname)) > self.higherthan)
61 self.return_value(lower and higher)
62
63
A (simplified) python wrapper for StoreArray.
Definition: PyStoreArray.h:72

◆ initialize()

def initialize (   self)

Definition at line 49 of file neurotrigger.py.

49 def initialize(self):
50 self.filterarrayname = "RecoTracks"
51 self.lowerthan = 0
52 self.higherthan = -1
53

◆ param()

def param (   self,
  params 
)

Definition at line 54 of file neurotrigger.py.

54 def param(self, params):
55 for key, value in params.items():
56 setattr(self, key, value)
57

Member Data Documentation

◆ filterarrayname

filterarrayname

Definition at line 50 of file neurotrigger.py.

◆ higherthan

higherthan

Definition at line 52 of file neurotrigger.py.

◆ lowerthan

lowerthan

Definition at line 51 of file neurotrigger.py.


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