Belle II Software  release-08-01-10
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 
16 namespace Belle2 {
30 
31  public:
32 
35 
37  void initialize() override;
38 
40  void event() override;
41 
42  private:
43 
45  std::string m_eventLevelTrackingInfoName = "EventLevelTrackingInfo";
46 
49 
51  bool m_createNewObj = false;
52  };
54 }
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.