Belle II Software light-2406-ragdoll
StatisticsSummaryModule.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 <framework/core/ProcessStatistics.h>
14
15
16namespace Belle2 {
30
31 public:
32
38
40 virtual void initialize() override;
41
43 virtual void beginRun() override;
44
46 virtual void event() override;
47
49 virtual void endRun() override;
50
51 private:
54
57 };
59}
EStatisticCounters
Enum to define all counter types.
Base class for Modules.
Definition: Module.h:72
A module that displays the sum of multiple modules in the module statistics.
virtual void initialize() override
Record initialize statistics sum.
StoreObjPtr< ProcessStatistics > m_processStatistics
process statistics pointer
virtual void event() override
Record event statistics sum.
virtual void endRun() override
Record end run statistics sum.
virtual void beginRun() override
Record begin run statistics sum.
void record(ModuleStatistics::EStatisticCounters type)
Record the statistics of given type.
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