PWGJE
authoragrigora <alina.grigoras@cern.ch>
Fri, 5 Dec 2014 15:27:08 +0000 (16:27 +0100)
committeragrigora <alina.grigoras@cern.ch>
Mon, 15 Dec 2014 12:52:07 +0000 (13:52 +0100)
45 files changed:
PWGJE/CMakeLists.txt
PWGJE/CMakelibPWGJEEMCALJetTasks.pkg.1 [deleted file]
PWGJE/EMCALJetTasks/CMakeLists.txt
PWGJE/FlavourJetTasks/AliAnalysisTaskSEPicoV0Maker.h
PWGJE/FlavourJetTasks/CMakeLists.txt [new file with mode: 0644]
PWGJE/FlavourJetTasks/PWGJEFlavourJetTasksLinkDef.h [moved from PWGJE/PWGJEFlavourJetTasksLinkDef.h with 100% similarity]
PWGJE/PWGJE/AliAnaChargedJetResponseMaker.cxx [moved from PWGJE/AliAnaChargedJetResponseMaker.cxx with 100% similarity]
PWGJE/PWGJE/AliAnaChargedJetResponseMaker.h [moved from PWGJE/AliAnaChargedJetResponseMaker.h with 100% similarity]
PWGJE/PWGJE/AliAnalysisTaskAj.cxx [moved from PWGJE/AliAnalysisTaskAj.cxx with 100% similarity]
PWGJE/PWGJE/AliAnalysisTaskAj.h [moved from PWGJE/AliAnalysisTaskAj.h with 100% similarity]
PWGJE/PWGJE/AliAnalysisTaskFragmentationFunction.cxx [moved from PWGJE/AliAnalysisTaskFragmentationFunction.cxx with 100% similarity]
PWGJE/PWGJE/AliAnalysisTaskFragmentationFunction.h [moved from PWGJE/AliAnalysisTaskFragmentationFunction.h with 100% similarity]
PWGJE/PWGJE/AliAnalysisTaskJetCore.cxx [moved from PWGJE/AliAnalysisTaskJetCore.cxx with 100% similarity]
PWGJE/PWGJE/AliAnalysisTaskJetCore.h [moved from PWGJE/AliAnalysisTaskJetCore.h with 100% similarity]
PWGJE/PWGJE/AliAnalysisTaskJetCorePP.cxx [moved from PWGJE/AliAnalysisTaskJetCorePP.cxx with 100% similarity]
PWGJE/PWGJE/AliAnalysisTaskJetCorePP.h [moved from PWGJE/AliAnalysisTaskJetCorePP.h with 100% similarity]
PWGJE/PWGJE/AliAnalysisTaskJetProperties.cxx [moved from PWGJE/AliAnalysisTaskJetProperties.cxx with 100% similarity]
PWGJE/PWGJE/AliAnalysisTaskJetProperties.h [moved from PWGJE/AliAnalysisTaskJetProperties.h with 100% similarity]
PWGJE/PWGJE/AliAnalysisTaskJetResponseV2.cxx [moved from PWGJE/AliAnalysisTaskJetResponseV2.cxx with 100% similarity]
PWGJE/PWGJE/AliAnalysisTaskJetResponseV2.h [moved from PWGJE/AliAnalysisTaskJetResponseV2.h with 100% similarity]
PWGJE/PWGJE/AliAnalysisTaskJetServices.cxx [moved from PWGJE/AliAnalysisTaskJetServices.cxx with 100% similarity]
PWGJE/PWGJE/AliAnalysisTaskJetServices.h [moved from PWGJE/AliAnalysisTaskJetServices.h with 100% similarity]
PWGJE/PWGJE/AliAnalysisTaskJetSpectrum2.cxx [moved from PWGJE/AliAnalysisTaskJetSpectrum2.cxx with 100% similarity]
PWGJE/PWGJE/AliAnalysisTaskJetSpectrum2.h [moved from PWGJE/AliAnalysisTaskJetSpectrum2.h with 100% similarity]
PWGJE/PWGJE/AliAnalysisTaskJetsTM.cxx [moved from PWGJE/AliAnalysisTaskJetsTM.cxx with 100% similarity]
PWGJE/PWGJE/AliAnalysisTaskJetsTM.h [moved from PWGJE/AliAnalysisTaskJetsTM.h with 100% similarity]
PWGJE/PWGJE/AliAnalysisTaskPartonDisc.cxx [moved from PWGJE/AliAnalysisTaskPartonDisc.cxx with 100% similarity]
PWGJE/PWGJE/AliAnalysisTaskPartonDisc.h [moved from PWGJE/AliAnalysisTaskPartonDisc.h with 100% similarity]
PWGJE/PWGJE/AliFragmentationFunctionCorrections.cxx [moved from PWGJE/AliFragmentationFunctionCorrections.cxx with 100% similarity]
PWGJE/PWGJE/AliFragmentationFunctionCorrections.h [moved from PWGJE/AliFragmentationFunctionCorrections.h with 100% similarity]
PWGJE/PWGJE/AliPWG4CosmicCandidates.cxx [moved from PWGJE/AliPWG4CosmicCandidates.cxx with 100% similarity]
PWGJE/PWGJE/AliPWG4CosmicCandidates.h [moved from PWGJE/AliPWG4CosmicCandidates.h with 100% similarity]
PWGJE/PWGJE/AliPWG4HighPtQAMC.cxx [moved from PWGJE/AliPWG4HighPtQAMC.cxx with 100% similarity]
PWGJE/PWGJE/AliPWG4HighPtQAMC.h [moved from PWGJE/AliPWG4HighPtQAMC.h with 100% similarity]
PWGJE/PWGJE/AliPWG4HighPtQATPConly.cxx [moved from PWGJE/AliPWG4HighPtQATPConly.cxx with 100% similarity]
PWGJE/PWGJE/AliPWG4HighPtQATPConly.h [moved from PWGJE/AliPWG4HighPtQATPConly.h with 100% similarity]
PWGJE/PWGJE/AliPWG4HighPtSpectra.cxx [moved from PWGJE/AliPWG4HighPtSpectra.cxx with 100% similarity]
PWGJE/PWGJE/AliPWG4HighPtSpectra.h [moved from PWGJE/AliPWG4HighPtSpectra.h with 100% similarity]
PWGJE/PWGJE/AliPWG4HighPtTrackQA.cxx [moved from PWGJE/AliPWG4HighPtTrackQA.cxx with 100% similarity]
PWGJE/PWGJE/AliPWG4HighPtTrackQA.h [moved from PWGJE/AliPWG4HighPtTrackQA.h with 100% similarity]
PWGJE/PWGJE/CMakeLists.txt [new file with mode: 0644]
PWGJE/PWGJE/PWGJELinkDef.h [moved from PWGJE/PWGJELinkDef.h with 100% similarity]
PWGJE/StrangenessInJets/CMakeLists.txt [new file with mode: 0644]
PWGJE/StrangenessInJets/PWGJEStrangenessInJetsLinkDef.h [moved from PWGJE/PWGJEStrangenessInJetsLinkDef.h with 100% similarity]
PWGJE/UserTasks/AliAnalysisTaskIDFragmentationFunction.h

