Belle II Software  release-05-01-25
SizeCDCPathFilter.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/paths/BaseCDCPathFilter.h>
13 
14 #include <tracking/trackFindingCDC/numerics/Weight.h>
15 
16 namespace Belle2 {
21  class SizeCDCPathFilter : public BaseCDCPathFilter {
23  public:
25  TrackFindingCDC::Weight operator()(const BaseCDCPathFilter::Object& path) final {
26  return path.size();
27  }
28  };
30 }
Belle2::BaseCDCPathFilter
TrackFindingCDC::Filter< CDCCKFPath > BaseCDCPathFilter
Base filter for CKF CDC paths.
Definition: BaseCDCPathFilter.h:29
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::SizeCDCPathFilter::operator()
TrackFindingCDC::Weight operator()(const BaseCDCPathFilter::Object &path) final
Main function: return the size of the path.
Definition: SizeCDCPathFilter.h:33
Belle2::TrackFindingCDC::Filter::Object
AObject Object
Type of the object to be analysed.
Definition: Filter.dcl.h:43