ROOT  6.06/09
Reference Guide
TProofDebug.h
Go to the documentation of this file.
1 // @(#)root/proof:$Id$
2 // Author: Maarten Ballintijn 19/6/2002
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TProofDebug
13 #define ROOT_TProofDebug
14 
15 
16 //////////////////////////////////////////////////////////////////////////
17 // //
18 // TProofDebug //
19 // //
20 // Detailed logging / debug scheme. //
21 // //
22 //////////////////////////////////////////////////////////////////////////
23 
24 #ifndef ROOT_Rtypes
25 #include "Rtypes.h"
26 #endif
27 
28 // Remember to update the related mapping in tutorials/proof/runProof.C !
29 
30 class TProofDebug {
31 public:
33  kNone = 0,
35  kLoop = 2,
36  kSelector = 4,
37  kOutput = 8,
38  kInput = 16,
39  kGlobal = 32,
40  kPackage = 64,
41  kFeedback = 128,
42  kCondor = 256,
43  kDraw = 512,
44  kAsyn = 1024,
45  kCache = 2048,
46  kCollect = 4096,
47  kDataset = 8192,
48  kSubmerger = 16384,
49  kMonitoring = 32768,
50 
51  kAll = 0xFFFFFFFF
52  };
53 };
54 
57 
58 #define PDB(mask,level) \
59  if ((TProofDebug::mask & gProofDebugMask) && gProofDebugLevel >= (level))
60 
61 #endif
R__EXTERN TProofDebug::EProofDebugMask gProofDebugMask
Definition: TProofDebug.h:55
int Int_t
Definition: RtypesCore.h:41
#define R__EXTERN
Definition: DllImport.h:27
R__EXTERN Int_t gProofDebugLevel
Definition: TProofDebug.h:56