Belle II Software  release-05-01-25
MCFacetFilter.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2012 - 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 <tracking/trackFindingCDC/filters/base/MCSymmetricFilter.dcl.h>
15 
16 namespace Belle2 {
21  namespace TrackFindingCDC {
22  class CDCFacet;
23  class CDCRLWireHitTriple;
24 
26  class MCFacetFilter : public MCSymmetric<BaseFacetFilter> {
27  private:
29  using Super = MCSymmetric<BaseFacetFilter>;
30 
31  public:
36  explicit MCFacetFilter(bool allowReverse = true);
37 
38  public:
43  Weight operator()(const CDCFacet& facet) final;
44 
45  private:
47  bool operator()(const CDCRLWireHitTriple& rlWireHitTriple, int maxInTrackHitIdDifference);
48  };
49  }
51 }
Belle2::TrackFindingCDC::MCFacetFilter::Super
MCSymmetric< BaseFacetFilter > Super
Type of the super class.
Definition: MCFacetFilter.h:37
Belle2::TrackFindingCDC::CDCRLWireHitTriple
Class representing a triple of neighboring wire hits.
Definition: CDCRLWireHitTriple.h:45
Belle2::TrackFindingCDC::MCFacetFilter::operator()
Weight operator()(const CDCFacet &facet) final
Main filter method returning the weight of the facet.
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::MCFacetFilter::MCFacetFilter
MCFacetFilter(bool allowReverse=true)
Constructor also setting the switch, if the reversed version of a facet (in comparision to MC truth) ...
Definition: MCFacetFilter.cc:27
Belle2::TrackFindingCDC::CDCFacet
Class representing a triple of neighboring oriented wire with additional trajectory information.
Definition: CDCFacet.h:42