Belle II Software  release-08-01-10
MCFacetFilter.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/facet/BaseFacetFilter.h>
11 
12 #include <tracking/trackFindingCDC/filters/base/MCSymmetricFilter.dcl.h>
13 
14 namespace Belle2 {
19  namespace TrackFindingCDC {
20  class CDCFacet;
21  class CDCRLWireHitTriple;
22 
24  class MCFacetFilter : public MCSymmetric<BaseFacetFilter> {
25  private:
28 
29  public:
34  explicit MCFacetFilter(bool allowReverse = true);
35 
36  public:
41  Weight operator()(const CDCFacet& facet) final;
42 
43  private:
45  bool operator()(const CDCRLWireHitTriple& rlWireHitTriple, int maxInTrackHitIdDifference);
46  };
47  }
49 }
Class representing a triple of neighboring oriented wire with additional trajectory information.
Definition: CDCFacet.h:32
Class representing a triple of neighboring wire hits.
Filter for the constuction of good facets based on monte carlo information.
Definition: MCFacetFilter.h:24
Weight operator()(const CDCFacet &facet) final
Main filter method returning the weight of the facet.
MCFacetFilter(bool allowReverse=true)
Constructor also setting the switch, if the reversed version of a facet (in comparision to MC truth) ...
Mixin for filters that use Monte Carlo information.
Abstract base class for different kinds of events.