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/trackFindingCDC/filters/base/RelationFilter.dcl.h>
11
12#include <vector>
13#include <string>
14
15namespace Belle2 {
20 class ModuleParamList;
21
22 namespace TrackFindingCDC {
23 class CDCWireHit;
24
26 class WholeWireHitRelationFilter : public RelationFilter<CDCWireHit> {
27
28 public:
30 explicit WholeWireHitRelationFilter(int neighborhoodDegree = 2);
31
34
36 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
37
42 std::vector<CDCWireHit*> getPossibleTos(CDCWireHit* from,
43 const std::vector<CDCWireHit*>& wireHits) const final;
44
45 private:
48 };
49 }
51}
The Module parameter list class.
Class representing a hit wire in the central drift chamber.
Definition: CDCWireHit.h:55
Base class for filtering the neighborhood of objects.
Class mapping the neighborhood of wires to the neighborhood of wire hits.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
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...
Abstract base class for different kinds of events.