Belle II Software development
PassThroughFilter.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/PassThroughFilter.dcl.h>
11
12namespace Belle2 {
17 namespace TrackFindingCDC {
18
19 template <class AFilter>
21 {
22 return object.getWeight();
23 }
24 }
26}
Weight operator()(const Object &obj) final
Returns the weight obtained from getWeight()
typename AFilter::Object Object
Type of the object to be filtered.
Abstract base class for different kinds of events.