PWGmftmuondepCharmonium module
authoragrigora <alina.grigoras@cern.ch>
Tue, 23 Dec 2014 17:16:38 +0000 (18:16 +0100)
committeragrigora <alina.grigoras@cern.ch>
Tue, 23 Dec 2014 17:16:38 +0000 (18:16 +0100)
- Root and AliRoot dependencies
- Macros installation

PWG/mftmuondep/CMakeLists.txt
PWG/mftmuondep/charmonium/CMakeLists.txt
PWG/mftmuondep/charmonium/PWGmftmuondepCharmoniumLinkDef.h

index 6c67082..ac5ba0b 100644 (file)
@@ -14,7 +14,7 @@
 # **************************************************************************
 
 # Include the libraries
-#add_subdirectory(charmonium)
+add_subdirectory(charmonium)
 #add_subdirectory(openHF)
 
 message(STATUS "PWG mftmuondep enabled")
index 2218194..92906f1 100644 (file)
@@ -19,6 +19,15 @@ set (MODULE PWGmftmuondepCharmonium)
 # Module include folder
 include_directories(${AliRoot_SOURCE_DIR}/PWG/mftmuondep/charmonium)
 
+# Aditional include directories in alphabetical order
+include_directories(${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSISalice
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/EventMixing
+                    ${AliRoot_SOURCE_DIR}/MFT/MFTbase
+                    ${AliRoot_SOURCE_DIR}/MUON/MUONrec
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                   )
 # Sources - alphabetical order
 set(SRCS
     AliAnalysisTaskDimuonBackground.cxx
@@ -32,8 +41,8 @@ string(REPLACE ".cxx" ".h" HDRS "${SRCS}")
 get_directory_property(incdirs INCLUDE_DIRECTORIES)
 generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}")
 
-set(ROOT_DEPENDENCIES)
-set(ALIROOT_DEPENDENCIES)
+set(ROOT_DEPENDENCIES Core EG Hist MathCore)
+set(ALIROOT_DEPENDENCIES STEERBase AOD ANALYSIS ANALYSISalice EventMixing MUONrec MFTbase)
 
 # Generate the ROOT map
 # Dependecies
index ba5509f..41b14b1 100644 (file)
@@ -4,7 +4,7 @@
 #pragma link off all classes;
 #pragma link off all functions;
 
-#pragma link C++ class AliAnalysisTaskDimuonBackground.cxx
+#pragma link C++ class AliAnalysisTaskDimuonBackground++;
 
 #endif