10#ifndef SVDZSEMULATOR_H
11#define SVDZSEMULATOR_H
14#include <framework/core/Module.h>
15#include <framework/datastore/StoreArray.h>
16#include <svd/dataobjects/SVDShaperDigit.h>
17#include <svd/calibration/SVDNoiseCalibrations.h>
18#include <framework/datastore/SelectSubset.h>
43 virtual void event()
override;
This class defines the dbobject and the method to access SVD calibrations from the noise local runs.
The SVD ShaperDigit class.
This module filters out strips that do not pass a ZS cut from the SVDShaperDigit StoreArray.
SelectSubset< SVDShaperDigit > m_selectorIN
selector of the subset of the SVDShaperDigit passing ZS
bool m_FADCmode
if true, same algorithm as on FADC is applied
virtual void initialize() override
Initialize the SVDZeroSuppressionEmulator.
std::string m_storeShaperDigitsName
Name of the collections to use for the SVDShaperDigits.
virtual void event() override
This method is the core of the SVDZeroSuppressionEmulator.
SVDNoiseCalibrations m_NoiseCal
SVDNoise calibration db object.
float m_cutSN
SN ratio threshold.
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
SVDZeroSuppressionEmulatorModule()
Constructor defining the parameters.
int m_nSample
minimum number of samples required to be above threshold
bool m_createOutside
if true a StoreArray of Strips zero-suppressed is created
StoreArray< SVDShaperDigit > m_storeShaper
store arrays
std::string m_SVDShaperDigitsOUT
name of SVDShaperDigits NOT passing ZS
std::string m_SVDShaperDigitsIN
name of SVDShaperDigits passing ZS
Class to create a subset of a given StoreArray together with the relations with other StoreArrays.
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.