Belle II Software development
DistanceCDCStateFilter.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/ckf/cdc/filters/states/BaseCDCStateFilter.h>
11#include <tracking/trackFindingCDC/numerics/Weight.h>
12
13namespace Belle2 {
18 class ModuleParamList;
19
22 public:
24 TrackFindingCDC::Weight operator()(const BaseCDCStateFilter::Object& pair) final;
26 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override;
27 private:
29 double m_maximalDistance = 1000.;
30 };
31
32}
Give a weight based on the distance from the hit to the path.
double m_maximalDistance
Cut value for maximal distance.
TrackFindingCDC::Weight operator()(const BaseCDCStateFilter::Object &pair) final
Return the weight based on the distance.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters.
The Module parameter list class.
STL class.
TrackFindingCDC::Filter< std::pair< const CDCCKFPath *, CDCCKFState * > > BaseCDCStateFilter
Base filter for CKF CDC states.
Abstract base class for different kinds of events.