 |
Belle II Software
release-05-02-19
|
12 #ifndef SVDZSEMULATOR_H
13 #define SVDZSEMULATOR_H
16 #include <framework/core/Module.h>
17 #include <framework/datastore/StoreArray.h>
18 #include <svd/dataobjects/SVDShaperDigit.h>
19 #include <svd/calibration/SVDNoiseCalibrations.h>
20 #include <framework/datastore/SelectSubset.h>
36 class SVDZeroSuppressionEmulatorModule :
public Module {
48 virtual void event()
override;
SVDNoiseCalibrations m_NoiseCal
SVDNoise calibration db object.
Class to create a subset of a given StoreArray together with the relations with other StoreArrays.
SelectSubset< SVDShaperDigit > m_selectorIN
selector of the subset of the SVDShaperDigit passing ZS
bool m_createOutside
if true a StoreArray of Strips zero-suppressed is created
virtual void event() override
This method is the core of the SVDZeroSuppressionEmulator.
The SVD ShaperDigit class.
StoreArray< SVDShaperDigit > m_storeShaper
store arrays
std::string m_SVDShaperDigitsIN
name of SVDShaperDigits passing ZS
This class defines the dbobject and the method to access SVD calibrations from the noise local runs.
Abstract base class for different kinds of events.
virtual void initialize() override
Initialize the SVDZeroSuppressionEmulator.
float m_cutSN
SN ratio threshold.
int m_nSample
minimum number of samples required to be above threshold
SVDZeroSuppressionEmulatorModule()
Constructor defining the parameters.
bool passesZS(const SVDShaperDigit *)
returns true if the strip passes the ZS cut
SelectSubset< SVDShaperDigit > m_selectorOUT
selector of the subset of the SVDShaperDigit not passing ZS
std::string m_SVDShaperDigitsOUT
name of SVDShaperDigits NOT passing ZS
std::string m_storeShaperDigitsName
Name of the collections to use for the SVDShaperDigits.
bool m_FADCmode
if true, same algorithm as on FADC is applied