Belle II Software development
WireHitPreparer.cc
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#include <tracking/trackFindingCDC/findlets/combined/WireHitPreparer.h>
9
10using namespace Belle2;
11using namespace TrackFindingCDC;
12
14{
20}
21
23{
24 return "Combine the CDCHits from the DataStore with the geometry information.";
25}
26
27void WireHitPreparer::exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix)
28{
29 m_wireHitCreator.exposeParameters(moduleParamList, prefix);
30 m_wireHitBackgroundBlocker.exposeParameters(moduleParamList, prefix);
31 m_wireHitBackgroundDetector.exposeParameters(moduleParamList, prefix);
32 m_wireHitMCMultiLoopBlocker.exposeParameters(moduleParamList, prefix);
33 m_asicBackgroundDetector.exposeParameters(moduleParamList, prefix);
34}
35
36void WireHitPreparer::apply(std::vector<CDCWireHit>& outputWireHits)
37{
38 m_wireHitCreator.apply(outputWireHits);
39 m_wireHitBackgroundBlocker.apply(outputWireHits);
40 m_wireHitBackgroundDetector.apply(outputWireHits);
41 m_wireHitMCMultiLoopBlocker.apply(outputWireHits);
42 m_asicBackgroundDetector.apply(outputWireHits);
43}
The Module parameter list class.
virtual void apply(std::vector< CDCWireHit > &wireHits) final
Main algorithm marking hit as background.
virtual void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
void addProcessingSignalListener(ProcessingSignalListener *psl)
Register a processing signal listener to be notified.
void apply(std::vector< CDCWireHit > &wireHits) final
Main algorithm marking hit as background.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
void apply(std::vector< CDCWireHit > &wireHits) final
Main algorithm marking hit as background.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
void apply(std::vector< CDCWireHit > &outputWireHits) final
Main algorithm creating the wire hits.
void apply(std::vector< CDCWireHit > &wireHits) final
Main algorithm marking the hit of higher loops as background.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
WireHitBackgroundDetector m_wireHitBackgroundDetector
Marks hits as background based on the result of a filter.
WireHitCreator m_wireHitCreator
Creates the wire hits from CDCHits attaching geometry information.
AsicBackgroundDetector m_asicBackgroundDetector
Marks hits as background based on ASIC cross-talk signature.
std::string getDescription() final
Short description of the findlet.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
WireHitBackgroundBlocker m_wireHitBackgroundBlocker
Marks hits as background based on simple heuristics.
void apply(std::vector< CDCWireHit > &outputWireHits) final
Main function preparing the wire hits.
WireHitPreparer()
Constructor registering the subordinary findlets to the processing signal distribution machinery.
WireHitMCMultiLoopBlocker m_wireHitMCMultiLoopBlocker
Marks higher order loops as background for tuning analysis.
Abstract base class for different kinds of events.