Belle II Software  release-06-00-14
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 #include <framework/core/Module.h>
12 #include <framework/datastore/DataStore.h>
13 #include <framework/datastore/StoreArray.h>
14 #include <framework/datastore/StoreObjPtr.h>
15 #include <framework/dataobjects/EventT0.h>
16 #include <hlt/dataobjects/OnlineEventT0.h>
17 
18 
19 namespace Belle2 {
31 
32  public:
33 
36 
38  virtual ~OnlineEventT0CreatorModule() = default;
39 
41  void initialize() override;
42 
45  void event() override;
46 
49 
52 
53  };
55 } // Belle2 namespace
Base class for Modules.
Definition: Module.h:72
Module to write the EventT0s computed on HLT.
StoreObjPtr< EventT0 > m_eventT0
StoreArray of EventT0.
virtual ~OnlineEventT0CreatorModule()=default
Destructor.
void initialize() override
initialize: check DataStore content
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:95
Abstract base class for different kinds of events.