PWGGA
authoragrigora <alina.grigoras@cern.ch>
Thu, 4 Dec 2014 15:12:21 +0000 (16:12 +0100)
committeragrigora <alina.grigoras@cern.ch>
Mon, 15 Dec 2014 12:52:07 +0000 (13:52 +0100)
24 files changed:
CMakeLists.txt
PWGGA/CMakeLists.txt
PWGGA/CMakelibPWGGACaloTasks.pkg [deleted file]
PWGGA/CMakelibPWGGACaloTrackCorrelations.pkg [deleted file]
PWGGA/CMakelibPWGGAEMCALTasks.pkg [deleted file]
PWGGA/CMakelibPWGGAGammaConv.pkg [deleted file]
PWGGA/CMakelibPWGGAPHOSTasks.pkg [deleted file]
PWGGA/CMakelibPWGGAUtils.pkg [deleted file]
PWGGA/CaloTasks/CMakeLists.txt [new file with mode: 0644]
PWGGA/CaloTasks/PWGGACaloTasksLinkDef.h [moved from PWGGA/PWGGACaloTasksLinkDef.h with 100% similarity]
PWGGA/CaloTrackCorrelations/CMakeLists.txt [new file with mode: 0644]
PWGGA/CaloTrackCorrelations/PWGGACaloTrackCorrelationsLinkDef.h [moved from PWGGA/PWGGACaloTrackCorrelationsLinkDef.h with 100% similarity]
PWGGA/EMCALTasks/AliAnalysisTaskEMCALIsolation.h
PWGGA/EMCALTasks/CMakeLists.txt [new file with mode: 0644]
PWGGA/EMCALTasks/PWGGAEMCALTasksLinkDef.h [moved from PWGGA/PWGGAEMCALTasksLinkDef.h with 100% similarity]
PWGGA/GammaConv/CMakeLists.txt [new file with mode: 0644]
PWGGA/GammaConv/PWGGAGammaConvLinkDef.h [moved from PWGGA/PWGGAGammaConvLinkDef.h with 100% similarity]
PWGGA/PHOSTasks/CMakeLists.txt [new file with mode: 0644]
PWGGA/PHOSTasks/PHOS_PbPb/AliAnalysisTaskPi0FlowMCAOD.h
PWGGA/PHOSTasks/PHOS_PbPb/AliPHOSTenderTask.cxx
PWGGA/PHOSTasks/PWGGAPHOSTasksLinkDef.h [moved from PWGGA/PWGGAPHOSTasksLinkDef.h with 100% similarity]
PWGGA/PHOSTasks/UserTasks/AliAnalysisTaskSEPHOSpPbPi0.h
PWGGA/PWGGAUtils/CMakeLists.txt [new file with mode: 0644]
PWGGA/PWGGAUtils/PWGGAUtilsLinkDef.h [moved from PWGGA/PWGGAUtilsLinkDef.h with 100% similarity]

index 2c02d4b..e0b6208 100644 (file)
@@ -247,6 +247,8 @@ endif(CMAKE_Fortran_COMPILER)
 
 # PWG libraries
 add_subdirectory(PWG)
+# Depends on PWGCF - To fix dependencies
+add_subdirectory(PWGGA)
 # Depends on CF and LF - To fix the dependencies
 add_subdirectory(PWGDQ)
 add_subdirectory(PWGLF)
index 281d8fc..3f59cac 100644 (file)
@@ -1,10 +1,23 @@
-# AliRoot Build System CMakeLists for PWGGA
-#
-# Author: Johny Jose m(johny.jose@cern.ch)
-#         Port of previous Makefile build to cmake
+# **************************************************************************
+# * 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.                  *
+# **************************************************************************
 
-cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
+add_subdirectory(CaloTasks)
+add_subdirectory(CaloTrackCorrelations)
+add_subdirectory(EMCALTasks)
+add_subdirectory(GammaConv)
+add_subdirectory(PHOSTasks)
+add_subdirectory(PWGGAUtils)
 
