PWGHF converted to native cmake
authorhristov <Peter.Hristov@cern.ch>
Thu, 4 Dec 2014 23:25:19 +0000 (00:25 +0100)
committeragrigora <alina.grigoras@cern.ch>
Mon, 15 Dec 2014 12:52:07 +0000 (13:52 +0100)
13 files changed:
PWGHF/CMakeLists.txt
PWGHF/CMakelibPWGHFcorrelationHF.pkg [deleted file]
PWGHF/CMakelibPWGHFhfe.pkg [deleted file]
PWGHF/CMakelibPWGHFvertexingHF.pkg [deleted file]
PWGHF/correlationHF/CMakeLists.txt [new file with mode: 0644]
PWGHF/correlationHF/PWGHFcorrelationHFLinkDef.h [new file with mode: 0644]
PWGHF/hfe/AliHFEsmearDCA.h
PWGHF/hfe/CMakeLists.txt [new file with mode: 0644]
PWGHF/hfe/PWGHFhfeLinkDef.h [moved from PWGHF/PWGHFhfeLinkDef.h with 100% similarity]
PWGHF/vertexingHF/AliAODHFUtil.h
PWGHF/vertexingHF/AliAODPidHF.h
PWGHF/vertexingHF/CMakeLists.txt [new file with mode: 0644]
PWGHF/vertexingHF/PWGHFvertexingHFLinkDef.h [moved from PWGHF/PWGHFvertexingHFLinkDef.h with 100% similarity]

index 9b5bdba..44fbb49 100644 (file)
@@ -15,5 +15,8 @@
 
 # Include the libraries
 add_subdirectory (base)
+add_subdirectory (correlationHF)
+add_subdirectory (hfe)
+add_subdirectory (vertexingHF)
 
 message(STATUS "PWGHF enabled")
