9 #include <analysis/modules/ContinuumSuppressionBuilder/ContinuumSuppressionBuilderModule.h>
11 #include <analysis/ContinuumSuppression/ContinuumSuppression.h>
27 setDescription(
"Creates for each Particle in the given ParticleLists a ContinuumSuppression dataobject and makes basf2 relation between them.");
30 addParam(
"particleList", m_particleListName,
"Name of the ParticleList", std::string(
""));
32 addParam(
"ROEMask", m_ROEMask,
"ROE mask", std::string(
""));
49 for (
unsigned i = 0; i <
m_plist->getListSize(); i++) {
Creates for each Particle in given ParticleList an ContinuumSuppression dataobject and makes basf2 re...
std::string m_ROEMask
ROE mask.
std::string m_particleListName
Name of the ParticleList.
virtual void initialize() override
initialize the module (setup the data store)
virtual void event() override
process event
StoreArray< ContinuumSuppression > m_csarray
StoreArray of ContinuumSuppression.
StoreObjPtr< ParticleList > m_plist
input particle list
bool isRequired(const std::string &name="")
Ensure this array/object has been registered previously.
Accessor to arrays stored in the data store.
bool registerRelationTo(const StoreArray< TO > &toArray, DataStore::EDurability durability=DataStore::c_Event, DataStore::EStoreFlags storeFlags=DataStore::c_WriteOut, const std::string &namedRelation="") const
Register a relation to the given StoreArray.
void addContinuumSuppression(const Particle *particle, const std::string &maskName)
Adds continuum suppression variables.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
Abstract base class for different kinds of events.