ANALYSIS and ANALYSIScalib
authoragrigora <alina.grigoras@cern.ch>
Tue, 30 Sep 2014 13:53:07 +0000 (15:53 +0200)
committeragrigora <alina.grigoras@cern.ch>
Mon, 15 Dec 2014 12:51:21 +0000 (13:51 +0100)
37 files changed:
ANALYSIS/ANALYSIS/ANALYSISLinkDef.h [moved from ANALYSIS/ANALYSISLinkDef.h with 100% similarity]
ANALYSIS/ANALYSIS/AliAnalysisDataContainer.cxx [moved from ANALYSIS/AliAnalysisDataContainer.cxx with 100% similarity]
ANALYSIS/ANALYSIS/AliAnalysisDataContainer.h [moved from ANALYSIS/AliAnalysisDataContainer.h with 100% similarity]
ANALYSIS/ANALYSIS/AliAnalysisDataSlot.cxx [moved from ANALYSIS/AliAnalysisDataSlot.cxx with 100% similarity]
ANALYSIS/ANALYSIS/AliAnalysisDataSlot.h [moved from ANALYSIS/AliAnalysisDataSlot.h with 100% similarity]
ANALYSIS/ANALYSIS/AliAnalysisGrid.cxx [moved from ANALYSIS/AliAnalysisGrid.cxx with 100% similarity]
ANALYSIS/ANALYSIS/AliAnalysisGrid.h [moved from ANALYSIS/AliAnalysisGrid.h with 100% similarity]
ANALYSIS/ANALYSIS/AliAnalysisManager.cxx [moved from ANALYSIS/AliAnalysisManager.cxx with 100% similarity]
ANALYSIS/ANALYSIS/AliAnalysisManager.h [moved from ANALYSIS/AliAnalysisManager.h with 100% similarity]
ANALYSIS/ANALYSIS/AliAnalysisSelector.cxx [moved from ANALYSIS/AliAnalysisSelector.cxx with 100% similarity]
ANALYSIS/ANALYSIS/AliAnalysisSelector.h [moved from ANALYSIS/AliAnalysisSelector.h with 100% similarity]
ANALYSIS/ANALYSIS/AliAnalysisStatistics.cxx [moved from ANALYSIS/AliAnalysisStatistics.cxx with 100% similarity]
ANALYSIS/ANALYSIS/AliAnalysisStatistics.h [moved from ANALYSIS/AliAnalysisStatistics.h with 100% similarity]
ANALYSIS/ANALYSIS/AliAnalysisTask.cxx [moved from ANALYSIS/AliAnalysisTask.cxx with 100% similarity]
ANALYSIS/ANALYSIS/AliAnalysisTask.h [moved from ANALYSIS/AliAnalysisTask.h with 100% similarity]
ANALYSIS/ANALYSIS/AliAnalysisTaskCfg.cxx [moved from ANALYSIS/AliAnalysisTaskCfg.cxx with 100% similarity]
ANALYSIS/ANALYSIS/AliAnalysisTaskCfg.h [moved from ANALYSIS/AliAnalysisTaskCfg.h with 100% similarity]
ANALYSIS/ANALYSIS/AliXMLParser.cxx [moved from ANALYSIS/AliXMLParser.cxx with 100% similarity]
ANALYSIS/ANALYSIS/AliXMLParser.h [moved from ANALYSIS/AliXMLParser.h with 100% similarity]
ANALYSIS/ANALYSIS/CMakeLists.txt [new file with mode: 0644]
ANALYSIS/ANALYSIScalib/ANALYSIScalibLinkDef.h [moved from ANALYSIS/ANALYSIScalibLinkDef.h with 100% similarity]
ANALYSIS/ANALYSIScalib/AliAnalysisTaskAddObject.cxx [moved from ANALYSIS/AliAnalysisTaskAddObject.cxx with 100% similarity]
ANALYSIS/ANALYSIScalib/AliAnalysisTaskAddObject.h [moved from ANALYSIS/AliAnalysisTaskAddObject.h with 100% similarity]
ANALYSIS/ANALYSIScalib/AliAnalysisTaskCopyESD.cxx [moved from ANALYSIS/AliAnalysisTaskCopyESD.cxx with 100% similarity]
ANALYSIS/ANALYSIScalib/AliAnalysisTaskCopyESD.h [moved from ANALYSIS/AliAnalysisTaskCopyESD.h with 100% similarity]
ANALYSIS/ANALYSIScalib/AliAnalysisTaskFilter.cxx [moved from ANALYSIS/AliAnalysisTaskFilter.cxx with 100% similarity]
ANALYSIS/ANALYSIScalib/AliAnalysisTaskFilter.h [moved from ANALYSIS/AliAnalysisTaskFilter.h with 100% similarity]
ANALYSIS/ANALYSIScalib/AliAnalysisTaskFilterFriend.cxx [moved from ANALYSIS/AliAnalysisTaskFilterFriend.cxx with 100% similarity]
ANALYSIS/ANALYSIScalib/AliAnalysisTaskFilterFriend.h [moved from ANALYSIS/AliAnalysisTaskFilterFriend.h with 100% similarity]
ANALYSIS/ANALYSIScalib/AliAnalysisTaskFilterFriendSecond.cxx [moved from ANALYSIS/AliAnalysisTaskFilterFriendSecond.cxx with 100% similarity]
ANALYSIS/ANALYSIScalib/AliAnalysisTaskFilterFriendSecond.h [moved from ANALYSIS/AliAnalysisTaskFilterFriendSecond.h with 100% similarity]
ANALYSIS/ANALYSIScalib/AliAnalysisTaskFilterSteer.cxx [moved from ANALYSIS/AliAnalysisTaskFilterSteer.cxx with 100% similarity]
ANALYSIS/ANALYSIScalib/AliAnalysisTaskFilterSteer.h [moved from ANALYSIS/AliAnalysisTaskFilterSteer.h with 100% similarity]
ANALYSIS/ANALYSIScalib/AliFileMerger.cxx [moved from ANALYSIS/AliFileMerger.cxx with 100% similarity]
ANALYSIS/ANALYSIScalib/AliFileMerger.h [moved from ANALYSIS/AliFileMerger.h with 100% similarity]
ANALYSIS/ANALYSIScalib/CMakeLists.txt [new file with mode: 0644]
CMakeLists.txt