-file(GLOB PACKAGES CMake*.pkg)
-
-ALICE_BuildModule()
+message(STATUS "PWGGA enabled")
diff --git a/PWGGA/CMakelibPWGGACaloTasks.pkg b/PWGGA/CMakelibPWGGACaloTasks.pkg
deleted file mode 100644 (file)
index aca8d47..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-# -*- mode: Makefile -*-
-#--------------------------------------------------------------------------------#
-# Package File for PWGGACaloTasks                                                 #
-# Author : Johny Jose (johny.jose@cern.ch)                                       #
-# 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 
- CaloTasks/AliAnalysisTaskCaloFilter.cxx 
-)
-
-string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
-
-set ( DHDR  PWGGACaloTasksLinkDef.h)
-
-string ( REPLACE ".cxx" ".h" EXPORT "${SRCS}" )
-
-set ( EINCLUDE  PWGGA/CaloTasks EMCAL PHOS STEER/STEER STEER/AOD STEER/CDB STEER/STEERBase ANALYSIS)
diff --git a/PWGGA/CMakelibPWGGACaloTrackCorrelations.pkg b/PWGGA/CMakelibPWGGACaloTrackCorrelations.pkg
deleted file mode 100644 (file)
index 4ec9ae6..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-# -*- mode: CMake -*-
-#--------------------------------------------------------------------------------#
-# Package File for PWGGACaloTrackCorrelations                                    #
-# Author : Johny Jose (johny.jose@cern.ch)                                       #
-# 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  
-    CaloTrackCorrelations/AliAnaParticleIsolation.cxx 
-    CaloTrackCorrelations/AliAnaParticlePartonCorrelation.cxx 
-    CaloTrackCorrelations/AliAnaParticleHadronCorrelation.cxx 
-    CaloTrackCorrelations/AliAnaParticleJetFinderCorrelation.cxx 
-    CaloTrackCorrelations/AliAnaParticleJetLeadingConeCorrelation.cxx 
-    CaloTrackCorrelations/AliAnaPhoton.cxx 
-    CaloTrackCorrelations/AliAnaElectron.cxx
-    CaloTrackCorrelations/AliAnaPi0.cxx 
-    CaloTrackCorrelations/AliAnaPi0EbE.cxx 
-    CaloTrackCorrelations/AliAnaChargedParticles.cxx 
-    CaloTrackCorrelations/AliAnaCalorimeterQA.cxx  
-    CaloTrackCorrelations/AliAnaOmegaToPi0Gamma.cxx 
-    CaloTrackCorrelations/AliAnaPhotonConvInCalo.cxx 
-    CaloTrackCorrelations/AliAnaInsideClusterInvariantMass.cxx
-    CaloTrackCorrelations/AliAnaRandomTrigger.cxx
-    CaloTrackCorrelations/AliAnaGeneratorKine.cxx    
-    CaloTrackCorrelations/AliAnaEMCALTriggerClusters.cxx 
-    CaloTrackCorrelations/AliAnaClusterPileUp.cxx
-    )
-
-string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
-
-set ( DHDR  PWGGACaloTrackCorrelationsLinkDef.h)
-
-string ( REPLACE ".cxx" ".h" EXPORT "${SRCS}" )
-
-set ( EINCLUDE  ANALYSIS EMCAL PHOS PWG/CaloTrackCorrBase PWGGA/CaloTrackCorrelations STEER/AOD STEER/STEERBase)
-
-install (FILES CaloTrackCorrelations/macros/QA/AddTaskCalorimeterQA.C
-       DESTINATION PWGGA/CaloTrackCorrelations/macros/QA/ )
diff --git a/PWGGA/CMakelibPWGGAEMCALTasks.pkg b/PWGGA/CMakelibPWGGAEMCALTasks.pkg
deleted file mode 100644 (file)
index 91bb524..0000000
+++ /dev/null
@@ -1,58 +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 
- EMCALTasks/AliAnalysisTaskEMCALClusterize.cxx 
- EMCALTasks/AliAnalysisTaskEMCALIsoPhoton.cxx
- EMCALTasks/AliAnalysisTaskEMCALPhoton.cxx
- EMCALTasks/AliAnalysisTaskEMCALPi0CalibSelection.cxx 
- EMCALTasks/AliAnalysisTaskEMCALPi0PbPb.cxx
- EMCALTasks/AliAnalysisTaskEMCALTriggerQA.cxx
- EMCALTasks/AliAnalysisTaskESDfilterEMCALEventSelect.cxx
- EMCALTasks/AliAnalysisTaskPi0V2.cxx
- EMCALTasks/AliAnalysisTaskSATR.cxx
- EMCALTasks/AliAnalysisTaskTrgContam.cxx
- EMCALTasks/AliStaObjects.cxx
- EMCALTasks/AliAnalysisTaskEMCALPi0V2ShSh.cxx
- EMCALTasks/AliEMCalpi0ClusterEvaluationTask.cxx
- EMCALTasks/AliAnalysisTaskEMCALIsolation.cxx
- EMCALTasks/AliAnalysisTaskEMCALPhotonIsolation.cxx
- EMCALTasks/AliAnalysisTaskEMCALMesonGGSDM.cxx
- EMCALTasks/AliAnalysisTaskEMCALMesonGGSDMpPb.cxx
- EMCALTasks/AliAnalysisTaskSDMGammaMC.cxx
-)
-
-string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
-
-set ( DHDR  PWGGAEMCALTasksLinkDef.h)
-
-string ( REPLACE ".cxx" ".h" EXPORT "${SRCS}" )
-
-set ( EINCLUDE PWGGA/PWGGAUtils PWGGA/EMCALTasks PWGGA/PHOSTasks/PHOS_PbPb PWG/EMCAL EMCAL OADB STEER/STEER STEER/AOD STEER/ESD STEER/STEERBase ANALYSIS ANALYSIS/ESDfilter)
-
-install (FILES EMCALTasks/macros/AddTaskEMCALTriggerQA.C
-        DESTINATION PWGGA/EMCALTasks/macros/ )
diff --git a/PWGGA/CMakelibPWGGAGammaConv.pkg b/PWGGA/CMakelibPWGGAGammaConv.pkg
deleted file mode 100644 (file)
index 1bab0b0..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-# -*- mode: CMake -*-
-#--------------------------------------------------------------------------------#
-# Package File for PWGGAGammaConv                                                 #
-# Author : Johny Jose (johny.jose@cern.ch)                                       #
-# 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  
-       GammaConv/AliConversionPhotonBase.cxx
-       GammaConv/AliAODConversionParticle.cxx
-       GammaConv/AliAODConversionMother.cxx
-       GammaConv/AliAODConversionPhoton.cxx
-       GammaConv/AliKFConversionPhoton.cxx
-       GammaConv/AliKFConversionMother.cxx
-        GammaConv/AliCaloPhotonCuts.cxx
-        GammaConv/AliConvEventCuts.cxx
-        GammaConv/AliConversionPhotonCuts.cxx
-       GammaConv/AliConversionCuts.cxx
-       GammaConv/AliConversionSelection.cxx
-       GammaConv/AliConversionMesonCuts.cxx
-       GammaConv/AliDalitzElectronCuts.cxx
-       GammaConv/AliDalitzElectronSelector.cxx
-       GammaConv/AliV0ReaderV1.cxx
-       GammaConv/AliConversionAODBGHandlerRP.cxx
-       GammaConv/AliConversionTrackCuts.cxx
-       GammaConv/AliGammaConversionAODBGHandler.cxx
-       GammaConv/AliAnalysisTaskConversionQA.cxx
-       GammaConv/AliAnalysisTaskMaterial.cxx
-       GammaConv/AliAnalysisTaskResolution.cxx
-       GammaConv/AliAnalysisTaskPi0v2.cxx
-       GammaConv/AliAnalysisTaskGammaConvV1.cxx
-       GammaConv/AliAnalysisTaskGammaConvDalitzV1.cxx
-       GammaConv/AliAnaConvIsolation.cxx
-       GammaConv/AliAnaConvCorrBase.cxx
-       GammaConv/AliAnaConvCorrPion.cxx
-       GammaConv/AliAnaConvCorrPhoton.cxx
-       GammaConv/AliAnalysisTaskdPhi.cxx
-       GammaConv/AliAnalysisTaskGCPartToPWG4Part.cxx
-       GammaConv/AliPrimaryPionSelector.cxx
-       GammaConv/AliPrimaryPionCuts.cxx
-       GammaConv/AliAnalysisTaskEtaToPiPlPiMiGamma.cxx
-       GammaConv/AliAnalysisTaskNeutralMesonToPiPlPiMiPiZero.cxx
-        GammaConv/AliAnalysisTaskGammaConvCalo.cxx
-       GammaConv/AliAnalysisTaskGammaCalo.cxx
-       GammaConv/AliAnalysisTaskGammaConvFlow.cxx
-)
-
-string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
-
-set ( DHDR  PWGGAGammaConvLinkDef.h)
-
-string ( REPLACE ".cxx" ".h" EXPORT "${SRCS}" )
-
-set ( EINCLUDE PWG/muon PWGGA/PWGGAUtils PWGGA/GammaConv PWG/TRD PWG/EMCAL EMCAL OADB STEER/STEER CORRFW STEER/AOD STEER/ESD STEER/STEERBase ANALYSIS PWG/FLOW/Base PWG/FLOW/Tasks )
diff --git a/PWGGA/CMakelibPWGGAPHOSTasks.pkg b/PWGGA/CMakelibPWGGAPHOSTasks.pkg
deleted file mode 100644 (file)
index d1a7310..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-# -*- mode: Makefile -*-
-#--------------------------------------------------------------------------------#
-# Package File for PWGGAUserTask                                                  #
-# Author : Yuri Kharlov                                                                 #
-# 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 
- PHOSTasks/PHOS_pp_pi0/AliCaloPhoton.cxx
- PHOSTasks/PHOS_pp_pi0/AliAnalysisTaskPi0.cxx
- PHOSTasks/PHOS_PbPb/AliAnalysisTaskPi0Flow.cxx
- PHOSTasks/PHOS_PbPb/AliAnalysisTaskPi0FlowMC.cxx
- PHOSTasks/PHOS_PbPb/AliAnalysisTaskPi0FlowMCAOD.cxx
- PHOSTasks/PHOS_PbPb/AliAnalysisTaskPi0FlowMCHijing.cxx
- PHOSTasks/PHOS_PbPb/AliAnalysisTaskPi0FlowMCParamWeights.cxx
- PHOSTasks/PHOS_PbPb/AliPHOSTenderTask.cxx
- PHOSTasks/PHOS_PbPb_MC/AliPHOSHijingEfficiency.cxx
- PHOSTasks/PHOS_embedding/AliPHOSEmbedding.cxx
- PHOSTasks/PHOS_embedding/AliAnalysisTaskPi0Efficiency.cxx
- PHOSTasks/PHOS_embedding/AliAnalysisTaskPi0DiffEfficiency.cxx
- PHOSTasks/PHOS_EpRatio/AliAnalysisTaskEpRatio.cxx
- PHOSTasks/PHOS_PbPbQA/AliAnalysisTaskPHOSPbPbQA.cxx
- PHOSTasks/PHOS_Tagging/AliAnalysisTaskTaggedPhotons.cxx
- PHOSTasks/PHOS_TriggerQA/AliAnalysisTaskPHOSTriggerQA.cxx
- PHOSTasks/CaloCellQA/AliCaloCellsQA.cxx
- PHOSTasks/CaloCellQA/AliAnalysisTaskCaloCellsQA.cxx
- PHOSTasks/omega3pi/AliAnalysisTaskOmegaPi0PiPi.cxx
- PHOSTasks/UserTasks/AliCaloClusterInfo.cxx
- PHOSTasks/UserTasks/AliPHOSpPbPi0Header.cxx
- PHOSTasks/UserTasks/AliAnalysisTaskSEPHOSpPbPi0.cxx
- PHOSTasks/PHOS_Correlation/AliPHOSCorrelations.cxx
-)
-
-string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
-
-set ( DHDR  PWGGAPHOSTasksLinkDef.h)
-
-string ( REPLACE ".cxx" ".h" EXPORT "${SRCS}" )
-
-set ( EINCLUDE  PWGGA/PWGGAUtils PWGGA/PHOSTasks/PHOS_pp_pi0 PWGGA/PHOSTasks/CaloCellQA PWGGA/PHOSTasks/omega3pi PWGGA/PHOSTasks/PHOS_PbPb_MC PHOS STEER/ESD STEER/STEERBase ANALYSIS ANALYSIS/Tender)
-
-install (FILES PHOSTasks/CaloCellQA/macros/AddTaskCaloCellsQA.C 
-              PHOSTasks/CaloCellQA/macros/AddTaskPHOSQA.C 
-        DESTINATION PWGGA/PHOSTasks/CaloCellQA/macros)
-
-install (FILES PHOSTasks/PHOS_TriggerQA/macros/AddTaskPHOSTriggerQA.C
-        DESTINATION PWGGA/PHOSTasks/PHOS_TriggerQA/macros/ )
-
-install (FILES PHOSTasks/PHOS_PbPbQA/macros/AddTaskPHOSPbPb.C
-        DESTINATION PWGGA/PHOSTasks/PHOS_PbPbQA/macros/ )
diff --git a/PWGGA/CMakelibPWGGAUtils.pkg b/PWGGA/CMakelibPWGGAUtils.pkg
deleted file mode 100644 (file)
index 8c2c53f..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-# -*- mode: Makefile -*-
-#--------------------------------------------------------------------------------#
-# Package File for PWGGAUtils                                                  #
-# Author : Yuri Kharlov                                                                 #
-# 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 
- PWGGAUtils/AliEPFlattener.cxx
- )
-
-string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
-
-set ( DHDR  PWGGAUtilsLinkDef.h)
-
-string ( REPLACE ".cxx" ".h" EXPORT "${SRCS}" )
-
-set ( EINCLUDE STEER/ESD STEER/STEERBase)
diff --git a/PWGGA/CaloTasks/CMakeLists.txt b/PWGGA/CaloTasks/CMakeLists.txt
new file mode 100644 (file)
index 0000000..28bedc5
--- /dev/null
@@ -0,0 +1,93 @@
+# **************************************************************************
+# * 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 PWGGACaloTasks)
+
+# Module include folder
+include_directories(${AliRoot_SOURCE_DIR}/PWGGA/CaloTasks)
+
+# 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}/EMCAL/EMCALUtils
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                   )
+
+# Sources in alphabetical order
+set(SRCS
+    AliAnalysisTaskCaloFilter.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 RIO)
+set(ALIROOT_DEPENDENCIES ANALYSIS ANALYSISalice AOD EMCALUtils ESD STEERBase)
+
+# 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/PWGGA/CaloTrackCorrelations/CMakeLists.txt b/PWGGA/CaloTrackCorrelations/CMakeLists.txt
new file mode 100644 (file)
index 0000000..378f3c4
--- /dev/null
@@ -0,0 +1,111 @@
+# **************************************************************************
+# * 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 PWGGACaloTrackCorrelations)
+
+# Module include folder
+include_directories(${AliRoot_SOURCE_DIR}/PWGGA/CaloTrackCorrelations)
+
+# Additional include folders in alphabetical order except ROOT
+include_directories(${ROOT_INCLUDE_DIRS}
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${AliRoot_SOURCE_DIR}/EMCAL/EMCALUtils
+                    ${AliRoot_SOURCE_DIR}/PHOS/PHOSUtils
+                    ${AliRoot_SOURCE_DIR}/PWG/CaloTrackCorrBase
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                   )
+
+# Sources in alphabetical order
+set(SRCS
+    AliAnaCalorimeterQA.cxx
+    AliAnaChargedParticles.cxx
+    AliAnaClusterPileUp.cxx
+    AliAnaElectron.cxx
+    AliAnaEMCALTriggerClusters.cxx
+    AliAnaGeneratorKine.cxx
+    AliAnaInsideClusterInvariantMass.cxx
+    AliAnaOmegaToPi0Gamma.cxx
+    AliAnaParticleHadronCorrelation.cxx
+    AliAnaParticleIsolation.cxx
+    AliAnaParticleJetFinderCorrelation.cxx
+    AliAnaParticleJetLeadingConeCorrelation.cxx
+    AliAnaParticlePartonCorrelation.cxx
+    AliAnaPhotonConvInCalo.cxx
+    AliAnaPhoton.cxx
+    AliAnaPi0.cxx
+    AliAnaPi0EbE.cxx
+    AliAnaRandomTrigger.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 RIO)
+set(ALIROOT_DEPENDENCIES ANALYSIS AOD EMCALUtils ESD PHOSUtils STEERBase 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
index 6b58922..dceca09 100644 (file)
@@ -6,7 +6,10 @@
 
 class TH1F;
 class AliESDEvent;
+class AliStack;
+class AliESDCaloCells;
 
+#include "TString.h"
 #include "AliAnalysisTaskSE.h"
 
 class AliAnalysisTaskEMCALIsolation : public AliAnalysisTaskSE {
diff --git a/PWGGA/EMCALTasks/CMakeLists.txt b/PWGGA/EMCALTasks/CMakeLists.txt
new file mode 100644 (file)
index 0000000..db2d51d
--- /dev/null
@@ -0,0 +1,117 @@
+# **************************************************************************
+# * 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 PWGGAEMCALTasks)
+
+# Module include folder
+include_directories(${AliRoot_SOURCE_DIR}/PWGGA/EMCALTasks)
+
+# 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}/ANALYSIS/ESDfilter
+                    ${AliRoot_SOURCE_DIR}/EMCAL/EMCALbase
+                    ${AliRoot_SOURCE_DIR}/EMCAL/EMCALrec
+                    ${AliRoot_SOURCE_DIR}/EMCAL/EMCALUtils
+                    ${AliRoot_SOURCE_DIR}/PWG/EMCAL
+                    ${AliRoot_SOURCE_DIR}/PWGGA/PWGGAUtils
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                   )
+
+# Sources in alphabetical order
+set(SRCS
+    AliAnalysisTaskEMCALClusterize.cxx 
+    AliAnalysisTaskEMCALIsolation.cxx
+    AliAnalysisTaskEMCALIsoPhoton.cxx
+    AliAnalysisTaskEMCALMesonGGSDM.cxx
+    AliAnalysisTaskEMCALMesonGGSDMpPb.cxx
+    AliAnalysisTaskEMCALPhoton.cxx
+    AliAnalysisTaskEMCALPhotonIsolation.cxx
+    AliAnalysisTaskEMCALPi0CalibSelection.cxx
+    AliAnalysisTaskEMCALPi0PbPb.cxx
+    AliAnalysisTaskEMCALPi0V2ShSh.cxx
+    AliAnalysisTaskEMCALTriggerQA.cxx
+    AliAnalysisTaskESDfilterEMCALEventSelect.cxx
+    AliAnalysisTaskPi0V2.cxx
+    AliAnalysisTaskSATR.cxx
+    AliAnalysisTaskSDMGammaMC.cxx
+    AliAnalysisTaskTrgContam.cxx
+    AliEMCalpi0ClusterEvaluationTask.cxx
+    AliStaObjects.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 Geom Gpad Hist MathCore Physics RIO Tree)
+set(ALIROOT_DEPENDENCIES ANALYSIS ANALYSISalice AOD CDB PWGEMCAL EMCALbase EMCALrec EMCALUtils ESD ESDfilter PWGGAUtils STEER STEERBase)
+
+# 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/PWGGA/GammaConv/CMakeLists.txt b/PWGGA/GammaConv/CMakeLists.txt
new file mode 100644 (file)
index 0000000..fa93a74
--- /dev/null
@@ -0,0 +1,134 @@
+# **************************************************************************
+# * 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 PWGGAGammaConv)
+
+# Module include folder
+include_directories(${AliRoot_SOURCE_DIR}/PWGGA/GammaConv)
+
+# 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}/EMCAL/EMCALUtils
+                    ${AliRoot_SOURCE_DIR}/EMCAL/EMCALbase
+                    ${AliRoot_SOURCE_DIR}/PWGCF/FLOW/Tasks
+                    ${AliRoot_SOURCE_DIR}/PWG/EMCAL
+                    ${AliRoot_SOURCE_DIR}/PWG/FLOW
+                    ${AliRoot_SOURCE_DIR}/PWG/TRD
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                   )
+
+# Sources in alphabetical order
+set(SRCS
+    AliAnaConvCorrBase.cxx
+    AliAnaConvCorrPhoton.cxx
+    AliAnaConvCorrPion.cxx
+    AliAnaConvIsolation.cxx
+    AliAnalysisTaskConversionQA.cxx
+    AliAnalysisTaskdPhi.cxx
+    AliAnalysisTaskEtaToPiPlPiMiGamma.cxx
+    AliAnalysisTaskGammaCalo.cxx
+    AliAnalysisTaskGammaConvCalo.cxx
+    AliAnalysisTaskGammaConvDalitzV1.cxx
+    AliAnalysisTaskGammaConvFlow.cxx
+    AliAnalysisTaskGammaConvV1.cxx
+    AliAnalysisTaskGCPartToPWG4Part.cxx
+    AliAnalysisTaskMaterial.cxx
+    AliAnalysisTaskNeutralMesonToPiPlPiMiPiZero.cxx
+    AliAnalysisTaskPi0v2.cxx
+    AliAnalysisTaskResolution.cxx
+    AliAODConversionMother.cxx
+    AliAODConversionParticle.cxx
+    AliAODConversionPhoton.cxx
+    AliCaloPhotonCuts.cxx
+    AliConversionAODBGHandlerRP.cxx
+    AliConversionCuts.cxx
+    AliConversionMesonCuts.cxx
+    AliConversionPhotonBase.cxx
+    AliConversionPhotonCuts.cxx
+    AliConversionSelection.cxx
+    AliConversionTrackCuts.cxx
+    AliConvEventCuts.cxx
+    AliDalitzElectronCuts.cxx
+    AliDalitzElectronSelector.cxx
+    AliGammaConversionAODBGHandler.cxx
+    AliKFConversionMother.cxx
+    AliKFConversionPhoton.cxx
+    AliPrimaryPionCuts.cxx
+    AliPrimaryPionSelector.cxx
+    AliV0ReaderV1.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 GenVector Geom Gpad Hist MathCore Matrix Net Physics RIO Tree)
+set(ALIROOT_DEPENDENCIES ANALYSIS ANALYSISalice AOD EMCALbase EMCALUtils ESD STEERBase PWGTRD PWGflowTasks)
+
+# 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/PWGGA/PHOSTasks/CMakeLists.txt b/PWGGA/PHOSTasks/CMakeLists.txt
new file mode 100644 (file)
index 0000000..6444697
--- /dev/null
@@ -0,0 +1,136 @@
+# **************************************************************************
+# * 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 PWGGAPHOSTasks)
+
+# Module include folder
+include_directories(${AliRoot_SOURCE_DIR}/PWGGA/PHOSTasks
+                    ${AliRoot_SOURCE_DIR}/PWGGA/PHOSTasks/CaloCellQA
+                    ${AliRoot_SOURCE_DIR}/PWGGA/PHOSTasks/omega3pi
+                    ${AliRoot_SOURCE_DIR}/PWGGA/PHOSTasks/PHOS_Correlation
+                    ${AliRoot_SOURCE_DIR}/PWGGA/PHOSTasks/PHOS_embedding
+                    ${AliRoot_SOURCE_DIR}/PWGGA/PHOSTasks/PHOS_EpRatio
+                    ${AliRoot_SOURCE_DIR}/PWGGA/PHOSTasks/PHOS_PbPb
+                    ${AliRoot_SOURCE_DIR}/PWGGA/PHOSTasks/PHOS_PbPb_MC
+                    ${AliRoot_SOURCE_DIR}/PWGGA/PHOSTasks/PHOS_PbPbQA
+                    ${AliRoot_SOURCE_DIR}/PWGGA/PHOSTasks/PHOS_pp_pi0
+                    ${AliRoot_SOURCE_DIR}/PWGGA/PHOSTasks/PHOS_Tagging
+                    ${AliRoot_SOURCE_DIR}/PWGGA/PHOSTasks/PHOS_TriggerQA
+                    ${AliRoot_SOURCE_DIR}/PWGGA/PHOSTasks/UserTasks
+                   )
+
+# 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}/ANALYSIS/Tender
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/TenderSupplies
+                    ${AliRoot_SOURCE_DIR}/EMCAL/EMCALUtils
+                    ${AliRoot_SOURCE_DIR}/PHOS/PHOSbase
+                    ${AliRoot_SOURCE_DIR}/PHOS/PHOSrec
+                    ${AliRoot_SOURCE_DIR}/PHOS/PHOSUtils
+                    ${AliRoot_SOURCE_DIR}/PWGGA/PWGGAUtils
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/CDB
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                   )
+
+# Sources in alphabetical order
+set(SRCS
+    CaloCellQA/AliAnalysisTaskCaloCellsQA.cxx
+    CaloCellQA/AliCaloCellsQA.cxx
+    omega3pi/AliAnalysisTaskOmegaPi0PiPi.cxx
+    PHOS_Correlation/AliPHOSCorrelations.cxx
+    PHOS_embedding/AliAnalysisTaskPi0DiffEfficiency.cxx
+    PHOS_embedding/AliAnalysisTaskPi0Efficiency.cxx
+    PHOS_embedding/AliPHOSEmbedding.cxx
+    PHOS_EpRatio/AliAnalysisTaskEpRatio.cxx
+    PHOS_PbPb/AliAnalysisTaskPi0Flow.cxx
+    PHOS_PbPb/AliAnalysisTaskPi0FlowMCAOD.cxx
+    PHOS_PbPb/AliAnalysisTaskPi0FlowMC.cxx
+    PHOS_PbPb/AliAnalysisTaskPi0FlowMCHijing.cxx
+    PHOS_PbPb/AliAnalysisTaskPi0FlowMCParamWeights.cxx
+    PHOS_PbPb/AliPHOSTenderTask.cxx
+    PHOS_PbPb_MC/AliPHOSHijingEfficiency.cxx
+    PHOS_PbPbQA/AliAnalysisTaskPHOSPbPbQA.cxx
+    PHOS_pp_pi0/AliAnalysisTaskPi0.cxx
+    PHOS_pp_pi0/AliCaloPhoton.cxx
+    PHOS_Tagging/AliAnalysisTaskTaggedPhotons.cxx
+    PHOS_TriggerQA/AliAnalysisTaskPHOSTriggerQA.cxx
+    UserTasks/AliAnalysisTaskSEPHOSpPbPi0.cxx
+    UserTasks/AliCaloClusterInfo.cxx
+    UserTasks/AliPHOSpPbPi0Header.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 Geom Gpad Hist MathCore Physics RIO Tree)
+set(ALIROOT_DEPENDENCIES ANALYSIS ANALYSISalice AOD CDB EMCALUtils ESD PHOSbase PHOSrec PHOSUtils PWGGAUtils STEER STEERBase Tender TenderSupplies)
+
+# 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 0f6e138..a3fe342 100644 (file)
@@ -11,6 +11,7 @@
 #define ALIANALYSISTASKPI0FLOWMCAOD_H
 
 class AliAODMCParticle;
