Belle II Software
release-05-02-19
ProgressModule.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2010-2011 Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Martin Ritter *
7
* *
8
**************************************************************************/
9
10
#pragma once
11
12
#include <framework/core/Module.h>
13
#include <boost/format.hpp>
14
15
namespace
Belle2
{
32
class
ProgressModule :
public
Module {
33
34
public
:
35
37
ProgressModule
();
38
40
virtual
void
initialize
()
override
;
41
43
virtual
void
beginRun
()
override
;
44
46
virtual
void
event
()
override
;
47
48
protected
:
50
int
m_maxOrder
;
51
53
int
m_evtNr
;
54
56
int
m_runNr
;
57
59
boost::format
m_output
;
60
};
62
}
// end namespace Belle2
Belle2::ProgressModule::m_maxOrder
int m_maxOrder
Maximum order of magnitude for interval between showing progress.
Definition:
ProgressModule.h:57
Belle2::ProgressModule::m_output
boost::format m_output
compiled output format
Definition:
ProgressModule.h:66
Belle2::ProgressModule::m_evtNr
int m_evtNr
Number of processed events.
Definition:
ProgressModule.h:60
Belle2::ProgressModule::initialize
virtual void initialize() override
Init the module.
Definition:
ProgressModule.cc:32
Belle2::ProgressModule::ProgressModule
ProgressModule()
Constructor.
Definition:
ProgressModule.cc:19
Belle2::ProgressModule::beginRun
virtual void beginRun() override
Show beginRun message.
Definition:
ProgressModule.cc:39
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::ProgressModule::event
virtual void event() override
Show progress.
Definition:
ProgressModule.cc:45
Belle2::ProgressModule::m_runNr
int m_runNr
Number of processed runs.
Definition:
ProgressModule.h:63
framework
modules
core
include
ProgressModule.h
Generated on Tue Jan 4 2022 02:56:51 for Belle II Software by
1.8.17