9#include <svd/modules/svdReconstruction/SVDStripMaskingModule.h>
25 setDescription(
"Remove from the SVDShaperDigit list the hot strips read in the SVDHotStripsCalibrations from the DB.");
29 "ShaperDigits collection name",
string(
""));
31 "Good ShaperDigits collection name, kept",
string(
""));
33 "ShaperDigits collection name",
string(
""));
35 "create the StoreArray of hot strips",
bool(
false));
40SVDStripMaskingModule::~SVDStripMaskingModule()
71 B2DEBUG(27,
" shaper digits = " <<
m_storeShaper.getEntries() <<
75 B2DEBUG(27,
" shaper digits = " <<
m_storeShaper.getEntries() <<
void setDescription(const std::string &description)
Sets the description of the module.
void setPropertyFlags(unsigned int propertyFlags)
Sets the flags for the module properties.
@ c_ParallelProcessingCertified
This module can be run in parallel processing mode safely (All I/O must be done through the data stor...
float isHot(const VxdID &sensorID, const bool &isU, const unsigned short &strip) const
This is the method for getting the offline list of bad strips to be masked.
The SVD ShaperDigit class.
VxdID getSensorID() const
Get the sensor ID.
short int getCellID() const
Get strip ID.
bool isUStrip() const
Get strip direction.
std::string m_SVDShaperDigitsMasked
masked SVDShaperDigits name
SelectSubset< SVDShaperDigit > m_selectorIN
selector of the subset of the good SVDShaperDigit
virtual void initialize() override
Initialize the SVDStripMasking.
std::string m_storeShaperDigitsName
Name of the collections to use for the SVDShaperDigits.
virtual void event() override
This method is the core of the SVDStripMasking.
SelectSubset< SVDShaperDigit > m_selectorOUT
selector of the subset of the hot SVDShaperDigit
SVDHotStripsCalibrations m_HotStripsCalib
SVDHotStrips calibration db object.
std::string m_SVDShaperDigitsUnmasked
unmasked (good) SVDShaperDigits name
bool m_createOutside
if true a StoreArray of Hot Strips is created
StoreArray< SVDShaperDigit > m_storeShaper
store arrays
SVDStripMaskingModule()
Constructor defining the parameters.
Accessor to arrays stored in the data store.
void addParam(const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue)
Adds a new parameter to the module.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
Abstract base class for different kinds of events.