Belle II Software  release-08-01-10
MCTrackRelationFilter.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/trackRelation/BaseTrackRelationFilter.h>
11 
12 #include <tracking/trackFindingCDC/filters/base/MCSymmetricFilter.dcl.h>
13 
14 namespace Belle2 {
19  namespace TrackFindingCDC {
20 
22  class MCTrackRelationFilter : public MCSymmetric<BaseTrackRelationFilter > {
23 
24  private:
27 
28  public:
33  explicit MCTrackRelationFilter(bool allowReverse = false);
34 
35  public:
37  Weight operator()(const CDCTrack& fromTrack, const CDCTrack& toTrack) final;
38  };
39  }
41 }
Class representing a sequence of three dimensional reconstructed hits.
Definition: CDCTrack.h:41
Mixin for filters that use Monte Carlo information.
Filter for the constuction of track relations based on MC information.
Weight operator()(const CDCTrack &fromTrack, const CDCTrack &toTrack) final
Checks if a track relation is a good combination.
MCTrackRelationFilter(bool allowReverse=false)
Constructor also setting the switch , if the reversed version of a track relation (in comparision to ...
Abstract base class for different kinds of events.