Add index i to GetCalDCSFEEObj()
authorcblume <Christoph.Blume@cern.ch>
Sat, 31 Jan 2015 10:06:02 +0000 (11:06 +0100)
committercblume <Christoph.Blume@cern.ch>
Sat, 31 Jan 2015 10:06:30 +0000 (11:06 +0100)
TRD/TRDbase/AliTRDcalibDB.cxx

index 25b21dd..33396e4 100644 (file)
@@ -1100,7 +1100,7 @@ Int_t AliTRDcalibDB::GetOnlineGainTableID()
 
     TString tableName = "";
     for (Int_t i = 0; i < 540; i++) {
-      const AliTRDCalDCSFEEv2 *calDCSFEEv2 = calDCSv2->GetCalDCSFEEObj(0);
+      const AliTRDCalDCSFEEv2 *calDCSFEEv2 = calDCSv2->GetCalDCSFEEObj(i);
       tableName = calDCSFEEv2->GetGainTableName();
       if (tableName.Length() > 0) {
         break;