Belle II Software  release-08-01-10
ClusterPreparer.h
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 #pragma once
9 
10 #include <tracking/trackFindingCDC/findlets/base/Findlet.h>
11 #include <tracking/trackFindingCDC/findlets/minimal/SuperClusterCreator.h>
12 #include <tracking/trackFindingCDC/findlets/minimal/ClusterBackgroundDetector.h>
13 #include <tracking/trackFindingCDC/findlets/minimal/ClusterRefiner.h>
14 
15 #include <tracking/trackFindingCDC/filters/wireHitRelation/BridgingWireHitRelationFilter.h>
16 
17 #include <tracking/trackFindingCDC/eventdata/segments/CDCWireHitCluster.h>
18 #include <tracking/trackFindingCDC/eventdata/hits/CDCWireHit.h>
19 
20 #include <vector>
21 
22 namespace Belle2 {
27  namespace TrackFindingCDC {
29  class ClusterPreparer : public Findlet<CDCWireHit&, CDCWireHitCluster, CDCWireHitCluster> {
30 
31  private:
34 
35  public:
38 
40  std::string getDescription() final;
41 
43  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
44 
46  void apply(std::vector<CDCWireHit>& inputWireHits,
47  std::vector<CDCWireHitCluster>& clusters,
48  std::vector<CDCWireHitCluster>& superClusters) final;
49 
50  private:
51  // Findlets
54 
57 
60  };
61  }
63 }
The Module parameter list class.
Wire hit relation filter that is compensating for hit inefficiencies.
Class representing a hit wire in the central drift chamber.
Definition: CDCWireHit.h:55
Marks clusters as background based on a background measure.
Findlet to cluster the wire hits in the CDC to form locally connected groups with two granularities....
ClusterRefiner< BridgingWireHitRelationFilter > m_clusterRefiner
Creates the clusters from super clusters.
ClusterBackgroundDetector m_clusterBackgroundDetector
Marks the clusters as background.
std::string getDescription() final
Short description of the findlet.
void apply(std::vector< CDCWireHit > &inputWireHits, std::vector< CDCWireHitCluster > &clusters, std::vector< CDCWireHitCluster > &superClusters) final
Generates the segment from wire hits.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
ClusterPreparer()
Constructor registering the subordinary findlets to the processing signal distribution machinery.
SuperClusterCreator m_superClusterCreator
Composes the super clusters.
Refines the clustering of wire hits from super clusters to clustexrs.
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
Refines the clustering of wire hits from clusters to clusters.
Abstract base class for different kinds of events.