UserUtils
EDMUtils
interface
Counter.hpp
Go to the documentation of this file.
1
7
#ifndef USERUTILS_EDMUTILS_COUNTER_HPP
8
#define USERUTILS_EDMUTILS_COUNTER_HPP
9
10
namespace
usr
11
{
12
24
class
Counter
25
{
26
public
:
27
Counter
();
28
Counter
(
const
double
);
29
virtual
~Counter
();
30
31
bool
mergeProduct
(
const
Counter
& nextCounter );
32
33
// Saving value
34
double
value;
35
};
36
37
}
/* usr */
38
39
#endif
/* end of include guard: USERUTILS_EDMUTILS_COUNTER_HPP */
usr::Counter
Class exposed to the EDM ROOT framework to allow for run-level caching.
Definition:
Counter.hpp:25
usr::Counter::mergeProduct
bool mergeProduct(const Counter &nextCounter)
The existence of this function is required for merging values between runs.
Definition:
Counter.cc:24
Generated by
doxygen
1.9.4
Source code hosted on
GitHub
Debug: