Belle II Software  release-05-02-19
PhiRecoTrackRelationFilter.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2017 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Nils Braun *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <tracking/trackFindingCDC/filters/base/RelationFilter.icc.h>
13 
14 #include <tracking/modules/cosmicsTrackMerger/CellularRecoTrack.h>
15 #include <string>
16 
17 namespace Belle2 {
22  class ModuleParamList;
23 
25  class PhiRecoTrackRelationFilter : public TrackFindingCDC::RelationFilter<const CellularRecoTrack> {
26 
27  private:
29  using Super = TrackFindingCDC::RelationFilter<const CellularRecoTrack>;
30 
31  public:
33  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override;
34 
36  TrackFindingCDC::Weight operator()(const CellularRecoTrack& fromTrack, const CellularRecoTrack& toTrack) final;
37 
39  using Super::operator();
40 
41  private:
43  double m_param_maximalPhiDistance = 0.2;
44  };
46 }
Belle2::PhiRecoTrackRelationFilter::Super
TrackFindingCDC::RelationFilter< const CellularRecoTrack > Super
Type of the super class.
Definition: PhiRecoTrackRelationFilter.h:37
Belle2::PhiRecoTrackRelationFilter::operator()
TrackFindingCDC::Weight operator()(const CellularRecoTrack &fromTrack, const CellularRecoTrack &toTrack) final
Implementation of the phi calculation.
Definition: PhiRecoTrackRelationFilter.cc:32
Belle2::TrackFindingCDC::WithAutomatonCell
Mixin class to attach an automaton cell to an object or pointer.
Definition: WithAutomatonCell.h:32
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::PhiRecoTrackRelationFilter::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Export all parameters.
Definition: PhiRecoTrackRelationFilter.cc:23
Belle2::ModuleParamList
The Module parameter list class.
Definition: ModuleParamList.h:46
Belle2::PhiRecoTrackRelationFilter::m_param_maximalPhiDistance
double m_param_maximalPhiDistance
Parameter : The maximal deviation in phi between the trajectories of the track.
Definition: PhiRecoTrackRelationFilter.h:51