Add new online gaintable
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 13 Jan 2012 16:38:08 +0000 (16:38 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 13 Jan 2012 16:38:08 +0000 (16:38 +0000)
OCDB/TRD/Calib/Krypton_2011-02/Run0_999999999_v0_s0.root [new file with mode: 0644]
TRD/AliTRDcalibDB.cxx

diff --git a/OCDB/TRD/Calib/Krypton_2011-02/Run0_999999999_v0_s0.root b/OCDB/TRD/Calib/Krypton_2011-02/Run0_999999999_v0_s0.root
new file mode 100644 (file)
index 0000000..65fe308
Binary files /dev/null and b/OCDB/TRD/Calib/Krypton_2011-02/Run0_999999999_v0_s0.root differ
index 844288b..04c25de 100644 (file)
@@ -257,6 +257,10 @@ const TObject *AliTRDcalibDB::GetCachedCDBObject(Int_t id)
          // Online gain table ID 3
           return CacheCDBEntry(kIDOnlineGainFactor  ,"TRD/Calib/Gaintbl_Uniform_FGAN8_2011-01"); 
           break;
+        case 4:
+         // Online gain table ID 4
+          return CacheCDBEntry(kIDOnlineGainFactor  ,"TRD/Calib/Krypton_2011-02"); 
+          break;
       }
       break;
 
@@ -1035,6 +1039,10 @@ Int_t AliTRDcalibDB::GetOnlineGainTableID()
       fOnlineGainTableID = 3;
       return fOnlineGainTableID;
     }
+    if (tableName.CompareTo("Krypton_2011-02")               == 0) {
+      fOnlineGainTableID = 4;
+      return fOnlineGainTableID;
+    }
 
   } 
   else {