Various improvements
[u/mrichter/AliRoot.git] / PWG2 / CMakelibPWG2forward2.pkg
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
29 set ( 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
52     FORWARD/analysis2/AliForwardUtil.cxx
53 )
54
55 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
56 set ( HDRS ${HDRS} FORWARD/analysis2/AliFMDStripIndex.h )
57
58 set ( EINCLUDE  ANALYSIS )
59
60 set ( EXPORT FORWARD/analysis2/AliAODForwardMult.h )
61
62 set ( DHDR  PWG2forward2LinkDef.h)
63
64 # --------------------------------------------------------------------
65 # Extra installation targets 
66 #
67 # Install scripts 
68 install ( DIRECTORY FORWARD/analysis2/scripts 
69           DESTINATION PWG2/FORWARD/analysis2 
70           PATTERN ".d"  EXCLUDE 
71           PATTERN ".so" EXCLUDE)
72
73 # Install other scripts
74 install ( FILES FORWARD/analysis2/AddTaskCopyHeader.C
75                 FORWARD/analysis2/AddTaskFMD.C
76                 FORWARD/analysis2/AnalyseAOD.C
77                 FORWARD/analysis2/MakeAOD.C
78                 FORWARD/analysis2/MakeELossFits.C
79                 FORWARD/analysis2/OtherData.C
80                 FORWARD/analysis2/Pass1.C
81                 FORWARD/analysis2/Pass2.C
82            DESTINATION PWG2/FORWARD/analysis2 )
83
84 # Install corrections 
85 install ( DIRECTORY FORWARD/corrections/DoubleHit
86                     FORWARD/corrections/ELossFits
87                     FORWARD/corrections/MergingEfficiency
88                     FORWARD/corrections/SecondaryMap
89                     FORWARD/corrections/VertexBias
90                     FORWARD/corrections/Acceptance
91           DESTINATION PWG2/FORWARD/corrections 
92           PATTERN ".svn" EXCLUDE)
93
94 # Install shell script 
95 install ( FILES FORWARD/analysis2/Run.sh 
96           DESTINATION PWG2/FORWARD/analysis2 
97           PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
98                       GROUP_EXECUTE GROUP_READ
99                       WORLD_EXECUTE WORLD_READ )
100
101
102 # --------------------------------------------------------------------
103 #
104 # EOF
105