Moved calculations of flow weights (after burner) into a
[u/mrichter/AliRoot.git] / PWGLF / CMakelibPWGLFforward2.pkg
CommitLineData
72cc12cd 1# -*- mode: CMake -*-
2#------------------------------------------------------------------------#
b313ec91 3# Package File for PWGLFforward2 #
72cc12cd 4# Author : Christian Holm Christensen (cholm@nbi.dk) #
5# Variables Defined : #
6# #
7# SRCS - C++ source files #
8# HDRS - C++ header files #
9# DHDR - ROOT Dictionary Linkdef header file #
10# CSRCS - C source files #
11# CHDRS - C header files #
12# EINCLUDE - Include directories #
13# EDEFINE - Compiler definitions #
14# ELIBS - Extra libraries to link #
15# ELIBSDIR - Extra library directories #
16# PACKFFLAGS - Fortran compiler flags for package #
17# PACKCXXFLAGS - C++ compiler flags for package #
18# PACKCFLAGS - C compiler flags for package #
19# PACKSOFLAGS - Shared library linking flags #
20# PACKLDFLAGS - Module linker flags #
21# PACKBLIBS - Libraries to link (Executables only) #
22# EXPORT - Header files to be exported #
23# CINTHDRS - Dictionary header files #
24# CINTAUTOLINK - Set automatic dictionary generation #
25# ARLIBS - Archive Libraries and objects for linking (Executables only) #
26# SHLIBS - Shared Libraries and objects for linking (Executables only) #
27#------------------------------------------------------------------------#
28
29set ( SRCS
4bcdcbc1 30 FORWARD/analysis2/AliAODCentralMult.cxx
31 FORWARD/analysis2/AliAODForwardEP.cxx
aef19df1 32 FORWARD/analysis2/AliAODForwardMult.cxx
4bcdcbc1 33 FORWARD/analysis2/AliBasedNdetaTask.cxx
34 FORWARD/analysis2/AliBaseMCTrackDensity.cxx
35 FORWARD/analysis2/AliCentralCorrAcceptance.cxx
36 FORWARD/analysis2/AliCentralCorrSecondaryMap.cxx
37 FORWARD/analysis2/AliCentraldNdetaTask.cxx
38 FORWARD/analysis2/AliCentralMCCorrectionsTask.cxx
39 FORWARD/analysis2/AliCentralMCMultiplicityTask.cxx
40 FORWARD/analysis2/AliCentralMultiplicityTask.cxx
41 FORWARD/analysis2/AliCopyHeaderTask.cxx
42 FORWARD/analysis2/AliDisplacedVertexSelection.cxx
aef19df1 43 FORWARD/analysis2/AliFMDCorrAcceptance.cxx
44 FORWARD/analysis2/AliFMDCorrDoubleHit.cxx
4bcdcbc1 45 FORWARD/analysis2/AliFMDCorrector.cxx
aef19df1 46 FORWARD/analysis2/AliFMDCorrELossFit.cxx
47 FORWARD/analysis2/AliFMDCorrMergingEfficiency.cxx
48 FORWARD/analysis2/AliFMDCorrSecondaryMap.cxx
49 FORWARD/analysis2/AliFMDCorrVertexBias.cxx
aef19df1 50 FORWARD/analysis2/AliFMDDensityCalculator.cxx
51 FORWARD/analysis2/AliFMDEnergyFitter.cxx
52 FORWARD/analysis2/AliFMDEnergyFitterTask.cxx
53 FORWARD/analysis2/AliFMDEventInspector.cxx
2b556440 54 FORWARD/analysis2/AliFMDEventPlaneFinder.cxx
4bcdcbc1 55 FORWARD/analysis2/AliFMDEventPlaneTask.cxx
aef19df1 56 FORWARD/analysis2/AliFMDHistCollector.cxx
aef19df1 57 FORWARD/analysis2/AliFMDMCCorrector.cxx
58 FORWARD/analysis2/AliFMDMCDensityCalculator.cxx
4bcdcbc1 59 FORWARD/analysis2/AliFMDMCEventInspector.cxx
aef19df1 60 FORWARD/analysis2/AliFMDMCSharingFilter.cxx
3dd34bb1 61 FORWARD/analysis2/AliFMDMCTrackDensity.cxx
4bcdcbc1 62 FORWARD/analysis2/AliFMDMultCuts.cxx
63 FORWARD/analysis2/AliFMDSharingFilter.cxx
aef19df1 64 FORWARD/analysis2/AliForwardCorrectionManager.cxx
4bcdcbc1 65 FORWARD/analysis2/AliForwarddNdetaTask.cxx
66 FORWARD/analysis2/AliForwardFlowTaskQC.cxx
936b0a6c 67 FORWARD/analysis2/AliForwardFlowWeights.cxx
4bcdcbc1 68 FORWARD/analysis2/AliForwardMCCorrectionsTask.cxx
69 FORWARD/analysis2/AliForwardMCFlowTaskQC.cxx
70 FORWARD/analysis2/AliForwardMCMultiplicityTask.cxx
aef19df1 71 FORWARD/analysis2/AliForwardMultiplicityBase.cxx
72 FORWARD/analysis2/AliForwardMultiplicityTask.cxx
4bcdcbc1 73 FORWARD/analysis2/AliForwardQATask.cxx
aef19df1 74 FORWARD/analysis2/AliForwardUtil.cxx
1195ff50 75 FORWARD/analysis2/AliMCTruthdNdetaTask.cxx
506d0527 76 FORWARD/analysis2/AliPoissonCalculator.cxx
4bcdcbc1 77 FORWARD/analysis2/AliSPDMCTrackDensity.cxx
4545c3fe 78 FORWARD/GEO/AliAnalysisTaskZDCPbPb.cxx
72cc12cd 79)
9ece451d 80
81string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
cc83fca2 82set ( HDRS ${HDRS} FORWARD/analysis2/AliFMDStripIndex.h )
9ece451d 83
4bcdcbc1 84set ( EINCLUDE
85 ANALYSIS
86 PWGLF/FORWARD/analysis2
87 PWGLF/FORWARD/GEO
88 PWG0
89 STEER/ESD
90 STEER/STEERBase)
9ece451d 91
b2e7f2d6 92set ( EXPORT FORWARD/analysis2/AliAODForwardMult.h
744c1fb2 93 FORWARD/analysis2/AliAODCentralMult.h
52047b6f 94 FORWARD/analysis2/AliForwardUtil.h
95 FORWARD/analysis2/AliFMDEventInspector.h
4545c3fe 96 FORWARD/analysis2/AliFMDMCEventInspector.h
97 FORWARD/GEO/AliAnalysisTaskZDCPbPb.h)
cc83fca2 98
b313ec91 99set ( DHDR PWGLFforward2LinkDef.h)
72cc12cd 100
101# --------------------------------------------------------------------
b2e7f2d6 102# Extra targets
103#
104add_custom_command( OUTPUT FORWARD/doc/doc.pdf
105 COMMAND pdflatex doc
106 COMMAND pdflatex doc
107 COMMAND pdflatex doc
108 COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/FORWARD/doc
109 COMMAND mv doc.pdf ${CMAKE_CURRENT_BINARY_DIR}/FORWARD/doc/
110 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/FORWARD/doc
4bcdcbc1 111 MAIN_DEPENDENCY FORWARD/doc/doc.tex)
b2e7f2d6 112
113add_custom_command( OUTPUT FORWARD/doc/html/index.html
114 COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/FORWARD/doc
23f0e043 115 COMMAND sed -e 's,../analysis2,${CMAKE_CURRENT_SOURCE_DIR}/FORWARD/analysis2,' -e 's,OUTPUT_DIRECTORY *=.*,OUTPUT_DIRECTORY = FORWARD/doc/,' < ${CMAKE_CURRENT_SOURCE_DIR}/FORWARD/doc/Doxyfile > ${CMAKE_CURRENT_BINARY_DIR}/FORWARD/doc/Doxyfile
b2e7f2d6 116 COMMAND doxygen ${CMAKE_CURRENT_BINARY_DIR}/FORWARD/doc/Doxyfile
4bcdcbc1 117 DEPENDS ${SRCS} ${HDRS})
b2e7f2d6 118
b313ec91 119add_custom_target( PWGLFforward-doc DEPENDS FORWARD/doc/doc.pdf )
120add_custom_target( PWGLFforward-doxy DEPENDS FORWARD/doc/html/index.html )
b2e7f2d6 121
b313ec91 122add_custom_target( install-PWGLFforward2.par
3dd34bb1 123 COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_BINARY_DIR}/${PACKAGE}.par ${CMAKE_INSTALL_PREFIX}
124 COMMAND ${CMAKE_COMMAND} -E cmake_echo_color --green --bold "${PACKAGE}.par installed in ${CMAKE_INSTALL_PREFIX}"
936b0a6c 125 DEPENDS ${CMAKE_BINARY_DIR}/${PACKAGE}.par
126 DEPENDS test-${PACKAGE}.par)
3dd34bb1 127
b2e7f2d6 128# --------------------------------------------------------------------
72cc12cd 129# Extra installation targets
130#
131# Install scripts
132install ( DIRECTORY FORWARD/analysis2/scripts
b313ec91 133 DESTINATION PWGLF/FORWARD/analysis2
b4742e93 134 USE_SOURCE_PERMISSIONS
135 PATTERN "*~" EXCLUDE
136 PATTERN ".svn" EXCLUDE
137 PATTERN "*.d" EXCLUDE
138 PATTERN "*.so" EXCLUDE)
72cc12cd 139
9416c923 140# install QA scripts
141install ( DIRECTORY FORWARD/analysis2/qa
b313ec91 142 DESTINATION PWGLF/FORWARD/analysis2
b4742e93 143 USE_SOURCE_PERMISSIONS
144 PATTERN "*~" EXCLUDE
145 PATTERN ".svn" EXCLUDE
146 PATTERN "*.d" EXCLUDE
147 PATTERN "*.so" EXCLUDE)
9416c923 148
149# install correction scripts
150install ( DIRECTORY FORWARD/analysis2/corrs
b313ec91 151 DESTINATION PWGLF/FORWARD/analysis2
b4742e93 152 PATTERN "*~" EXCLUDE
153 PATTERN ".svn" EXCLUDE
154 PATTERN "*.d" EXCLUDE
155 PATTERN "*.so" EXCLUDE)
9416c923 156
506d0527 157# install trains
158install ( DIRECTORY FORWARD/analysis2/trains
b313ec91 159 DESTINATION PWGLF/FORWARD/analysis2
b4742e93 160 PATTERN "*~" EXCLUDE
161 PATTERN ".svn" EXCLUDE
162 PATTERN "*.d" EXCLUDE
163 PATTERN "*.so" EXCLUDE)
506d0527 164
72cc12cd 165# Install other scripts
0be6c8cd 166install ( FILES FORWARD/analysis2/AddTaskCentraldNdeta.C
3dd34bb1 167 FORWARD/analysis2/AddTaskCentralMCCorr.C
0be6c8cd 168 FORWARD/analysis2/AddTaskCentralMult.C
169 FORWARD/analysis2/AddTaskCentralTracks.C
f69bd0da 170 FORWARD/analysis2/AddTaskCopyHeader.C
f69bd0da 171 FORWARD/analysis2/AddTaskFMDELoss.C
9632bb06 172 FORWARD/analysis2/AddTaskFMDEventPlane.C
173 FORWARD/analysis2/AddTaskForwardFlow.C
3dd34bb1 174 FORWARD/analysis2/AddTaskForwardMCCorr.C
efbb21e6 175 FORWARD/analysis2/AddTaskForwardMult.C
87863667 176 FORWARD/analysis2/AddTaskForwardQA.C
b2e7f2d6 177 FORWARD/analysis2/AddTaskForwarddNdeta.C
1195ff50 178 FORWARD/analysis2/AddTaskMCTruthdNdeta.C
2b556440 179 FORWARD/analysis2/AddTaskMCParticleFilter.C
b2e7f2d6 180 FORWARD/analysis2/DrawdNdeta.C
fb1842e1 181 FORWARD/analysis2/ForwardAODConfig.C
3dd34bb1 182 FORWARD/analysis2/CentralAODConfig.C
72cc12cd 183 FORWARD/analysis2/MakeAOD.C
b2e7f2d6 184 FORWARD/analysis2/MakedNdeta.C
72cc12cd 185 FORWARD/analysis2/MakeELossFits.C
52047b6f 186 FORWARD/analysis2/MakeEvaluateTriggers.C
9632bb06 187 FORWARD/analysis2/MakeFlow.C
188 FORWARD/analysis2/MakeFMDEventPlane.C
3ababefa 189 FORWARD/analysis2/MakeForwardQA.C
3dd34bb1 190 FORWARD/analysis2/MakeMCCorr.C
72cc12cd 191 FORWARD/analysis2/OtherData.C
b313ec91 192 DESTINATION PWGLF/FORWARD/analysis2 )
72cc12cd 193
194# Install corrections
195install ( DIRECTORY FORWARD/corrections/DoubleHit
196 FORWARD/corrections/ELossFits
197 FORWARD/corrections/MergingEfficiency
198 FORWARD/corrections/SecondaryMap
199 FORWARD/corrections/VertexBias
200 FORWARD/corrections/Acceptance
fb1842e1 201 FORWARD/corrections/Normalization
9dd7ff01 202 FORWARD/corrections/CentralAcceptance
203 FORWARD/corrections/CentralSecMap
b313ec91 204 DESTINATION PWGLF/FORWARD/corrections
b4742e93 205 PATTERN "*~" EXCLUDE
72cc12cd 206 PATTERN ".svn" EXCLUDE)
207
208# Install shell script
209install ( FILES FORWARD/analysis2/Run.sh
b313ec91 210 DESTINATION PWGLF/FORWARD/analysis2
72cc12cd 211 PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
212 GROUP_EXECUTE GROUP_READ
213 WORLD_EXECUTE WORLD_READ )
214
215
216# --------------------------------------------------------------------
217#
218# EOF
219#