Belle II Software  release-05-01-25
NegativeFilter.dcl.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/trackFindingCDC/numerics/Weight.h>
13 
14 namespace Belle2 {
20  namespace TrackFindingCDC {
22  template<class AFilter>
23  class NegativeFilter : public AFilter {
24 
25  private:
27  using Super = AFilter;
28 
29  public:
31  using Object = typename AFilter::Object;
32 
33  using Super::Super;
34 
36  Weight operator()(const typename AFilter::Object& obj) final;
37  };
38  }
40 }
Belle2::TrackFindingCDC::NegativeFilter::Object
typename AFilter::Object Object
Type of the object to be filtered.
Definition: NegativeFilter.dcl.h:39
Belle2::TrackFindingCDC::NegativeFilter::operator()
Weight operator()(const typename AFilter::Object &obj) final
Invert the result.
Definition: NegativeFilter.icc.h:30
Belle2::TrackFindingCDC::NegativeFilter::Super
AFilter Super
Type of the base class.
Definition: NegativeFilter.dcl.h:35
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19