9#include <analysis/modules/OnlyWriteOutParticleLists/OnlyWriteOutParticleLists.h>
10#include <framework/datastore/DataStore.h>
11#include <analysis/dataobjects/ParticleList.h>
19 setDescription(
"Marks all objects in DataStore except those of type ParticleList as WriteOut=False. Intended to run before outputting an index file to remove unnecessary arrays.");
26 entry.second.dontWriteOut = entry.second.objClass != ParticleList::Class();
@ c_Event
Different object in each event, all objects/arrays are invalidated after event() function has been ca...
static DataStore & Instance()
Instance of singleton Store.
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...
virtual void initialize() override
Initialises the module.
OnlyWriteOutParticleListsModule()
Constructor.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
Abstract base class for different kinds of events.