Belle II Software development
SuperClusterCreator.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
12#include <tracking/trackFindingCDC/filters/wireHitRelation/WholeWireHitRelationFilter.h>
13
14#include <tracking/trackFindingCDC/ca/Clusterizer.h>
15#include <tracking/trackFindingCDC/utilities/WeightedRelation.h>
16
17#include <vector>
18#include <string>
19
20namespace Belle2 {
26 namespace TrackFindingCDC {
27 class CDCWireHit;
28 class CDCWireHitCluster;
29
31 class SuperClusterCreator : public Findlet<CDCWireHit&, CDCWireHitCluster> {
32
33 private:
36
37 public:
40
42 std::string getDescription() final;
43
45 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
46
47 public:
49 void apply(std::vector<CDCWireHit>& inputWireHits,
50 std::vector<CDCWireHitCluster>& outputSuperClusters) final;
51
52 private:
55
56 private:
59
62
65 };
66 }
68}
The Module parameter list class.
Class representing a hit wire in the central drift chamber.
Definition: CDCWireHit.h:55
Implementation of the clustering Clusters elements of a given collection using the relations presente...
Definition: Clusterizer.h:41
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.
void apply(std::vector< CDCWireHit > &inputWireHits, std::vector< CDCWireHitCluster > &outputSuperClusters) final
Main algorithm applying the cluster refinement.
bool m_param_expandOverApogeeGap
Parameter : Expand the super clusters over the typical gap at the apogee of the trajectory.
std::vector< WeightedRelation< CDCWireHit > > m_wireHitRelations
Memory for the wire hit neighborhood in a cluster.
std::string getDescription() final
Short description of the findlet.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Clusterizer< CDCWireHit, CDCWireHitCluster > m_wirehitClusterizer
Instance of the hit cluster generator.
WholeWireHitRelationFilter m_wireHitRelationFilter
Wire hit neighborhood relation filter.
Type for two related objects with a weight.
Class mapping the neighborhood of wires to the neighborhood of wire hits.
Abstract base class for different kinds of events.
STL namespace.