PWGCFfemtoscopy converted to native cmake
authorhristov <Peter.Hristov@cern.ch>
Sat, 6 Dec 2014 20:27:54 +0000 (21:27 +0100)
committeragrigora <alina.grigoras@cern.ch>
Mon, 15 Dec 2014 12:52:08 +0000 (13:52 +0100)
12 files changed:
PWGCF/CMakeLists.txt
PWGCF/CMakelibPWGCFfemtoscopy.pkg [deleted file]
PWGCF/FEMTOSCOPY/AliFemto/AliFemtoAnalysisAzimuthal.cxx
PWGCF/FEMTOSCOPY/AliFemto/AliFemtoAnalysisReactionPlane.cxx
PWGCF/FEMTOSCOPY/AliFemto/AliFemtoLikeSignAnalysis.cxx
PWGCF/FEMTOSCOPY/AliFemto/AliFemtoSphericityEventCut.h
PWGCF/FEMTOSCOPY/AliFemto/AliFemtoSpherocityEventCut.h
PWGCF/FEMTOSCOPY/AliFemto/AliFemtoVertexAnalysis.cxx
PWGCF/FEMTOSCOPY/AliFemto/AliFemtoVertexMultAnalysis.cxx
PWGCF/FEMTOSCOPY/AliFemto/CMakeLists.txt [new file with mode: 0644]
PWGCF/FEMTOSCOPY/AliFemto/PWGCFfemtoscopyLinkDef.h [moved from PWGCF/PWGCFfemtoscopyLinkDef.h with 100% similarity]
PWGCF/FEMTOSCOPY/CMakeLists.txt [new file with mode: 0644]

index 1f2e3e3..d123d76 100644 (file)
@@ -16,6 +16,7 @@
 # Include the libraries
 add_subdirectory(Correlations)
 add_subdirectory(EBYE)
+add_subdirectory(FEMTOSCOPY)
 add_subdirectory(FLOW)
 
 message(STATUS "PWGCF enabled")
