Belle II Software  release-08-01-10
SizeCDCPathFilter.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/paths/BaseCDCPathFilter.h>
11 
12 #include <tracking/trackFindingCDC/numerics/Weight.h>
13 
14 namespace Belle2 {
21  public:
23  TrackFindingCDC::Weight operator()(const BaseCDCPathFilter::Object& path) final
24  {
25  return path.size();
26  }
27  };
29 }
Return the size of the path.
TrackFindingCDC::Weight operator()(const BaseCDCPathFilter::Object &path) final
Main function: return the size of the path.
Base class for filters on a generic object type.
Definition: Filter.dcl.h:29
AObject Object
Type of the object to be analysed.
Definition: Filter.dcl.h:33
Abstract base class for different kinds of events.