]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
- 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 fcadcc9bc49775fdb883542dc22aefc807e36eea..05b0d353226ab4c0c114eee1f4b7397f234e74d2 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