diff --git a/ANALYSIS/ANALYSIS/CMakeLists.txt b/ANALYSIS/ANALYSIS/CMakeLists.txt
new file mode 100644 (file)
index 0000000..2e93791
--- /dev/null
@@ -0,0 +1,64 @@
+# **************************************************************************
+# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
+# *                                                                        *
+# * Author: The ALICE Off-line Project.                                    *
+# * Contributors are mentioned in the code where appropriate.              *
+# *                                                                        *
+# * Permission to use, copy, modify and distribute this software and its   *
+# * documentation strictly for non-commercial purposes is hereby granted   *
+# * without fee, provided that the above copyright notice appears in all   *
+# * copies and that both the copyright notice and this permission notice   *
+# * appear in the supporting documentation. The authors make no claims     *
+# * about the suitability of this software for any purpose. It is          *
+# * provided "as is" without express or implied warranty.                  *
+# **************************************************************************
+
+# Module
+set(MODULE ANALYSIS)
+
+# Module include folder
+include_directories(${CMAKE_SOURCE_DIR}/ANALYSIS/${MODULE})
+
+# Additional include folders in alphabetical order except ROOT
+include_directories(${ROOT_INCLUDE_DIRS} 
+                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                   )
+
+# Sources
+set(SRCS
+    AliAnalysisDataContainer.cxx
+    AliAnalysisDataSlot.cxx
+    AliAnalysisGrid.cxx
+    AliAnalysisManager.cxx
+    AliAnalysisSelector.cxx
+    AliAnalysisStatistics.cxx
+    AliAnalysisTaskCfg.cxx
+    AliAnalysisTask.cxx
+    AliXMLParser.cxx
+   )
+
+# Headers from sources
+string(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+# Generate the dictionary
+# It will create G_ARG1.cxx and G_ARG1.h / ARG1 = function first argument
+get_directory_property(incdirs INCLUDE_DIRECTORIES)
+generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}")
+
+# Add a library to the project using the specified source files
+add_library(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx)
+
+# Additional compilation flags
+set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "-O -g")
+
+# System dependent: Modify the way the library is build
+if(${CMAKE_SYSTEM} MATCHES Darwin)
+    set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
+endif(${CMAKE_SYSTEM} MATCHES Darwin)
+
+# Installation
+install(TARGETS ${MODULE}
+  ARCHIVE DESTINATION lib
+  LIBRARY DESTINATION lib)
+install(FILES ${HDRS} DESTINATION include)
+
diff --git a/ANALYSIS/ANALYSIScalib/CMakeLists.txt b/ANALYSIS/ANALYSIScalib/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ce894c6
--- /dev/null
@@ -0,0 +1,63 @@
+# **************************************************************************
+# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
+# *                                                                        *
+# * Author: The ALICE Off-line Project.                                    *
+# * Contributors are mentioned in the code where appropriate.              *
+# *                                                                        *
+# * Permission to use, copy, modify and distribute this software and its   *
+# * documentation strictly for non-commercial purposes is hereby granted   *
+# * without fee, provided that the above copyright notice appears in all   *
+# * copies and that both the copyright notice and this permission notice   *
+# * appear in the supporting documentation. The authors make no claims     *
+# * about the suitability of this software for any purpose. It is          *
+# * provided "as is" without express or implied warranty.                  *
+# **************************************************************************
+
+# Module
+set(MODULE ANALYSIScalib)
+
+# Module include folder
+include_directories(${CMAKE_SOURCE_DIR}/ANALYSIS/${MODULE})
+
+# Additional include folders in alphabetical ordere except ROOT
+include_directories(${ROOT_INCLUDE_DIRS}
+                    ${CMAKE_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${CMAKE_SOURCE_DIR}/STEER/ESD
+                    ${CMAKE_SOURCE_DIR}/STEER/STEERBase
+                   )
+
+# Sources in slphabetical order
+set(SRCS
+    AliAnalysisTaskAddObject.cxx
+    AliAnalysisTaskCopyESD.cxx
+    AliAnalysisTaskFilter.cxx
+    AliAnalysisTaskFilterFriend.cxx
+    AliAnalysisTaskFilterFriendSecond.cxx
+    AliAnalysisTaskFilterSteer.cxx
+    AliFileMerger.cxx
+  )
+
+# Headers from sources
+string(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+# Generate the dictionary
+# It will create G_ARG1.cxx and G_ARG1.h / ARG1 = function first argument
+get_directory_property(incdirs INCLUDE_DIRECTORIES)
+generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}")
+
+# Add a library to the project using the specified source files
+add_library(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx)
+
+# Additional compilation flags
+set_target_properties(${MODULE} PROPERTIES COMPILE_FLAGS "-O -g")
+
+# System dependent: Modify the way the library is build
+if(${CMAKE_SYSTEM} MATCHES Darwin)
+    set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
+endif(${CMAKE_SYSTEM} MATCHES Darwin)
+
+# Installation
+install(TARGETS ${MODULE}
+  ARCHIVE DESTINATION lib
+  LIBRARY DESTINATION lib)
+install(FILES ${HDRS} DESTINATION include)
index 020e626..ec3e840 100644 (file)
@@ -111,7 +111,7 @@ message(STATUS "Installation folder: ${CMAKE_INSTALL_PREFIX}")
 add_subdirectory (STEER)
 add_subdirectory (STAT)
 add_subdirectory (OADB)
-#add_subdirectory (ANALYSIS)
+add_subdirectory (ANALYSIS)
 #add_subdirectory (RAW)
 #add_subdirectory (ITS)
 #add_subdirectory (TPC)