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
debug.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file debug.h
1
/* This software is distributed under the GNU Lesser General Public License */
2
//==========================================================================
3
//
4
// debug.h - Functions, which are useful for debugging
5
//
6
//==========================================================================
7
// $Id: debug.h,v 1.8 2001/10/10 08:30:00 chris Exp $
8
9
#ifndef GTL_DEBUG_H
10
#define GTL_DEBUG_H
11
12
#include <
GTL/GTL.h
>
13
14
#include <iostream>
15
16
__GTL_BEGIN_NAMESPACE
17
18
//
19
// If _DEBUG is defined the funtions defined here will produce output.
20
// You can either define _DEBUG here (or undef it) or you can set it as
21
// option of your compiler.
22
//
23
//#define _DEBUG 1
24
//#undef _DEBUG
25
//
26
30
class
GTL_EXTERN
GTL_debug
{
31
public
:
32
static
void
debug_message (
const
char
*, ...);
33
static
void
init_debug();
34
static
void
close_debug();
35
static
ostream&
os
()
36
{
return
*GTLerr; }
37
38
private
:
39
static
ostream*
GTLerr
;
40
};
41
42
__GTL_END_NAMESPACE
43
44
#endif // GTL_DEBUG_H
45
46
//--------------------------------------------------------------------------
47
// end of file
48
//--------------------------------------------------------------------------
JETSCAPE
blob
main
external_packages
gtl
include
GTL
debug.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:23
using
1.8.2 with
sPHENIX GitHub integration