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

Public Member Functions

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

Public Attributes

 tracksegmentsname = hwneuroinputsegmenthits,
 
 twodtracksname = hwneuroinput2dfindertracks,
 
 neurotracksname = hwneurotracks,
 
str recotracksname = "RecoTracks"
 
 nullpath = basf2.create_path()
 

Detailed Description

Definition at line 71 of file neurotrigger.py.

Member Function Documentation

◆ event()

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

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.

◆ initialize()

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

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 = hwneurotracks,

Definition at line 75 of file neurotrigger.py.

◆ nullpath

nullpath = basf2.create_path()

Definition at line 77 of file neurotrigger.py.

◆ recotracksname

str recotracksname = "RecoTracks"

Definition at line 76 of file neurotrigger.py.

◆ tracksegmentsname

tracksegmentsname = hwneuroinputsegmenthits,

Definition at line 73 of file neurotrigger.py.

◆ twodtracksname

twodtracksname = hwneuroinput2dfindertracks,

Definition at line 74 of file neurotrigger.py.


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