Belle II Software  release-08-01-10
MCVXDCDCTrackMergerModule.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/findlets/base/FindletModule.h>
11 #include <tracking/trackFindingCDC/findlets/base/Findlet.h>
12 #include <tracking/trackFindingCDC/collectors/selectors/BestMatchSelector.h>
13 #include <tracking/trackFindingCDC/collectors/adders/RelationAdder.h>
14 
15 #include <tracking/modules/vxdCDCTrackMerger/StoreArrayMerger.h>
16 
17 #include <framework/core/ModuleParamList.h>
18 
19 namespace Belle2 {
24  class RecoTrack;
25 
28  public:
31 
33  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override;
34 
36  void apply() override;
37 
38  private:
39  // Findlets
46 
47  // Parameters
50  };
51 
53 
56  class MCVXDCDCTrackMergerModule : public TrackFindingCDC::FindletModule<MCVXDCDCTrackMergerFindlet> {
57  public:
59  {
61  "This module merges tracks which are reconstructed, separately, in the silicon (PXD+VXD) and in the CDC using MC");
62  }
63  };
65 }
Findlet for merging VXD and CDC tracks with MC information.
StoreArrayMerger m_storeArrayMerger
Get and write back the relations to the store array.
TrackFindingCDC::BestMatchSelector< RecoTrack *, RecoTrack * > m_bestMatchSelector
Make a best candidate selection.
MCVXDCDCTrackMergerFindlet()
Constructor, for setting module description and parameters.
TrackFindingCDC::RelationAdder< RecoTrack *, RecoTrack * > m_relationAdder
Use the weighted relations to turn them into real DataStore relations.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the parameters of the sub findlets.
void apply() override
Do the track merging.
bool m_param_onlyFittedCDCTracks
Only use fitted CDC tracks, as otherwise the comparison with the CKF is unfair.
This module merges tracks which are reconstructed, separately, in the silicon (PXD+VXD) and in the CD...
The Module parameter list class.
void setDescription(const std::string &description)
Sets the description of the module.
Definition: Module.cc:214
This findlet has helper function to.
Selector to remove all relations in the list, which share the same collection item - except the one w...
Adapter of a findlet to a module that exposes the parameters of the findlet and manages the IO with t...
Definition: FindletModule.h:30
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
Class to add relations between the matched items.
Definition: RelationAdder.h:19
Abstract base class for different kinds of events.