/// \author Alberto Baldisseri, JL Charvet (05/05/2009)
//-----------------------------------------------------------------------------
+using std::cout;
+using std::endl;
+/// \cond CLASSIMP
+ClassImp(AliMUONErrorCounter)
+/// \endcond
+
//______________________________________________________________________________
AliMUONErrorCounter::AliMUONErrorCounter(Int_t bp, Int_t manu, Int_t ev)
- : fBusPatch(bp),
- fManuId(manu),
- fEvents(ev)
+: TNamed(Form("bp%dmanu%d",bp,manu),""),
+fBusPatch(bp),
+fManuId(manu),
+fEvents(ev)
{
+ SetUniqueID( ( manu << 16 ) | bp );
}
//______________________________________________________________________________
}
//______________________________________________________________________________
-void AliMUONErrorCounter::Print_uncal(const Option_t* option) const
+void AliMUONErrorCounter::PrintUncal(const Option_t* option) const
{
TNamed::Print(option);
cout<<"bp = "<<fBusPatch<< " manu = " << fManuId << " uncal = "<< fEvents <<endl;