9#include <tracking/modules/pruneGenfitTracks/PruneGenfitTracksModule.h>
10#include <framework/datastore/StoreArray.h>
11#include <genfit/Track.h>
24 "Pruning options passed on to genfit. See genfit::Track class for a detailed description",
28 "Name of the StoreArray which is pruned",
29 std::string(
"GF2Tracks"));
36 for (
auto& t : tracks) {
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...
PruneGenfitTracksModule()
Constructor of the module. Setting up parameters and description.
void event() override
Event processing, prunes the genfit tracks contained in each event.
std::string m_storeArrayName
name of the StoreArray to prune
std::string m_pruneFlags
flags used for pruning, See genfit::Track class for possible settings
Accessor to arrays stored 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.