Belle II Software development
SimulateEventLevelTriggerTimeInfoModule.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/EventLevelTriggerTimeInfo.h>
14
15
16namespace Belle2 {
28
29 public:
30
33
35 void initialize() override;
36
38 void event() override;
39
40 private:
41
45 bool m_createNewObj = false;
46 };
48}
Base class for Modules.
Definition: Module.h:72
Module to create the EventLevelTriggerTimeInfo that stores information from the Trigger Timing Distri...
void initialize() override
Declare required StoreObjPtr (if not existing)
void event() override
Event processing, create obj (if not existing)
bool m_createNewObj
Used to check if the object already exists (typically from BG Overlay)
StoreObjPtr< EventLevelTriggerTimeInfo > m_eventLevelTriggerTimeInfo
StoreObject to access the EventLevelTriggerTimeInfo.
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.