small update
authorhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 13 Aug 2009 14:32:29 +0000 (14:32 +0000)
committerhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 13 Aug 2009 14:32:29 +0000 (14:32 +0000)
FMD/analysis/AddTaskFMD.C

index fedeeaf..31bbc47 100644 (file)
@@ -19,9 +19,11 @@ AliFMDAnalysisTaskSE* AddTaskFMD() {
   
   AliFMDAnaParameters* pars = AliFMDAnaParameters::Instance();
   pars->Init();
-
-  AliAnalysisDataContainer *cout_fmd = mgr->CreateContainer("BackgroundCorrected", TList::Class(),
-                 AliAnalysisManager::kOutputContainer,"fmdana.root");                             
+  pars->SetProcessPrimary(kTRUE);
+  pars->SetProcessHits(kFALSE);
+  
+  
+  AliAnalysisDataContainer *cout_fmd = mgr->CreateContainer("BackgroundCorrected", TList::Class(), AliAnalysisManager::kOutputContainer,"fmdana.root");                             
   mgr->ConnectInput(taskfmd, 0, mgr->GetCommonInputContainer());
   mgr->ConnectOutput(taskfmd, 1, cout_fmd);