Changed container name because of same name in other wagon on train. + bugfix overwri...
authorkaamodt <kaamodt@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 17 Nov 2009 21:45:37 +0000 (21:45 +0000)
committerkaamodt <kaamodt@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 17 Nov 2009 21:45:37 +0000 (21:45 +0000)
PWG4/GammaConv/AliAnalysisTaskGammaConversion.cxx
PWG4/macros/ConfigGammaConversion.C

index b26bcfa..63cd4da 100644 (file)
@@ -352,9 +352,11 @@ void AliAnalysisTaskGammaConversion::Exec(Option_t */*option*/)
        
 }
 
-void AliAnalysisTaskGammaConversion::ConnectInputData(Option_t */*option*/){
+void AliAnalysisTaskGammaConversion::ConnectInputData(Option_t *option){
   // see header file for documentation
-       
+
+  AliAnalysisTaskSE::ConnectInputData(option);
+
   if(fV0Reader == NULL){
     // Write warning here cuts and so on are default if this ever happens
   }
index bf474e8..607ec9f 100644 (file)
@@ -981,7 +981,7 @@ AliAnalysisTaskGammaConversion* ConfigGammaConversion(TString arguments,AliAnaly
   AliAnalysisDataContainer *cinput1 = NULL;
   if(kGCusePWG4PartCorr){
     if(kGCrunOnTrain == kFALSE){
-      cinput1 = mgr->CreateContainer("Chain",TChain::Class(),AliAnalysisManager::kInputContainer);
+      cinput1 = mgr->CreateContainer("GammaConvChain",TChain::Class(),AliAnalysisManager::kInputContainer);
     }
     else{
       cinput1 = cin_esd;
@@ -1000,7 +1000,7 @@ AliAnalysisTaskGammaConversion* ConfigGammaConversion(TString arguments,AliAnaly
   // Common Output Tree in common Ã¢\80\98defaultâ\80\99 output file
   AliAnalysisDataContainer *coutput1 = NULL;
   if(kGCusePWG4PartCorr){
-    coutput1 = mgr->CreateContainer("tree",TTree::Class(),AliAnalysisManager::kOutputContainer, "default");
+    coutput1 = mgr->CreateContainer("GammaConvTree",TTree::Class(),AliAnalysisManager::kOutputContainer, "default");
   }
   else{
     if(fWriteStandardAOD){
@@ -1022,7 +1022,7 @@ AliAnalysisTaskGammaConversion* ConfigGammaConversion(TString arguments,AliAnaly
        
   AliAnalysisDataContainer *coutput2 = mgr->CreateContainer("histogramsAliGammaConversion", TList::Class(),AliAnalysisManager::kOutputContainer, outputfile);
   // for CF
-  AliAnalysisDataContainer *coutput3 = mgr->CreateContainer("ccontainer0",AliCFContainer::Class(),AliAnalysisManager::kOutputContainer,outputfile);
+  AliAnalysisDataContainer *coutput3 = mgr->CreateContainer("GammaConvccontainer0",AliCFContainer::Class(),AliAnalysisManager::kOutputContainer,outputfile);
        
   //------------------------ END: Define input/output handlers ---------------------------------------------------