]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Suggestion given if the output object cannot be made available in Terminate
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 17 Nov 2010 12:21:45 +0000 (12:21 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 17 Nov 2010 12:21:45 +0000 (12:21 +0000)
ANALYSIS/AliAnalysisManager.cxx

index 3ebb33ed80b442d85cdee5abef4014404f00a936..ac553c743bf8beced6704ecb731903fe305c255c 100644 (file)
@@ -17,7 +17,7 @@
 // Author: Andrei Gheata, 31/05/2006
 
 //==============================================================================
-//   AliAnalysysManager - Manager analysis class. Allows creation of several
+//   AliAnalysisManager - Manager analysis class. Allows creation of several
 // analysis tasks and data containers storing their input/output. Allows
 // connecting/chaining tasks via shared data containers. Serializes the current
 // event for all tasks depending only on initial input data.
@@ -755,8 +755,8 @@ void AliAnalysisManager::ImportWrappers(TList *source)
          // Try to fetch first an object having the container name.
          obj = gDirectory->Get(cont->GetName());
          if (!obj) {
-            Warning("ImportWrappers", "Could not import object for container %s in file %s:%s.\n Object will not be available in Terminate()", 
-                    cont->GetName(), filename, cont->GetFolderName());
+            Warning("ImportWrappers", "Could not import object of type:%s for container %s in file %s:%s.\n Object will not be available in Terminate(). Try if possible to name the output object as the container (%s) or to embed it in a TList", 
+                    cont->GetType()->GetName(), cont->GetName(), filename, cont->GetFolderName(), cont->GetName());
             continue;
          }  
          wrap = new AliAnalysisDataWrapper(obj);