9#include <framework/core/CreateConsistencyInfoModule.h>
24 setDescription(
"This module checks if events that will be merged are consistent (otherwise events will be skipped later).");
29CreateConsistencyInfoModule::~CreateConsistencyInfoModule() =
default;
41 B2WARNING(
"EventExtraInfo does not exist in both paths. Cannot check events for consistency.");
45 B2ERROR(
"Only available options for consistency check are 'charge' or no check at all.");
57 B2ERROR(
"No EventExtraInfo 'charge' found.");
64 if (charge_main == charge_indep) {
69 if (charge_main != charge_indep) {
StoreObjPtr< MergedEventConsistency > m_mergedEventConsistency
object that stores whether events are consistent
virtual void initialize() override
Initialize the Module.
bool m_eventMixing
do event mixing (merge each event of main path with each event of independent path)
CreateConsistencyInfoModule()
Constructor.
virtual void event() override
This method is the core of the module.
std::string m_option
different options foreseen to check consistency (right now only charge)
StoreObjPtr< EventExtraInfo > m_EventExtraInfo_main
EventExtraInfo from main path.
void init(const std::string &option, bool eventMixing)
setter for Path.
StoreObjPtr< EventExtraInfo > m_EventExtraInfo_indep
EventExtraInfo from independent path.
@ c_DontWriteOut
Object/array should be NOT saved by output modules.
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...
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
Abstract base class for different kinds of events.