New gaintables including new SMs (Annika)
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 20 Feb 2012 08:40:59 +0000 (08:40 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 20 Feb 2012 08:40:59 +0000 (08:40 +0000)
OCDB/TRD/Calib/Gaintbl_Uniform_FGAN0_2012-01/Run0_999999999_v0_s0.root [new file with mode: 0644]
OCDB/TRD/Calib/Gaintbl_Uniform_FGAN8_2012-01/Run0_999999999_v0_s0.root [new file with mode: 0644]
OCDB/TRD/Calib/Krypton_2011-03/Run0_999999999_v0_s0.root [new file with mode: 0644]
TRD/AliTRDcalibDB.cxx

diff --git a/OCDB/TRD/Calib/Gaintbl_Uniform_FGAN0_2012-01/Run0_999999999_v0_s0.root b/OCDB/TRD/Calib/Gaintbl_Uniform_FGAN0_2012-01/Run0_999999999_v0_s0.root
new file mode 100644 (file)
index 0000000..1f40a51
Binary files /dev/null and b/OCDB/TRD/Calib/Gaintbl_Uniform_FGAN0_2012-01/Run0_999999999_v0_s0.root differ
diff --git a/OCDB/TRD/Calib/Gaintbl_Uniform_FGAN8_2012-01/Run0_999999999_v0_s0.root b/OCDB/TRD/Calib/Gaintbl_Uniform_FGAN8_2012-01/Run0_999999999_v0_s0.root
new file mode 100644 (file)
index 0000000..5a65962
Binary files /dev/null and b/OCDB/TRD/Calib/Gaintbl_Uniform_FGAN8_2012-01/Run0_999999999_v0_s0.root differ
diff --git a/OCDB/TRD/Calib/Krypton_2011-03/Run0_999999999_v0_s0.root b/OCDB/TRD/Calib/Krypton_2011-03/Run0_999999999_v0_s0.root
new file mode 100644 (file)
index 0000000..d029ead
Binary files /dev/null and b/OCDB/TRD/Calib/Krypton_2011-03/Run0_999999999_v0_s0.root differ
index 04c25de..16fc2ac 100644 (file)
@@ -261,6 +261,18 @@ const TObject *AliTRDcalibDB::GetCachedCDBObject(Int_t id)
          // Online gain table ID 4
           return CacheCDBEntry(kIDOnlineGainFactor  ,"TRD/Calib/Krypton_2011-02"); 
           break;
+        case 5:
+         // Online gain table ID 5
+          return CacheCDBEntry(kIDOnlineGainFactor  ,"TRD/Calib/Krypton_2011-03"); 
+          break;
+        case 6:
+         // Online gain table ID 6
+          return CacheCDBEntry(kIDOnlineGainFactor  ,"TRD/Calib/Gaintbl_Uniform_FGAN0_2012-01"); 
+          break;
+        case 7:
+         // Online gain table ID 7
+          return CacheCDBEntry(kIDOnlineGainFactor  ,"TRD/Calib/Gaintbl_Uniform_FGAN8_2012-01"); 
+          break;
       }
       break;
 
@@ -1043,6 +1055,18 @@ Int_t AliTRDcalibDB::GetOnlineGainTableID()
       fOnlineGainTableID = 4;
       return fOnlineGainTableID;
     }
+    if (tableName.CompareTo("Krypton_2011-03")               == 0) {
+      fOnlineGainTableID = 5;
+      return fOnlineGainTableID;
+    }
+    if (tableName.CompareTo("Gaintbl_Uniform_FGAN0_2012-01") == 0) {
+      fOnlineGainTableID = 6;
+      return fOnlineGainTableID;
+    }
+    if (tableName.CompareTo("Gaintbl_Uniform_FGAN8_2012-01") == 0) {
+      fOnlineGainTableID = 7;
+      return fOnlineGainTableID;
+    }
 
   } 
   else {