Skip to content

Commit

Permalink
ALIROOT-5748 Add first version online gain tables for 2015
Browse files Browse the repository at this point in the history
  • Loading branch information
cblume authored and hristov committed Jan 22, 2015
1 parent e62a893 commit ed6f4d4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion TRD/AliTRDcalibDB.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,10 @@ const TObject *AliTRDcalibDB::GetCachedCDBObject(Int_t id)
// Online gain table ID 8
return CacheCDBEntry(kIDOnlineGainFactor ,"TRD/Calib/Krypton_2012-01");
break;
case 9:
// Online gain table ID 9
return CacheCDBEntry(kIDOnlineGainFactor ,"TRD/Calib/Krypton_2015-01");
break;
default:
AliError(Form("unknown gaintable requested with ID"));
}
Expand Down Expand Up @@ -1100,7 +1104,7 @@ Int_t AliTRDcalibDB::GetOnlineGainTableID()
break;
}
}
if (tableName.CompareTo("Krypton_2011-01") == 0)
if (tableName.CompareTo("Krypton_2011-01") == 0)
fOnlineGainTableID = 1;
else if (tableName.CompareTo("Gaintbl_Uniform_FGAN0_2011-01") == 0)
fOnlineGainTableID = 2;
Expand All @@ -1116,6 +1120,8 @@ Int_t AliTRDcalibDB::GetOnlineGainTableID()
fOnlineGainTableID = 7;
else if (tableName.CompareTo("Krypton_2012-01") == 0)
fOnlineGainTableID = 8;
else if (tableName.CompareTo("Krypton_2015-01") == 0)
fOnlineGainTableID = 9;
else
AliFatal(Form("unknown gaintable <%s> requested", tableName.Data()));

Expand Down

0 comments on commit ed6f4d4

Please sign in to comment.