index a9b812d..ff16ff1 100644 (file)
 # **************************************************************************
 
 add_subdirectory(EMCALJetTasks)
+add_subdirectory(FlavourJetTasks)
+add_subdirectory(PWGJE)
+add_subdirectory(StrangenessInJets)
+
+# Installing the macros
+install (DIRECTORY macros DESTINATION PWGJE)
 
 message(STATUS "PWGJE enabled")
diff --git a/PWGJE/CMakelibPWGJEEMCALJetTasks.pkg.1 b/PWGJE/CMakelibPWGJEEMCALJetTasks.pkg.1
deleted file mode 100644 (file)
index 6e818dd..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-# -*- mode: Makefile -*-
-# $Id$
-#--------------------------------------------------------------------------------#
-# Variables Defined :                                                            #
-#                                                                                #
-# SRCS - C++ source files                                                        #
-# HDRS - C++ header files                                                        #
-# DHDR - ROOT Dictionary Linkdef header file                                     #
-# CSRCS - C source files                                                         #
-# CHDRS - C header files                                                         #
-# EINCLUDE - Include directories                                                 #
-# EDEFINE - Compiler definitions                                                 #
-# ELIBS - Extra libraries to link                                                #
-# ELIBSDIR - Extra library directories                                           #
-# PACKFFLAGS - Fortran compiler flags for package                                #
-# PACKCXXFLAGS - C++ compiler flags for package                                  #
-# PACKCFLAGS - C compiler flags for package                                      #
-# PACKSOFLAGS - Shared library linking flags                                     #
-# PACKLDFLAGS - Module linker flags                                              #
-# PACKBLIBS - Libraries to link (Executables only)                               #
-# EXPORT - Header files to be exported                                           #
-# CINTHDRS - Dictionary header files                                             #
-# CINTAUTOLINK - Set automatic dictionary generation                             #
-# ARLIBS - Archive Libraries and objects for linking (Executables only)          #
-# SHLIBS - Shared Libraries and objects for linking (Executables only)           #
-#--------------------------------------------------------------------------------#
-
-set ( SRCS 
- EMCALJetTasks/AliAnalysisTaskDeltaPt.cxx
- EMCALJetTasks/AliAnalysisTaskEmcalJet.cxx
- EMCALJetTasks/AliAnalysisTaskEmcalJetSample.cxx
- EMCALJetTasks/AliAnalysisTaskRho.cxx
- EMCALJetTasks/AliAnalysisTaskRhoAverage.cxx
- EMCALJetTasks/AliAnalysisTaskRhoBase.cxx
- EMCALJetTasks/AliAnalysisTaskRhoFlow.cxx
- EMCALJetTasks/AliAnalysisTaskRhoSparse.cxx
- EMCALJetTasks/AliAnalysisTaskLocalRho.cxx
- EMCALJetTasks/AliAnalysisTaskScale.cxx
- EMCALJetTasks/AliEmcalJet.cxx
- EMCALJetTasks/AliEmcalPicoTrackInGridMaker.cxx
- EMCALJetTasks/AliJetConstituentTagCopier.cxx
- EMCALJetTasks/AliJetContainer.cxx
- EMCALJetTasks/AliJetEmbeddingFromGenTask.cxx
- EMCALJetTasks/AliJetEmbeddingFromPYTHIATask.cxx
- EMCALJetTasks/AliJetEmbeddingTask.cxx
- EMCALJetTasks/AliJetFastSimulation.cxx
- EMCALJetTasks/AliJetModelBaseTask.cxx
- EMCALJetTasks/AliJetModelCopyTracks.cxx
- EMCALJetTasks/AliJetModelMergeBranches.cxx
- EMCALJetTasks/AliJetRandomizerTask.cxx
- EMCALJetTasks/AliJetResponseMaker.cxx
- EMCALJetTasks/AliJetTriggerSelectionTask.cxx
- EMCALJetTasks/AliLocalRhoParameter.cxx
- EMCALJetTasks/AliRhoParameter.cxx
- EMCALJetTasks/AliPythiaInfo.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskCLQA.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskChargedJetsPA.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskDcalDijetPerf.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskDeltaPtJEmb.cxx        
- EMCALJetTasks/UserTasks/AliAnalysisTaskDijetHadron.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalBadCells.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalDiJetBase.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalDiJetAna.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalDiJetResponse.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalHighMultTrigger.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalHJetMass.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetHMEC.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetHadCorQA.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetHadEPpid.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetMass.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetMassBkg.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetMassResponse.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetMassStructure.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetPatchTriggerQA.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetSpectra.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetSpectraMECpA.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetTagger.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetTriggerQA.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalQGTagging.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalTriggerInfoQA.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskHJetEmbed.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskJetJTJT.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskJetShapeDeriv.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskJetShapeConst.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskJetShapeGR.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskJetMassResponseDet.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskJetMatching.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskJetV2.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalJetv2QA.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskRhoMass.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskRhoMassBase.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskRhoMassScale.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskSAJF.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskSAQA.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskV0sInJetsEmcal.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskSOH.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskTriggerRejection.cxx
- EMCALJetTasks/UserTasks/AliEmcalPicoTrackFromJetMaker.cxx
- EMCALJetTasks/UserTasks/AliCutValueRange.cxx 
- EMCALJetTasks/UserTasks/AliEMCalHistoContainer.cxx 
- EMCALJetTasks/UserTasks/AliAnalysisTaskPtEMCalTrigger.cxx 
- EMCALJetTasks/UserTasks/AliEMCalPtTaskVTrackSelection.cxx
- EMCALJetTasks/UserTasks/AliEMCalPtTaskTrackSelectionESD.cxx
- EMCALJetTasks/UserTasks/AliEMCalPtTaskTrackSelectionAOD.cxx
- EMCALJetTasks/UserTasks/AliAnalysisTaskEmcalTriggerTreeWriter.cxx
-)
-
index 03e1365..e0b251b 100644 (file)
@@ -152,8 +152,8 @@ endif(FASTJET_FOUND)
 get_directory_property(incdirs INCLUDE_DIRECTORIES)
 generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}")
 
