]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONErrorCounter.cxx
Finally got the ResetDetector correct.
[u/mrichter/AliRoot.git] / MUON / AliMUONErrorCounter.cxx
index 11c8dfca68d227d7f6138d7e5fad0e3f92fcc806..f1312be0b248c227c7cf3048d31df60d46470edd 100644 (file)
 /// \author Alberto Baldisseri, JL Charvet (05/05/2009)
 //-----------------------------------------------------------------------------
 
+/// \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 );
 }
 
 //______________________________________________________________________________
@@ -67,7 +73,7 @@ void AliMUONErrorCounter::Print(const Option_t* option) const
 }
 
 //______________________________________________________________________________
-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;