Belle II Software  release-05-02-19
DistanceCDCStateFilter.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2017 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Nils Braun *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <tracking/ckf/cdc/filters/states/BaseCDCStateFilter.h>
13 #include <framework/core/ModuleParamList.h>
14 #include <tracking/trackFindingCDC/numerics/Weight.h>
15 
16 namespace Belle2 {
21  class DistanceCDCStateFilter : public BaseCDCStateFilter {
23  public:
25  TrackFindingCDC::Weight operator()(const BaseCDCStateFilter::Object& pair) final;
27  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override;
28  private:
30  double m_maximalDistance = 1000.;
31  };
33 }
Belle2::DistanceCDCStateFilter::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters.
Definition: DistanceCDCStateFilter.cc:17
Belle2::BaseCDCStateFilter
TrackFindingCDC::Filter< std::pair< const CDCCKFPath *, CDCCKFState * > > BaseCDCStateFilter
Base filter for CKF CDC states.
Definition: BaseCDCStateFilter.h:31
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::DistanceCDCStateFilter::operator()
TrackFindingCDC::Weight operator()(const BaseCDCStateFilter::Object &pair) final
Return the weight based on the distance.
Definition: DistanceCDCStateFilter.cc:24
Belle2::DistanceCDCStateFilter::m_maximalDistance
double m_maximalDistance
Cut value for maximal distance.
Definition: DistanceCDCStateFilter.h:38
Belle2::TrackFindingCDC::Filter::Object
AObject Object
Type of the object to be analysed.
Definition: Filter.dcl.h:43