Belle II Software development
PassThroughFilter< AFilter > Class Template Reference

Filter adapter type that passes the weight of a weighted relation as a result. More...

#include <PassThroughFilter.dcl.h>

Inheritance diagram for PassThroughFilter< AFilter >:

Public Types

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

Public Member Functions

Weight operator() (const Object &obj) final
 Returns the weight obtained from getWeight()
 

Detailed Description

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

Filter adapter type that passes the weight of a weighted relation as a result.

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

Member Typedef Documentation

◆ Object

using Object = typename AFilter::Object

Type of the object to be filtered.

Definition at line 24 of file PassThroughFilter.dcl.h.

Member Function Documentation

◆ operator()()

Weight operator() ( const Object obj)
final

Returns the weight obtained from getWeight()

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

21 {
22 return object.getWeight();
23 }

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