Belle II Software development
WholeWireHitRelationFilter.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/filters/base/RelationFilter.dcl.h>
11
12#include <vector>
13#include <string>
14
15namespace Belle2 {
20 class ModuleParamList;
21
22 namespace TrackingUtilities {
23 class CDCWireHit;
24 }
25 namespace TrackFindingCDC {
26
28 class WholeWireHitRelationFilter : public TrackingUtilities::RelationFilter<TrackingUtilities::CDCWireHit> {
29
30 public:
32 explicit WholeWireHitRelationFilter(int neighborhoodDegree = 2);
33
36
38 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
39
44 std::vector<TrackingUtilities::CDCWireHit*> getPossibleTos(TrackingUtilities::CDCWireHit* from,
45 const std::vector<TrackingUtilities::CDCWireHit*>& wireHits) const final;
46
47 private:
50 };
51 }
53}
The Module parameter list class.
WholeWireHitRelationFilter(int neighborhoodDegree=2)
Constructor form the default neighborhood degree.
std::vector< TrackingUtilities::CDCWireHit * > getPossibleTos(TrackingUtilities::CDCWireHit *from, const std::vector< TrackingUtilities::CDCWireHit * > &wireHits) const final
Returns a vector containing the neighboring wire hits of the given wire hit out of the sorted range g...
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Class representing a hit wire in the central drift chamber.
Definition CDCWireHit.h:58
Base class for filtering the neighborhood of objects.
Abstract base class for different kinds of events.