Belle II Software  release-05-01-25
NegativeFilter.icc.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/filters/base/NegativeFilter.dcl.h>
13 
14 namespace Belle2 {
20  namespace TrackFindingCDC {
21  template<class AFilter>
22  Weight NegativeFilter<AFilter>::operator()(const typename AFilter::Object& obj)
23  {
24  return -Super::operator()(obj);
25  }
26  }
28 }
Belle2::TrackFindingCDC::NegativeFilter::operator()
Weight operator()(const typename AFilter::Object &obj) final
Invert the result.
Definition: NegativeFilter.icc.h:30
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19