Belle II Software  release-05-01-25
MCTrackRelationFilter.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - 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/trackRelation/BaseTrackRelationFilter.h>
13 
14 #include <tracking/trackFindingCDC/filters/base/MCSymmetricFilter.dcl.h>
15 
16 namespace Belle2 {
21  namespace TrackFindingCDC {
22 
24  class MCTrackRelationFilter : public MCSymmetric<BaseTrackRelationFilter > {
25 
26  private:
28  using Super = MCSymmetric<BaseTrackRelationFilter>;
29 
30  public:
35  explicit MCTrackRelationFilter(bool allowReverse = false);
36 
37  public:
39  Weight operator()(const CDCTrack& fromTrack, const CDCTrack& toTrack) final;
40  };
41  }
43 }
Belle2::TrackFindingCDC::CDCTrack
Class representing a sequence of three dimensional reconstructed hits.
Definition: CDCTrack.h:51
Belle2::TrackFindingCDC::MCTrackRelationFilter::Super
MCSymmetric< BaseTrackRelationFilter > Super
Type of the super class.
Definition: MCTrackRelationFilter.h:36
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::MCTrackRelationFilter::operator()
Weight operator()(const CDCTrack &fromTrack, const CDCTrack &toTrack) final
Checks if a track relation is a good combination.
Definition: MCTrackRelationFilter.cc:28
Belle2::TrackFindingCDC::MCTrackRelationFilter::MCTrackRelationFilter
MCTrackRelationFilter(bool allowReverse=false)
Constructor also setting the switch , if the reversed version of a track relation (in comparision to ...
Definition: MCTrackRelationFilter.cc:23