]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONErrorCounter.cxx
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / MUON / AliMUONErrorCounter.cxx
index 11c8dfca68d227d7f6138d7e5fad0e3f92fcc806..c145c137b65c962a03c3a196632845681c7b1787 100644 (file)
 /// \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 );
 }
 
 //______________________________________________________________________________
@@ -67,7 +75,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;