+class AliCaloPhoton;
 
 #include "AliAnalysisTaskPi0Flow.h"
 
index cc3d514..fe43622 100644 (file)
@@ -6,7 +6,7 @@
 #include <TFile.h>
 
 #include "AliAnalysisManager.h"
-#include "TenderSupplies/AliPHOSTenderSupply.h"
+#include "AliPHOSTenderSupply.h"
 #include "AliAODEvent.h"
 
 #include "AliPHOSTenderTask.h"
index 2d32daf..0f03532 100644 (file)
@@ -12,6 +12,7 @@
 //*************************************************************************
 
 #include "AliAnalysisTaskSE.h"
+#include "AliPHOSpPbPi0Header.h"
 
 class TH2I;
 class TList;
@@ -19,7 +20,6 @@ class TString;
 class TArray;
 class TClonesArray;
 class AliPHOSGeoUtils;
-class AliPHOSpPbPi0Header;
 
 class AliAnalysisTaskSEPHOSpPbPi0 : public AliAnalysisTaskSE {
  public:
diff --git a/PWGGA/PWGGAUtils/CMakeLists.txt b/PWGGA/PWGGAUtils/CMakeLists.txt
new file mode 100644 (file)
index 0000000..d3b54ba
--- /dev/null
@@ -0,0 +1,87 @@
+# **************************************************************************
+# * 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 PWGGAUtils)
+
+# Module include folder
+include_directories(${AliRoot_SOURCE_DIR}/PWGGA/PWGGAUtils)
+
+# Additional include folders in alphabetical order except ROOT
+include_directories(${ROOT_INCLUDE_DIRS}
+                   )
+
+# Sources in alphabetical order
+set(SRCS
+    AliEPFlattener.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 Hist)
+set(ALIROOT_DEPENDENCIES)
+
+# 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