]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGCF/Correlations/macros/dphicorrelations/AddTaskPhiCorrelationsQA.C
end-of-line normalization
[u/mrichter/AliRoot.git] / PWGCF / Correlations / macros / dphicorrelations / AddTaskPhiCorrelationsQA.C
index 625f328b638e112c34e56c1e94e45922fb36ff5d..3a65424484fa6e8ecc6c06e71a3d90a1c8c86a5b 100644 (file)
@@ -1,32 +1,32 @@
-AliPhiCorrelationsQATask *AddTaskPhiCorrelationsQA()\r
-{\r
-  // Get the pointer to the existing analysis manager via the static access method.\r
-  //==============================================================================\r
-  AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager();\r
-  if (!mgr) {\r
-    ::Error("AddTaskPhiCorrelations", "No analysis manager to connect to.");\r
-    return NULL;\r
-  }  \r
-  \r
-  // Create the task and configure it.\r
-  //===========================================================================\r
-  AliPhiCorrelationsQATask* ana = new  AliPhiCorrelationsQATask("");\r
-  \r
-  ana->SelectCollisionCandidates(AliVEvent::kMB | AliVEvent::kUserDefined);\r
-  \r
-  Bool_t isMC = (mgr->GetMCtruthEventHandler() != NULL);\r
-  if (isMC)\r
-    ana->SetUseUncheckedCentrality();\r
-  \r
-  mgr->AddTask(ana);\r
-  \r
-  // Create ONLY the output containers for the data produced by the task.\r
-  // Get and connect other common input/output containers via the manager as below\r
-  //==============================================================================\r
-  AliAnalysisDataContainer *coutput1 = mgr->CreateContainer("histosPhiCorrelationsQA", TList::Class(),AliAnalysisManager::kOutputContainer,Form("%s", AliAnalysisManager::GetCommonFileName()));\r
-  \r
-  mgr->ConnectInput  (ana, 0, mgr->GetCommonInputContainer());\r
-  mgr->ConnectOutput (ana, 1, coutput1 );\r
-   \r
-  return ana;\r
-}\r
+AliPhiCorrelationsQATask *AddTaskPhiCorrelationsQA()
+{
+  // Get the pointer to the existing analysis manager via the static access method.
+  //==============================================================================
+  AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager();
+  if (!mgr) {
+    ::Error("AddTaskPhiCorrelations", "No analysis manager to connect to.");
+    return NULL;
+  }  
+  
+  // Create the task and configure it.
+  //===========================================================================
+  AliPhiCorrelationsQATask* ana = new  AliPhiCorrelationsQATask("");
+  
+  ana->SelectCollisionCandidates(AliVEvent::kMB | AliVEvent::kUserDefined);
+  
+  Bool_t isMC = (mgr->GetMCtruthEventHandler() != NULL);
+  if (isMC)
+    ana->SetUseUncheckedCentrality();
+  
+  mgr->AddTask(ana);
+  
+  // Create ONLY the output containers for the data produced by the task.
+  // Get and connect other common input/output containers via the manager as below
+  //==============================================================================
+  AliAnalysisDataContainer *coutput1 = mgr->CreateContainer("histosPhiCorrelationsQA", TList::Class(),AliAnalysisManager::kOutputContainer,Form("%s", AliAnalysisManager::GetCommonFileName()));
+  
+  mgr->ConnectInput  (ana, 0, mgr->GetCommonInputContainer());
+  mgr->ConnectOutput (ana, 1, coutput1 );
+   
+  return ana;
+}