Fixes for coverity.
[u/mrichter/AliRoot.git] / PWGJE / CMakelibPWGJEEMCALJetTasks.pkg
1 # -*- mode: Makefile -*-
2 # $Id$
3 #--------------------------------------------------------------------------------#
4 # Variables Defined :                                                            #
5 #                                                                                #
6 # SRCS - C++ source files                                                        #
7 # HDRS - C++ header files                                                        #
8 # DHDR - ROOT Dictionary Linkdef header file                                     #
9 # CSRCS - C source files                                                         #
10 # CHDRS - C header files                                                         #
11 # EINCLUDE - Include directories                                                 #
12 # EDEFINE - Compiler definitions                                                 #
13 # ELIBS - Extra libraries to link                                                #
14 # ELIBSDIR - Extra library directories                                           #
15 # PACKFFLAGS - Fortran compiler flags for package                                #
16 # PACKCXXFLAGS - C++ compiler flags for package                                  #
17 # PACKCFLAGS - C compiler flags for package                                      #
18 # PACKSOFLAGS - Shared library linking flags                                     #
19 # PACKLDFLAGS - Module linker flags                                              #
20 # PACKBLIBS - Libraries to link (Executables only)                               #
21 # EXPORT - Header files to be exported                                           #
22 # CINTHDRS - Dictionary header files                                             #
23 # CINTAUTOLINK - Set automatic dictionary generation                             #
24 # ARLIBS - Archive Libraries and objects for linking (Executables only)          #
25 # SHLIBS - Shared Libraries and objects for linking (Executables only)           #
26 #--------------------------------------------------------------------------------#
27
28 set ( SRCS 
29  EMCALJetTasks/AliAnalysisTaskDeltaPt.cxx
30  EMCALJetTasks/AliAnalysisTaskEmcalJet.cxx
31  EMCALJetTasks/AliAnalysisTaskEmcalJetSample.cxx
32  EMCALJetTasks/AliAnalysisTaskRho.cxx
33  EMCALJetTasks/AliAnalysisTaskRhoAverage.cxx
34  EMCALJetTasks/AliAnalysisTaskRhoBase.cxx
35  EMCALJetTasks/AliAnalysisTaskRhoFlow.cxx
36  EMCALJetTasks/AliAnalysisTaskRhoSparse.cxx
37  EMCALJetTasks/AliAnalysisTaskLocalRho.cxx
38  EMCALJetTasks/AliAnalysisTaskScale.cxx
39  EMCALJetTasks/AliEmcalJet.cxx
40  EMCALJetTasks/AliJetConstituentTagCopier.cxx
41  EMCALJetTasks/AliJetContainer.cxx
42  EMCALJetTasks/AliJetEmbeddingFromGenTask.cxx
43  EMCALJetTasks/AliJetEmbeddingFromPYTHIATask.cxx
44  EMCALJetTasks/AliJetEmbeddingTask.cxx
45  EMCALJetTasks/AliJetModelBaseTask.cxx
46  EMCALJetTasks/AliJetModelMergeBranches.cxx
47  EMCALJetTasks/AliJetRandomizerTask.cxx
48  EMCALJetTasks/AliJetResponseMaker.cxx
49  EMCALJetTasks/AliRhoParameter.cxx
50  EMCALJetTasks/AliLocalRhoParameter.cxx
51  EMCALJetTasks/AliJetTriggerSelectionTask.cxx
52  EMCALJetTasks/UserTasks/AliAnalysisTaskCLQA.cxx
53  EMCALJetTasks/UserTasks/AliAnalysisTaskChargedJetsPA.cxx
54  EMCALJetTasks/UserTasks/AliAnalysisTaskDeltaPtJEmb.cxx 
55  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalBadCells.cxx
56  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalDiJetBase.cxx
57  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalDiJetAna.cxx
58  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalDiJetResponse.cxx
59  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetHMEC.cxx
60  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetHadCorQA.cxx
61  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetHadEPpid.cxx
62  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetHF.cxx
63  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetMass.cxx
64  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetMassBkg.cxx
65  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetMassResponse.cxx
66  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetPatchTriggerQA.cxx
67  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetSpectra.cxx
68  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetSpectraMECpA.cxx
69  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetTagger.cxx
70  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetTriggerQA.cxx
71  EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalTriggerInfoQA.cxx
72  EMCALJetTasks/UserTasks/AliAnalysisTaskHJetEmbed.cxx
73  EMCALJetTasks/UserTasks/AliAnalysisTaskJetShapeDeriv.cxx
74  EMCALJetTasks/UserTasks/AliAnalysisTaskJetShapeConst.cxx
75  EMCALJetTasks/UserTasks/AliAnalysisTaskJetMatching.cxx
76  EMCALJetTasks/UserTasks/AliAnalysisTaskJetV2.cxx
77  EMCALJetTasks/UserTasks/AliAnalysisTaskRhoMass.cxx
78  EMCALJetTasks/UserTasks/AliAnalysisTaskRhoMassBase.cxx
79  EMCALJetTasks/UserTasks/AliAnalysisTaskSAJF.cxx
80  EMCALJetTasks/UserTasks/AliAnalysisTaskSAQA.cxx
81  EMCALJetTasks/UserTasks/AliAnalysisTaskSOH.cxx
82  EMCALJetTasks/UserTasks/AliEmcalPicoTrackFromJetMaker.cxx
83 )
84
85 # Add code that needs fastjet or FJWrapper here
86 if (FASTJET_FOUND)
87   LIST(APPEND SRCS
88    EMCALJetTasks/AliFJWrapper.cxx
89    EMCALJetTasks/AliEmcalJetTask.cxx
90    EMCALJetTasks/AliEmcalJetFinder.cxx
91    EMCALJetTasks/AliJetEmbeddingFromAODTask.cxx
92    EMCALJetTasks/UserTasks/AliAnalysisTaskFullpAJets.cxx
93    EMCALJetTasks/UserTasks/AliAnalysisTaskFullppJet.cxx
94    EMCALJetTasks/UserTasks/AliAnalysisTaskHJetDphi.cxx
95    EMCALJetTasks/UserTasks/AliAnalysisTaskHJetSpectra.cxx
96   )
97   set ( CINTFLAGS ${CINTFLAGS} ${FASTJET_DEFINITIONS})
98 endif(FASTJET_FOUND)
99
100 set ( DHDR  PWGJEEMCALJetTasksLinkDef.h)
101
102 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
103
104 if(FASTJET_FOUND)
105   set ( EDEFINE -isystem${FASTJET_INCLUDE_DIR})
106   set ( EINCLUDE ${FASTJET_INCLUDE_DIR} PWGJE/EMCALJetTasks PWGJE/EMCALJetTasks/UserTasks PWG/EMCAL EMCAL OADB STEER/AOD STEER/ESD STEER/STEERBase ANALYSIS)
107   set ( HDRS ${HDRS}  EMCALJetTasks/FJ_includes.h )
108 else()
109   set ( EINCLUDE PWGJE/EMCALJetTasks PWGJE/EMCALJetTasks/UserTasks PWG/EMCAL EMCAL OADB STEER/AOD STEER/ESD STEER/STEERBase ANALYSIS)
110 endif(FASTJET_FOUND)
111
112 SET ( EXPORT ${HDRS} )