Belle II Software  release-06-02-00
MCRecoTracksMatcherModule.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 <framework/core/Module.h>
11 #include <framework/gearbox/Const.h>
12 
13 namespace Belle2 {
126 
127  public:
130 
132  void initialize() final;
133 
135  void event() final;
136 
137  private: //Parameters
140 
143 
146 
149 
152 
155 
163 
171 
172  public: // Other variables
174  using NDF = int;
175 
177  std::map<int, NDF> m_ndf_by_detId = {{Const::PXD, 2}, {Const::SVD, 1}, {Const::CDC, 1}};
178 
180  bool m_mcParticlesPresent = false;
181  };
183 }
This module compares tracks generated by some pattern recognition algorithm for PXD,...
double m_param_minimalPurity
Parameter : Minimal purity of a PRTrack to be considered matchable to a MCTrack.
double m_param_minimalEfficiency
Parameter : Minimal efficiency for a MCTrack to be considered matchable to a PRTrack.
void initialize() final
Signal the beginning of the event processing.
int NDF
Descriptive type defintion for a number of degrees of freedom.
bool m_mcParticlesPresent
Flag to indicated whether the Monte Carlo track are on the DataStore.
bool m_param_useSVDHits
Parameter : Switch whether SVDHits should be used in the matching.
MCRecoTracksMatcherModule()
Constructor setting up the parameter.
std::string m_param_prRecoTracksStoreArrayName
Parameter : RecoTracks store array name from the patter recognition.
void event() final
Process the event.
bool m_param_useOnlyAxialCDCHits
Parameter : Switch whether only axial CDCHits should be used.
bool m_param_usePXDHits
Parameter : Switch whether PXDHits should be used in the matching.
std::string m_param_mcRecoTracksStoreArrayName
Parameter : RecoTracks store array name from the mc recognition.
std::map< int, NDF > m_ndf_by_detId
Map storing the standard number degrees of freedom for a single hit by detector *‍/.
bool m_param_useCDCHits
Parameter : Switch whether CDCHits should be used in the matching.
Base class for Modules.
Definition: Module.h:72
Abstract base class for different kinds of events.