Belle II Software development
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
18namespace Belle2 {
27 public:
30
33
35 virtual void initialize() override;
36
38 virtual void event() override;
39
40 protected:
57
64 };
66}
67#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
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.