ECCE @ EIC Software
Reference for
ECCE @ 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
phool.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file phool.h
1
#ifndef PHOOL_PHOOL_H
2
#define PHOOL_PHOOL_H
3
4
// Standard PHOOL's header file.
5
// Purpose: declarations and definitions for PHOOL
6
7
#include <iostream>
8
9
// Global type definitions
10
enum
PHMessageType
11
{
12
PHError
,
13
PHWarning
,
14
PHHullo
15
};
16
enum
PHAccessType
17
{
18
PHReadOnly
,
19
PHWrite
,
20
PHUpdate
21
};
22
enum
PHTreeType
23
{
24
PHEventTree
,
25
PHRunTree
26
};
27
28
// General purpose functions
29
void
PHMessage
(
const
std::string&,
int
,
const
std::string&);
30
31
#define PHWHERE __FILE__ << ":" << __LINE__ << ": "
32
#define PHMESSAGE(x) \
33
do \
34
{ \
35
std::cout << PHWHERE << (x) << std::endl; \
36
} while (0)
37
#define PHOOL_VIRTUAL_WARNING \
38
do \
39
{ \
40
std::cout << PHWHERE << "using virtual function, doing nothing" << std::endl; \
41
} while (0)
42
// now one where you can give an argument, e.g. the method name
43
#define PHOOL_VIRTUAL_WARN(x) \
44
do \
45
{ \
46
std::cout << PHWHERE << "using virtual function " << x << " doing nothing" << std::endl; \
47
} while (0)
48
49
#endif
/* PHOOL_PHOOL_H */
coresoftware
blob
master
offline
framework
phool
phool.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:34
using
1.8.2 with
ECCE GitHub integration