Belle II Software  release-05-01-25
AllFacetFilter.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2014 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Oliver Frost *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <tracking/trackFindingCDC/filters/facet/BaseFacetFilter.h>
13 
14 namespace Belle2 {
19  namespace TrackFindingCDC {
20  class CDCFacet;
21 
23  class AllFacetFilter : public BaseFacetFilter {
24 
25  public:
27  Weight operator()(const CDCFacet& facet __attribute__((unused))) final {
28  return 3.0;
29  }
30  };
31  }
33 }
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::AllFacetFilter::operator()
Weight operator()(const CDCFacet &facet __attribute__((unused))) final
Main filter method returning the weight of the facet. Returns 3 to accept all facets.
Definition: AllFacetFilter.h:35