Belle II Software development
CDCTriggerMCMatcherModule.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 CDCTRIGGERMCMATCHERMODULE_H
9#define CDCTRIGGERMCMATCHERMODULE_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 <mdst/dataobjects/MCParticle.h>
17
18namespace Belle2 {
27 public:
30
33
35 virtual void initialize() override;
36
38 virtual void event() override;
39
40 protected:
63
72 };
74}
75#endif
A module to match CDCTriggerTracks to MCParticles.
CDCTriggerMCMatcherModule()
Constructor, for setting module description and parameters.
std::string m_MCParticleCollectionName
Name of the MCParticle StoreArray to be matched.
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.
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.
int m_minStereo
minimum number of stereo hits to consider a MCParticle as trackable
StoreArray< MCParticle > m_mcParticles
list of MCParticles to be matched
bool m_onlyPrimaries
switch for ignoring secondary particles
int m_minAxial
minimum number of axial hits to consider a MCParticle as trackable
StoreArray< CDCTriggerTrack > m_prTracks
list of CDCTriggerTracks 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.