diff --git a/PWGHF/CMakelibPWGHFcorrelationHF.pkg b/PWGHF/CMakelibPWGHFcorrelationHF.pkg
deleted file mode 100644 (file)
index e3c01c3..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-#-*- Mode: Makefile -*-
-# $Id$
-#--------------------------------------------------------------------------------#
-# Package File for libPWGHFcorrelation                                           #
-# 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 ( CLASS_HDRS
-    AliDxHFEParticleSelection.h
-    AliDxHFEParticleSelectionD0.h
-    AliDxHFEParticleSelectionEl.h
-    AliDxHFEParticleSelectionMCD0.h
-    AliDxHFEParticleSelectionMCEl.h
-    AliDxHFEToolsMC.h
-    AliDxHFECorrelation.h
-    AliDxHFECorrelationMC.h
-    AliAnalysisTaskDxHFEParticleSelection.h
-    AliAnalysisTaskDxHFECorrelation.h
-    AliHFAssociatedTrackCuts.h
-    AliHFCorrelator.h
-    AliReducedParticle.h
-    AliAnalysisTaskDStarCorrelations.h
-    AliAnalysisTaskSED0Correlations.h
-    AliAnalysisTaskSEDplusCorrelations.h
-    AliAnalysisTaskSEmcCorr.h  
-    AliAnalysisTaskSEHFCJqa.h
-    AliHFDhadronCorrSystUnc.h  
-    AliHFCorrelationFDsubtraction.h    
-    AliHFDmesonCorrAverage.h
-    )
-
-string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" )
-
-set ( MODULE_HDRS      ${CLASS_HDRS})
-
-set ( MODULE_DHDR )
-
-set ( EINCLUDE  PWGHF/vertexingHF PWGHF/hfe CORRFW ANALYSIS STEER/ESD STEER/AOD STEER/STEERBase)
-
-set ( ELIBS  
-    PWGHFhfe
-    PWGHFvertexingHF
-    ANALYSIS
-    ANALYSISalice
-    )
-
-if (MODULE_SRCS)
-ALICE_Format (SRCS "correlationHF/" "" "${MODULE_SRCS}")
-endif(MODULE_SRCS)
-if (CLASS_HDRS)
-ALICE_Format (CINTHDRS "correlationHF/" "" "${CLASS_HDRS}")
-endif(CLASS_HDRS)
-if (MODULE_HDRS)
-ALICE_Format (HDRS "correlationHF/" "" "${MODULE_HDRS}")
-endif(MODULE_HDRS)
-if (MODULE_DHDR)
-ALICE_Format (DHDR "correlationHF/" "" "${MODULE_DHDR}")
-endif(MODULE_DHDR)
-
-if(NOT DHDR)
-  set(CINTAUTOLINK 1)
-endif(NOT DHDR)
diff --git a/PWGHF/CMakelibPWGHFhfe.pkg b/PWGHF/CMakelibPWGHFhfe.pkg
deleted file mode 100644 (file)
index dbef13a..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-# -*- mode: CMake -*-
-#--------------------------------------------------------------------------------#
-# Package File for PWGHFhfe                                                       #
-# 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 
-    hfe/AliHFEtools.cxx 
-    hfe/AliHFEcollection.cxx 
-    hfe/AliHFEvarManager.cxx 
-    hfe/AliHFEcontainer.cxx 
-    hfe/AliHFEmcQA.cxx 
-    hfe/AliHFEpairs.cxx 
-    hfe/AliHFEsecVtxs.cxx 
-    hfe/AliHFEsecVtx.cxx 
-    hfe/AliHFEpriVtx.cxx 
-    hfe/AliHFEspectrum.cxx 
-    hfe/AliHFEV0info.cxx 
-    hfe/AliHFEV0pid.cxx 
-    hfe/AliHFEV0taginfo.cxx
-    hfe/AliHFEpidQA.cxx 
-    hfe/AliHFEtrdPIDqa.cxx 
-    hfe/AliHFEitsPIDqa.cxx
-    hfe/AliHFEdetPIDqa.cxx 
-    hfe/AliHFEtpcPIDqa.cxx 
-    hfe/AliHFEtofPIDqa.cxx 
-    hfe/AliHFEemcalPIDqa.cxx 
-    hfe/AliHFEtrdPIDqaV1.cxx 
-    hfe/AliHFEpidQAmanager.cxx 
-    hfe/AliHFEpid.cxx 
-    hfe/AliHFEpidBase.cxx 
-    hfe/AliHFEpidITS.cxx 
-    hfe/AliHFEpidTPC.cxx 
-    hfe/AliHFEpidTRD.cxx 
-    hfe/AliHFEpidTOF.cxx 
-    hfe/AliHFEpidEMCAL.cxx 
-    hfe/AliHFEpidMC.cxx 
-    hfe/AliHFEextraCuts.cxx 
-    hfe/AliHFEextraEventCuts.cxx 
-    hfe/AliHFEcutStep.cxx 
-    hfe/AliHFEtrackFilter.cxx 
-    hfe/AliHFEcuts.cxx 
-    hfe/AliHFEsignalCuts.cxx 
-    hfe/AliHFEelecbackground.cxx 
-    hfe/AliHFEtaggedTrackAnalysis.cxx 
-    hfe/AliHFEpostAnalysis.cxx 
-    hfe/AliAnalysisTaskHFEpidQA.cxx 
-    hfe/AliHFEefficiency.cxx 
-    hfe/AliAnalysisTaskHFE.cxx 
-    hfe/AliHFEV0pidMC.cxx 
-    hfe/AliHFEV0cuts.cxx
-    hfe/AliHFEOADBThresholdsTRD.cxx
-    hfe/AliHFEbayesPIDqa.cxx
-    hfe/AliHFEpidBayes.cxx
-    hfe/AliHFEpidObject.cxx
-    hfe/AliAnalysisTaskElecHadronCorrel.cxx
-    hfe/AliAnalysisTaskFlowTPCEMCalEP.cxx
-    hfe/AliAnalysisTaskHFECal.cxx 
-    hfe/AliAnalysisTaskEMCalHFEpA.cxx 
-    hfe/AliHFEdebugTreeTask.cxx
-    hfe/AliHFEVZEROEventPlane.cxx
-    hfe/AliAnalysisTaskFlowTPCTOFEPSP.cxx
-    hfe/AliSelectNonHFE.cxx
-    hfe/AliHFENonPhotonicElectron.cxx
-    hfe/AliHFEdebugTreeTaskAOD.cxx
-    hfe/AliHFECorrectSpectrumBase.cxx
-    hfe/AliHFEInclusiveSpectrum.cxx
-    hfe/AliHFEInclusiveSpectrumQA.cxx 
-    hfe/AliHFEBeautySpectrum.cxx
-    hfe/AliHFEBeautySpectrumQA.cxx 
-    hfe/AliHFEsmearDCA.cxx
-    hfe/AliAnalysisTaskFlowTPCEMCalQCSP.cxx
-    hfe/AliHFEreducedEventCreatorAOD.cxx
-    hfe/AliHFEreducedEventCreatorESD.cxx
-    hfe/AliHFEreducedEvent.cxx
-    hfe/AliHFEreducedTrack.cxx
-    hfe/AliHFEreducedMCParticle.cxx
-    hfe/AliAnalysisTaskHFEQA.cxx
-    hfe/AliAnalysisTaskHFEemcQA.cxx
-    hfe/AliAnalysisTaskFlowITSTPCTOFQCSP.cxx
-    )
-
-string (REPLACE ".cxx" ".h" HDRS "${SRCS}")
-
-set ( DHDR  PWGHFhfeLinkDef.h)
-
-set ( EINCLUDE EMCAL PWG/muon PWG/TRD PWGHF/hfe PWG/CaloTrackCorrBase TPC PHOS CORRFW STEER/STEER STEER/STEERBase PWG/FLOW/Base PWG/FLOW/Tasks ANALYSIS)
diff --git a/PWGHF/CMakelibPWGHFvertexingHF.pkg b/PWGHF/CMakelibPWGHFvertexingHF.pkg
deleted file mode 100644 (file)
index b7da08f..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-# -*- mode: CMake -*-
-#--------------------------------------------------------------------------------#
-# Package File for PWGHFvertexingHF                                               #
-# 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 
-    vertexingHF/AliAODHFUtil.cxx 
-    vertexingHF/AliAODRecoDecayHF.cxx 
-    vertexingHF/AliAODRecoDecayHF2Prong.cxx 
-    vertexingHF/AliAODRecoDecayHF3Prong.cxx 
-    vertexingHF/AliAODRecoDecayHF4Prong.cxx 
-    vertexingHF/AliAODRecoCascadeHF.cxx 
-    vertexingHF/AliAODPidHF.cxx 
-    vertexingHF/AliRDHFCuts.cxx 
-    vertexingHF/AliVertexingHFUtils.cxx 
-    vertexingHF/AliHFSystErr.cxx 
-    vertexingHF/AliRDHFCutsD0toKpi.cxx 
-    vertexingHF/AliRDHFCutsJpsitoee.cxx 
-    vertexingHF/AliRDHFCutsDplustoKpipi.cxx 
-    vertexingHF/AliRDHFCutsDstoKKpi.cxx 
-    vertexingHF/AliRDHFCutsLctopKpi.cxx 
-    vertexingHF/AliRDHFCutsLctoV0.cxx 
-    vertexingHF/AliRDHFCutsD0toKpipipi.cxx 
-    vertexingHF/AliRDHFCutsDStartoKpipi.cxx 
-    vertexingHF/AliAnalysisVertexingHF.cxx 
-    vertexingHF/AliAnalysisTaskSEVertexingHF.cxx 
-    vertexingHF/AliAnalysisTaskMEVertexingHF.cxx 
-    vertexingHF/AliAnalysisTaskSESelectHF.cxx 
-    vertexingHF/AliAnalysisTaskSECompareHF.cxx 
-    vertexingHF/AliAnalysisTaskSEDplus.cxx 
-    vertexingHF/AliAnalysisTaskSEDs.cxx 
-    vertexingHF/AliAnalysisTaskSELambdac.cxx 
-    vertexingHF/AliAnalysisTaskSED0Mass.cxx 
-    vertexingHF/AliAnalysisTaskSECharmFraction.cxx 
-    vertexingHF/AliAnalysisTaskSELc2V0bachelor.cxx 
-    vertexingHF/AliAnalysisTaskSEDvsMultiplicity.cxx
-    vertexingHF/AliAnalysisTaskCheckHFMCProd.cxx
-    vertexingHF/AliCFVertexingHF.cxx 
-    vertexingHF/AliCFVertexingHF2Prong.cxx 
-    vertexingHF/AliCFVertexingHF3Prong.cxx 
-    vertexingHF/AliCFVertexingHFCascade.cxx 
-    vertexingHF/AliCFVertexingHFLctoV0bachelor.cxx
-    vertexingHF/AliCFTaskVertexingHF.cxx 
-    vertexingHF/AliCFTaskForDStarAnalysis.cxx 
-    vertexingHF/AliAnalysisTaskSEDStarJets.cxx 
-    vertexingHF/AliAnalysisTaskSEDStarSpectra.cxx 
-    vertexingHF/AliAnalysisTaskSESignificance.cxx 
-    vertexingHF/AliAnalysisTaskSEHFQA.cxx 
-    vertexingHF/AliMultiDimVector.cxx 
-    vertexingHF/AliSignificanceCalculator.cxx 
-    vertexingHF/AliHFMassFitter.cxx 
-    vertexingHF/AliHFPtSpectrum.cxx 
-    vertexingHF/AliNormalizationCounter.cxx 
-    vertexingHF/AliAnalysisTaskSEMonitNorm.cxx 
-    vertexingHF/AliAnalysisTaskSEBkgLikeSignD0.cxx 
-    vertexingHF/AliAnalysisTaskSEImproveITS.cxx 
-    vertexingHF/AliAnalysisTaskCombinHF.cxx 
-    vertexingHF/charmFlow/AliEventPlaneResolutionHandler.cxx
-    vertexingHF/charmFlow/AliAnalysisTaskSEHFv2.cxx
-    vertexingHF/charmFlow/AliHFAfterBurner.cxx
-    vertexingHF/charmFlow/AliAnalysisTaskFlowD2H.cxx
-    vertexingHF/upgrade/AliAnalysisTaskSELambdacUp.cxx
-    vertexingHF/upgrade/AliAnalysisTaskCountLcEta.cxx
-    vertexingHF/AliAnalysisTaskSELc2V0bachelorTMVA.cxx 
-    )
-
-string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
-
-set ( DHDR  PWGHFvertexingHFLinkDef.h)
-
-set ( EINCLUDE   PWGHF/vertexingHF CORRFW STEER/AOD STEER/ESD STEER/STEERBase PWG/FLOW/Base PWG/FLOW/Tasks ANALYSIS)
-
-install ( FILES vertexingHF/AliAODRecoDecayHF.h 
-         vertexingHF/AliAODRecoDecayHF2Prong.h
-         vertexingHF/AddD2HTrain.C 
-         vertexingHF/ConfigVertexingHF.C 
-         vertexingHF/ConfigVertexingHF_highmult.C 
-          DESTINATION PWGHF/vertexingHF/ )
-
-install ( DIRECTORY vertexingHF/macros
-          DESTINATION PWGHF/vertexingHF/
-          PATTERN ".d"  EXCLUDE
-          PATTERN ".so" EXCLUDE
-          PATTERN ".svn" EXCLUDE)
diff --git a/PWGHF/correlationHF/CMakeLists.txt b/PWGHF/correlationHF/CMakeLists.txt
new file mode 100644 (file)
index 0000000..8ccf7bb
--- /dev/null
@@ -0,0 +1,91 @@
+# **************************************************************************
+# * 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 PWGHFcorrelationHF)
+
+# Module include folder
+include_directories(${AliRoot_SOURCE_DIR}/PWGHF/correlationHF)
+
+# Additional includes - 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}/PWGHF/hfe
+                    ${AliRoot_SOURCE_DIR}/PWGHF/vertexingHF
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+  )
+
+# Sources - alphabetical order
+set(SRCS
+    AliDxHFEParticleSelection.cxx
+    AliDxHFEParticleSelectionD0.cxx
+    AliDxHFEParticleSelectionEl.cxx
+    AliDxHFEParticleSelectionMCD0.cxx
+    AliDxHFEParticleSelectionMCEl.cxx
+    AliDxHFEToolsMC.cxx
+    AliDxHFECorrelation.cxx
+    AliDxHFECorrelationMC.cxx
+    AliAnalysisTaskDxHFEParticleSelection.cxx
+    AliAnalysisTaskDxHFECorrelation.cxx
+    AliHFAssociatedTrackCuts.cxx
+    AliHFCorrelator.cxx
+    AliReducedParticle.cxx
+    AliAnalysisTaskDStarCorrelations.cxx
+    AliAnalysisTaskSED0Correlations.cxx
+    AliAnalysisTaskSEDplusCorrelations.cxx
+    AliAnalysisTaskSEmcCorr.cxx        
+    AliAnalysisTaskSEHFCJqa.cxx
+    AliHFDhadronCorrSystUnc.cxx        
+    AliHFCorrelationFDsubtraction.cxx  
+    AliHFDmesonCorrAverage.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}")
+
+# Add a shared library
+add_library(${MODULE} SHARED  ${SRCS} G__${MODULE}.cxx)
+
+# Generate the ROOT map
+# Dependecies
+set(LIBDEPS ANALYSISalice PWGHFhfe PWGHFvertexingHF)
+
+generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h")
+
+# Linking the library
+target_link_libraries(${MODULE} ${LIBDEPS})
+
+# Public include folders that will be propagated to the dependecies
+target_include_directories(${MODULE} PUBLIC ${incdirs})
+
+# System dependent: Modify the way the library is build
+if(${CMAKE_SYSTEM} MATCHES Darwin)
+    set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
+endif(${CMAKE_SYSTEM} MATCHES Darwin)
+
+# Installation
+install(TARGETS ${MODULE} 
+  ARCHIVE DESTINATION lib
+  LIBRARY DESTINATION lib)
+install(FILES ${HDRS} DESTINATION include)
diff --git a/PWGHF/correlationHF/PWGHFcorrelationHFLinkDef.h b/PWGHF/correlationHF/PWGHFcorrelationHFLinkDef.h
new file mode 100644 (file)
index 0000000..8662681
--- /dev/null
@@ -0,0 +1,29 @@
+#ifdef __CINT__
+
+#pragma link off all globals;
+#pragma link off all classes;
+#pragma link off all functions;
+
+#pragma link C++ class AliDxHFEParticleSelection+;
+#pragma link C++ class AliDxHFEParticleSelectionD0+;
+#pragma link C++ class AliDxHFEParticleSelectionEl+;
+#pragma link C++ class AliDxHFEParticleSelectionMCD0+;
+#pragma link C++ class AliDxHFEParticleSelectionMCEl+;
+#pragma link C++ class AliDxHFEToolsMC+;
+#pragma link C++ class AliDxHFECorrelation+;
+#pragma link C++ class AliDxHFECorrelationMC+;
+#pragma link C++ class AliAnalysisTaskDxHFEParticleSelection+;
+#pragma link C++ class AliAnalysisTaskDxHFECorrelation+;
+#pragma link C++ class AliHFAssociatedTrackCuts+;
+#pragma link C++ class AliHFCorrelator+;
+#pragma link C++ class AliReducedParticle+;
+#pragma link C++ class AliAnalysisTaskDStarCorrelations+;
+#pragma link C++ class AliAnalysisTaskSED0Correlations+;
+#pragma link C++ class AliAnalysisTaskSEDplusCorrelations+;
+#pragma link C++ class AliAnalysisTaskSEmcCorr+;       
+#pragma link C++ class AliAnalysisTaskSEHFCJqa+;
+#pragma link C++ class AliHFDhadronCorrSystUnc+;       
+#pragma link C++ class AliHFCorrelationFDsubtraction+; 
+#pragma link C++ class AliHFDmesonCorrAverage+;
+
+#endif
index 7b29779..3ba47bb 100644 (file)
@@ -30,7 +30,6 @@ class AliHFEsmearDCA : public TObject{
   public:
   AliHFEsmearDCA(const Char_t */*name*/, const char *resfileCurURI, const char *resfileUpgURI, const Char_t */*title*/);
     AliHFEsmearDCA(const AliHFEsmearDCA &c);
-    AliHFEsmearDCA &operator=(const AliHFEsmearDCA &);
     virtual ~AliHFEsmearDCA();
     
     virtual void SetRecEventInfo(const TObject *event);
@@ -41,6 +40,7 @@ class AliHFEsmearDCA : public TObject{
     
 
   private:
+    AliHFEsmearDCA &operator=(const AliHFEsmearDCA &);
  
     AliVEvent *fEvent;                //! working event
     AliMCEvent *fMCEvent;             //! MCEvent pointer
diff --git a/PWGHF/hfe/CMakeLists.txt b/PWGHF/hfe/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f55fb22
--- /dev/null
@@ -0,0 +1,146 @@
+# **************************************************************************
+# * 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 PWGHFhfe)
+
+# Module include folder
+include_directories(${AliRoot_SOURCE_DIR}/PWGHF/hfe)
+
+# Additional includes - 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}/EMCAL/EMCALUtils
+                    ${AliRoot_SOURCE_DIR}/PHOS/PHOSUtils
+                    ${AliRoot_SOURCE_DIR}/PWG/CaloTrackCorrBase
+                    ${AliRoot_SOURCE_DIR}/PWG/FLOW/Base
+                    ${AliRoot_SOURCE_DIR}/PWG/FLOW/Tasks
+                    ${AliRoot_SOURCE_DIR}/PWG/muon
+                    ${AliRoot_SOURCE_DIR}/PWG/TRD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+  )
+
+# Sources - alphabetical order
+set(SRCS
+  AliHFEtools.cxx 
+  AliHFEcollection.cxx 
+  AliHFEvarManager.cxx 
+  AliHFEcontainer.cxx 
+  AliHFEmcQA.cxx 
+  AliHFEpairs.cxx 
+  AliHFEsecVtxs.cxx 
+  AliHFEsecVtx.cxx 
+  AliHFEpriVtx.cxx 
+  AliHFEspectrum.cxx 
+  AliHFEV0info.cxx 
+  AliHFEV0pid.cxx 
+  AliHFEV0taginfo.cxx
+  AliHFEpidQA.cxx 
+  AliHFEtrdPIDqa.cxx 
+  AliHFEitsPIDqa.cxx
+  AliHFEdetPIDqa.cxx 
+  AliHFEtpcPIDqa.cxx 
+  AliHFEtofPIDqa.cxx 
+  AliHFEemcalPIDqa.cxx 
+  AliHFEtrdPIDqaV1.cxx 
+  AliHFEpidQAmanager.cxx 
+  AliHFEpid.cxx 
+  AliHFEpidBase.cxx 
+  AliHFEpidITS.cxx 
+  AliHFEpidTPC.cxx 
+  AliHFEpidTRD.cxx 
+  AliHFEpidTOF.cxx 
+  AliHFEpidEMCAL.cxx 
+  AliHFEpidMC.cxx 
+  AliHFEextraCuts.cxx 
+  AliHFEextraEventCuts.cxx 
+  AliHFEcutStep.cxx 
+  AliHFEtrackFilter.cxx 
+  AliHFEcuts.cxx 
+  AliHFEsignalCuts.cxx 
+  AliHFEelecbackground.cxx 
+  AliHFEtaggedTrackAnalysis.cxx 
+  AliHFEpostAnalysis.cxx 
+  AliAnalysisTaskHFEpidQA.cxx 
+  AliHFEefficiency.cxx 
+  AliAnalysisTaskHFE.cxx 
+  AliHFEV0pidMC.cxx 
+  AliHFEV0cuts.cxx
+  AliHFEOADBThresholdsTRD.cxx
+  AliHFEbayesPIDqa.cxx
+  AliHFEpidBayes.cxx
+  AliHFEpidObject.cxx
+  AliAnalysisTaskElecHadronCorrel.cxx
+  AliAnalysisTaskFlowTPCEMCalEP.cxx
+  AliAnalysisTaskHFECal.cxx 
+  AliAnalysisTaskEMCalHFEpA.cxx 
+  AliHFEdebugTreeTask.cxx
+  AliHFEVZEROEventPlane.cxx
+  AliAnalysisTaskFlowTPCTOFEPSP.cxx
+  AliSelectNonHFE.cxx
+  AliHFENonPhotonicElectron.cxx
+  AliHFEdebugTreeTaskAOD.cxx
+  AliHFECorrectSpectrumBase.cxx
+  AliHFEInclusiveSpectrum.cxx
+  AliHFEInclusiveSpectrumQA.cxx 
+  AliHFEBeautySpectrum.cxx
+  AliHFEBeautySpectrumQA.cxx 
+  AliHFEsmearDCA.cxx
+  AliAnalysisTaskFlowTPCEMCalQCSP.cxx
+  AliHFEreducedEventCreatorAOD.cxx
+  AliHFEreducedEventCreatorESD.cxx
+  AliHFEreducedEvent.cxx
+  AliHFEreducedTrack.cxx
+  AliHFEreducedMCParticle.cxx
+  AliAnalysisTaskHFEQA.cxx
+  AliAnalysisTaskHFEemcQA.cxx
+  AliAnalysisTaskFlowITSTPCTOFQCSP.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}")
+
+# Add a shared library
+add_library(${MODULE} SHARED  ${SRCS} G__${MODULE}.cxx)
+
+# Generate the ROOT map
+# Dependecies
+set(LIBDEPS ANALYSISalice CORRFW PWGflowTasks PWGTRD MLP)
+generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h")
+
+# Linking the library
+target_link_libraries(${MODULE} ${LIBDEPS})
+
+# Public include folders that will be propagated to the dependecies
+target_include_directories(${MODULE} PUBLIC ${incdirs})
+
+# System dependent: Modify the way the library is build
+if(${CMAKE_SYSTEM} MATCHES Darwin)
+    set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
+endif(${CMAKE_SYSTEM} MATCHES Darwin)
+
+# Installation
+install(TARGETS ${MODULE} 
+  ARCHIVE DESTINATION lib
+  LIBRARY DESTINATION lib)
+install(FILES ${HDRS} DESTINATION include)
index 4d342a3..5f5a74f 100644 (file)
@@ -20,7 +20,6 @@ class AliAODHFUtil : public TNamed {
  AliAODHFUtil();
  AliAODHFUtil(const char *pName);
  AliAODHFUtil(const AliAODHFUtil& pCopy);
- AliAODHFUtil& operator=(const AliAODHFUtil& pAssign);
  virtual ~AliAODHFUtil();
 
  //VZERO
@@ -28,6 +27,9 @@ class AliAODHFUtil : public TNamed {
  Float_t GetVZEROChannel(Int_t pCh) const;
 
  private:
+
+ AliAODHFUtil& operator=(const AliAODHFUtil& pAssign);
+
  Float_t fVZERO[64]; // VZERO signals
 
  ClassDef(AliAODHFUtil,1) // class to keep event info need in HF analysis
index 7d354e1..9f6d030 100644 (file)
@@ -33,7 +33,6 @@ public:
   
   AliAODPidHF();
   AliAODPidHF(const AliAODPidHF& pid);
-  AliAODPidHF& operator=(const AliAODPidHF& pid);
   virtual ~AliAODPidHF();
   
   //Setters
@@ -227,6 +226,9 @@ protected:
   
   
 private:
+
+  AliAODPidHF& operator=(const AliAODPidHF& pid);
+
   Int_t fnNSigma; // number of sigmas
   Double_t *fnSigma; // [fnNSigma], sigma for the raw signal PID: 0-2 for TPC, 3 for TOF, 4 for ITS
   Double_t fTOFSigma; // TOF precision
diff --git a/PWGHF/vertexingHF/CMakeLists.txt b/PWGHF/vertexingHF/CMakeLists.txt
new file mode 100644 (file)
index 0000000..6615b5e
--- /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 PWGHFvertexingHF)
+
+# Module include folder
+include_directories(${AliRoot_SOURCE_DIR}/PWGHF/vertexingHF)
+
+# Additional includes - 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}/PWG/FLOW/Base
+                    ${AliRoot_SOURCE_DIR}/PWG/FLOW/Tasks
+                    ${AliRoot_SOURCE_DIR}/PWG/muon
+                    ${AliRoot_SOURCE_DIR}/PWG/TRD
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+                    ${AliRoot_SOURCE_DIR}/STEER/STEER
+  )
+
+# Sources - alphabetical order
+set(SRCS
+  AliAODHFUtil.cxx 
+  AliAODRecoDecayHF.cxx 
+  AliAODRecoDecayHF2Prong.cxx 
+  AliAODRecoDecayHF3Prong.cxx 
+  AliAODRecoDecayHF4Prong.cxx 
+  AliAODRecoCascadeHF.cxx 
+  AliAODPidHF.cxx 
+  AliRDHFCuts.cxx 
+  AliVertexingHFUtils.cxx 
+  AliHFSystErr.cxx 
+  AliRDHFCutsD0toKpi.cxx 
+  AliRDHFCutsJpsitoee.cxx 
+  AliRDHFCutsDplustoKpipi.cxx 
+  AliRDHFCutsDstoKKpi.cxx 
+  AliRDHFCutsLctopKpi.cxx 
+  AliRDHFCutsLctoV0.cxx 
+  AliRDHFCutsD0toKpipipi.cxx 
+  AliRDHFCutsDStartoKpipi.cxx 
+  AliAnalysisVertexingHF.cxx 
+  AliAnalysisTaskSEVertexingHF.cxx 
+  AliAnalysisTaskMEVertexingHF.cxx 
+  AliAnalysisTaskSESelectHF.cxx 
+  AliAnalysisTaskSECompareHF.cxx 
+  AliAnalysisTaskSEDplus.cxx 
+  AliAnalysisTaskSEDs.cxx 
+  AliAnalysisTaskSELambdac.cxx 
+  AliAnalysisTaskSED0Mass.cxx 
+  AliAnalysisTaskSECharmFraction.cxx 
+  AliAnalysisTaskSELc2V0bachelor.cxx 
+  AliAnalysisTaskSEDvsMultiplicity.cxx
+  AliAnalysisTaskCheckHFMCProd.cxx
+  AliCFVertexingHF.cxx 
+  AliCFVertexingHF2Prong.cxx 
+  AliCFVertexingHF3Prong.cxx 
+  AliCFVertexingHFCascade.cxx 
+  AliCFVertexingHFLctoV0bachelor.cxx
+  AliCFTaskVertexingHF.cxx 
+  AliCFTaskForDStarAnalysis.cxx 
+  AliAnalysisTaskSEDStarJets.cxx 
+  AliAnalysisTaskSEDStarSpectra.cxx 
+  AliAnalysisTaskSESignificance.cxx 
+  AliAnalysisTaskSEHFQA.cxx 
+  AliMultiDimVector.cxx 
+  AliSignificanceCalculator.cxx 
+  AliHFMassFitter.cxx 
+  AliHFPtSpectrum.cxx 
+  AliNormalizationCounter.cxx 
+  AliAnalysisTaskSEMonitNorm.cxx 
+  AliAnalysisTaskSEBkgLikeSignD0.cxx 
+  AliAnalysisTaskSEImproveITS.cxx 
+  AliAnalysisTaskCombinHF.cxx 
+  charmFlow/AliEventPlaneResolutionHandler.cxx
+  charmFlow/AliAnalysisTaskSEHFv2.cxx
+  charmFlow/AliHFAfterBurner.cxx
+  charmFlow/AliAnalysisTaskFlowD2H.cxx
+  upgrade/AliAnalysisTaskSELambdacUp.cxx
+  upgrade/AliAnalysisTaskCountLcEta.cxx
+  AliAnalysisTaskSELc2V0bachelorTMVA.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}")
+
+# Add a shared library
+add_library(${MODULE} SHARED  ${SRCS} G__${MODULE}.cxx)
+
+# Generate the ROOT map
+# Dependecies
+set(LIBDEPS ANALYSISalice PWGflowTasks PWGTRD)
+generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h")
+
+# Linking the library
+target_link_libraries(${MODULE} ${LIBDEPS})
+
+# Public include folders that will be propagated to the dependecies
+target_include_directories(${MODULE} PUBLIC ${incdirs})
+
+# System dependent: Modify the way the library is build
+if(${CMAKE_SYSTEM} MATCHES Darwin)
+    set_target_properties(${MODULE} PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
+endif(${CMAKE_SYSTEM} MATCHES Darwin)
+
+# Installation
+install(TARGETS ${MODULE} 
+  ARCHIVE DESTINATION lib
+  LIBRARY DESTINATION lib)
+install(FILES ${HDRS} DESTINATION include)
+
+install ( FILES AliAODRecoDecayHF.h 
+         AliAODRecoDecayHF2Prong.h
+         AddD2HTrain.C 
+         ConfigVertexingHF.C 
+         ConfigVertexingHF_highmult.C 
+          DESTINATION PWGHF/vertexingHF/ )
+
+install ( DIRECTORY macros
+          DESTINATION PWGHF/vertexingHF/
+          PATTERN ".d"  EXCLUDE
+          PATTERN ".so" EXCLUDE
+          PATTERN ".svn" EXCLUDE)