]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Loading mapping moved in CreateDCSAliasMap();
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Jul 2007 14:10:28 +0000 (14:10 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Jul 2007 14:10:28 +0000 (14:10 +0000)
the preprocessor will load it themselves in Initialize()

MUON/TestMUONPreprocessor.C

index 27a5d062a2021a2fe66b947e4d9118b2b2aa4799..c71b71272285aab2568180a4517d20eff26fced8 100644 (file)
@@ -83,10 +83,6 @@ void TestMUONPreprocessor(Int_t runNumber=80, const char* runType="PEDESTAL_RUN"
   printf("Test OCDB storage Uri: %s\n", AliShuttleInterface::GetMainCDB().Data());
   printf("Test Reference storage Uri: %s\n", AliShuttleInterface::GetMainRefStorage().Data());
   
-  // Load mapping from CDB
-  AliMpCDB::LoadMpSegmentation();
-  AliMpCDB::LoadDDLStore();
-
   // Create DCS HV aliases
   TMap* dcsAliasMap = CreateDCSAliasMap();
 
@@ -142,6 +138,10 @@ TMap* CreateDCSAliasMap()
   ///     <valueList> is a TObjArray of AliDCSValue
   ///     An AliDCSValue consists of timestamp and a value in form of a AliSimpleValue
   
+  // Load mapping from CDB
+  AliMpCDB::LoadMpSegmentation();
+  AliMpCDB::LoadDDLStore();
+
   TMap* aliasMap = new TMap;
   aliasMap->SetOwner(kTRUE);