Adding configuration macro for analysis on Flat ESD
authorzampolli <chiara.zampolli@cern.ch>
Mon, 4 Aug 2014 09:49:22 +0000 (11:49 +0200)
committerzampolli <chiara.zampolli@cern.ch>
Mon, 4 Aug 2014 09:49:22 +0000 (11:49 +0200)
HLT/global/physics/macros/testconfigFlat.C [new file with mode: 0644]

diff --git a/HLT/global/physics/macros/testconfigFlat.C b/HLT/global/physics/macros/testconfigFlat.C
new file mode 100644 (file)
index 0000000..72057ff
--- /dev/null
@@ -0,0 +1,38 @@
+void testconfigFlat(const char* parent = "GLOBAL-esd-converter")
+{
+  // set up HLT system to enable configuration registration
+  AliHLTSystem* pHLT=AliHLTPluginBase::GetInstance();
+
+  //pHLT->LoadComponentLibraries("libANALYSIS.so");  
+  //pHLT->LoadComponentLibraries("libANALYSISalice.so");  
+  /*
+  pHLT->LoadComponentLibraries("libESD.so");  
+  pHLT->LoadComponentLibraries("libSTEER.so");  
+  pHLT->LoadComponentLibraries("libSTEERBase.so");  
+  pHLT->LoadComponentLibraries("libAOD.so");  
+  pHLT->LoadComponentLibraries("libANALYSIS.so");  
+  pHLT->LoadComponentLibraries("libANALYSISalice.so");  
+
+  pHLT->LoadComponentLibraries("libHLTbase.so");
+  pHLT->LoadComponentLibraries("libAliHLTUtil.so");
+  pHLT->LoadComponentLibraries("libAliHLTGlobal.so");  
+  */
+
+  /*
+    pHLT->LoadComponentLibraries("libAliHLTMUON.so");  
+    pHLT->LoadComponentLibraries("libAliHLTTPC.so");  
+    pHLT->LoadComponentLibraries("libAliHLTTRD.so");  
+  */
+
+
+  // writer configuration
+  AliHLTConfiguration calib("test" , "FlatAnaManagerComponent" , parent , "");
+
+  TString writerArg(Form("-directory testDir -datafile test.root"));
+
+  // -- The RootFileWriter 
+  AliHLTConfiguration rootWriter("RootWriter", "ROOTFileWriter", "test", writerArg.Data() );
+
+  //pHLT->BuildTaskList("RootWriter");
+  //pHLT->PrintTaskList();
+}