-set(ROOT_DEPENDENCIES Core EG GenVector Geom Gpad Hist MathCore Matrix Net Physics RIO Tree)
-set(ALIROOT_DEPENDENCIES ANALYSIS ANALYSISalice AOD EMCALbase EMCALUtils ESD STEER STEERBase PWGEMCAL PWGTools pythia6)
+set(ROOT_DEPENDENCIES)
+set(ALIROOT_DEPENDENCIES ANALYSIS)
 if(FASTJET_FOUND)
     set(ALIROOT_DEPENDENCIES JETAN ${ALIROOT_DEPENDENCIES})
 endif(FASTJET_FOUND)
index ac9a8e9..3001366 100644 (file)
@@ -18,6 +18,8 @@ class AliESDEvent;
 class AliCentrality;
 class AliPIDResponse;
 class AliAnalysisUtils;
+class AliPicoV0RD;
+class AliPicoV0MC;
 
 class AliAnalysisTaskSEPicoV0Maker : public AliAnalysisTaskSE {
 
diff --git a/PWGJE/FlavourJetTasks/CMakeLists.txt b/PWGJE/FlavourJetTasks/CMakeLists.txt
new file mode 100644 (file)
index 0000000..2b5cd6b
--- /dev/null
@@ -0,0 +1,110 @@
+# **************************************************************************
+# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
+# *                                                                        *
+# * Author: The ALICE Off-line Project.                                    *
+# * Contributors are mentioned in the code where appropriate.              *
+# *                                                                        *
+# * Permission to use, copy, modify and distribute this software and its   *
+# * documentation strictly for non-commercial purposes is hereby granted   *
+# * without fee, provided that the above copyright notice appears in all   *
+# * copies and that both the copyright notice and this permission notice   *
+# * appear in the supporting documentation. The authors make no claims     *
+# * about the suitability of this software for any purpose. It is          *
+# * provided "as is" without express or implied warranty.                  *
+# **************************************************************************
+
+# Module
+set(MODULE PWGJEFlavourJetTasks)
+
+# Module include folder
+include_directories(${AliRoot_SOURCE_DIR}/PWGJE/FlavourJetTasks)
+
+# Additional include folders in alphabetical order except ROOT
+include_directories(${ROOT_INCLUDE_DIRS}
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSISalice
+                    ${AliRoot_SOURCE_DIR}/PWG/CaloTrackCorrBase
+                    ${AliRoot_SOURCE_DIR}/PWG/EMCAL
+                    ${AliRoot_SOURCE_DIR}/PWGHF/vertexingHF # to be added
+                    ${AliRoot_SOURCE_DIR}/PWGJE/EMCALJetTasks
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                   )
+
+# Sources in alphabetical order
+set(SRCS
+    AliAnalysisTaskEmcalJetFlavourTagExample.cxx
+    AliAnalysisTaskEmcalJetHF.cxx
+    AliAnalysisTaskEmcalJetV0CF.cxx
+    AliAnalysisTaskEmcalJetV0Filter.cxx
+    AliAnalysisTaskFlavourJetCorrelations.cxx
+    AliAnalysisTaskSEDmesonsFilterCJ.cxx
+    AliAnalysisTaskSEPicoV0Filter.cxx
+    AliAnalysisTaskSEPicoV0Maker.cxx
+    AliAnalysisTaskSEPicoV0MakerMC.cxx
+    AliPicoHeaderCJ.cxx
+    AliPicoJet.cxx
+    AliPicoJetHeader.cxx
+    AliPicoV0Base.cxx
+    AliPicoV0MC.cxx
+    AliPicoV0RD.cxx
+   )
+
+# Headers from sources
+string(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+# Generate the dictionary
+# It will create G_ARG1.cxx and G_ARG1.h / ARG1 = function first argument
+get_directory_property(incdirs INCLUDE_DIRECTORIES)
+generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}")
+
+set(ROOT_DEPENDENCIES Core Geom)
+set(ALIROOT_DEPENDENCIES ANALYSIS ANALYSISalice AOD ESD STEERBase PWGJEEMCALJetTasks PWGEMCAL  PWGCaloTrackCorrBase)
+
+# Generate the ROOT map
+# Dependecies
+set(LIBDEPS ${ALIROOT_DEPENDENCIES} ${ROOT_DEPENDENCIES})
+generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h")
+
+# Create an object to be reused in case of static libraries 
+# Otherwise the sources will be compiled twice
+add_library(${MODULE}-object OBJECT ${SRCS} G__${MODULE}.cxx)
+# Add a library to the project using the object
+add_library(${MODULE} SHARED $<TARGET_OBJECTS:${MODULE}-object>)
+target_link_libraries(${MODULE} ${ALIROOT_DEPENDENCIES} ${ROOT_DEPENDENCIES})
+
+# Setting the correct headers for the object as gathered from the dependencies
+target_include_directories(${MODULE}-object PUBLIC $<TARGET_PROPERTY:${MODULE},INCLUDE_DIRECTORIES>)
+set_target_properties(${MODULE}-object PROPERTIES COMPILE_DEFINITIONS $<TARGET_PROPERTY:${MODULE},COMPILE_DEFINITIONS>)
+
+# Public include folders that will be propagated to the dependecies
+target_include_directories(${MODULE} PUBLIC ${incdirs})
+
+set(MODULE_COMPILE_FLAGS)
+set(MODULE_LINK_FLAGS)
+
+if(DATE_FOUND)
+    set(MODULE_COMPILE_FLAGS "${DATE_CFLAGS}")
+    set(MODULE_LINK_FLAGS "${DATE_LDFLAGS} ${DATE_LIBS}")
+endif(DATE_FOUND)
+
+# Additional compilation and linking flags
+set(MODULE_COMPILE_FLAGS " ${MODULE_COMPILE_FLAGS}")
+
+# System dependent: Modify the way the library is build
+if(${CMAKE_SYSTEM} MATCHES Darwin)
+    set(MODULE_LINK_FLAGS "-undefined dynamic_lookup ${MODULE_LINK_FLAGS}")
+endif(${CMAKE_SYSTEM} MATCHES Darwin)
+
+# Setting compilation flags for the object
+set_target_properties(${MODULE}-object PROPERTIES COMPILE_FLAGS "${MODULE_COMPILE_FLAGS}")
+# Setting the linking flags for the library
+set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "${MODULE_LINK_FLAGS}")
+
+# Installation
+install(TARGETS ${MODULE}
+        ARCHIVE DESTINATION lib
+        LIBRARY DESTINATION lib)
+
+install(FILES ${HDRS} DESTINATION include)
\ No newline at end of file
diff --git a/PWGJE/PWGJE/CMakeLists.txt b/PWGJE/PWGJE/CMakeLists.txt
new file mode 100644 (file)
index 0000000..985c29a
--- /dev/null
@@ -0,0 +1,143 @@
+# **************************************************************************
+# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
+# *                                                                        *
+# * Author: The ALICE Off-line Project.                                    *
+# * Contributors are mentioned in the code where appropriate.              *
+# *                                                                        *
+# * Permission to use, copy, modify and distribute this software and its   *
+# * documentation strictly for non-commercial purposes is hereby granted   *
+# * without fee, provided that the above copyright notice appears in all   *
+# * copies and that both the copyright notice and this permission notice   *
+# * appear in the supporting documentation. The authors make no claims     *
+# * about the suitability of this software for any purpose. It is          *
+# * provided "as is" without express or implied warranty.                  *
+# **************************************************************************
+
+# Module
+set(MODULE PWGJE)
+
+# Module include folder
+include_directories(${AliRoot_SOURCE_DIR}/PWGJE/PWGJE)
+
+# Additional include folders in alphabetical order except ROOT
+include_directories(${ROOT_INCLUDE_DIRS}
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSISalice
+                    ${AliRoot_SOURCE_DIR}/CORRFW/
+                    ${AliRoot_SOURCE_DIR}/JETAN/JETAN
+                    ${AliRoot_SOURCE_DIR}/PWG/FLOW/Tasks
+                    ${AliRoot_SOURCE_DIR}/PWG/TRD
+                    ${AliRoot_SOURCE_DIR}/PWG/Tools
+                    ${AliRoot_SOURCE_DIR}/PWGCF/Correlations/Base # to add dependency
+                    ${AliRoot_SOURCE_DIR}/PWGCF/Correlations/DPhi # to add dependency
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                   )
+
+# Sources in alphabetical order
+set(SRCS
+    AliAnaChargedJetResponseMaker.cxx
+    AliAnalysisTaskAj.cxx
+    AliAnalysisTaskFragmentationFunction.cxx
+    AliAnalysisTaskJetCore.cxx
+    AliAnalysisTaskJetCorePP.cxx
+    AliAnalysisTaskJetProperties.cxx
+    AliAnalysisTaskJetResponseV2.cxx
+    AliAnalysisTaskJetServices.cxx
+    AliAnalysisTaskJetSpectrum2.cxx
+    AliAnalysisTaskJetsTM.cxx
+    AliAnalysisTaskPartonDisc.cxx
+    AliFragmentationFunctionCorrections.cxx
+    AliPWG4CosmicCandidates.cxx
+    AliPWG4HighPtQAMC.cxx
+    AliPWG4HighPtQATPConly.cxx
+    AliPWG4HighPtSpectra.cxx
+    AliPWG4HighPtTrackQA.cxx
+    ${AliRoot_SOURCE_DIR}/PWGJE/UserTasks/AliAnalysisTaskIDFFTCF.cxx
+    ${AliRoot_SOURCE_DIR}/PWGJE/UserTasks/AliAnalysisTaskIDFragmentationFunction.cxx
+    ${AliRoot_SOURCE_DIR}/PWGJE/UserTasks/AliAnalysisTaskJetAntenna.cxx
+    ${AliRoot_SOURCE_DIR}/PWGJE/UserTasks/AliAnalysisTaskJetProtonCorr.cxx
+    ${AliRoot_SOURCE_DIR}/PWGJE/UserTasks/AliAnalysisTaskJetShape.cxx
+    ${AliRoot_SOURCE_DIR}/PWGJE/UserTasks/AliAnalysisTaskJetsTriggerTRD.cxx
+    ${AliRoot_SOURCE_DIR}/PWGJE/UserTasks/AliAnalysisTaskPID.cxx
+    ${AliRoot_SOURCE_DIR}/PWGJE/UserTasks/AliAnalysisTaskPIDV0base.cxx
+    ${AliRoot_SOURCE_DIR}/PWGJE/UserTasks/AliAnalysisTaskPPJetSpectra.cxx
+    ${AliRoot_SOURCE_DIR}/PWGJE/UserTasks/AliIDFFUtils.cxx
+   )
+
+if(FASTJET_FOUND)
+    set(SRCS ${SRCS}
+        ${AliRoot_SOURCE_DIR}/PWGJE/UserTasks/AliAnalysisTaskCheckSingleTrackJetRejection.cxx
+        ${AliRoot_SOURCE_DIR}/PWGJE/UserTasks/AliAnalysisTaskJetHadronCorrelation.cxx
+        ${AliRoot_SOURCE_DIR}/PWGJE/UserTasks/AliAnalysisTaskJetHBOM.cxx
+    )
+
+    include_directories(${FASTJET_INCLUDE_DIR})
+    link_directories(${FASTJET_LIBS_DIR})
+    add_definitions(${FASTJET_DEFINITIONS})
+
+endif(FASTJET_FOUND)
+
+# Headers from sources
+string(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+if(FASTJET_FOUND)
+    set(HDRS ${HDRS}
+        ${AliRoot_SOURCE_DIR}/PWGJE/EMCALJetTasks/FJ_includes.h
+    )
+endif(FASTJET_FOUND)
+
+# Generate the dictionary
+# It will create G_ARG1.cxx and G_ARG1.h / ARG1 = function first argument
+get_directory_property(incdirs INCLUDE_DIRECTORIES)
+generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}")
+
+set(ROOT_DEPENDENCIES Core EG Gpad Hist MathCore Matrix Physics RIO Tree)
+set(ALIROOT_DEPENDENCIES STEERBase AOD ANALYSIS ANALYSISalice CORRFW JETAN PWGTools PWGflowTasks PWGTRD)
+
+# Generate the ROOT map
+# Dependecies
+set(LIBDEPS ${ALIROOT_DEPENDENCIES} ${ROOT_DEPENDENCIES})
+generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h")
+
+# Create an object to be reused in case of static libraries 
+# Otherwise the sources will be compiled twice
+add_library(${MODULE}-object OBJECT ${SRCS} G__${MODULE}.cxx)
+# Add a library to the project using the object
+add_library(${MODULE} SHARED $<TARGET_OBJECTS:${MODULE}-object>)
+target_link_libraries(${MODULE} ${ALIROOT_DEPENDENCIES} ${ROOT_DEPENDENCIES})
+
+# Setting the correct headers for the object as gathered from the dependencies
+target_include_directories(${MODULE}-object PUBLIC $<TARGET_PROPERTY:${MODULE},INCLUDE_DIRECTORIES>)
+set_target_properties(${MODULE}-object PROPERTIES COMPILE_DEFINITIONS $<TARGET_PROPERTY:${MODULE},COMPILE_DEFINITIONS>)
+
+# Public include folders that will be propagated to the dependecies
+target_include_directories(${MODULE} PUBLIC ${incdirs})
+
+set(MODULE_COMPILE_FLAGS)
+set(MODULE_LINK_FLAGS)
+
+if(DATE_FOUND)
+    set(MODULE_COMPILE_FLAGS "${DATE_CFLAGS}")
+    set(MODULE_LINK_FLAGS "${DATE_LDFLAGS} ${DATE_LIBS}")
+endif(DATE_FOUND)
+
+# Additional compilation and linking flags
+set(MODULE_COMPILE_FLAGS " ${MODULE_COMPILE_FLAGS}")
+
+# System dependent: Modify the way the library is build
+if(${CMAKE_SYSTEM} MATCHES Darwin)
+    set(MODULE_LINK_FLAGS "-undefined dynamic_lookup ${MODULE_LINK_FLAGS}")
+endif(${CMAKE_SYSTEM} MATCHES Darwin)
+
+# Setting compilation flags for the object
+set_target_properties(${MODULE}-object PROPERTIES COMPILE_FLAGS "${MODULE_COMPILE_FLAGS}")
+# Setting the linking flags for the library
+set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "${MODULE_LINK_FLAGS}")
+
+# Installation
+install(TARGETS ${MODULE}
+        ARCHIVE DESTINATION lib
+        LIBRARY DESTINATION lib)
+
+install(FILES ${HDRS} DESTINATION include)
\ No newline at end of file
diff --git a/PWGJE/StrangenessInJets/CMakeLists.txt b/PWGJE/StrangenessInJets/CMakeLists.txt
new file mode 100644 (file)
index 0000000..2bfb601
--- /dev/null
@@ -0,0 +1,95 @@
+# **************************************************************************
+# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
+# *                                                                        *
+# * Author: The ALICE Off-line Project.                                    *
+# * Contributors are mentioned in the code where appropriate.              *
+# *                                                                        *
+# * Permission to use, copy, modify and distribute this software and its   *
+# * documentation strictly for non-commercial purposes is hereby granted   *
+# * without fee, provided that the above copyright notice appears in all   *
+# * copies and that both the copyright notice and this permission notice   *
+# * appear in the supporting documentation. The authors make no claims     *
+# * about the suitability of this software for any purpose. It is          *
+# * provided "as is" without express or implied warranty.                  *
+# **************************************************************************
+
+# Module
+set(MODULE PWGJEStrangenessInJets)
+
+# Module include folder
+include_directories(${AliRoot_SOURCE_DIR}/PWGJE/StrangenessInJets)
+
+# Additional include folders in alphabetical order except ROOT
+include_directories(${ROOT_INCLUDE_DIRS}
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSISalice
+                    ${AliRoot_SOURCE_DIR}/PWGJE/PWGJE
+                    ${AliRoot_SOURCE_DIR}/PWG/Tools
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                   )
+
+# Sources in alphabetical order
+set(SRCS
+    AliAnalysisTaskJetChem.cxx
+    AliAnalysisTaskV0sInJets.cxx
+   )
+
+# Headers from sources
+string(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+# Generate the dictionary
+# It will create G_ARG1.cxx and G_ARG1.h / ARG1 = function first argument
+get_directory_property(incdirs INCLUDE_DIRECTORIES)
+generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}")
+
+set(ROOT_DEPENDENCIES Core EG Gpad Hist MathCore Physics Tree)
+set(ALIROOT_DEPENDENCIES ANALYSIS ANALYSISalice AOD ESD PWGJE STEERBase PWGTools)
+
+# Generate the ROOT map
+# Dependecies
+set(LIBDEPS ${ALIROOT_DEPENDENCIES} ${ROOT_DEPENDENCIES})
+generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h")
+
+# Create an object to be reused in case of static libraries 
+# Otherwise the sources will be compiled twice
+add_library(${MODULE}-object OBJECT ${SRCS} G__${MODULE}.cxx)
+# Add a library to the project using the object
+add_library(${MODULE} SHARED $<TARGET_OBJECTS:${MODULE}-object>)
+target_link_libraries(${MODULE} ${ALIROOT_DEPENDENCIES} ${ROOT_DEPENDENCIES})
+
+# Setting the correct headers for the object as gathered from the dependencies
+target_include_directories(${MODULE}-object PUBLIC $<TARGET_PROPERTY:${MODULE},INCLUDE_DIRECTORIES>)
+set_target_properties(${MODULE}-object PROPERTIES COMPILE_DEFINITIONS $<TARGET_PROPERTY:${MODULE},COMPILE_DEFINITIONS>)
+
+# Public include folders that will be propagated to the dependecies
+target_include_directories(${MODULE} PUBLIC ${incdirs})
+
+set(MODULE_COMPILE_FLAGS)
+set(MODULE_LINK_FLAGS)
+
+if(DATE_FOUND)
+    set(MODULE_COMPILE_FLAGS "${DATE_CFLAGS}")
+    set(MODULE_LINK_FLAGS "${DATE_LDFLAGS} ${DATE_LIBS}")
+endif(DATE_FOUND)
+
+# Additional compilation and linking flags
+set(MODULE_COMPILE_FLAGS " ${MODULE_COMPILE_FLAGS}")
+
+# System dependent: Modify the way the library is build
+if(${CMAKE_SYSTEM} MATCHES Darwin)
+    set(MODULE_LINK_FLAGS "-undefined dynamic_lookup ${MODULE_LINK_FLAGS}")
+endif(${CMAKE_SYSTEM} MATCHES Darwin)
+
+# Setting compilation flags for the object
+set_target_properties(${MODULE}-object PROPERTIES COMPILE_FLAGS "${MODULE_COMPILE_FLAGS}")
+# Setting the linking flags for the library
+set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "${MODULE_LINK_FLAGS}")
+
+# Installation
+install(TARGETS ${MODULE}
+        ARCHIVE DESTINATION lib
+        LIBRARY DESTINATION lib)
+
+install(FILES ${HDRS} DESTINATION include)
\ No newline at end of file
index 72cdc85..1a656c1 100644 (file)
@@ -25,6 +25,7 @@ class TArrayS;
 class AliAnalysisUtils;
 class AliAODTrack;
 class AliAODMCParticle;
+class AliAnalysisTaskPID;
 
 #include "AliAnalysisTaskSE.h"
 #include "AliPID.h"