EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Fun4AllBase.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file Fun4AllBase.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef FUN4ALL_FUN4ALLBASE_H
4 #define FUN4ALL_FUN4ALLBASE_H
5 
6 #include <climits> // std::numeric_limits
7 #include <string>
8 
15 {
16  public:
20  virtual ~Fun4AllBase();
21 
23  virtual const std::string Name() const { return m_ThisName; }
24 
26  virtual void Name(const std::string &name) { m_ThisName = name; }
27 
31  virtual void Print(const std::string &what = "ALL") const;
32 
34  {
35 
38 
41 
44 
47 
50 
51  // ... use your imagination ...
52 
54  VERBOSITY_MAX = INT_MAX - 10
55 
56  };
57 
59  virtual void Verbosity(const int ival) { m_Verbosity = ival; }
60 
62  virtual void Verbosity(enu_Verbosity ival) { m_Verbosity = ival; }
63 
65  virtual int Verbosity() const { return m_Verbosity; }
66 
67  protected:
70  Fun4AllBase(const std::string &name = "NONAME");
71 
72  private:
73  std::string m_ThisName;
74 
77 };
78 
79 #endif