Belle II Software  release-08-01-10
MCAxialSegmentPairFilter.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/axialSegmentPair/BaseAxialSegmentPairFilter.h>
11 
12 #include <tracking/trackFindingCDC/filters/base/MCSymmetricFilter.dcl.h>
13 
14 namespace Belle2 {
19  class ModuleParamList;
20 
21  namespace TrackFindingCDC {
22 
24  class MCAxialSegmentPairFilter : public MCSymmetric<BaseAxialSegmentPairFilter> {
25 
26  private:
29 
30  public:
32  explicit MCAxialSegmentPairFilter(bool allowReverse = true);
33 
35  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
36 
38  Weight operator()(const CDCAxialSegmentPair& axialSegmentPair) final;
39 
40  private:
42  bool m_param_requireRLPure = true;
43  };
44  }
46 }
The Module parameter list class.
Class representing a pair of reconstructed axial segements in adjacent superlayer.
Filter for the constuction of axial to axial segment pairs based on simple criterions.
bool m_param_requireRLPure
Parameter : Switch to require the segment combination contain mostly correct rl information.
Weight operator()(const CDCAxialSegmentPair &axialSegmentPair) final
Checks if a pair of axial segments is a good combination.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the set of parameters of the filter to the module parameter list.
MCAxialSegmentPairFilter(bool allowReverse=true)
Constructor.
Mixin for filters that use Monte Carlo information.
Abstract base class for different kinds of events.