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

Public Member Functions

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

Public Attributes

str filterarrayname = "RecoTracks"
 
int lowerthan = 0
 
int higherthan = -1
 

Detailed Description

Definition at line 48 of file neurotrigger.py.

Member Function Documentation

◆ event()

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.

◆ initialize()

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()

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

str filterarrayname = "RecoTracks"

Definition at line 50 of file neurotrigger.py.

◆ higherthan

int higherthan = -1

Definition at line 52 of file neurotrigger.py.

◆ lowerthan

int lowerthan = 0

Definition at line 51 of file neurotrigger.py.


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