Belle II Software development
NegativeFilter.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/NegativeFilter.dcl.h>
11
12namespace Belle2 {
18 namespace TrackFindingCDC {
19 template<class AFilter>
20 Weight NegativeFilter<AFilter>::operator()(const typename AFilter::Object& obj)
21 {
22 return -Super::operator()(obj);
23 }
24 }
26}
Weight operator()(const typename AFilter::Object &obj) final
Invert the result.
Abstract base class for different kinds of events.