Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OnlMonBase.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file OnlMonBase.h
1 #ifndef __ONLMONBASE_H__
2 #define __ONLMONBASE_H__
3 
4 #include <string>
5 
6 class OnlMonBase
7 {
8  public:
9  explicit OnlMonBase(const std::string &name = "NONE");
10  virtual ~OnlMonBase() {}
11 
12  const std::string Name() const { return ThisName; }
13  void Name(const std::string &name) {ThisName = name;}
14  virtual void Verbosity(const int i) { verbosity = i; }
15  virtual int Verbosity() const { return verbosity; }
16 
17  protected:
19  int verbosity = 0;
20 };
21 
22 #endif /* __ONLMONBASE_H__ */