- bugfix to correctly use the TRAPconfig name and version from the OCDB
authorjklein <jklein@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 27 Sep 2013 21:53:58 +0000 (21:53 +0000)
committerjklein <jklein@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 27 Sep 2013 21:53:58 +0000 (21:53 +0000)
TRD/AliTRDcalibDB.cxx

index fcadcc9..05b0d35 100644 (file)
@@ -1826,10 +1826,8 @@ AliTRDtrapConfig* AliTRDcalibDB::GetTrapConfig()
   else {
     if ((fTrapConfigName.Length() <= 0) || (fTrapConfigVersion.Length() <= 0)) {
       // query the configuration to be used
-      TString configName;
-      this->GetGlobalConfiguration(configName);
-      TString configVersion;
-      this->GetGlobalConfigurationVersion(configVersion);
+      this->GetGlobalConfiguration(fTrapConfigName);
+      this->GetGlobalConfigurationVersion(fTrapConfigVersion);
     }
 
     // try to load the requested configuration