Adding AOD task for FMDEventPlaneFinder
[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
aef19df1 30 FORWARD/analysis2/AliAODForwardMult.cxx
31 FORWARD/analysis2/AliFMDCorrAcceptance.cxx
32 FORWARD/analysis2/AliFMDCorrDoubleHit.cxx
33 FORWARD/analysis2/AliFMDCorrELossFit.cxx
34 FORWARD/analysis2/AliFMDCorrMergingEfficiency.cxx
35 FORWARD/analysis2/AliFMDCorrSecondaryMap.cxx
36 FORWARD/analysis2/AliFMDCorrVertexBias.cxx
37 FORWARD/analysis2/AliFMDCorrector.cxx
38 FORWARD/analysis2/AliFMDDensityCalculator.cxx
39 FORWARD/analysis2/AliFMDEnergyFitter.cxx
40 FORWARD/analysis2/AliFMDEnergyFitterTask.cxx
41 FORWARD/analysis2/AliFMDEventInspector.cxx
2b556440 42 FORWARD/analysis2/AliFMDEventPlaneFinder.cxx
aef19df1 43 FORWARD/analysis2/AliFMDHistCollector.cxx
44 FORWARD/analysis2/AliFMDSharingFilter.cxx
fb1842e1 45 FORWARD/analysis2/AliFMDMCEventInspector.cxx
aef19df1 46 FORWARD/analysis2/AliFMDMCCorrector.cxx
47 FORWARD/analysis2/AliFMDMCDensityCalculator.cxx
48 FORWARD/analysis2/AliFMDMCSharingFilter.cxx
3dd34bb1 49 FORWARD/analysis2/AliFMDMCTrackDensity.cxx
aef19df1 50 FORWARD/analysis2/AliForwardCorrectionManager.cxx
51 FORWARD/analysis2/AliForwardMultiplicityBase.cxx
52 FORWARD/analysis2/AliForwardMultiplicityTask.cxx
53 FORWARD/analysis2/AliForwardMCMultiplicityTask.cxx
54 FORWARD/analysis2/AliForwardMCCorrectionsTask.cxx
55 FORWARD/analysis2/AliForwarddNdetaTask.cxx
56 FORWARD/analysis2/AliForwardUtil.cxx
57 FORWARD/analysis2/AliCentralMultiplicityTask.cxx
52047b6f 58 FORWARD/analysis2/AliCentralMCMultiplicityTask.cxx
3dd34bb1 59 FORWARD/analysis2/AliCentralMCCorrectionsTask.cxx
aef19df1 60 FORWARD/analysis2/AliAODCentralMult.cxx
2b556440 61 FORWARD/analysis2/AliAODForwardEP.cxx
aef19df1 62 FORWARD/analysis2/AliCentralCorrSecondaryMap.cxx
63 FORWARD/analysis2/AliCentralCorrAcceptance.cxx
64 FORWARD/analysis2/AliCentraldNdetaTask.cxx
65 FORWARD/analysis2/AliBasedNdetaTask.cxx
1195ff50 66 FORWARD/analysis2/AliMCTruthdNdetaTask.cxx
aef19df1 67 FORWARD/analysis2/AliForwardFlowTaskQC.cxx
2b556440 68 FORWARD/analysis2/AliForwardMCFlowTaskQC.cxx
9632bb06 69 FORWARD/analysis2/AliFMDEventPlaneTask.cxx
3dd34bb1 70 FORWARD/analysis2/AliSPDMCTrackDensity.cxx
bfcbb65a 71 FORWARD/analysis2/AliFMDMultCuts.cxx
506d0527 72 FORWARD/analysis2/AliPoissonCalculator.cxx
87863667 73 FORWARD/analysis2/AliForwardQATask.cxx
9416c923 74 FORWARD/analysis2/AliCopyHeaderTask.cxx
72cc12cd 75)
9ece451d 76
77string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
cc83fca2 78set ( HDRS ${HDRS} FORWARD/analysis2/AliFMDStripIndex.h )
9ece451d 79
b313ec91 80set ( EINCLUDE ANALYSIS PWGLF/FORWARD/analysis2 PWG0 STEER/ESD STEER/STEERBase)
9ece451d 81
b2e7f2d6 82set ( EXPORT FORWARD/analysis2/AliAODForwardMult.h
744c1fb2 83 FORWARD/analysis2/AliAODCentralMult.h
52047b6f 84 FORWARD/analysis2/AliForwardUtil.h
85 FORWARD/analysis2/AliFMDEventInspector.h
86 FORWARD/analysis2/AliFMDMCEventInspector.h)
cc83fca2 87
b313ec91 88set ( DHDR PWGLFforward2LinkDef.h)
72cc12cd 89
b2e7f2d6 90# --------------------------------------------------------------------
91# Extra targets
92#
93add_custom_command( OUTPUT FORWARD/doc/doc.pdf
94 COMMAND pdflatex doc
95 COMMAND pdflatex doc
96 COMMAND pdflatex doc
97 COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/FORWARD/doc
98 COMMAND mv doc.pdf ${CMAKE_CURRENT_BINARY_DIR}/FORWARD/doc/
99 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/FORWARD/doc
100 MAIN_DEPENDENCY FORWARD/doc/doc.tex )
101
102add_custom_command( OUTPUT FORWARD/doc/html/index.html
103 COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/FORWARD/doc
23f0e043 104 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 105 COMMAND doxygen ${CMAKE_CURRENT_BINARY_DIR}/FORWARD/doc/Doxyfile
106 DEPENDS ${SRCS} ${HDRS} )
107
b313ec91 108add_custom_target( PWGLFforward-doc DEPENDS FORWARD/doc/doc.pdf )
109add_custom_target( PWGLFforward-doxy DEPENDS FORWARD/doc/html/index.html )
b2e7f2d6 110
b313ec91 111add_custom_target( install-PWGLFforward2.par
3dd34bb1 112 COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_BINARY_DIR}/${PACKAGE}.par ${CMAKE_INSTALL_PREFIX}
113 COMMAND ${CMAKE_COMMAND} -E cmake_echo_color --green --bold "${PACKAGE}.par installed in ${CMAKE_INSTALL_PREFIX}"
114 DEPENDS ${CMAKE_BINARY_DIR}/${PACKAGE}.par)
115
72cc12cd 116# --------------------------------------------------------------------
117# Extra installation targets
118#
119# Install scripts
120install ( DIRECTORY FORWARD/analysis2/scripts
b313ec91 121 DESTINATION PWGLF/FORWARD/analysis2
b4742e93 122 USE_SOURCE_PERMISSIONS
123 PATTERN "*~" EXCLUDE
124 PATTERN ".svn" EXCLUDE
125 PATTERN "*.d" EXCLUDE
126 PATTERN "*.so" EXCLUDE)
72cc12cd 127
9416c923 128# install QA scripts
129install ( DIRECTORY FORWARD/analysis2/qa
b313ec91 130 DESTINATION PWGLF/FORWARD/analysis2
b4742e93 131 USE_SOURCE_PERMISSIONS
132 PATTERN "*~" EXCLUDE
133 PATTERN ".svn" EXCLUDE
134 PATTERN "*.d" EXCLUDE
135 PATTERN "*.so" EXCLUDE)
9416c923 136
137# install correction scripts
138install ( DIRECTORY FORWARD/analysis2/corrs
b313ec91 139 DESTINATION PWGLF/FORWARD/analysis2
b4742e93 140 PATTERN "*~" EXCLUDE
141 PATTERN ".svn" EXCLUDE
142 PATTERN "*.d" EXCLUDE
143 PATTERN "*.so" EXCLUDE)
9416c923 144
506d0527 145# install trains
146install ( DIRECTORY FORWARD/analysis2/trains
b313ec91 147 DESTINATION PWGLF/FORWARD/analysis2
b4742e93 148 PATTERN "*~" EXCLUDE
149 PATTERN ".svn" EXCLUDE
150 PATTERN "*.d" EXCLUDE
151 PATTERN "*.so" EXCLUDE)
506d0527 152
72cc12cd 153# Install other scripts
0be6c8cd 154install ( FILES FORWARD/analysis2/AddTaskCentraldNdeta.C
3dd34bb1 155 FORWARD/analysis2/AddTaskCentralMCCorr.C
0be6c8cd 156 FORWARD/analysis2/AddTaskCentralMult.C
157 FORWARD/analysis2/AddTaskCentralTracks.C
f69bd0da 158 FORWARD/analysis2/AddTaskCopyHeader.C
f69bd0da 159 FORWARD/analysis2/AddTaskFMDELoss.C
9632bb06 160 FORWARD/analysis2/AddTaskFMDEventPlane.C
161 FORWARD/analysis2/AddTaskForwardFlow.C
3dd34bb1 162 FORWARD/analysis2/AddTaskForwardMCCorr.C
efbb21e6 163 FORWARD/analysis2/AddTaskForwardMult.C
87863667 164 FORWARD/analysis2/AddTaskForwardQA.C
b2e7f2d6 165 FORWARD/analysis2/AddTaskForwarddNdeta.C
1195ff50 166 FORWARD/analysis2/AddTaskMCTruthdNdeta.C
2b556440 167 FORWARD/analysis2/AddTaskMCParticleFilter.C
b2e7f2d6 168 FORWARD/analysis2/DrawdNdeta.C
fb1842e1 169 FORWARD/analysis2/ForwardAODConfig.C
3dd34bb1 170 FORWARD/analysis2/CentralAODConfig.C
72cc12cd 171 FORWARD/analysis2/MakeAOD.C
b2e7f2d6 172 FORWARD/analysis2/MakedNdeta.C
72cc12cd 173 FORWARD/analysis2/MakeELossFits.C
52047b6f 174 FORWARD/analysis2/MakeEvaluateTriggers.C
9632bb06 175 FORWARD/analysis2/MakeFlow.C
176 FORWARD/analysis2/MakeFMDEventPlane.C
3ababefa 177 FORWARD/analysis2/MakeForwardQA.C
3dd34bb1 178 FORWARD/analysis2/MakeMCCorr.C
72cc12cd 179 FORWARD/analysis2/OtherData.C
b313ec91 180 DESTINATION PWGLF/FORWARD/analysis2 )
72cc12cd 181
182# Install corrections
183install ( DIRECTORY FORWARD/corrections/DoubleHit
184 FORWARD/corrections/ELossFits
185 FORWARD/corrections/MergingEfficiency
186 FORWARD/corrections/SecondaryMap
187 FORWARD/corrections/VertexBias
188 FORWARD/corrections/Acceptance
fb1842e1 189 FORWARD/corrections/Normalization
9dd7ff01 190 FORWARD/corrections/CentralAcceptance
191 FORWARD/corrections/CentralSecMap
b313ec91 192 DESTINATION PWGLF/FORWARD/corrections
b4742e93 193 PATTERN "*~" EXCLUDE
72cc12cd 194 PATTERN ".svn" EXCLUDE)
195
196# Install shell script
197install ( FILES FORWARD/analysis2/Run.sh
b313ec91 198 DESTINATION PWGLF/FORWARD/analysis2
72cc12cd 199 PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
200 GROUP_EXECUTE GROUP_READ
201 WORLD_EXECUTE WORLD_READ )
202
203
204# --------------------------------------------------------------------
205#
206# EOF
207#