1 # **************************************************************************
2 # * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
4 # * Author: The ALICE Off-line Project. *
5 # * Contributors are mentioned in the code where appropriate. *
7 # * Permission to use, copy, modify and distribute this software and its *
8 # * documentation strictly for non-commercial purposes is hereby granted *
9 # * without fee, provided that the above copyright notice appears in all *
10 # * copies and that both the copyright notice and this permission notice *
11 # * appear in the supporting documentation. The authors make no claims *
12 # * about the suitability of this software for any purpose. It is *
13 # * provided "as is" without express or implied warranty. *
14 # **************************************************************************/
17 set (MODULE PWGHFvertexingHF)
19 # Module include folder
20 include_directories(${AliRoot_SOURCE_DIR}/PWGHF/vertexingHF)
22 # Additional includes - alphabetical order except ROOT
23 include_directories(${ROOT_INCLUDE_DIRS}
24 ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
25 ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSISalice
26 ${AliRoot_SOURCE_DIR}/CORRFW
27 ${AliRoot_SOURCE_DIR}/PWG/FLOW/Base
28 ${AliRoot_SOURCE_DIR}/PWG/FLOW/Tasks
29 ${AliRoot_SOURCE_DIR}/PWG/muon
30 ${AliRoot_SOURCE_DIR}/PWG/TRD
31 ${AliRoot_SOURCE_DIR}/STEER/AOD
32 ${AliRoot_SOURCE_DIR}/STEER/ESD
33 ${AliRoot_SOURCE_DIR}/STEER/STEERBase
34 ${AliRoot_SOURCE_DIR}/STEER/STEER
37 # Sources - alphabetical order
41 AliAODRecoDecayHF2Prong.cxx
42 AliAODRecoDecayHF3Prong.cxx
43 AliAODRecoDecayHF4Prong.cxx
44 AliAODRecoCascadeHF.cxx
47 AliVertexingHFUtils.cxx
49 AliRDHFCutsD0toKpi.cxx
50 AliRDHFCutsJpsitoee.cxx
51 AliRDHFCutsDplustoKpipi.cxx
52 AliRDHFCutsDstoKKpi.cxx
53 AliRDHFCutsLctopKpi.cxx
55 AliRDHFCutsD0toKpipipi.cxx
56 AliRDHFCutsDStartoKpipi.cxx
57 AliAnalysisVertexingHF.cxx
58 AliAnalysisTaskSEVertexingHF.cxx
59 AliAnalysisTaskMEVertexingHF.cxx
60 AliAnalysisTaskSESelectHF.cxx
61 AliAnalysisTaskSECompareHF.cxx
62 AliAnalysisTaskSEDplus.cxx
63 AliAnalysisTaskSEDs.cxx
64 AliAnalysisTaskSELambdac.cxx
65 AliAnalysisTaskSED0Mass.cxx
66 AliAnalysisTaskSECharmFraction.cxx
67 AliAnalysisTaskSELc2V0bachelor.cxx
68 AliAnalysisTaskSEDvsMultiplicity.cxx
69 AliAnalysisTaskCheckHFMCProd.cxx
71 AliCFVertexingHF2Prong.cxx
72 AliCFVertexingHF3Prong.cxx
73 AliCFVertexingHFCascade.cxx
74 AliCFVertexingHFLctoV0bachelor.cxx
75 AliCFTaskVertexingHF.cxx
76 AliCFTaskForDStarAnalysis.cxx
77 AliAnalysisTaskSEDStarJets.cxx
78 AliAnalysisTaskSEDStarSpectra.cxx
79 AliAnalysisTaskSESignificance.cxx
80 AliAnalysisTaskSEHFQA.cxx
82 AliSignificanceCalculator.cxx
85 AliNormalizationCounter.cxx
86 AliAnalysisTaskSEMonitNorm.cxx
87 AliAnalysisTaskSEBkgLikeSignD0.cxx
88 AliAnalysisTaskSEImproveITS.cxx
89 AliAnalysisTaskCombinHF.cxx
90 charmFlow/AliEventPlaneResolutionHandler.cxx
91 charmFlow/AliAnalysisTaskSEHFv2.cxx
92 charmFlow/AliHFAfterBurner.cxx
93 charmFlow/AliAnalysisTaskFlowD2H.cxx
94 upgrade/AliAnalysisTaskSELambdacUp.cxx
95 upgrade/AliAnalysisTaskCountLcEta.cxx
96 AliAnalysisTaskSELc2V0bachelorTMVA.cxx
99 # Headers from sources
100 string(REPLACE ".cxx" ".h" HDRS "${SRCS}")
102 # Generate the dictionary
103 # It will create G_ARG1.cxx and G_ARG1.h / ARG1 = function first argument
104 get_directory_property(incdirs INCLUDE_DIRECTORIES)
105 generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}")
107 # Add a shared library
108 add_library(${MODULE} SHARED ${SRCS} G__${MODULE}.cxx)
110 # Generate the ROOT map
112 set(LIBDEPS ANALYSISalice PWGflowTasks PWGTRD)
113 generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h")
115 # Linking the library
116 target_link_libraries(${MODULE} ${LIBDEPS})
118 # Public include folders that will be propagated to the dependecies
119 target_include_directories(${MODULE} PUBLIC ${incdirs})
121 # System dependent: Modify the way the library is build
122 if(${CMAKE_SYSTEM} MATCHES Darwin)
123 set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
124 endif(${CMAKE_SYSTEM} MATCHES Darwin)
127 install(TARGETS ${MODULE}
128 ARCHIVE DESTINATION lib
129 LIBRARY DESTINATION lib)
130 install(FILES ${HDRS} DESTINATION include)
134 AliAODRecoDecayHF2Prong.h
137 ConfigVertexingHF_highmult.C
143 DESTINATION PWGHF/vertexingHF/)
145 install(DIRECTORY charmFlow DESTINATION PWGHF/vertexingHF)