diff --git a/PWGCF/CMakelibPWGCFfemtoscopy.pkg b/PWGCF/CMakelibPWGCFfemtoscopy.pkg
deleted file mode 100644 (file)
index 7b8e10b..0000000
+++ /dev/null
@@ -1,161 +0,0 @@
-# -*- mode: CMake -*-
-#------------------------------------------------------------------------#
-# Package File for PWG2femtoscopy                                        #
-# 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
-    FEMTOSCOPY/AliFemto/AliFemtoSimpleAnalysis.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoLikeSignAnalysis.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoVertexAnalysis.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoVertexMultAnalysis.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoAnalysisAzimuthal.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoAnalysisReactionPlane.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoBPLCMS3DCorrFctn.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoCorrFctn3DLCMSSym.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoQinvCorrFctn.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoBasicEventCut.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoEventCutEstimators.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoBasicTrackCut.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoDummyPairCut.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoCoulomb.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoCutMonitorHandler.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoEvent.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoKink.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoManager.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoPair.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoParticle.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoPicoEvent.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoPicoEventCollectionVectorHideAway.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoTrack.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoV0.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoXi.cxx
-    FEMTOSCOPY/AliFemto/AliFmHelix.cxx
-    FEMTOSCOPY/AliFemto/AliFmPhysicalHelix.cxx
-    FEMTOSCOPY/AliFemto/TpcLocalTransform.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoEventReader.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoEventReaderStandard.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoEventReaderESD.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoEventReaderESDChain.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoEventReaderESDChainKine.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoModelHiddenInfo.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoModelGlobalHiddenInfo.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoModelGausLCMSFreezeOutGenerator.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoModelWeightGenerator.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoModelWeightGeneratorBasic.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoModelManager.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoModelCorrFctn.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoModelFreezeOutGenerator.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoModelWeightGeneratorLednicky.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoCutMonitorParticleYPt.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoCutMonitorParticleVertPos.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoCutMonitorParticlePID.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoCutMonitorEventMult.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoCutMonitorEventVertex.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoKTPairCut.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoCorrFctnNonIdDR.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoCorrFctn3DSpherical.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoEventReaderAOD.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoEventReaderAODChain.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoAODTrackCut.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoCutMonitor.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoCorrFctn.cxx
-    FEMTOSCOPY/AliFemto/AliAnalysisTaskFemto.cxx
-    FEMTOSCOPY/AliFemto/AliTwoTrackRes.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoMCTrackCut.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoEventReaderKinematicsChain.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoEventReaderKinematicsChainESD.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoV0PairCut.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoV0TrackCut.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoCutMonitorV0.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoV0TrackPairCut.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoCutMonitorCollections.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoV0SharedDaughterCut.cxx
-    )
-
-string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
-
-set ( HDRS ${HDRS}
-    FEMTOSCOPY/AliFemto/AliFmThreeVector.h
-    FEMTOSCOPY/AliFemto/AliFmThreeVectorF.h
-    FEMTOSCOPY/AliFemto/AliFmThreeVectorD.h
-    FEMTOSCOPY/AliFemto/AliFmPhysicalHelixD.h
-    FEMTOSCOPY/AliFemto/AliFmHelixD.h
-    FEMTOSCOPY/AliFemto/AliFmLorentzVectorD.h
-    FEMTOSCOPY/AliFemto/AliFemtoV0Cut.h
-    FEMTOSCOPY/AliFemto/AliFemtoKinkCut.h
-    FEMTOSCOPY/AliFemto/AliFemtoXiCut.h
-    FEMTOSCOPY/AliFemto/AliFemtoAnalysisCollection.h
-    FEMTOSCOPY/AliFemto/AliFemtoAnalysis.h
-    FEMTOSCOPY/AliFemto/AliFemtoCorrFctnCollection.h
-    FEMTOSCOPY/AliFemto/AliFemtoEnumeration.h
-    FEMTOSCOPY/AliFemto/AliFemtoHelix.h
-    FEMTOSCOPY/AliFemto/AliFemtoHiddenInfo.h
-    FEMTOSCOPY/AliFemto/AliFemtoLikeSignCorrFctn.h
-    FEMTOSCOPY/AliFemto/AliFemtoLorentzVector.h
-    FEMTOSCOPY/AliFemto/AliFemtoString.h
-    FEMTOSCOPY/AliFemto/AliFemtoThreeVectorD.h
-    FEMTOSCOPY/AliFemto/AliFemtoThreeVector.h
-    FEMTOSCOPY/AliFemto/AliFemtoTypes.h
-    FEMTOSCOPY/AliFemto/AliFemtoVector.h
-    FEMTOSCOPY/AliFemto/AliFmLorentzVector.h
-    FEMTOSCOPY/AliFemto/phys_constants.h
-    FEMTOSCOPY/AliFemto/PhysicalConstants.h
-    FEMTOSCOPY/AliFemto/SystemOfUnits.h
-    FEMTOSCOPY/AliFemto/AliFemtoPairCut.h
-    FEMTOSCOPY/AliFemto/AliFemtoEventCut.h
-    FEMTOSCOPY/AliFemto/AliFemtoSphericityEventCut.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoSpherocityEventCut.cxx
-    FEMTOSCOPY/AliFemto/AliFemtoParticleCut.h
-    FEMTOSCOPY/AliFemto/AliFemtoTrackCollection.h
-    FEMTOSCOPY/AliFemto/AliFemtoV0Collection.h
-    FEMTOSCOPY/AliFemto/AliFemtoXiCollection.h
-    FEMTOSCOPY/AliFemto/AliFemtoKinkCollection.h
-    FEMTOSCOPY/AliFemto/AliFemtoPicoEventCollection.h
-    FEMTOSCOPY/AliFemto/AliFemtoParticleCollection.h
-    FEMTOSCOPY/AliFemto/AliFemtoCutMonitorCollection.h
-    FEMTOSCOPY/AliFemto/AliFemtoTrackCut.h
-    FEMTOSCOPY/AliFemto/AliFemtoPicoEventCollectionVector.h
-    FEMTOSCOPY/AliFemto/AliFemtoEventWriter.h
-    FEMTOSCOPY/AliFemto/AliFemtoEventWriterCollection.h
-    FEMTOSCOPY/AliFemto/AliFemtoMCTrackCut.h
-    FEMTOSCOPY/AliFemto/AliFemtoEventReaderKinematicsChain.h
-    )
-
-set ( FSRCS  FEMTOSCOPY/AliFemto/AliFemtoFsiTools.F FEMTOSCOPY/AliFemto/AliFemtoFsiWeightLednicky.F)
-
-set ( DHDR  PWGCFfemtoscopyLinkDef.h)
-
-set ( EXPORT )
-
-set ( EINCLUDE  PWGCF/FEMTOSCOPY/AliFemto  STEER/AOD STEER/ESD STEER/STEERBase ANALYSIS)
-
-install (DIRECTORY FEMTOSCOPY/macros
-         DESTINATION PWGCF/FEMTOSCOPY
-         PATTERN .svn EXCLUDE)
-
-#
-# EOF
-#
index 38cf4d2..9738d5c 100644 (file)
@@ -24,8 +24,9 @@ ClassImp(AliFemtoAnalysisAzimuthal)
 #endif
 
 extern void FillHbtParticleCollection(AliFemtoParticleCut*         partCut,
-                                     AliFemtoEvent*               hbtEvent,
-                                     AliFemtoParticleCollection*  partCollection);
+                              AliFemtoEvent*               hbtEvent,
+                              AliFemtoParticleCollection*  partCollection,
+                              bool performSharedDaughterCut=kFALSE);
 
 
 //____________________________
