Belle II Software development
TrackToMCParticleRelatorModule.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#pragma once
9
10#include <framework/core/Module.h>
11#include <framework/datastore/StoreArray.h>
12
13namespace Belle2 {
18 class RecoTrack;
19 class Track;
20 class MCParticle;
21
27 public:
30
33
35 void initialize() override;
36
38 void event() override;
39
40 private:
43
44 std::string m_TracksName = "";
45 std::string m_RecoTracksName = "";
46 std::string m_MCParticlesName = "";
47
49
50 };
52}
Base class for Modules.
Definition: Module.h:72
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
A module to set relations from Track to MCParticle via the RecoTrack the Track is related to.
std::string m_TracksName
Track StoreArray name (input).
void initialize() override
Use this to initialize StoreArrays and relations.
void event() override
Called once for each event.
TrackToMCParticleRelatorModule()
Constructor, for setting module description and parameters.
std::string m_RecoTracksName
RecoTrack StoreArray name (input).
std::string m_MCParticlesName
MCParticle StoreArray name ().
StoreArray< RecoTrack > m_RecoTracks
RecoTracks StoreArray.
StoreArray< Track > m_Tracks
Tracks StoreArray *‍/.
Abstract base class for different kinds of events.