Be sure to load mapping when needed
authorlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 6 Sep 2011 08:08:35 +0000 (08:08 +0000)
committerlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 6 Sep 2011 08:08:35 +0000 (08:08 +0000)
MUON/AliMUONTrackerData.cxx

index f279fe8..cdda9e5 100644 (file)
@@ -910,6 +910,11 @@ AliMUONTrackerData::AssertStores()
     // get number of bus patches and number of detection element
     // to initialize fBusPatchValues and fDEValues below
     
+    if (!AliMpDDLStore::Instance(false))
+    {
+      AliMpCDB::LoadAll();
+    }
+    
     TIter next(AliMpDDLStore::Instance()->CreateBusPatchIterator());
     while ( next() ) ++numberOfBusPatches;
     AliMpDEIterator deIt;