Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
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 <limits>
// std::numeric_limits
7
#include <string>
8
14
class
Fun4AllBase
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
33
enum
enu_Verbosity
34
{
35
37
VERBOSITY_QUIET
= 0,
38
40
VERBOSITY_SOME
= 1,
41
43
VERBOSITY_MORE
= 2,
44
46
VERBOSITY_EVEN_MORE
= 3,
47
49
VERBOSITY_A_LOT
= 4,
50
51
// ... use your imagination ...
52
54
VERBOSITY_MAX
= std::numeric_limits<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
76
int
m_Verbosity
=
VERBOSITY_QUIET
;
77
};
78
79
#endif
coresoftware
blob
master
offline
framework
fun4all
Fun4AllBase.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:04
using
1.8.2 with
sPHENIX GitHub integration