Belle II Software development
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
14namespace Belle2 {
21 public:
23 TrackFindingCDC::Weight operator()(const BaseCDCPathFilter::Object& path) final
24 {
25 return path.size();
26 }
27 };
28
29}
Return the size of the path.
TrackFindingCDC::Weight operator()(const BaseCDCPathFilter::Object &path) final
Main function: return the size of the path.
TrackFindingCDC::Filter< CDCCKFPath > BaseCDCPathFilter
Base filter for CKF CDC paths.
Abstract base class for different kinds of events.