 |
Belle II Software
release-05-02-19
|
13 #include <framework/core/Module.h>
15 #include <framework/datastore/StoreArray.h>
16 #include <top/dataobjects/TOPDigit.h>
31 class TOPXTalkChargeShareSetterModule :
public Module {
37 enum { c_NPixelsPerRow = 64 };
54 virtual void event()
override;
57 virtual void endRun()
override;
70 bool isCrossTalk(std::vector<short> wfm,
int iRawTime,
short height);
bool m_checkPreValleyForXTalkId
require existence of pre-valley.
bool m_sumChargeShare
sum charge of PrimaryChargeShare and SecondaryChargeShare
virtual void event() override
event
virtual void endRun() override
endRun
int m_2ndPeakAmplitudeLoose
loose threshold for amplitude of the second peak [ADC counts] for cross talk identification.
double m_2ndPeakAmplitudeRatioTight
tight threshold for amplitude ratio of the second peak to the main peak height [ADC counts]
virtual void initialize() override
initialize
TOPXTalkChargeShareSetterModule()
Constructor: Sets the description, the properties and the parameters of the module.
virtual ~TOPXTalkChargeShareSetterModule() override
destructor
virtual void terminate() override
terminate
Abstract base class for different kinds of events.
bool m_checkPostValleyForXTalkId
require existence of post-valley and 2nd peak.
bool isCrossTalk(std::vector< short > wfm, int iRawTime, short height)
Examine whether the give hit is cross talk hits using waveform information Thresholds for such as pre...
virtual void beginRun() override
beginRun
int m_preValleyDepthTight
tight threshold for depth of pre valley [ADC counts], identified as cross talk with loose threshold f...
double m_nCrossTalkRingingSamples
the number of samples to identify the hit as a cross talk hit when there is another cross talk hit in...
int m_nSampleAfter
the number of samples by which the second peak should exist from the CFD timing, used for cross talk ...
int m_preValleyDepthLoose
loose threshold for depth of pre valley [ADC counts], for corss talk identification
int m_nSampleBefore
the number of samples by which the pre-valley should exist from the CFD timing, used for cross talk i...
float m_timeCut
cut range of hittiming for chargeshare