Belle II Software  release-05-02-19
MCRelationCreatorModule.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 <framework/core/Module.h>
13 
14 #include <tracking/mcMatcher/TrackMatchLookUp.h>
15 #include <tracking/dataobjects/RecoTrack.h>
16 
17 #include <framework/datastore/StoreArray.h>
18 
19 #include <memory>
20 
24 namespace Belle2 {
29 
33  class MCRelationCreatorModule : public Module {
34 
35  public:
38 
40  void initialize() override;
41 
43  void event() override;
44 
45  private:
50 
55 
57  std::unique_ptr<TrackMatchLookUp> m_cdcTrackMatchLookUp;
59  std::unique_ptr<TrackMatchLookUp> m_vxdTrackMatchLookUp;
60  };
62 }
63 
Belle2::MCRelationCreatorModule::MCRelationCreatorModule
MCRelationCreatorModule()
Constructor of the module. Setting up parameters and description.
Definition: MCRelationCreatorModule.cc:17
Belle2::MCRelationCreatorModule::initialize
void initialize() override
Declare required StoreArray.
Definition: MCRelationCreatorModule.cc:29
Belle2::MCRelationCreatorModule::m_cdcRecoTracksStoreArrayName
std::string m_cdcRecoTracksStoreArrayName
Name of the input CDC StoreArray.
Definition: MCRelationCreatorModule.h:55
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::MCRelationCreatorModule::m_vxdRecoTracks
StoreArray< RecoTrack > m_vxdRecoTracks
Store Array of the input tracks.
Definition: MCRelationCreatorModule.h:62
Belle2::MCRelationCreatorModule::m_vxdTrackMatchLookUp
std::unique_ptr< TrackMatchLookUp > m_vxdTrackMatchLookUp
TrackMatchLookUp for the matching (VXD)
Definition: MCRelationCreatorModule.h:67
Belle2::MCRelationCreatorModule::event
void event() override
Event processing, combine store array.
Definition: MCRelationCreatorModule.cc:40
Belle2::MCRelationCreatorModule::m_vxdRecoTracksStoreArrayName
std::string m_vxdRecoTracksStoreArrayName
Name of the input VXD StoreArray.
Definition: MCRelationCreatorModule.h:57
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::MCRelationCreatorModule::m_cdcTrackMatchLookUp
std::unique_ptr< TrackMatchLookUp > m_cdcTrackMatchLookUp
TrackMatchLookUp for the matching (CDC)
Definition: MCRelationCreatorModule.h:65
Belle2::MCRelationCreatorModule::m_cdcRecoTracks
StoreArray< RecoTrack > m_cdcRecoTracks
Store Array of the input tracks.
Definition: MCRelationCreatorModule.h:60