Belle II Software  release-05-02-19
SuperClusterCreator.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 
14 #include <tracking/trackFindingCDC/filters/wireHitRelation/WholeWireHitRelationFilter.h>
15 
16 #include <tracking/trackFindingCDC/ca/Clusterizer.h>
17 #include <tracking/trackFindingCDC/utilities/WeightedRelation.h>
18 
19 #include <vector>
20 #include <string>
21 
22 namespace Belle2 {
28  namespace TrackFindingCDC {
29  class CDCWireHit;
30  class CDCWireHitCluster;
31 
33  class SuperClusterCreator : public Findlet<CDCWireHit&, CDCWireHitCluster> {
34 
35  private:
37  using Super = Findlet<CDCWireHit, CDCWireHitCluster>;
38 
39  public:
42 
44  std::string getDescription() final;
45 
47  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
48 
49  public:
51  void apply(std::vector<CDCWireHit>& inputWireHits,
52  std::vector<CDCWireHitCluster>& outputSuperClusters) final;
53 
54  private:
56  bool m_param_expandOverApogeeGap = false;
57 
58  private:
61 
64 
67  };
68  }
70 }
Belle2::TrackFindingCDC::Clusterizer
Implementation of the clustering Clusters elements of a given collection using the relations presente...
Definition: Clusterizer.h:50
Belle2::TrackFindingCDC::WholeWireHitRelationFilter
Class mapping the neighborhood of wires to the neighborhood of wire hits.
Definition: WholeWireHitRelationFilter.h:36
Belle2::TrackFindingCDC::SuperClusterCreator::m_wirehitClusterizer
Clusterizer< CDCWireHit, CDCWireHitCluster > m_wirehitClusterizer
Instance of the hit cluster generator.
Definition: SuperClusterCreator.h:68
Belle2::TrackFindingCDC::SuperClusterCreator::Super
Findlet< CDCWireHit, CDCWireHitCluster > Super
Type of the base class.
Definition: SuperClusterCreator.h:45
Belle2::TrackFindingCDC::SuperClusterCreator::getDescription
std::string getDescription() final
Short description of the findlet.
Definition: SuperClusterCreator.cc:34
Belle2::TrackFindingCDC::SuperClusterCreator::SuperClusterCreator
SuperClusterCreator()
Constructor.
Definition: SuperClusterCreator.cc:29
Belle2::TrackFindingCDC::SuperClusterCreator::m_wireHitRelations
std::vector< WeightedRelation< CDCWireHit > > m_wireHitRelations
Memory for the wire hit neighborhood in a cluster.
Definition: SuperClusterCreator.h:71
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::SuperClusterCreator::m_param_expandOverApogeeGap
bool m_param_expandOverApogeeGap
Parameter : Expand the super clusters over the typical gap at the apogee of the trajectory.
Definition: SuperClusterCreator.h:64
Belle2::TrackFindingCDC::SuperClusterCreator::m_wireHitRelationFilter
WholeWireHitRelationFilter m_wireHitRelationFilter
Wire hit neighborhood relation filter.
Definition: SuperClusterCreator.h:74
Belle2::TrackFindingCDC::CDCWireHitCluster
An aggregation of CDCWireHits.
Definition: CDCWireHitCluster.h:31
Belle2::TrackFindingCDC::SuperClusterCreator::apply
void apply(std::vector< CDCWireHit > &inputWireHits, std::vector< CDCWireHitCluster > &outputSuperClusters) final
Main algorithm applying the cluster refinement.
Definition: SuperClusterCreator.cc:50
Belle2::TrackFindingCDC::SuperClusterCreator::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Definition: SuperClusterCreator.cc:40
Belle2::TrackFindingCDC::WeightedRelation
Type for two related objects with a weight.
Definition: CDCSegment2D.h:36
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