end-of-line normalization
[u/mrichter/AliRoot.git] / PWGHF / vertexingHF / macros / AddTaskCompareHF.C
index c38aa67..bc2483a 100644 (file)
@@ -1,42 +1,42 @@
-AliAnalysisTaskSECompareHF *AddTaskCompareHF()\r
-{\r
-  //\r
-  // Test macro for the AliAnalysisTaskSE for heavy-flavour candidates\r
-  // association with MC truth (using MC info in AOD)\r
-  // A.Dainese, andrea.dainese@lnl.infn.it\r
-  //\r
-\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("AddTaskCompareHF", "No analysis manager to connect to.");\r
-    return NULL;\r
-  }   \r
-\r
-  \r
-  // Aanalysis task    \r
-  AliAnalysisTaskSECompareHF *hfTask = new AliAnalysisTaskSECompareHF("CompareHFAnalysis");\r
-  hfTask->SetDebugLevel(0);\r
-  mgr->AddTask(hfTask);\r
-  \r
-  //\r
-  // Create containers for input/output\r
-  AliAnalysisDataContainer *cinputCmp = mgr->CreateContainer("cinput",TChain::Class(), \r
-                                                         AliAnalysisManager::kInputContainer);\r
-  AliAnalysisDataContainer *coutputCmp1 = mgr->CreateContainer("coutputCmp1",TList::Class(),\r
-                                                          AliAnalysisManager::kOutputContainer, \r
-                                                          "CmpHF.root");\r
-  AliAnalysisDataContainer *coutputCmp2 = mgr->CreateContainer("coutputCmp2",TNtuple::Class(),\r
-                                                          AliAnalysisManager::kOutputContainer, \r
-                                                          "CmpHFnt.root");\r
-  coutputCmp2->SetSpecialOutput();\r
-\r
-  mgr->ConnectInput(hfTask,0,mgr->GetCommonInputContainer());\r
-\r
-  mgr->ConnectOutput(hfTask,1,coutputCmp1);\r
-  mgr->ConnectOutput(hfTask,2,coutputCmp2);\r
-\r
-  return hfTask;\r
-}\r
+AliAnalysisTaskSECompareHF *AddTaskCompareHF()
+{
+  //
+  // Test macro for the AliAnalysisTaskSE for heavy-flavour candidates
+  // association with MC truth (using MC info in AOD)
+  // A.Dainese, andrea.dainese@lnl.infn.it
+  //
+
+
+  // Get the pointer to the existing analysis manager via the static access method.
+  //==============================================================================
+  AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager();
+  if (!mgr) {
+    ::Error("AddTaskCompareHF", "No analysis manager to connect to.");
+    return NULL;
+  }   
+
+  
+  // Aanalysis task    
+  AliAnalysisTaskSECompareHF *hfTask = new AliAnalysisTaskSECompareHF("CompareHFAnalysis");
+  hfTask->SetDebugLevel(0);
+  mgr->AddTask(hfTask);
+  
+  //
+  // Create containers for input/output
+  AliAnalysisDataContainer *cinputCmp = mgr->CreateContainer("cinput",TChain::Class(), 
+                                                         AliAnalysisManager::kInputContainer);
+  AliAnalysisDataContainer *coutputCmp1 = mgr->CreateContainer("coutputCmp1",TList::Class(),
+                                                          AliAnalysisManager::kOutputContainer, 
+                                                          "CmpHF.root");
+  AliAnalysisDataContainer *coutputCmp2 = mgr->CreateContainer("coutputCmp2",TNtuple::Class(),
+                                                          AliAnalysisManager::kOutputContainer, 
+                                                          "CmpHFnt.root");
+  coutputCmp2->SetSpecialOutput();
+
+  mgr->ConnectInput(hfTask,0,mgr->GetCommonInputContainer());
+
+  mgr->ConnectOutput(hfTask,1,coutputCmp1);
+  mgr->ConnectOutput(hfTask,2,coutputCmp2);
+
+  return hfTask;
+}