add a library for pid code
authorfnoferin <fnoferin@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 12 Jul 2013 14:38:59 +0000 (14:38 +0000)
committerfnoferin <fnoferin@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 12 Jul 2013 14:38:59 +0000 (14:38 +0000)
PWGPP/CMakelibPWGPPpid.pkg [new file with mode: 0644]
PWGPP/Makefile
PWGPP/PWGPPpidLinkDef.h [new file with mode: 0644]

diff --git a/PWGPP/CMakelibPWGPPpid.pkg b/PWGPP/CMakelibPWGPPpid.pkg
new file mode 100644 (file)
index 0000000..77b4da5
--- /dev/null
@@ -0,0 +1,41 @@
+# -*- mode: CMake -*-
+#--------------------------------------------------------------------------------#
+# Package File for PWGPPpid                                                      #
+# Author : Francesco Noferini (fnoferin@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)           #
+#--------------------------------------------------------------------------------#
+file ( GLOB SRCS16 "pid/*.cxx" )
+
+list ( APPEND SRCS 
+  ${SRCS16}
+  )
+
+
+string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
+
+set ( DHDR PWGPPpidLinkDef.h)
+
+set ( EXPORT )
+
+set ( EINCLUDE  STEER/STEER STEER/STEERBase STEER/AOD STEER/ESD)
index a301f6d..49b19f2 100644 (file)
@@ -18,6 +18,10 @@ ifneq ($(PWGPPevchar_INCLUDE),)
    ALICEINC += -I../$(PWGPPevchar_INCLUDE) 
 endif
 
+ifneq ($(PWGPPpid_INCLUDE),)
+   ALICEINC += -I../$(PWGPPpid_INCLUDE)
+endif
+
 # only if no par file was loaded before
 #ifeq ($(ALICEINC),-I.)
   ifneq ($(ALICE_ROOT),)
diff --git a/PWGPP/PWGPPpidLinkDef.h b/PWGPP/PWGPPpidLinkDef.h
new file mode 100644 (file)
index 0000000..7ca2b73
--- /dev/null
@@ -0,0 +1,12 @@
+#ifdef __CINT__
+
+#pragma link off all glols;
+#pragma link off all classes;
+#pragma link off all functions;
+
+// pid
+#pragma link C++ class AliPIDperfContainer+;
+#pragma link C++ class AliAnalysisTaskK0sBayes+;
+#pragma link C++ class AliAnalysisTaskLambdaBayes+;
+#pragma link C++ class AliAnalysisTaskPhiBayes+;
+#endif