Refactoring of dN/deta task to common base class
[u/mrichter/AliRoot.git] / PWG2 / CMakelibPWG2forward2.pkg
CommitLineData
72cc12cd 1# -*- mode: CMake -*-
2#------------------------------------------------------------------------#
3# Package File for PWG2forward2 #
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
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
42 FORWARD/analysis2/AliFMDHistCollector.cxx
43 FORWARD/analysis2/AliFMDSharingFilter.cxx
44 FORWARD/analysis2/AliFMDMCCorrector.cxx
45 FORWARD/analysis2/AliFMDMCDensityCalculator.cxx
46 FORWARD/analysis2/AliFMDMCSharingFilter.cxx
47 FORWARD/analysis2/AliForwardCorrectionManager.cxx
48 FORWARD/analysis2/AliForwardMultiplicityBase.cxx
49 FORWARD/analysis2/AliForwardMultiplicityTask.cxx
50 FORWARD/analysis2/AliForwardMCMultiplicityTask.cxx
51 FORWARD/analysis2/AliForwardMCCorrectionsTask.cxx
b2e7f2d6 52 FORWARD/analysis2/AliForwarddNdetaTask.cxx
72cc12cd 53 FORWARD/analysis2/AliForwardUtil.cxx
6f791cc3 54 FORWARD/analysis2/AliCentralMultiplicityTask.cxx
55 FORWARD/analysis2/AliAODCentralMult.cxx
56 FORWARD/analysis2/AliCentralCorrSecondaryMap.cxx
57 FORWARD/analysis2/AliCentralCorrAcceptance.cxx
744c1fb2 58 FORWARD/analysis2/AliCentraldNdetaTask.cxx
ce85db45 59 FORWARD/analysis2/AliBasedNdetaTask.cxx
72cc12cd 60)
9ece451d 61
62string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
cc83fca2 63set ( HDRS ${HDRS} FORWARD/analysis2/AliFMDStripIndex.h )
9ece451d 64
e93f6949 65set ( EINCLUDE ANALYSIS PWG2/FORWARD/analysis2)
9ece451d 66
b2e7f2d6 67set ( EXPORT FORWARD/analysis2/AliAODForwardMult.h
744c1fb2 68 FORWARD/analysis2/AliAODCentralMult.h
b2e7f2d6 69 FORWARD/analysis2/AliForwardUtil.h )
cc83fca2 70
9ece451d 71set ( DHDR PWG2forward2LinkDef.h)
72cc12cd 72
73# --------------------------------------------------------------------
b2e7f2d6 74# Extra targets
75#
76add_custom_command( OUTPUT FORWARD/doc/doc.pdf
77 COMMAND pdflatex doc
78 COMMAND pdflatex doc
79 COMMAND pdflatex doc
80 COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/FORWARD/doc
81 COMMAND mv doc.pdf ${CMAKE_CURRENT_BINARY_DIR}/FORWARD/doc/
82 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/FORWARD/doc
83 MAIN_DEPENDENCY FORWARD/doc/doc.tex )
84
85add_custom_command( OUTPUT FORWARD/doc/html/index.html
86 COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/FORWARD/doc
87 COMMAND sed -e 's,\\\(INPUT\\|EXAMPLE_PATH\\\) *= ../analysis2,\\1 = ${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
88 COMMAND doxygen ${CMAKE_CURRENT_BINARY_DIR}/FORWARD/doc/Doxyfile
89 DEPENDS ${SRCS} ${HDRS} )
90
91add_custom_target( PWG2forward-doc DEPENDS FORWARD/doc/doc.pdf )
92add_custom_target( PWG2forward-doxy DEPENDS FORWARD/doc/html/index.html )
93
94# --------------------------------------------------------------------
72cc12cd 95# Extra installation targets
96#
97# Install scripts
98install ( DIRECTORY FORWARD/analysis2/scripts
99 DESTINATION PWG2/FORWARD/analysis2
100 PATTERN ".d" EXCLUDE
101 PATTERN ".so" EXCLUDE)
102
103# Install other scripts
f69bd0da 104install ( FILES FORWARD/analysis2/AddTaskCentralMult.C
9dd7ff01 105 FORWARD/analysis2/AddTaskCentral.C
f69bd0da 106 FORWARD/analysis2/AddTaskCopyHeader.C
72cc12cd 107 FORWARD/analysis2/AddTaskFMD.C
f69bd0da 108 FORWARD/analysis2/AddTaskFMDELoss.C
b2e7f2d6 109 FORWARD/analysis2/AddTaskForwarddNdeta.C
110 FORWARD/analysis2/DrawdNdeta.C
72cc12cd 111 FORWARD/analysis2/MakeAOD.C
b2e7f2d6 112 FORWARD/analysis2/MakedNdeta.C
72cc12cd 113 FORWARD/analysis2/MakeELossFits.C
114 FORWARD/analysis2/OtherData.C
115 FORWARD/analysis2/Pass1.C
116 FORWARD/analysis2/Pass2.C
f69bd0da 117 FORWARD/analysis2/TrainSetup.C
72cc12cd 118 DESTINATION PWG2/FORWARD/analysis2 )
119
120# Install corrections
121install ( DIRECTORY FORWARD/corrections/DoubleHit
122 FORWARD/corrections/ELossFits
123 FORWARD/corrections/MergingEfficiency
124 FORWARD/corrections/SecondaryMap
125 FORWARD/corrections/VertexBias
126 FORWARD/corrections/Acceptance
9dd7ff01 127 FORWARD/corrections/CentralAcceptance
128 FORWARD/corrections/CentralSecMap
72cc12cd 129 DESTINATION PWG2/FORWARD/corrections
130 PATTERN ".svn" EXCLUDE)
131
132# Install shell script
133install ( FILES FORWARD/analysis2/Run.sh
134 DESTINATION PWG2/FORWARD/analysis2
135 PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
136 GROUP_EXECUTE GROUP_READ
137 WORLD_EXECUTE WORLD_READ )
138
139
140# --------------------------------------------------------------------
141#
142# EOF
143#