* 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
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"));
}
//____________________________________________________________________
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;
}
// 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);
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);
//
// EOF
//
+