Belle II Software  release-05-01-25
MCAxialSegmentPairFilter.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/axialSegmentPair/BaseAxialSegmentPairFilter.h>
13 
14 #include <tracking/trackFindingCDC/filters/base/MCSymmetricFilter.dcl.h>
15 
16 namespace Belle2 {
21  class ModuleParamList;
22 
23  namespace TrackFindingCDC {
24 
26  class MCAxialSegmentPairFilter : public MCSymmetric<BaseAxialSegmentPairFilter> {
27 
28  private:
30  using Super = MCSymmetric<BaseAxialSegmentPairFilter>;
31 
32  public:
34  explicit MCAxialSegmentPairFilter(bool allowReverse = true);
35 
37  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
38 
40  Weight operator()(const CDCAxialSegmentPair& axialSegmentPair) final;
41 
42  private:
44  bool m_param_requireRLPure = true;
45  };
46  }
48 }
Belle2::TrackFindingCDC::MCAxialSegmentPairFilter::MCAxialSegmentPairFilter
MCAxialSegmentPairFilter(bool allowReverse=true)
Constructor.
Definition: MCAxialSegmentPairFilter.cc:28
Belle2::TrackFindingCDC::MCAxialSegmentPairFilter::Super
MCSymmetric< BaseAxialSegmentPairFilter > Super
Type of the super class.
Definition: MCAxialSegmentPairFilter.h:38
Belle2::TrackFindingCDC::MCAxialSegmentPairFilter::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the set of parameters of the filter to the module parameter list.
Definition: MCAxialSegmentPairFilter.cc:33
Belle2::TrackFindingCDC::MCAxialSegmentPairFilter::m_param_requireRLPure
bool m_param_requireRLPure
Parameter : Switch to require the segment combination contain mostly correct rl information.
Definition: MCAxialSegmentPairFilter.h:52
Belle2::TrackFindingCDC::CDCAxialSegmentPair
Class representing a pair of reconstructed axial segements in adjacent superlayer.
Definition: CDCAxialSegmentPair.h:41
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ModuleParamList
The Module parameter list class.
Definition: ModuleParamList.h:46
Belle2::TrackFindingCDC::MCAxialSegmentPairFilter::operator()
Weight operator()(const CDCAxialSegmentPair &axialSegmentPair) final
Checks if a pair of axial segments is a good combination.
Definition: MCAxialSegmentPairFilter.cc:43