Belle II Software  release-05-01-25
RealisticFacetFilter.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - 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 #include <string>
15 
16 namespace Belle2 {
23  namespace TrackFindingCDC {
24  class CDCFacet;
25 
27  class RealisticFacetFilter : public BaseFacetFilter {
28 
29  private:
31  using Super = BaseFacetFilter;
32 
33  public:
36 
38  explicit RealisticFacetFilter(double phiPullCut);
39 
40  public:
42  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
43 
44  public:
49  Weight operator()(const CDCFacet& facet) final;
50 
51  private:
53  double m_param_phiPullCut;
54  };
55  }
57 }
Belle2::TrackFindingCDC::RealisticFacetFilter::Super
BaseFacetFilter Super
Type of the super class.
Definition: RealisticFacetFilter.h:39
Belle2::TrackFindingCDC::RealisticFacetFilter::operator()
Weight operator()(const CDCFacet &facet) final
Main filter method returning the weight of the facet Returns NAN if the cell shall be rejected.
Definition: RealisticFacetFilter.cc:46
Belle2::TrackFindingCDC::RealisticFacetFilter::RealisticFacetFilter
RealisticFacetFilter()
Constructor using default direction of flight deviation cut off.
Definition: RealisticFacetFilter.cc:25
Belle2::TrackFindingCDC::RealisticFacetFilter::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the set of parameters of the filter to the module parameter list.
Definition: RealisticFacetFilter.cc:35
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::CDCFacet
Class representing a triple of neighboring oriented wire with additional trajectory information.
Definition: CDCFacet.h:42
Belle2::ModuleParamList
The Module parameter list class.
Definition: ModuleParamList.h:46
Belle2::TrackFindingCDC::RealisticFacetFilter::m_param_phiPullCut
double m_param_phiPullCut
Memory for the pull cu.
Definition: RealisticFacetFilter.h:61