Module to make some monitor plots for TSF
Definition at line 46 of file monitor_module.py.
◆ event()
event function
Definition at line 66 of file monitor_module.py.
73 for simhit
in self.simhits:
74 if simhit.getISuperLayer() % 2 == 0:
75 iax, iw = simhit.getISuperLayer() // 2, simhit.getIWire()
76 if simhit.getPriorityPosition() == 1:
78 if iw == nWiresInLayer[iax]:
81 in_tsim[simhit.getSegmentID()] = 1
82 for hit
in self.tshits:
83 ind = hit.getSegmentID()
87 iax, iw = hit.getISuperLayer() // 2, hit.getIWire()
88 if hit.getPriorityPosition() == 1:
90 if iw == nWiresInLayer[iax]:
96 hno_ghost.Fill(iax, iw)
99 hlr.Fill(hit.getLeftRight())
100 hpri.Fill(hit.getPriorityPosition())
101 hpritime.Fill(hit.priorityTime())
102 hftime.Fill(hit.foundTime())
◆ initialize()
◆ terminate()
The documentation for this class was generated from the following file: