Added PbPb and some missing pp A,B,C,E triggers
[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
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
42 FORWARD/analysis2/AliFMDHistCollector.cxx
43 FORWARD/analysis2/AliFMDSharingFilter.cxx
fb1842e1 44 FORWARD/analysis2/AliFMDMCEventInspector.cxx
aef19df1 45 FORWARD/analysis2/AliFMDMCCorrector.cxx
46 FORWARD/analysis2/AliFMDMCDensityCalculator.cxx
47 FORWARD/analysis2/AliFMDMCSharingFilter.cxx
48 FORWARD/analysis2/AliForwardCorrectionManager.cxx
49 FORWARD/analysis2/AliForwardMultiplicityBase.cxx
50 FORWARD/analysis2/AliForwardMultiplicityTask.cxx
51 FORWARD/analysis2/AliForwardMCMultiplicityTask.cxx
52 FORWARD/analysis2/AliForwardMCCorrectionsTask.cxx
53 FORWARD/analysis2/AliForwarddNdetaTask.cxx
54 FORWARD/analysis2/AliForwardUtil.cxx
55 FORWARD/analysis2/AliCentralMultiplicityTask.cxx
56 FORWARD/analysis2/AliAODCentralMult.cxx
57 FORWARD/analysis2/AliCentralCorrSecondaryMap.cxx
58 FORWARD/analysis2/AliCentralCorrAcceptance.cxx
59 FORWARD/analysis2/AliCentraldNdetaTask.cxx
60 FORWARD/analysis2/AliBasedNdetaTask.cxx
58f5fae2 61 FORWARD/analysis2/AliForwardFlowUtil.cxx
aef19df1 62 FORWARD/analysis2/AliForwardFlowTaskQC.cxx
72cc12cd 63)
9ece451d 64
65string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
cc83fca2 66set ( HDRS ${HDRS} FORWARD/analysis2/AliFMDStripIndex.h )
9ece451d 67
58f5fae2 68set ( EINCLUDE ANALYSIS PWG2/FORWARD/analysis2 STEER)
9ece451d 69
b2e7f2d6 70set ( EXPORT FORWARD/analysis2/AliAODForwardMult.h
744c1fb2 71 FORWARD/analysis2/AliAODCentralMult.h
58f5fae2 72 FORWARD/analysis2/AliForwardUtil.h )
cc83fca2 73
9ece451d 74set ( DHDR PWG2forward2LinkDef.h)
72cc12cd 75
76# --------------------------------------------------------------------
b2e7f2d6 77# Extra targets
78#
79add_custom_command( OUTPUT FORWARD/doc/doc.pdf
80 COMMAND pdflatex doc
81 COMMAND pdflatex doc
82 COMMAND pdflatex doc
83 COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/FORWARD/doc
84 COMMAND mv doc.pdf ${CMAKE_CURRENT_BINARY_DIR}/FORWARD/doc/
85 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/FORWARD/doc
86 MAIN_DEPENDENCY FORWARD/doc/doc.tex )
87
88add_custom_command( OUTPUT FORWARD/doc/html/index.html
89 COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/FORWARD/doc
90 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
91 COMMAND doxygen ${CMAKE_CURRENT_BINARY_DIR}/FORWARD/doc/Doxyfile
92 DEPENDS ${SRCS} ${HDRS} )
93
94add_custom_target( PWG2forward-doc DEPENDS FORWARD/doc/doc.pdf )
95add_custom_target( PWG2forward-doxy DEPENDS FORWARD/doc/html/index.html )
96
97# --------------------------------------------------------------------
72cc12cd 98# Extra installation targets
99#
100# Install scripts
101install ( DIRECTORY FORWARD/analysis2/scripts
102 DESTINATION PWG2/FORWARD/analysis2
103 PATTERN ".d" EXCLUDE
104 PATTERN ".so" EXCLUDE)
105
106# Install other scripts
0be6c8cd 107install ( FILES FORWARD/analysis2/AddTaskCentraldNdeta.C
108 FORWARD/analysis2/AddTaskCentralMult.C
109 FORWARD/analysis2/AddTaskCentralTracks.C
f69bd0da 110 FORWARD/analysis2/AddTaskCopyHeader.C
f69bd0da 111 FORWARD/analysis2/AddTaskFMDELoss.C
efbb21e6 112 FORWARD/analysis2/AddTaskForwardMult.C
b2e7f2d6 113 FORWARD/analysis2/AddTaskForwarddNdeta.C
114 FORWARD/analysis2/DrawdNdeta.C
fb1842e1 115 FORWARD/analysis2/ForwardAODConfig.C
72cc12cd 116 FORWARD/analysis2/MakeAOD.C
b2e7f2d6 117 FORWARD/analysis2/MakedNdeta.C
72cc12cd 118 FORWARD/analysis2/MakeELossFits.C
119 FORWARD/analysis2/OtherData.C
f69bd0da 120 FORWARD/analysis2/TrainSetup.C
72cc12cd 121 DESTINATION PWG2/FORWARD/analysis2 )
122
123# Install corrections
124install ( DIRECTORY FORWARD/corrections/DoubleHit
125 FORWARD/corrections/ELossFits
126 FORWARD/corrections/MergingEfficiency
127 FORWARD/corrections/SecondaryMap
128 FORWARD/corrections/VertexBias
129 FORWARD/corrections/Acceptance
fb1842e1 130 FORWARD/corrections/Normalization
9dd7ff01 131 FORWARD/corrections/CentralAcceptance
132 FORWARD/corrections/CentralSecMap
72cc12cd 133 DESTINATION PWG2/FORWARD/corrections
134 PATTERN ".svn" EXCLUDE)
135
136# Install shell script
137install ( FILES FORWARD/analysis2/Run.sh
138 DESTINATION PWG2/FORWARD/analysis2
139 PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
140 GROUP_EXECUTE GROUP_READ
141 WORLD_EXECUTE WORLD_READ )
142
143
144# --------------------------------------------------------------------
145#
146# EOF
147#