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
PHNodeOperation.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHNodeOperation.h
1
#ifndef PHOOL_PHNODEOPERATION_H
2
#define PHOOL_PHNODEOPERATION_H
3
4
// Declaration of class PHNodeOperation
5
// Purpose: abstract strategy base class which operates on PHNodes
6
// Author: Matthias Messer
7
8
class
PHNode
;
9
10
class
PHNodeOperation
11
{
12
public
:
13
PHNodeOperation
()
14
:
verbosity
(0)
15
{
16
}
17
virtual
~PHNodeOperation
() {}
18
void
19
operator()
(
PHNode
& o)
20
{
21
perform
(&o);
22
}
23
void
24
operator()
(
PHNode
* o)
25
{
26
perform
(o);
27
}
28
29
virtual
void
Verbosity
(
const
int
i
) {
verbosity
=
i
; }
30
virtual
int
Verbosity
()
const
{
return
verbosity
; }
31
32
protected
:
33
virtual
void
perform
(
PHNode
*) = 0;
34
int
verbosity
;
35
};
36
37
#endif
coresoftware
blob
master
offline
framework
phool
PHNodeOperation.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:05
using
1.8.2 with
sPHENIX GitHub integration