Belle II Software development
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/trackingUtilities/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/trackingUtilities/eventdata/segments/CDCWireHitCluster.h>
18#include <tracking/trackingUtilities/eventdata/hits/CDCWireHit.h>
19
20#include <vector>
21
22namespace Belle2 {
27 namespace TrackingUtilities {
28 class CDCWireHit;
29 }
30 namespace TrackFindingCDC {
32 class ClusterPreparer : public
33 TrackingUtilities::Findlet<TrackingUtilities::CDCWireHit&, TrackingUtilities::CDCWireHitCluster, TrackingUtilities::CDCWireHitCluster> {
34
35 private:
37 using Super =
39
40 public:
43
45 std::string getDescription() final;
46
48 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
49
51 void apply(std::vector<TrackingUtilities::CDCWireHit>& inputWireHits,
52 std::vector<TrackingUtilities::CDCWireHitCluster>& clusters,
53 std::vector<TrackingUtilities::CDCWireHitCluster>& superClusters) final;
54
55 private:
56 // Findlets
59
62
65 };
66 }
68}
The Module parameter list class.
Wire hit relation filter that is compensating for hit inefficiencies.
Marks clusters as background based on a background measure.
ClusterRefiner< BridgingWireHitRelationFilter > m_clusterRefiner
Creates the clusters from super clusters.
ClusterBackgroundDetector m_clusterBackgroundDetector
Marks the clusters as background.
void apply(std::vector< TrackingUtilities::CDCWireHit > &inputWireHits, std::vector< TrackingUtilities::CDCWireHitCluster > &clusters, std::vector< TrackingUtilities::CDCWireHitCluster > &superClusters) final
Generates the segment from wire hits.
std::string getDescription() final
Short description of the findlet.
TrackingUtilities::Findlet< TrackingUtilities::CDCWireHit &, TrackingUtilities::CDCWireHitCluster, TrackingUtilities::CDCWireHitCluster > Super
Type of the base class.
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.
Refines the clustering of wire hits from clusters to clusters.
Class representing a hit wire in the central drift chamber.
Definition CDCWireHit.h:58
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition Findlet.h:26
STL class.
Abstract base class for different kinds of events.
STL namespace.