Belle II Software  release-05-01-25
ClusterPreparer.h
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 #pragma once
11 
12 #include <tracking/trackFindingCDC/findlets/base/Findlet.h>
13 #include <tracking/trackFindingCDC/findlets/minimal/SuperClusterCreator.h>
14 #include <tracking/trackFindingCDC/findlets/minimal/ClusterBackgroundDetector.h>
15 #include <tracking/trackFindingCDC/findlets/minimal/ClusterRefiner.h>
16 
17 #include <tracking/trackFindingCDC/filters/wireHitRelation/BridgingWireHitRelationFilter.h>
18 
19 #include <tracking/trackFindingCDC/eventdata/segments/CDCWireHitCluster.h>
20 #include <tracking/trackFindingCDC/eventdata/hits/CDCWireHit.h>
21 
22 #include <vector>
23 
24 namespace Belle2 {
29  namespace TrackFindingCDC {
31  class ClusterPreparer : public Findlet<CDCWireHit&, CDCWireHitCluster, CDCWireHitCluster> {
32 
33  private:
35  using Super = Findlet<CDCWireHit&, CDCWireHitCluster, CDCWireHitCluster>;
36 
37  public:
40 
42  std::string getDescription() final;
43 
45  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
46 
48  void apply(std::vector<CDCWireHit>& inputWireHits,
49  std::vector<CDCWireHitCluster>& clusters,
50  std::vector<CDCWireHitCluster>& superClusters) final;
51 
52  private:
53  // Findlets
56 
59 
62  };
63  }
65 }
Belle2::TrackFindingCDC::BridgingWireHitRelationFilter
Wire hit relation filter that is compensating for hit inefficiencies.
Definition: BridgingWireHitRelationFilter.h:50
Belle2::TrackFindingCDC::ClusterPreparer::m_clusterBackgroundDetector
ClusterBackgroundDetector m_clusterBackgroundDetector
Marks the clusters as background.
Definition: ClusterPreparer.h:69
Belle2::TrackFindingCDC::ClusterPreparer::ClusterPreparer
ClusterPreparer()
Constructor registering the subordinary findlets to the processing signal distribution machinery.
Definition: ClusterPreparer.cc:17
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::ClusterBackgroundDetector
Marks clusters as background based on a background measure.
Definition: ClusterBackgroundDetector.h:38
Belle2::TrackFindingCDC::SuperClusterCreator
Refines the clustering of wire hits from clusters to clusters.
Definition: SuperClusterCreator.h:41
Belle2::TrackFindingCDC::ClusterRefiner
Refines the clustering of wire hits from super clusters to clustexrs.
Definition: ClusterRefiner.h:44
Belle2::TrackFindingCDC::ClusterPreparer::getDescription
std::string getDescription() final
Short description of the findlet.
Definition: ClusterPreparer.cc:24
Belle2::TrackFindingCDC::ClusterPreparer::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Definition: ClusterPreparer.cc:29
Belle2::TrackFindingCDC::ClusterPreparer::Super
Findlet< CDCWireHit &, CDCWireHitCluster, CDCWireHitCluster > Super
Type of the base class.
Definition: ClusterPreparer.h:43
Belle2::TrackFindingCDC::ClusterPreparer::m_clusterRefiner
ClusterRefiner< BridgingWireHitRelationFilter > m_clusterRefiner
Creates the clusters from super clusters.
Definition: ClusterPreparer.h:66
Belle2::TrackFindingCDC::CDCWireHitCluster
An aggregation of CDCWireHits.
Definition: CDCWireHitCluster.h:31
Belle2::TrackFindingCDC::CDCWireHit
Class representing a hit wire in the central drift chamber.
Definition: CDCWireHit.h:65
Belle2::ModuleParamList
The Module parameter list class.
Definition: ModuleParamList.h:46
Belle2::TrackFindingCDC::ClusterPreparer::m_superClusterCreator
SuperClusterCreator m_superClusterCreator
Composes the super clusters.
Definition: ClusterPreparer.h:63
Belle2::TrackFindingCDC::ClusterPreparer::apply
void apply(std::vector< CDCWireHit > &inputWireHits, std::vector< CDCWireHitCluster > &clusters, std::vector< CDCWireHitCluster > &superClusters) final
Generates the segment from wire hits.
Definition: ClusterPreparer.cc:36