]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDDisplay.cxx
extra bit for TPC and Global constrained flagging
[u/mrichter/AliRoot.git] / FMD / AliFMDDisplay.cxx
index e9686603cd4df038fdc21976da472090ed00fecc..c79e64342592c8dc27505e3c2cf529bfeec36722 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 /* $Id$ */
-/** @file    AliFMDDisplay.cxx
-    @author  Christian Holm Christensen <cholm@nbi.dk>
-    @date    Mon Mar 27 12:39:09 2006
-    @brief   FMD Event display 
-*/
+/** 
+ * @file    AliFMDDisplay.cxx
+ * @author  Christian Holm Christensen <cholm@nbi.dk>
+ * @date    Mon Mar 27 12:39:09 2006
+ * @brief   FMD Event display 
+ */
 //___________________________________________________________________
 //
 // The classes defined here, are utility classes for reading in data
@@ -521,10 +522,10 @@ AliFMDDisplay::Idle()
     gApplication->StopIdleing();
     if (fContinous) break;
   }
-  AliFMDDebug(1, ("After idle loop"));
+  AliFMDDebug(3, ("After idle loop"));
   if (fMarkers) fMarkers->Delete();
   if (fHits)    fHits->Clear();
-  AliFMDDebug(1, ("After clearing caches"));
+  AliFMDDebug(3, ("After clearing caches"));
 }
 
 //____________________________________________________________________
@@ -702,12 +703,23 @@ Bool_t
 AliFMDDisplay::InsideCut(Float_t val, const Float_t& min, 
                         const Float_t& max) const
 {
+  // 
+  // Whether a point is inside 
+  // 
+  // Parameters:
+  //    v   Point
+  //    min Minimum
+  //    max Maximum
+  // 
+  // Return:
+  //    true if @a v is inside cut 
+  //
   Float_t r = max - min;
   Float_t l = fSlider->GetMinimum();
   Float_t h = fSlider->GetMaximum();
   if (l == h) { l = 0; h = 1; }
   if (val < r * l + min || val > r * h + min) { 
-    AliFMDDebug(1, ("Value %f is outside cut %f - %f (range %f - %f)", 
+    AliFMDDebug(2, ("Value %f is outside cut %f - %f (range %f - %f)", 
                    val, min+r*l, min+r*h, min, max));
     return kFALSE;
   }
@@ -805,7 +817,7 @@ AliFMDDisplay::ProcessRawDigit(AliFMDDigit* digit)
   // Parameters: 
   //   digit Digit information 
   AliFMDDebug(50, ("Forwarding call of ProcessRaw to ProcessDigit "
-                 "for FMD%d&c[%02d,%03d] %d", 
+                 "for FMD%d%c[%02d,%03d] %d", 
                  digit->Detector(), digit->Ring(), digit->Sector(), 
                  digit->Strip(), digit->Counts()));
   return ProcessDigit(digit);
@@ -901,10 +913,23 @@ AliFMDDisplay::ProcessESD(UShort_t det, Char_t rng, UShort_t sec, UShort_t str,
   return kTRUE;
 }
 
+//____________________________________________________________________
 Double_t
 AliFMDDisplay::GetADCThreshold(UShort_t d, Char_t r, 
                               UShort_t s, UShort_t t) const
 {
+  // 
+  // Get the ADC threshold
+  // 
+  // Parameters:
+  //    d Detector
+  //    r Ring 
+  //    s Sector 
+  //    t Strip 
+  // 
+  // Return:
+  //    The threshold 
+  //
   AliFMDParameters* parm = AliFMDParameters::Instance();
   Double_t ped           =  parm->GetPedestal(d,r, s, t);
   Double_t pedW          =  parm->GetPedestalWidth(d,r, s, t);
@@ -924,3 +949,4 @@ AliFMDDisplay::GetADCThreshold(UShort_t d, Char_t r,
 //
 // EOF
 //
+