Belle II Software  release-05-01-25
WireHitPreparer.cc
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Oliver Frost *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #include <tracking/trackFindingCDC/findlets/combined/WireHitPreparer.h>
11 
12 using namespace Belle2;
13 using namespace TrackFindingCDC;
14 
16 {
22 }
23 
25 {
26  return "Combine the CDCHits from the DataStore with the geometry information.";
27 }
28 
29 void WireHitPreparer::exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix)
30 {
31  m_wireHitCreator.exposeParameters(moduleParamList, prefix);
32  m_wireHitBackgroundBlocker.exposeParameters(moduleParamList, prefix);
33  m_wireHitBackgroundDetector.exposeParameters(moduleParamList, prefix);
34  m_wireHitMCMultiLoopBlocker.exposeParameters(moduleParamList, prefix);
35  m_asicBackgroundDetector.exposeParameters(moduleParamList, prefix);
36 }
37 
38 void WireHitPreparer::apply(std::vector<CDCWireHit>& outputWireHits)
39 {
40  m_wireHitCreator.apply(outputWireHits);
41  m_wireHitBackgroundBlocker.apply(outputWireHits);
42  m_wireHitBackgroundDetector.apply(outputWireHits);
43  m_wireHitMCMultiLoopBlocker.apply(outputWireHits);
44  m_asicBackgroundDetector.apply(outputWireHits);
45 }
Belle2::TrackFindingCDC::WireHitCreator::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Definition: WireHitCreator.cc:44
Belle2::TrackFindingCDC::WireHitPreparer::getDescription
std::string getDescription() final
Short description of the findlet.
Definition: WireHitPreparer.cc:24
Belle2::TrackFindingCDC::WireHitBackgroundDetector::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Definition: WireHitBackgroundDetector.cc:32
Belle2::TrackFindingCDC::WireHitBackgroundBlocker::apply
void apply(std::vector< CDCWireHit > &wireHits) final
Main algorithm marking hit as background.
Definition: WireHitBackgroundBlocker.cc:44
Belle2::TrackFindingCDC::CompositeProcessingSignalListener::addProcessingSignalListener
void addProcessingSignalListener(ProcessingSignalListener *psl)
Register a processing signal listener to be notified.
Definition: CompositeProcessingSignalListener.cc:57
Belle2::TrackFindingCDC::AsicBackgroundDetector::apply
virtual void apply(std::vector< CDCWireHit > &wireHits) final
Main algorithm marking hit as background.
Definition: AsicBackgroundDetector.cc:59
Belle2::TrackFindingCDC::WireHitPreparer::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Definition: WireHitPreparer.cc:29
Belle2::TrackFindingCDC::AsicBackgroundDetector::exposeParameters
virtual void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Definition: AsicBackgroundDetector.cc:78
Belle2::TrackFindingCDC::WireHitPreparer::m_wireHitMCMultiLoopBlocker
WireHitMCMultiLoopBlocker m_wireHitMCMultiLoopBlocker
Marks higher order loops as background for tuning analysis.
Definition: WireHitPreparer.h:74
Belle2::TrackFindingCDC::WireHitBackgroundBlocker::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Definition: WireHitBackgroundBlocker.cc:28
Belle2::TrackFindingCDC::WireHitPreparer::m_wireHitBackgroundBlocker
WireHitBackgroundBlocker m_wireHitBackgroundBlocker
Marks hits as background based on simple heuristics.
Definition: WireHitPreparer.h:65
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::WireHitBackgroundDetector::apply
void apply(std::vector< CDCWireHit > &wireHits) final
Main algorithm marking hit as background.
Definition: WireHitBackgroundDetector.cc:38
Belle2::TrackFindingCDC::WireHitMCMultiLoopBlocker::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Definition: WireHitMCMultiLoopBlocker.cc:39
Belle2::TrackFindingCDC::WireHitMCMultiLoopBlocker::apply
void apply(std::vector< CDCWireHit > &wireHits) final
Main algorithm marking the hit of higher loops as background.
Definition: WireHitMCMultiLoopBlocker.cc:64
Belle2::TrackFindingCDC::WireHitPreparer::apply
void apply(std::vector< CDCWireHit > &outputWireHits) final
Main function preparing the wire hits.
Definition: WireHitPreparer.cc:38
Belle2::TrackFindingCDC::WireHitPreparer::m_wireHitBackgroundDetector
WireHitBackgroundDetector m_wireHitBackgroundDetector
Marks hits as background based on the result of a filter.
Definition: WireHitPreparer.h:68
Belle2::TrackFindingCDC::WireHitPreparer::m_asicBackgroundDetector
AsicBackgroundDetector m_asicBackgroundDetector
Marks hits as background based on ASIC cross-talk signature.
Definition: WireHitPreparer.h:71
Belle2::TrackFindingCDC::WireHitPreparer::m_wireHitCreator
WireHitCreator m_wireHitCreator
Creates the wire hits from CDCHits attaching geometry information.
Definition: WireHitPreparer.h:62
Belle2::ModuleParamList
The Module parameter list class.
Definition: ModuleParamList.h:46
Belle2::TrackFindingCDC::WireHitCreator::apply
void apply(std::vector< CDCWireHit > &outputWireHits) final
Main algorithm creating the wire hits.
Definition: WireHitCreator.cc:163
Belle2::TrackFindingCDC::WireHitPreparer::WireHitPreparer
WireHitPreparer()
Constructor registering the subordinary findlets to the processing signal distribution machinery.
Definition: WireHitPreparer.cc:15