Belle II Software development
MCSegmentPairRelationFilter.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/segmentPairRelation/BaseSegmentPairRelationFilter.h>
11#include <tracking/trackFindingCDC/filters/segmentPair/MCSegmentPairFilter.h>
12
13#include <tracking/trackFindingCDC/filters/base/MCSymmetricFilter.dcl.h>
14
15namespace Belle2 {
20 namespace TrackFindingCDC {
21
23 class MCSegmentPairRelationFilter : public MCSymmetric<BaseSegmentPairRelationFilter> {
24
25 private:
28
29 public:
31 explicit MCSegmentPairRelationFilter(bool allowReverse = true);
32
34 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
35
37 void initialize() final;
38
39 public:
44 Weight operator()(const CDCSegmentPair& fromSegmentPair, const CDCSegmentPair& toSegmentPair) final;
45
46 public:
48 void setAllowReverse(bool allowReverse) final {
49 Super::setAllowReverse(allowReverse);
51 }
52
53 private:
56 };
57 }
59}
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.
Class filtering the neighborhood of axial stereo segment pairs with monte carlo information.
void setAllowReverse(bool allowReverse) final
Setter for the allow reverse parameter.
void initialize() final
Initialize the before event processing.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
MCSegmentPairFilter m_mcSegmentPairFilter
Instance of the Monte Carlo axial stereo segment filter for rejection of false cells.
Mixin for filters that use Monte Carlo information.
virtual void setAllowReverse(bool allowReverse)
Setter for the allow reverse parameter.
Abstract base class for different kinds of events.