EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
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 <climits>
// 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
= 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
;
77
};
78
79
#endif
fun4all_coresoftware
blob
master
offline
framework
fun4all
Fun4AllBase.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:43
using
1.8.2 with
EIC GitHub integration