Belle II Software  release-05-01-25
MCSegmentPairFilter.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/segmentPair/BaseSegmentPairFilter.h>
13 
14 #include <tracking/trackFindingCDC/filters/base/MCSymmetricFilter.dcl.h>
15 
16 namespace Belle2 {
21  namespace TrackFindingCDC {
22 
24  class MCSegmentPairFilter : public MCSymmetric<BaseSegmentPairFilter> {
25 
26  private:
28  using Super = MCSymmetric<BaseSegmentPairFilter>;
29 
30  public:
32  explicit MCSegmentPairFilter(bool allowReverse = true);
33 
35  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
36 
38  Weight operator()(const CDCSegmentPair& segmentPair) final;
39 
40  private:
42  bool m_param_requireRLPure = true;
43 
45  int m_param_minSegmentSize = 4;
46  };
47  }
49 }
Belle2::TrackFindingCDC::CDCSegmentPair
Class representing a pair of one reconstructed axial segement and one stereo segment in adjacent supe...
Definition: CDCSegmentPair.h:44
Belle2::TrackFindingCDC::MCSegmentPairFilter::operator()
Weight operator()(const CDCSegmentPair &segmentPair) final
Checks if a axial stereo segment pair is a good combination.
Definition: MCSegmentPairFilter.cc:48
Belle2::TrackFindingCDC::MCSegmentPairFilter::m_param_minSegmentSize
int m_param_minSegmentSize
Parameter : Minimum segment size to pass as monte carlo truth.
Definition: MCSegmentPairFilter.h:53
Belle2::TrackFindingCDC::MCSegmentPairFilter::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the set of parameters of the filter to the module parameter list.
Definition: MCSegmentPairFilter.cc:31
Belle2::TrackFindingCDC::MCSegmentPairFilter::m_param_requireRLPure
bool m_param_requireRLPure
Parameter : Switch to require the segment combination contain mostly correct rl information.
Definition: MCSegmentPairFilter.h:50
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::MCSegmentPairFilter::Super
MCSymmetric< BaseSegmentPairFilter > Super
Type of the super class.
Definition: MCSegmentPairFilter.h:36
Belle2::TrackFindingCDC::MCSegmentPairFilter::MCSegmentPairFilter
MCSegmentPairFilter(bool allowReverse=true)
Constructor.
Definition: MCSegmentPairFilter.cc:26
Belle2::ModuleParamList
The Module parameter list class.
Definition: ModuleParamList.h:46