index 11fbdbd..45eca6d 100644 (file)
 ClassImp(AliFemtoAnalysisReactionPlane)
 #endif
 
-extern void FillHbtParticleCollection(AliFemtoParticleCut*         partCut,
-                                     AliFemtoEvent*               hbtEvent,
-                                     AliFemtoParticleCollection*  partCollection);
-
-
 //____________________________
 AliFemtoAnalysisReactionPlane::AliFemtoAnalysisReactionPlane(unsigned int binsVertex, double minVertex, double maxVertex,
                                                       unsigned int binsMult, double minMult, double maxMult, unsigned short binsRP) 
index 9070039..7126427 100644 (file)
@@ -18,10 +18,10 @@ ClassImp(AliFemtoLikeSignAnalysis)
 //  it is called from AliFemtoSimpleAnalysis::ProcessEvent()
 
 
-extern void FillHbtParticleCollection(AliFemtoParticleCut*         partCut,
-                                    AliFemtoEvent*               hbtEvent,
-                                    AliFemtoParticleCollection*  partCollection);
-
+void FillHbtParticleCollection(AliFemtoParticleCut*         partCut,
+                              AliFemtoEvent*               hbtEvent,
+                              AliFemtoParticleCollection*  partCollection,
+                              bool performSharedDaughterCut=kFALSE);
  
 //____________________________
 AliFemtoLikeSignAnalysis::AliFemtoLikeSignAnalysis(unsigned int bins, double min, double max) : 
index 271ac4c..8887d51 100644 (file)
@@ -24,7 +24,7 @@ public:
   int NEventsPassed() const;
   int NEventsFailed() const;
   bool GetAcceptBadVertex();
-  bool GetAcceptOnlyPhysics();
+  bool GetAcceptOnlyPhysics() {return kFALSE;} // Not implemented
   void SetStMin(double stMin );
   void SetStMax(double stMax );
   void SetTriggerSelection(int trig);
index b9a6683..d868450 100644 (file)
@@ -24,7 +24,7 @@ public:
   int NEventsPassed() const;
   int NEventsFailed() const;
   bool GetAcceptBadVertex();
-  bool GetAcceptOnlyPhysics();
+  bool GetAcceptOnlyPhysics() {return kFALSE;} // Not implemented
   void SetSoMin(double soMin );
   void SetSoMax(double soMax );
   void SetTriggerSelection(int trig);
index 393719b..a459add 100644 (file)
 ClassImp(AliFemtoVertexAnalysis)
 #endif
 
