 |
Belle II Software
release-05-01-25
|
10 #include <reconstruction/modules/EventsOfDoomBuster/EventsOfDoomBusterModule.h>
12 #include <framework/logging/Logger.h>
21 Module that flags an event destined for doom at reconstruction,
22 * based on the size of selected hits/digits containers after the unpacking.
23 * This is meant to be registered in the path *after* the unpacking, but *before* reconstruction.
26 addParam("nCDCHitsMax", m_nCDCHitsMax,
27 R
"DOC(the max number of CDC hits for an event to be kept for reconstruction.
28 By default, no events are skipped based upon this requirement.)DOC", m_nCDCHitsMax);
29 addParam("nSVDShaperDigitsMax", m_nSVDShaperDigitsMax,
30 R
"DOC(the max number of SVD shaper digits for an event to be kept for reconstruction.
31 By default, no events are skipped based upon this requirement.)DOC", m_nSVDShaperDigitsMax);
33 setPropertyFlags(c_ParallelProcessingCertified);
51 B2DEBUG(20,
"Event: " <<
m_eventInfo->getEvent() <<
" - nCDCHits: " << nCDCHits <<
", nSVDShaperDigits: " << nSVDShaperDigits);
57 B2ERROR(
"Skip event --> Too much occupancy for reco!" <<
61 LogVar(
"nCDCHits", nCDCHits) <<
66 B2ERROR(
"Skip event --> Too much occupancy for reco!" <<
70 LogVar(
"nSVDShaperDigits", nSVDShaperDigits) <<
StoreObjPtr< EventMetaData > m_eventInfo
Event Meta Data Store ObjPtr.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
StoreArray< SVDShaperDigit > m_svdShaperDigits
SVDShaperDigits StoreArray.
void initialize() final
Module initializer.
unsigned int m_nSVDShaperDigitsMax
The max number of SVD shaper digits for an event to be kept for reconstruction.
Abstract base class for different kinds of events.
StoreArray< CDCHit > m_cdcHits
CDCHits StoreArray.
Module that flags an event destined for doom at reconstruction, based on the size of selected hits/di...
Class to store variables with their name which were sent to the logging service.
unsigned int m_nCDCHitsMax
The max number of CDC hits for an event to be kept for reconstruction.
void setReturnValue(int value)
Sets the return value for this module as integer.
virtual ~EventsOfDoomBusterModule() final
Default Destructor.
void event() final
Flag each event.