9#include <tracking/modules/pruneRecoTracks/PruneRecoTracksModule.h>
22 "Name of the StoreArray which is pruned",
26 "Remove hits in the module or leave it for PruneRecoHitsModule"
48 return recoHitInformation->
getFlag() != RecoHitInformation::RecoHitFlag::c_pruned;
@ c_DontWriteOut
Object/array should be NOT saved by output modules.
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...
PruneRecoTracksModule()
Constructor of the module. Setting up parameters and description.
void initialize() override
Declare required StoreArray.
void event() override
Event processing, prunes the RecoTracks contained in each event.
bool m_do_remove_hits
Remove pruned reco hits or leave this for PruneRecoHitsModule.
std::string m_storeArrayName
Name of the StoreArray to prune.
StoreArray< RecoHitInformation > m_RecoHitInformations
RecoHitInformations StoreArray.
StoreArray< RecoTrack > m_RecoTracks
RecoTracks StoreArray.
SelectSubset< RecoHitInformation > m_subsetOfUnprunedRecoHitInformation
We use SelectSubset here to delete all pruned RecoHitInformation.
bool isOptional(const std::string &name="")
Tell the DataStore about an optional input.
int getEntries() const
Get the number of objects in the array.
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.