UserUtils
Counter.hpp
Go to the documentation of this file.
1
7#ifndef USERUTILS_EDMUTILS_COUNTER_HPP
8#define USERUTILS_EDMUTILS_COUNTER_HPP
9
10namespace usr
11{
12
25{
26public:
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 */
Class exposed to the EDM ROOT framework to allow for run-level caching.
Definition: Counter.hpp:25
bool mergeProduct(const Counter &nextCounter)
The existence of this function is required for merging values between runs.
Definition: Counter.cc:24