Belle II Software development
NegativeFilter< AFilter > Class Template Reference

Filter adapter type that negates the acceptance criterion for cross checks. More...

#include <NegativeFilter.dcl.h>

Inheritance diagram for NegativeFilter< AFilter >:

Public Types

using Object = typename AFilter::Object
 Type of the object to be filtered.
 

Public Member Functions

Weight operator() (const typename AFilter::Object &obj) final
 Invert the result.
 

Private Types

using Super = AFilter
 Type of the base class.
 

Detailed Description

template<class AFilter>
class Belle2::TrackFindingCDC::NegativeFilter< AFilter >

Filter adapter type that negates the acceptance criterion for cross checks.

Definition at line 21 of file NegativeFilter.dcl.h.

Member Typedef Documentation

◆ Object

using Object = typename AFilter::Object

Type of the object to be filtered.

Definition at line 29 of file NegativeFilter.dcl.h.

◆ Super

using Super = AFilter
private

Type of the base class.

Definition at line 25 of file NegativeFilter.dcl.h.

Member Function Documentation

◆ operator()()

Weight operator() ( const typename AFilter::Object &  obj)
final

Invert the result.

Definition at line 20 of file NegativeFilter.icc.h.

21 {
22 return -Super::operator()(obj);
23 }

The documentation for this class was generated from the following files: