From: cblume Date: Tue, 8 Aug 2006 16:11:10 +0000 (+0000) Subject: Get correct MCM numbering in GetMCMStatus X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=1395f333cefa4ae5f73d35783f35c44ba7d54ef2;p=u%2Fmrichter%2FAliRoot.git Get correct MCM numbering in GetMCMStatus --- diff --git a/TRD/AliTRDcalibDB.cxx b/TRD/AliTRDcalibDB.cxx index 46de3e4b747..41aa7ae79fb 100644 --- a/TRD/AliTRDcalibDB.cxx +++ b/TRD/AliTRDcalibDB.cxx @@ -427,6 +427,8 @@ Char_t AliTRDcalibDB::GetMCMStatus(Int_t det, Int_t col, Int_t row) // Returns the status of the given MCM // + Int_t mcm = ((Int_t) col / 18); + const AliTRDCalMCMStatus* cal = dynamic_cast (GetCachedCDBObject(kIDMCMStatus)); if (!cal) return -1; @@ -435,7 +437,7 @@ Char_t AliTRDcalibDB::GetMCMStatus(Int_t det, Int_t col, Int_t row) if (!roc) return -1; - return roc->GetStatus(col, row); + return roc->GetStatus(mcm, row); } //_____________________________________________________________________________