Belle II Software  release-05-01-25
PassThroughFilter.dcl.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - 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/numerics/Weight.h>
13 
14 namespace Belle2 {
19  namespace TrackFindingCDC {
20 
22  template<class AFilter>
23  class PassThroughFilter : public AFilter {
24  public:
26  using Object = typename AFilter::Object;
27 
28  public:
30  Weight operator()(const Object& obj) final;
31  };
32  }
34 }
Belle2::TrackFindingCDC::PassThroughFilter::operator()
Weight operator()(const Object &obj) final
Returns the weight obtained from getWeight()
Definition: PassThroughFilter.icc.h:30
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::PassThroughFilter::Object
typename AFilter::Object Object
Type of the object to be filtered.
Definition: PassThroughFilter.dcl.h:34