 |
Belle II Software
release-05-02-19
|
11 #include <analysis/modules/ContinuumSuppressionBuilder/ContinuumSuppressionBuilderModule.h>
13 #include <analysis/dataobjects/ParticleList.h>
14 #include <analysis/dataobjects/ContinuumSuppression.h>
16 #include <framework/datastore/StoreArray.h>
17 #include <framework/datastore/StoreObjPtr.h>
20 #include <analysis/ContinuumSuppression/ContinuumSuppression.h>
36 setDescription(
"Creates for each Particle in the given ParticleLists a ContinuumSuppression dataobject and makes BASF2 relation between them.");
39 addParam(
"particleList", m_particleList,
"Name of the ParticleList", std::string(
""));
41 addParam(
"ROEMask", m_ROEMask,
"ROE mask", std::string(
""));
50 particles.isRequired();
54 csArray.registerInDataStore();
55 particles.registerRelationTo(csArray);
63 for (
unsigned i = 0; i < plist->getListSize(); i++) {
virtual void initialize() override
initialize the module (setup the data store)
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
Abstract base class for different kinds of events.
Type-safe access to single objects in the data store.
std::string m_particleList
Name of the ParticleList.
std::string m_ROEMask
ROE mask.
Creates for each Particle in given ParticleList an ContinuumSuppression dataobject and makes BASF2 re...
virtual void event() override
process event
void addContinuumSuppression(const Particle *particle, const std::string &maskName)
Adds continuum suppression variables.