]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONHVSubprocessor.cxx
Add Config/HighVoltage directory and entry
[u/mrichter/AliRoot.git] / MUON / AliMUONHVSubprocessor.cxx
index 29e97bf9dd9330f2abf9b59a047fc298a7382eee..b782e5ff69ad91ecf55cf75c5101872f6661ffa2 100644 (file)
@@ -13,7 +13,9 @@
 * provided "as is" without express or implied warranty.                  *
 **************************************************************************/
 
-/// $Id$
+// $Id$
+
+//-----------------------------------------------------------------------------
 /// \class AliMUONHVSubprocessor
 ///
 /// A subprocessor to read HV values for one run
 /// from the MUON TRK, and dumps this copy into the CDB
 ///
 /// \author Laurent Aphecetche, Subatech
+//-----------------------------------------------------------------------------
 
 #include "AliMUONHVSubprocessor.h"
-#include "AliMUONHVNamer.h"
 #include "AliMUONPreprocessor.h"
 
 #include "AliMpDEIterator.h"
 #include "AliMpDEManager.h"
+#include "AliMpHVNamer.h"
 
 #include "AliCDBMetaData.h"
 #include "AliLog.h"
@@ -65,7 +68,7 @@ AliMUONHVSubprocessor::Process(TMap* dcsAliasMap)
   TMap hv;
   hv.SetOwner(kTRUE);
   
-  AliMUONHVNamer hvNamer;
+  AliMpHVNamer hvNamer;
 
   AliMpDEIterator deIt;
 
@@ -124,7 +127,7 @@ AliMUONHVSubprocessor::Process(TMap* dcsAliasMap)
     else
     {
       kNoAliases = kFALSE;
-      TObjArray* values = static_cast<TObjArray*>(hvPair->Value());
+      TObjArray* values = static_cast<TObjArray*>(hvPair->Value()->Clone());
       if (!values)
       {
         ++valueNotFound;