Belle II Software development
BridgingWireHitRelationFilter.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/filters/base/RelationFilter.dcl.h>
11
12#include <string>
13#include <map>
14#include <array>
15#include <vector>
16
17namespace Belle2 {
22 class ModuleParamList;
23
24 namespace TrackFindingCDC {
25 class CDCWireHit;
26
40 class BridgingWireHitRelationFilter : public RelationFilter<CDCWireHit> {
41
42 private:
45
46 public:
49
52
54 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override;
55
57 void initialize() override;
58
63 std::vector<CDCWireHit*> getPossibleTos(CDCWireHit* from,
64 const std::vector<CDCWireHit*>& wireHits) const final;
65
66 private:
69 {{0, 2}, {2, 2}, {4, 2}, {6, 2}, {8, 2}, {10, 2}};
70
73
76 };
77 }
79}
The Module parameter list class.
Wire hit relation filter that is compensating for hit inefficiencies.
std::map< int, int > m_param_missingPrimaryNeighborThresholdMap
Parameter: A map from o'clock direction to the number of missing primary drift cells.
void initialize() override
Receive signal at the begin of the event processing and prepare some parameters.
std::vector< CDCWireHit * > getPossibleTos(CDCWireHit *from, const std::vector< CDCWireHit * > &wireHits) const final
Returns a vector containing the neighboring wire hits of the given wire hit out of the sorted range g...
std::array< short, 12 > m_missingPrimaryNeighborThresholds
Array for the number of primary drift cells to be included for the o'clock position at each index.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the set of parameters of the filter to the module parameter list.
std::vector< short > m_consideredSecondaryNeighbors
Indices of the considered o'clock positions of the secondary neighborhood.
Class representing a hit wire in the central drift chamber.
Definition: CDCWireHit.h:55
Base class for filtering the neighborhood of objects.
Abstract base class for different kinds of events.