9#include <tracking/trackFindingCDC/findlets/complete/CDCHitsRemover.h>
10#include <framework/core/ModuleParamList.templateDetails.h>
13using namespace TrackingUtilities;
15void CDCHitsRemover::initialize()
26 moduleParamList->
getParameter<std::string>(
"inputWireHits").setDefaultValue(
"CDCWireHitVector");
31 return "Removes CDCHits which are marked as background";
40 int idx = p->getArrayIndex();
42 if (it != wireHits.end())
44 const CDCWireHit& hit = *it;
48 B2WARNING(
"Un-matched CDCHit -- CDCWireHit");
@ c_WriteOut
Object/array should be saved by output modules.
bool hasBackgroundFlag() const
Gets the current state of the do not use flag marker flag.
SelectSubset< CDCHit > m_cdc_selector
Selector for CDC hits.
std::string getDescription() final
Short description of the findlet.
void apply(const std::vector< CDCWireHit > &wireHits) override
Event processor.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
StoreArray< CDCHit > m_cdcHits
CDC hits.
Index getStoreIHit() const
Getter for the index of the hit in the StoreArray holding this hit.
void initialize() override
virtual void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix)
ModuleParam< T > & getParameter(const std::string &name) const
Returns a reference to a parameter.
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
Abstract base class for different kinds of events.