Belle II Software development
RegisterEventLevelTrackingInfoModule.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
9#pragma once
10
11#include <framework/core/Module.h>
12#include <framework/datastore/StoreObjPtr.h>
13#include <mdst/dataobjects/EventLevelTrackingInfo.h>
14
15
16namespace Belle2 {
27
28 public:
29
32
34 void initialize() override;
35
37 void event() override;
38
39 private:
40
42 std::string m_eventLevelTrackingInfoName = "EventLevelTrackingInfo";
43
46
48 bool m_createNewObj = false;
49 };
51}
Base class for Modules.
Definition: Module.h:72
Module to create the EventLevelTrackingInfo that is used to set general tracking-related flags.
std::string m_eventLevelTrackingInfoName
Name of the StoreObject to access the event level tracking information.
void initialize() override
Declare required StoreArray.
StoreObjPtr< EventLevelTrackingInfo > m_eventLevelTrackingInfo
StoreObject to access the event level tracking information.
void event() override
Event processing, create store array.
bool m_createNewObj
Used to check if the object already exists (we need the object already during svd/pxd reconstruction)
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.