-extern void FillHbtParticleCollection(AliFemtoParticleCut*         partCut,
-                                    AliFemtoEvent*               hbtEvent,
-                                    AliFemtoParticleCollection*  partCollection);
-
-
 //____________________________
 AliFemtoVertexAnalysis::AliFemtoVertexAnalysis(unsigned int bins, double min, double max):
   fVertexBins(0),
index ee9ccab..5985f6f 100644 (file)
 ClassImp(AliFemtoVertexMultAnalysis)
 #endif
 
-extern void FillHbtParticleCollection(AliFemtoParticleCut*         partCut,
-                                     AliFemtoEvent*               hbtEvent,
-                                     AliFemtoParticleCollection*  partCollection);
-
 
 //____________________________
 AliFemtoVertexMultAnalysis::AliFemtoVertexMultAnalysis(unsigned int binsVertex, double minVertex, double maxVertex,
diff --git a/PWGCF/FEMTOSCOPY/AliFemto/CMakeLists.txt b/PWGCF/FEMTOSCOPY/AliFemto/CMakeLists.txt
new file mode 100644 (file)
index 0000000..2da8e51
--- /dev/null
@@ -0,0 +1,185 @@
+# **************************************************************************
+# * 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 PWGCFfemtoscopy)
+
+# Module include folder
+include_directories(${AliRoot_SOURCE_DIR}/PWGCF/FEMTOSCOPY/AliFemto)
+
+# Additional includes - alphabetical order except ROOT
+include_directories(${ROOT_INCLUDE_DIRS}
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSIS
+                    ${AliRoot_SOURCE_DIR}/ANALYSIS/ANALYSISalice
+                    ${AliRoot_SOURCE_DIR}/STEER/AOD
+                    ${AliRoot_SOURCE_DIR}/STEER/ESD
+                    ${AliRoot_SOURCE_DIR}/STEER/STEERBase
+  )
+
+# Sources - alphabetical order
+set(SRCS
+  AliFemtoSimpleAnalysis.cxx
+  AliFemtoLikeSignAnalysis.cxx
+  AliFemtoVertexAnalysis.cxx
+  AliFemtoVertexMultAnalysis.cxx
+  AliFemtoAnalysisAzimuthal.cxx
+  AliFemtoAnalysisReactionPlane.cxx
+  AliFemtoBPLCMS3DCorrFctn.cxx
+  AliFemtoCorrFctn3DLCMSSym.cxx
+  AliFemtoQinvCorrFctn.cxx
+  AliFemtoBasicEventCut.cxx
+  AliFemtoEventCutEstimators.cxx
+  AliFemtoBasicTrackCut.cxx
+  AliFemtoDummyPairCut.cxx
+  AliFemtoCoulomb.cxx
+  AliFemtoCutMonitorHandler.cxx
+  AliFemtoEvent.cxx
+  AliFemtoKink.cxx
+  AliFemtoManager.cxx
+  AliFemtoPair.cxx
+  AliFemtoParticle.cxx
+  AliFemtoPicoEvent.cxx
+  AliFemtoPicoEventCollectionVectorHideAway.cxx
+  AliFemtoTrack.cxx
+  AliFemtoV0.cxx
+  AliFemtoXi.cxx
+  AliFmHelix.cxx
+  AliFmPhysicalHelix.cxx
+  TpcLocalTransform.cxx
+  AliFemtoEventReader.cxx
+  AliFemtoEventReaderStandard.cxx
+  AliFemtoEventReaderESD.cxx
+  AliFemtoEventReaderESDChain.cxx
+  AliFemtoEventReaderESDChainKine.cxx
+  AliFemtoModelHiddenInfo.cxx
+  AliFemtoModelGlobalHiddenInfo.cxx
+  AliFemtoModelGausLCMSFreezeOutGenerator.cxx
+  AliFemtoModelWeightGenerator.cxx
+  AliFemtoModelWeightGeneratorBasic.cxx
+  AliFemtoModelManager.cxx
+  AliFemtoModelCorrFctn.cxx
+  AliFemtoModelFreezeOutGenerator.cxx
+  AliFemtoModelWeightGeneratorLednicky.cxx
+  AliFemtoCutMonitorParticleYPt.cxx
+  AliFemtoCutMonitorParticleVertPos.cxx
+  AliFemtoCutMonitorParticlePID.cxx
+  AliFemtoCutMonitorEventMult.cxx
+  AliFemtoCutMonitorEventVertex.cxx
+  AliFemtoKTPairCut.cxx
+  AliFemtoCorrFctnNonIdDR.cxx
+  AliFemtoCorrFctn3DSpherical.cxx
+  AliFemtoEventReaderAOD.cxx
+  AliFemtoEventReaderAODChain.cxx
+  AliFemtoAODTrackCut.cxx
+  AliFemtoCutMonitor.cxx
+  AliFemtoCorrFctn.cxx
+  AliAnalysisTaskFemto.cxx
+  AliTwoTrackRes.cxx
+  AliFemtoMCTrackCut.cxx
+  AliFemtoEventReaderKinematicsChain.cxx
+  AliFemtoEventReaderKinematicsChainESD.cxx
+  AliFemtoV0PairCut.cxx
+  AliFemtoV0TrackCut.cxx
+  AliFemtoCutMonitorV0.cxx
+  AliFemtoV0TrackPairCut.cxx
+  AliFemtoCutMonitorCollections.cxx
+  AliFemtoV0SharedDaughterCut.cxx
+  AliFemtoSphericityEventCut.cxx
+  AliFemtoSpherocityEventCut.cxx
+  )
+
+# Headers from sources
+string(REPLACE ".cxx" ".h" HDRS "${SRCS}")
+
+# Additional headers
+set(HDRS ${HDRS}
+  AliFmThreeVector.h
+  AliFmThreeVectorF.h
+  AliFmThreeVectorD.h
+  AliFmPhysicalHelixD.h
+  AliFmHelixD.h
+  AliFmLorentzVectorD.h
+  AliFemtoV0Cut.h
+  AliFemtoKinkCut.h
+  AliFemtoXiCut.h
+  AliFemtoAnalysisCollection.h
+  AliFemtoAnalysis.h
+  AliFemtoCorrFctnCollection.h
+  AliFemtoEnumeration.h
+  AliFemtoHelix.h
+  AliFemtoHiddenInfo.h
+  AliFemtoLikeSignCorrFctn.h
+  AliFemtoLorentzVector.h
+  AliFemtoString.h
+  AliFemtoThreeVectorD.h
+  AliFemtoThreeVector.h
+  AliFemtoTypes.h
+  AliFemtoVector.h
+  AliFmLorentzVector.h
+  phys_constants.h
+  PhysicalConstants.h
+  SystemOfUnits.h
+  AliFemtoPairCut.h
+  AliFemtoEventCut.h
+  AliFemtoParticleCut.h
+  AliFemtoTrackCollection.h
+  AliFemtoV0Collection.h
+  AliFemtoXiCollection.h
+  AliFemtoKinkCollection.h
+  AliFemtoPicoEventCollection.h
+  AliFemtoParticleCollection.h
+  AliFemtoCutMonitorCollection.h
+  AliFemtoTrackCut.h
+  AliFemtoPicoEventCollectionVector.h
+  AliFemtoEventWriter.h
+  AliFemtoEventWriterCollection.h
+  AliFemtoMCTrackCut.h
+  AliFemtoEventReaderKinematicsChain.h
+  )
+
+set ( FSRCS
+  AliFemtoFsiTools.F
+  AliFemtoFsiWeightLednicky.F
+  )
+
+# 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 ${FSRCS})
+
+# Generate the ROOT map
+# Dependecies
+set(LIBDEPS ANALYSISalice)
+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/PWGCF/FEMTOSCOPY/CMakeLists.txt b/PWGCF/FEMTOSCOPY/CMakeLists.txt
new file mode 100644 (file)
index 0000000..35e5b18
--- /dev/null
@@ -0,0 +1,22 @@
+# **************************************************************************
+# * 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.                  *
+# **************************************************************************
+
+# Include the libraries
+add_subdirectory(AliFemto)
+# add_subdirectory(AliFemtoUser)
+
+install (DIRECTORY macros
+         DESTINATION PWGCF/FEMTOSCOPY
+         PATTERN .svn EXCLUDE)