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

Public Member Functions

def initialize (self)
 
def event (self)
 
def hastrginfo (self)
 
def neurotrack_allgoodquality (self)
 

Public Attributes

 tracksegmentsname
 
 twodtracksname
 
 neurotracksname
 
 recotracksname
 
 nullpath
 

Detailed Description

Definition at line 71 of file neurotrigger.py.

Member Function Documentation

◆ event()

def event (   self)

Definition at line 79 of file neurotrigger.py.

79 def event(self):
80 self.return_value(bool(self.neurotrack_allgoodquality()))
81 self.if_false(self.nullpath)
82

◆ hastrginfo()

def hastrginfo (   self)

Definition at line 83 of file neurotrigger.py.

83 def hastrginfo(self):
84 return bool(Belle2.PyStoreArray(self.twodtracksname).getEntries() > 0)
85
A (simplified) python wrapper for StoreArray.
Definition: PyStoreArray.h:72

◆ initialize()

def initialize (   self)

Definition at line 72 of file neurotrigger.py.

72 def initialize(self):
73 self.tracksegmentsname = hwneuroinputsegmenthits,
74 self.twodtracksname = hwneuroinput2dfindertracks,
75 self.neurotracksname = hwneurotracks,
76 self.recotracksname = "RecoTracks"
77 self.nullpath = basf2.create_path()
78

◆ neurotrack_allgoodquality()

def neurotrack_allgoodquality (   self)

Definition at line 86 of file neurotrigger.py.

86 def neurotrack_allgoodquality(self):
87 isgoodquality = True
88 for tr in Belle2.PyStoreArray("CDCTriggerNeuroTracks"):
89 if tr.getQualityVector() > 0:
90 isgoodquality = False
91 break
92 return isgoodquality
93
94

Member Data Documentation

◆ neurotracksname

neurotracksname

Definition at line 75 of file neurotrigger.py.

◆ nullpath

nullpath

Definition at line 77 of file neurotrigger.py.

◆ recotracksname

recotracksname

Definition at line 76 of file neurotrigger.py.

◆ tracksegmentsname

tracksegmentsname

Definition at line 73 of file neurotrigger.py.

◆ twodtracksname

twodtracksname

Definition at line 74 of file neurotrigger.py.


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