Separate libraries for MUONdep and MUONlite
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 31 Jan 2012 16:42:25 +0000 (16:42 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 31 Jan 2012 16:42:25 +0000 (16:42 +0000)
PWGPP/CMakelibPWGPP.pkg
PWGPP/CMakelibPWGPPMUONdep.pkg [new file with mode: 0644]
PWGPP/CMakelibPWGPPMUONlite.pkg [new file with mode: 0644]
PWGPP/MUON/dep/AliAnalysisTaskMuonPerformance.h
PWGPP/MUON/lite/AliAnalysisTaskMuonQA.cxx
PWGPP/MUON/lite/AliAnalysisTaskMuonQA.h
PWGPP/PWGPPLinkDef.h
PWGPP/PWGPPMUONdepLinkDef.h [new file with mode: 0644]
PWGPP/PWGPPMUONliteLinkDef.h [new file with mode: 0644]

index 3c5adf7..c4d6b73 100644 (file)
@@ -42,8 +42,6 @@ file ( GLOB SRCS12 "Centrality/*.cxx" )
 file ( GLOB SRCS13 "ZDC/*.cxx" )
 file ( GLOB SRCS14 "T0/*.cxx" )
 file ( GLOB SRCS15 "VZERO/*PbPb.cxx" )
-file ( GLOB SRCS16 "MUON/dep/*.cxx" )
-file ( GLOB SRCS17 "MUON/lite/*.cxx" )
 
 list ( APPEND SRCS 
   ${SRCS1} 
@@ -61,8 +59,6 @@ list ( APPEND SRCS
   ${SRCS13} 
   ${SRCS14}
   ${SRCS15}
-  ${SRCS16}
-  ${SRCS17}
   )
 
 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
@@ -70,8 +66,6 @@ string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
 set ( DHDR  PWGPPLinkDef.h)
 
 set ( EINCLUDE
-  MUON
-  MUON/mapping
   TPC 
   ITS 
   TRD 
@@ -94,7 +88,6 @@ set ( EINCLUDE
   PWGPP/ZDC 
   PWGPP/T0 
   PWGPP/VZERO 
-  PWGPP/MUON/dep 
   STEER/STEER 
   STEER/AOD 
   STEER/CDB 
diff --git a/PWGPP/CMakelibPWGPPMUONdep.pkg b/PWGPP/CMakelibPWGPPMUONdep.pkg
new file mode 100644 (file)
index 0000000..6eb7a4a
--- /dev/null
@@ -0,0 +1,49 @@
+# -*- mode: CMake -*-
+
+#--------------------------------------------------------------------------------#
+# Package File for PWGPP                                                          #
+# 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)           #
+#--------------------------------------------------------------------------------#
+
+file ( GLOB SRCS16 "MUON/dep/*.cxx" )
+
+list ( APPEND SRCS 
+  ${SRCS16}
+  )
+
+string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
+
+set ( DHDR  PWGPPMUONdepLinkDef.h)
+
+set ( EINCLUDE
+  MUON
+  MUON/mapping
+  PWGPP/MUON/dep 
+  ANALYSIS
+  ANALYSISalice
+  STEER/AOD
+  STEER/ESD
+  STEER/STEERBase
+  )
diff --git a/PWGPP/CMakelibPWGPPMUONlite.pkg b/PWGPP/CMakelibPWGPPMUONlite.pkg
new file mode 100644 (file)
index 0000000..066bc91
--- /dev/null
@@ -0,0 +1,48 @@
+# -*- mode: CMake -*-
+
+#--------------------------------------------------------------------------------#
+# Package File for PWGPPMUONlite                                                 #
+# 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)           #
+#--------------------------------------------------------------------------------#
+
+file ( GLOB SRCS17 "MUON/lite/*.cxx" )
+
+list ( APPEND SRCS 
+  ${SRCS17}
+  )
+
+string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
+
+set ( DHDR  PWGPPMUONliteLinkDef.h)
+
+set ( EINCLUDE
+  MUON
+  PWGPP/MUON/lite
+  ANALYSIS
+  ANALYSISalice
+  STEER/AOD
+  STEER/ESD
+  STEER/STEERBase
+  )
index 76679a3..21fee8d 100644 (file)
@@ -15,6 +15,7 @@ class TObjArray;
 class TH1;
 class TH2;
 class TGraphAsymmErrors;
+class TGraphErrors;
 class TCanvas;
 class AliMUONRecoParam;
 class AliCFContainer;
index 85e155a..fccdbd4 100644 (file)
@@ -39,7 +39,6 @@
 #include "AliESDVZERO.h"
 
 // ANALYSIS includes
-#include "AliAnalysisTaskSE.h"
 #include "AliAnalysisDataSlot.h"
 #include "AliAnalysisManager.h"
 #include "AliAnalysisTaskMuonQA.h"
index 94b4a78..7cf3737 100644 (file)
@@ -10,6 +10,8 @@
 /// \brief Quality assurance of MUON ESDs
 //Author: Philippe Pillot - SUBATECH Nantes
 
+#include "AliAnalysisTaskSE.h"
+
 class TMap;
 class TList;
 class TObjArray;
index ea8abfc..2e43059 100644 (file)
 #pragma link C++ class  AliAnalysisTaskGlobalQA+;
 #pragma link C++ class  AliGlobalFBFqa+;
 
-// MUON/dep
-#pragma link C++ class AliAnalysisTaskMuonTrackingEff+;
-#pragma link C++ class AliAnalysisTaskMuonResolution+;
-#pragma link C++ class AliAnalysisTaskMuonFakes+;
-#pragma link C++ class AliAnalysisTaskMuonPerformance+;
-
-// MUON/lite
-#pragma link C++ class AliAnalysisTaskTrigChEff+;
-#pragma link C++ class AliAnalysisTaskMuonQA+;
-
 #endif
diff --git a/PWGPP/PWGPPMUONdepLinkDef.h b/PWGPP/PWGPPMUONdepLinkDef.h
new file mode 100644 (file)
index 0000000..5008f25
--- /dev/null
@@ -0,0 +1,13 @@
+#ifdef __CINT__
+
+#pragma link off all glols;
+#pragma link off all classes;
+#pragma link off all functions;
+
+// MUON/dep
+#pragma link C++ class AliAnalysisTaskMuonTrackingEff+;
+#pragma link C++ class AliAnalysisTaskMuonResolution+;
+#pragma link C++ class AliAnalysisTaskMuonFakes+;
+#pragma link C++ class AliAnalysisTaskMuonPerformance+;
+
+#endif
diff --git a/PWGPP/PWGPPMUONliteLinkDef.h b/PWGPP/PWGPPMUONliteLinkDef.h
new file mode 100644 (file)
index 0000000..efb0724
--- /dev/null
@@ -0,0 +1,11 @@
+#ifdef __CINT__
+
+#pragma link off all glols;
+#pragma link off all classes;
+#pragma link off all functions;
+
+// MUON/lite
+#pragma link C++ class AliAnalysisTaskTrigChEff+;
+#pragma link C++ class AliAnalysisTaskMuonQA+;
+
+#endif