Belle II Software  release-08-01-10
CDCTriggerRecoHitMatcherModule.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 #ifndef CDCTRIGGERRECOHITMATCHERMODULE_H
9 #define CDCTRIGGERRECOHITMATCHERMODULE_H
10 
11 #include <framework/core/Module.h>
12 
13 #include <framework/datastore/StoreArray.h>
14 #include <trg/cdc/dataobjects/CDCTriggerSegmentHit.h>
15 #include <tracking/dataobjects/RecoTrack.h>
16 //#include <genfit/Track.h>
17 #include <mdst/dataobjects/Track.h>
18 #include <mdst/dataobjects/MCParticle.h>
19 
20 namespace Belle2 {
32  public:
35 
38 
40  virtual void initialize() override;
41 
43  virtual void event() override;
44 
45  protected:
55  std::string m_hitCollectionName;
57  std::string m_TrackCollectionName;
58 
71  };
73 }
74 #endif
A module to match CDCTriggerTracks to RecoTracks.
StoreArray< MCParticle > m_recoTrackable
list of MCParticles where x and p is overriden with the matched RecoTrack values
std::string m_MCParticleCollectionName
Name of the MCParticle StoreArray to be matched.
StoreArray< Track > m_mdstTracks
list of mdst Tracks
std::string m_MCTrackableCollectionName
Name of a new StoreArray holding MCParticles considered as trackable.
StoreArray< MCParticle > m_mcTracks
list of MCParticles considered as trackable
virtual void initialize() override
Initialize the module.
CDCTriggerRecoHitMatcherModule()
Constructor, for setting module description and parameters.
std::string m_RecoTrackCollectionName
Name of the RecoTrack StoreArray to be matched.
virtual void event() override
Called once for each event.
StoreArray< CDCTriggerSegmentHit > m_segmentHits
list of hits that are used for the matching
std::string m_RecoTrackableCollectionName
Name of the StoreArray holding primary MCParticle matched to a RecoTrack, but the vertex and momentum...
std::string m_TrackCollectionName
Name of a new StoreArray holding Tracks.
StoreArray< RecoTrack > m_recoTracks
list of RecoTracks to be matched
StoreArray< MCParticle > m_mcParticles
list of MCParticles to be matched
std::string m_hitCollectionName
Name of the StoreArray containing the hits that are used for the matching.
Base class for Modules.
Definition: Module.h:72
Abstract base class for different kinds of events.