]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Added debug flags
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 29 Nov 2010 21:56:39 +0000 (21:56 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 29 Nov 2010 21:56:39 +0000 (21:56 +0000)
PWG2/FORWARD/analysis2/AliFMDCorrections.h

index 5e82593ab22922e04f8dfe402d206220ffbc15ab..fe1ce3251a297b5919572922a9bec876981695fa 100644 (file)
@@ -76,6 +76,12 @@ public:
    * @param dir List to write in
    */  
   void DefineOutput(TList* dir);
+  /** 
+   * Set the debug level.  The higher the value the more output 
+   * 
+   * @param dbg Debug level 
+   */
+  void SetDebug(Int_t dbg=1) { fDebug = dbg; }
 protected:
   /** 
    * Internal data structure to keep track of the histograms
@@ -133,6 +139,7 @@ protected:
 
   TList    fRingHistos;    // List of histogram containers
   Double_t fMultCut;       // Low cut on scaled energy loss
+  Int_t    fDebug;         //  Debug level 
 
   ClassDef(AliFMDCorrections,1); // Calculate Nch density 
 };