changed slot number in Terminate
authordainese <dainese@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 29 Mar 2010 15:28:58 +0000 (15:28 +0000)
committerdainese <dainese@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 29 Mar 2010 15:28:58 +0000 (15:28 +0000)
PWG1/ITS/AliAlignmentDataFilterITS.cxx

index d886057..651f61b 100644 (file)
@@ -894,13 +894,13 @@ void AliAlignmentDataFilterITS::Terminate(Option_t */*option*/)
   //
   AliDebug(2,"AliITSAlignmentDataFiler: Terminate() \n");
 
-  fspTree = dynamic_cast<TTree*> (GetOutputData(0));
+  fspTree = dynamic_cast<TTree*> (GetOutputData(1));
   if (!fspTree) {     
     printf("ERROR: fspTree not available\n");
     return;
   }
 
-  fListOfHistos = dynamic_cast<TList*> (GetOutputData(1));
+  fListOfHistos = dynamic_cast<TList*> (GetOutputData(2));
   if (!fListOfHistos) {     
     printf("ERROR: fListOfHistos not available\n");
     return;