9 #include <analysis/modules/ExtraInfoRemover/ExtraInfoRemoverModule.h>
10 #include <analysis/dataobjects/ParticleList.h>
18 ExtraInfoRemoverModule::ExtraInfoRemoverModule() :
Module()
21 setDescription(
"Deletes the ExtraInfo from each particle in the given ParticleLists.");
39 if (!particleList.isValid()) {
40 B2INFO(
"ParticleList " << iList <<
" not found");
43 for (
unsigned int i = 0; i < particleList->getListSize(); ++i) {
44 Particle* iParticle = particleList ->getParticle(i);
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...
Class to store reconstructed particles.
void removeExtraInfo()
Remove all stored extra info fields.
Type-safe access to single objects in the data store.
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.