Belle II Software development
OnlineEventT0CreatorModule.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/* Basf2 headers. */
12#include <framework/core/Module.h>
13#include <framework/datastore/DataStore.h>
14#include <framework/datastore/StoreArray.h>
15#include <framework/datastore/StoreObjPtr.h>
16#include <framework/dataobjects/EventT0.h>
17#include <hlt/dataobjects/OnlineEventT0.h>
18
19
20namespace Belle2 {
32
33 public:
34
37
39 virtual ~OnlineEventT0CreatorModule() = default;
40
42 void initialize() override;
43
48 void event() override;
49
50 private:
51
58
61
64
65 };
66
68} // Belle2 namespace
Base class for Modules.
Definition: Module.h:72
Module to write the EventT0s computed on the online systems (HLT).
StoreObjPtr< EventT0 > m_eventT0
StoreArray of EventT0.
virtual ~OnlineEventT0CreatorModule()=default
Destructor.
void initialize() override
Initialize: check DataStore content.
bool m_executeThisModule
Module parameter for executing the module or not.
void event() override
This method is called for each event.
StoreArray< OnlineEventT0 > m_onlineEventT0
StoreArray of OnlineEventT0.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.