Belle II Software light-2406-ragdoll
EventInfoPrinterModule.h
1#pragma once
2/**************************************************************************
3 * basf2 (Belle II Analysis Software Framework) *
4 * Author: The Belle II Collaboration *
5 * *
6 * See git log for contributors and copyright holders. *
7 * This file is licensed under LGPL-3.0, see LICENSE.md. *
8 **************************************************************************/
9
10#include <framework/core/Module.h>
11
12#include <framework/datastore/StoreObjPtr.h>
13#include <framework/dataobjects/EventMetaData.h>
14
15namespace Belle2 {
30 public:
31
38
41
43 virtual void initialize() override;
44
51 virtual void beginRun() override;
52
54 virtual void event() override;
55
62 virtual void endRun() override;
63
64 private:
65 std::string formatDateTime(unsigned long long int);
69 };
70
72}
The event meta data info module.
std::string formatDateTime(unsigned long long int)
Format date & time for output.
bool m_printTime
Print time in addition to exp/run/evt numbers.
virtual void initialize() override
initialization.
virtual void event() override
Prints the full information about the event, run and experiment number.
EventInfoPrinterModule()
Constructor of the module.
virtual void endRun() override
Prints a footer for each run which ended.
StoreObjPtr< EventMetaData > m_eventMetaData
EventMetaData.
virtual void beginRun() override
Prints a header for each new run.
virtual ~EventInfoPrinterModule()
Destructor of the module.
Base class for Modules.
Definition: Module.h:72
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Abstract base class for different kinds of events.
Definition: ClusterUtils.h:24