6 #ifndef __PLOTSREGISTER_HPP_
7 #define __PLOTSREGISTER_HPP_
30 bool Add(
int offset,
int range, std::string name_);
42 std::vector< std::pair<int, int> >
reg;
44 #endif // __PLOTSREGISTER_HPP_
PlotsRegister & operator=(PlotsRegister const &)
the copy constructor
Holds ranges and offsets of all plots. Singleton class.
Definition: PlotsRegister.hpp:14
bool Add(int offset, int range, std::string name_)
PlotsRegister()
Definition: PlotsRegister.hpp:37
static PlotsRegister * instance
static instance of the class
Definition: PlotsRegister.hpp:40
std::vector< std::pair< int, int > > reg
Vector of min, max of histogram numbers.
Definition: PlotsRegister.hpp:42
bool CheckRange(int offset, int range) const