Makes histograms from TOPDigits
Definition at line 52 of file checkCalpulse.py.
◆ event()
event processing: fill histograms
Definition at line 74 of file checkCalpulse.py.
75 ''' event processing: fill histograms '''
78 if digit.getHitQuality() == 0:
80 if cal_channel
is not None and digit.getASICChannel() != cal_channel:
82 if time_cut_lo
is not None and digit.getTime() < time_cut_lo:
84 if time_cut_hi
is not None and digit.getTime() > time_cut_hi:
86 self.height_vs_width.Fill(digit.getPulseWidth(), digit.getPulseHeight())
87 self.height_vs_sample.Fill(digit.getModulo256Sample(), digit.getPulseHeight())
88 if digit.getPulseHeight() > 100:
89 self.width_vs_sample.Fill(digit.getModulo256Sample(), digit.getPulseWidth())
90 self.time.Fill(digit.getTime())
91 self.asic_channels.Fill(digit.getASICChannel())
A (simplified) python wrapper for StoreArray.
◆ initialize()
initialize: open root file, book histograms
Definition at line 55 of file checkCalpulse.py.
◆ terminate()
terminate: write histograms and close the file
Definition at line 93 of file checkCalpulse.py.
◆ height_vs_sample
histogram of pulse height vs.
sample number
Definition at line 64 of file checkCalpulse.py.
◆ height_vs_width
◆ width_vs_sample
histogram of pulse width vs.
sample number
Definition at line 67 of file checkCalpulse.py.
The documentation for this class was generated from the following file: