 |
Belle II Software
release-05-02-19
|
13 #include <framework/core/HistoModule.h>
26 enum { c_NChannelPerAsic = 8, c_NModule = 16, c_NChannelPerPMT = 16,
27 c_NChannelPerPMTRow = 4, c_NPMTPerRow = 16,
28 c_NPMTPerModule = 32, c_NPixelPerRow = 64, c_NPixelPerModule = 512
37 class TOPLaserHitSelectorModule :
public HistoModule {
74 virtual void event()
override;
80 virtual void endRun()
override;
TH2F * m_TimeIntegralHistogramForFit[c_NPixelPerModule *c_NModule]
array of histogram pointer to 2D histogram of hit timing vs integral distribution for each pixel (all...
int m_windowSelect
select window number is [All=0, Odd=2, Even=1]
virtual ~TOPLaserHitSelectorModule()
Destructor.
virtual void event() override
Event processor.
virtual void terminate() override
Termination action.
float m_calibrationPulseThreshold2
minimum pulse height for the secon calibration pulse to be qualified as calibration signals
float m_calibrationPulseInterval
nominal DeltaT value (time interval of two calibration signals) in a unit of ns
virtual void beginRun() override
Called when entering a new run.
bool m_useDoublePulse
set true when you require both of double calibration pulses for reference timing
TH2F * m_TimeHeightHistogramForHitRate[c_NPixelPerModule *c_NModule]
array of histogram pointer to 2D histogram of hit timing vs pulse height distribution for each pixel ...
virtual void endRun() override
End-of-run action.
Abstract base class for different kinds of events.
TH2F * m_TimeHeightHistogramForFit[c_NPixelPerModule *c_NModule]
array of histogram pointer to 2D histogram of hit timing vs pulse height distribution for each pixel ...
float m_calibrationPulseThreshold1
minimum pulse height for the first calibration pulse to be qualified as calibration signals
bool m_includeAllChargeShare
set true when you require without chargeshare cut for making 2D histogram
bool m_includePrimaryChargeShare
set true when you require without chargeshare cut for making 2D histogram
TH1F * m_nCalPulseHistogram
histogram to store the number of events with calibration pulse(s) identified for each asic (1,...
virtual void initialize() override
Initialize the Module.
virtual void defineHisto() override
create timing-height 2D histograms for all 8192 pixels
std::vector< int > m_chargeHistogramBinning
histogram binning of pulse height distribution, in the order of number of bins, lower limit,...
float m_calibrationPulseIntervalRange
tolerable shift of DeltaT from its nominal before calibration in a unit of ns
TOPLaserHitSelectorModule()
Constructor.
std::vector< int > m_timeHistogramBinning
histogram binning of hit timing distribution, in the order of number of bins, lower limit,...