- Avoid troubles with directory structures when loading efficiency maps from analysis...
authorlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 1 Jun 2010 10:37:04 +0000 (10:37 +0000)
committerlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 1 Jun 2010 10:37:04 +0000 (10:37 +0000)
(Diego)

MUON/AliMUONTriggerEfficiencyCells.cxx

index 721fc17..2d06c8a 100755 (executable)
@@ -178,7 +178,7 @@ void AliMUONTriggerEfficiencyCells::ReadFile(const Char_t* filename, const Char_
     TList* listInFile = 0x0;
     TString listNameString(listname);
     if ( ! listNameString.IsNull() )
-      listInFile = (TList*)file->Get(listname);
+      listInFile = (TList*)file->FindObjectAny(listname);
 
     for ( Int_t ide=0; ide<=kHchamberCount; ide++){
       for(Int_t ich=0; ich<fgkNchambers; ich++){