Logo ROOT   6.10/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 #include "Rtypes.h"
25 
26 // Remember to update the related mapping in tutorials/proof/runProof.C !
27 
28 class TProofDebug {
29 public:
31  kNone = 0,
33  kLoop = 2,
34  kSelector = 4,
35  kOutput = 8,
36  kInput = 16,
37  kGlobal = 32,
38  kPackage = 64,
39  kFeedback = 128,
40  kCondor = 256,
41  kDraw = 512,
42  kAsyn = 1024,
43  kCache = 2048,
44  kCollect = 4096,
45  kDataset = 8192,
46  kSubmerger = 16384,
47  kMonitoring = 32768,
48 
49  kAll = 0xFFFFFFFF
50  };
51 };
52 
55 
56 #define PDB(mask,level) \
57  if ((TProofDebug::mask & gProofDebugMask) && gProofDebugLevel >= (level))
58 
59 #endif
R__EXTERN TProofDebug::EProofDebugMask gProofDebugMask
Definition: TProofDebug.h:53
int Int_t
Definition: RtypesCore.h:41
#define R__EXTERN
Definition: DllImport.h:27
R__EXTERN Int_t gProofDebugLevel
Definition: TProofDebug.h:54