Belle II Software  release-08-01-10
MCSegmentPairFilter.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/segmentPair/BaseSegmentPairFilter.h>
11 
12 #include <tracking/trackFindingCDC/filters/base/MCSymmetricFilter.dcl.h>
13 
14 namespace Belle2 {
19  namespace TrackFindingCDC {
20 
22  class MCSegmentPairFilter : public MCSymmetric<BaseSegmentPairFilter> {
23 
24  private:
27 
28  public:
30  explicit MCSegmentPairFilter(bool allowReverse = true);
31 
33  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
34 
36  Weight operator()(const CDCSegmentPair& segmentPair) final;
37 
38  private:
40  bool m_param_requireRLPure = true;
41 
44  };
45  }
47 }
The Module parameter list class.
Class representing a pair of one reconstructed axial segement and one stereo segment in adjacent supe...
Filter for the constuction of axial to stereo segment pairs based on MC information.
bool m_param_requireRLPure
Parameter : Switch to require the segment combination contain mostly correct rl information.
int m_param_minSegmentSize
Parameter : Minimum segment size to pass as monte carlo truth.
MCSegmentPairFilter(bool allowReverse=true)
Constructor.
Weight operator()(const CDCSegmentPair &segmentPair) final
Checks if a axial stereo segment pair 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.
Mixin for filters that use Monte Carlo information.
Abstract base class for different kinds of events.