* about the suitability of this software for any purpose. It is *
* provided "as is" without express or implied warranty. *
**************************************************************************/
-
/* $Id$ */
-
+/** @file AliFMDDigit.cxx
+ @author Christian Holm Christensen <cholm@nbi.dk>
+ @date Mon Mar 27 12:37:41 2006
+ @brief Digits for the FMD
+*/
//////////////////////////////////////////////////////////////////////
//
// Digits classes for the FMD
const char*
AliFMDBaseDigit::GetName() const
{
- return Form("FMD%d%c[%2d,%3d]", fDetector, fRing, fSector, fStrip);
+ static TString n;
+ n = Form("FMD%d%c[%2d,%3d]", fDetector, fRing, fSector, fStrip);
+ return n.Data();
}
//====================================================================
// count3 ADC count (a 10-bit word) -1 if not used
}
+//____________________________________________________________________
+const char*
+AliFMDDigit::GetTitle() const
+{
+ static TString t;
+ t = Form("ADC: %d", Counts());
+ return t.Data();
+}
+
//____________________________________________________________________
void
AliFMDDigit::Print(Option_t* /* option*/) const