Belle II Software  release-08-01-10
CDCTriggerRecoMatcherModule.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 CDCTRIGGERRECOMATCHERMODULE_H
9 #define CDCTRIGGERRECOMATCHERMODULE_H
10 
11 #include <framework/core/Module.h>
12 
13 #include <framework/datastore/StoreArray.h>
14 #include <trg/cdc/dataobjects/CDCTriggerSegmentHit.h>
15 #include <trg/cdc/dataobjects/CDCTriggerTrack.h>
16 #include <tracking/dataobjects/RecoTrack.h>
17 
18 namespace Belle2 {
30  public:
33 
36 
38  virtual void initialize() override;
39 
41  virtual void event() override;
42 
43  protected:
49  std::string m_hitCollectionName;
53  double m_minPurity;
60 
67  };
69 }
70 #endif
A module to match CDCTriggerTracks to RecoTracks.
bool m_relateHitsByID
switch for creating hit relations based on wire ID
virtual void initialize() override
Initialize the module.
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_TrgTrackCollectionName
Name of the CDCTriggerTrack Store Array to be matched.
StoreArray< CDCTriggerTrack > m_trgTracks
list of CDCTriggerTracks to be matched
CDCTriggerRecoMatcherModule()
Constructor, for setting module description and parameters.
StoreArray< RecoTrack > m_recoTracks
list of RecoTracks to be matched
std::string m_hitCollectionName
Name of the StoreArray containing the hits that are used for the matching.
bool m_relateClonesAndMerged
switch for creating relations for clones and merged tracks
Base class for Modules.
Definition: Module.h:72
Abstract base class for different kinds of events.