Belle II Software development
MCV0MatcherModule.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#include <mdst/dataobjects/MCParticle.h>
13#include <mdst/dataobjects/V0.h>
14
15namespace Belle2 {
21 class MCV0MatcherModule : public Module {
22 public:
25
27 ~MCV0MatcherModule() override;
28
34 void initialize() override;
35
36
42 void event() override;
43
44
45 private:
48
49 std::string m_TrackColName;
50 std::string m_TFRColName;
51 std::string m_V0ColName;
52 std::string m_MCParticleColName;
53
54 };
55
56}
std::string m_TFRColName
Belle2::TrackFitResult collection name (input).
void initialize() override
Use this to initialize resources or memory your module needs.
void event() override
Called once for each event.
StoreArray< V0 > m_V0s
V0s StoreArray.
std::string m_TrackColName
Belle2::Track collection name (input).
~MCV0MatcherModule() override
Destructor (empty).
MCV0MatcherModule()
Constructor, for setting module description and parameters.
std::string m_MCParticleColName
MCParticle collection name (input).
StoreArray< MCParticle > m_MCParticles
MCParticles StoreArray.
std::string m_V0ColName
V0 collection name (input).
Module()
Constructor.
Definition Module.cc:30
Accessor to arrays stored in the data store.
Definition StoreArray.h:113
Abstract base class for different kinds of events.