10#include <background/modules/BeamBkgTagSetter/BeamBkgTagSetterModule.h>
14#include <framework/datastore/DataStore.h>
15#include <framework/datastore/StoreArray.h>
16#include <framework/datastore/StoreObjPtr.h>
19#include <framework/logging/Logger.h>
22#include <framework/dataobjects/EventMetaData.h>
43 "adds BackgroundMetaData branch in persistent tree; "
44 "returns true if at least one of the SimHit store arrays "
45 "has entries. Return value can be used to discard empty "
55 "equivalent time of superKEKB running in [ns] to obtain this sample");
57 "tag ordinary file (default) or additional file ('ECL' or 'PXD')",
60 "specify the Phase: 1 for Phase 1, 2 for Phase 2, 3 for Physics Run or Phase 3", 3);
82 else {B2ERROR(
"specialFor " <<
m_specialFor <<
"not supported");}
161 B2INFO(
"Exp " << evtMetaData->getExperiment() <<
162 " Run " << evtMetaData->getRun() <<
163 " Event " << evtMetaData->getEvent() <<
164 " number of SimHits = " << n);
@ c_Persistent
Object is available during entire execution time.
void setDescription(const std::string &description)
Sets the description of the module.
void setPropertyFlags(unsigned int propertyFlags)
Sets the flags for the module properties.
void setReturnValue(int value)
Sets the return value for this module as integer.
@ c_ParallelProcessingCertified
This module can be run in parallel processing mode safely (All I/O must be done through the data stor...
bool registerInDataStore(DataStore::EStoreFlags storeFlags=DataStore::c_WriteOut)
Register the object/array in the DataStore.
bool create(bool replace=false)
Create a default object in the data store.
Type-safe access to single objects in the data store.
bool isValid() const
Check whether the object was created.
std::string getBGTypes() const
Return all defined BG types as a string.
BackgroundMetaData::BG_TAG getTag(const std::string &bgType)
Return BG tag for a given BG type.
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.