Belle II Software  release-08-01-10
NoneFilter.icc.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/trackFindingCDC/filters/base/NoneFilter.dcl.h>
11 
12 #include <cmath>
13 
14 namespace Belle2 {
19  namespace TrackFindingCDC {
20 
21  template <class AFilter>
22  Weight NoneFilter<AFilter>::operator()(const Object& obj __attribute__((unused)))
23  {
24  return NAN;
25  }
26  }
28 }
Weight operator()(const Object &obj) final
Rejects all items.
typename AFilter::Object Object
Type of the object to be filtered.
Abstract base class for different kinds of events.