Belle II Software development
MCSegmentTripleRelationFilter.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/segmentTripleRelation/BaseSegmentTripleRelationFilter.h>
11#include <tracking/trackFindingCDC/filters/segmentTriple/MCSegmentTripleFilter.h>
12#include <tracking/trackFindingCDC/filters/base/MCSymmetricFilter.dcl.h>
13
14namespace Belle2 {
19 namespace TrackFindingCDC {
20 class CDCSegmentTriple;
21
23 class MCSegmentTripleRelationFilter : public MCSymmetric<BaseSegmentTripleRelationFilter> {
24
25 private:
28
29 public:
31 explicit MCSegmentTripleRelationFilter(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 CDCSegmentTriple& fromTriple, const CDCSegmentTriple& toTriple) final;
45
46 public:
48 void setAllowReverse(bool allowReverse) override
49 {
50 Super::setAllowReverse(allowReverse);
52 }
53
54 private:
57 };
58 }
60}
The Module parameter list class.
Class representing a triple of reconstructed segements in adjacent superlayer.
Filter for the constuction of segment triples based on monte carlo information.
void setAllowReverse(bool allowReverse) override
Setter for the allow reverse parameter.
Class filtering the neighborhood of segment triples with monte carlo information.
MCSegmentTripleFilter m_mcSegmentTripleFilter
Instance of the Monte Carlo segment triple filter for rejection of false cells.
void initialize() final
Initialize the before event processing.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
void setAllowReverse(bool allowReverse) override
Setter for the allow reverse parameter.
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.