Adding PWG4Base library
authorjgrosseo <jgrosseo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 16 Nov 2011 17:27:38 +0000 (17:27 +0000)
committerjgrosseo <jgrosseo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 16 Nov 2011 17:27:38 +0000 (17:27 +0000)
Moving AliAnalysisHelperJetTasks into that library
Moving AliAnalysisTaskLeadingTrackUE to CorrelationsDPhi

PWG4/Base/AliAnalysisHelperJetTasks.cxx [moved from PWG4/JetTasks/AliAnalysisHelperJetTasks.cxx with 99% similarity]
PWG4/Base/AliAnalysisHelperJetTasks.h [moved from PWG4/JetTasks/AliAnalysisHelperJetTasks.h with 99% similarity]
PWG4/CMakelibPWG4Base.pkg [new file with mode: 0644]
PWG4/CMakelibPWG4CorrelationsDPhi.pkg
PWG4/CMakelibPWG4JetTasks.pkg
PWG4/CorrelationsDPhi/AliAnalysisTaskLeadingTrackUE.cxx [moved from PWG4/JetTasks/AliAnalysisTaskLeadingTrackUE.cxx with 100% similarity]
PWG4/CorrelationsDPhi/AliAnalysisTaskLeadingTrackUE.h [moved from PWG4/JetTasks/AliAnalysisTaskLeadingTrackUE.h with 100% similarity]
PWG4/PWG4BaseLinkDef.h [new file with mode: 0644]
PWG4/PWG4CorrelationsDPhiLinkDef.h
PWG4/PWG4JetTasksLinkDef.h
PWG4/macros/AddTaskLeadingTrackUE.C

similarity index 99%
rename from PWG4/JetTasks/AliAnalysisHelperJetTasks.cxx
rename to PWG4/Base/AliAnalysisHelperJetTasks.cxx
index cdff2df..2d29171 100644 (file)
@@ -33,6 +33,7 @@
 #include "TString.h"
 #include "TArrayI.h"
 #include "TArrayS.h"
+#include "TArrayF.h"
 
 #include "AliMCEvent.h"
 #include "AliLog.h"
similarity index 99%
rename from PWG4/JetTasks/AliAnalysisHelperJetTasks.h
rename to PWG4/Base/AliAnalysisHelperJetTasks.h
index c90f51c..4627f57 100644 (file)
@@ -7,6 +7,7 @@ class AliAODJet;
 class AliVEvent;
 class TString;
 class TArrayI;
+class TArrayF;
 class AliGenPythiaEventHeader;
 class TVector3;
 class AliGenEventHeader;
diff --git a/PWG4/CMakelibPWG4Base.pkg b/PWG4/CMakelibPWG4Base.pkg
new file mode 100644 (file)
index 0000000..b71b776
--- /dev/null
@@ -0,0 +1,39 @@
+# -*- mode: CMake -*-
+#--------------------------------------------------------------------------------#
+# Package File for PWG4Correlations                                              #
+# 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  
+    Base/AliAnalysisHelperJetTasks.cxx 
+    )
+
+string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
+
+set ( DHDR  PWG4BaseLinkDef.h)
+
+string ( REPLACE ".cxx" ".h" EXPORT "${SRCS}" )
+
+set ( EINCLUDE ANALYSIS CORRFW PWG4/Base STEER/AOD STEER/ESD STEER/STEERBase)
index 655c539..2f2f223 100644 (file)
@@ -29,6 +29,7 @@
 set ( SRCS  
     CorrelationsDPhi/AliAnalysisTaskPhiCorrelations.cxx 
     CorrelationsDPhi/AliPhiCorrelationsQATask.cxx 
+    CorrelationsDPhi/AliAnalysisTaskLeadingTrackUE.cxx 
     )
 
 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
@@ -37,4 +38,4 @@ set ( DHDR  PWG4CorrelationsDPhiLinkDef.h)
 
 string ( REPLACE ".cxx" ".h" EXPORT "${SRCS}" )
 
-set ( EINCLUDE ANALYSIS CORRFW PWG4/CorrelationsBase PWG4/CorrelationsDPhi STEER/AOD STEER/ESD STEER/STEERBase)
+set ( EINCLUDE ANALYSIS CORRFW PWG4/CorrelationsBase PWG4/CorrelationsDPhi PWG4/Base STEER/AOD STEER/ESD STEER/STEERBase)
index d7d74f6..5a42af9 100644 (file)
@@ -32,7 +32,6 @@ set ( SRCS
     JetTasks/AliAnalyseUE.cxx 
     JetTasks/AliAnalysisTaskJetSpectrum.cxx 
     JetTasks/AliAnalysisTaskJetSpectrum2.cxx 
-    JetTasks/AliAnalysisHelperJetTasks.cxx 
     JetTasks/AliAnalysisTaskJetServices.cxx 
     JetTasks/AliAnalysisTaskPWG4PidDetEx.cxx 
     JetTasks/AliJetSpectrumUnfolding.cxx 
@@ -46,7 +45,6 @@ set ( SRCS
     JetTasks/AliAnalysisTaskJetChem.cxx 
     JetTasks/AliAnalysisTaskFragmentationFunction.cxx 
     JetTasks/AliAnalysisTaskMinijet.cxx 
-    JetTasks/AliAnalysisTaskLeadingTrackUE.cxx 
     JetTasks/AliAnalysisTaskQGSep.cxx 
     JetTasks/AliAnalysisTaskJetsTM.cxx 
     JetTasks/AliAnalysisTaskJetResponse.cxx 
@@ -60,4 +58,4 @@ set ( DHDR  PWG4JetTasksLinkDef.h)
 
 string ( REPLACE ".cxx" ".h" EXPORT "${SRCS}" )
 
-set ( EINCLUDE ANALYSIS JETAN CORRFW PWG4/JetTasks STEER/AOD STEER/ESD STEER/STEERBase)
+set ( EINCLUDE ANALYSIS JETAN CORRFW PWG4/JetTasks PWG4/Base STEER/AOD STEER/ESD STEER/STEERBase)
diff --git a/PWG4/PWG4BaseLinkDef.h b/PWG4/PWG4BaseLinkDef.h
new file mode 100644 (file)
index 0000000..11fbef0
--- /dev/null
@@ -0,0 +1,9 @@
+#ifdef __CINT__
+#pragma link off all globals;
+#pragma link off all classes;
+#pragma link off all functions;
+
+#pragma link C++ class AliAnalysisHelperJetTasks+;
+
+#endif
index 7a24652..0171030 100644 (file)
@@ -7,5 +7,6 @@
 #pragma link C++ class AliAnalysisTaskPhiCorrelations+;
 #pragma link C++ class AliDPhiBasicParticle+;
 #pragma link C++ class AliPhiCorrelationsQATask+;
+#pragma link C++ class AliAnalysisTaskLeadingTrackUE+;
 
 #endif
index 4bf88da..bc5381f 100644 (file)
@@ -11,7 +11,6 @@
 #pragma link C++ class AliAnalysisTaskJetSpectrum+;
 #pragma link C++ class AliAnalysisTaskJetSpectrum2+;
 #pragma link C++ class AliAnalysisTaskJFSystematics+;
-#pragma link C++ class AliAnalysisHelperJetTasks+;
 #pragma link C++ class AliAnalysisTaskJetCorrections+;
 #pragma link C++ class AliAnalysisTaskThreeJets+;
 #pragma link C++ class AliPWG4HighPtQATPConly+;
@@ -32,7 +31,6 @@
 #pragma link C++ class AliAnalysisTaskJetChem::AliFragFuncHistosInvMass+;
 #pragma link C++ class AliAnalysisTaskJetChem::AliFragFuncHistosPhiCorrInvMass+;
 #pragma link C++ class AliAnalysisTaskMinijet+;
-#pragma link C++ class AliAnalysisTaskLeadingTrackUE+;
 #pragma link C++ class AliAnalysisTaskJetsTM+;
 #pragma link C++ class AliAnalysisTaskQGSep+;
 #pragma link C++ class AliAnalysisTaskJetResponse+;
index ae7966e..774d143 100644 (file)
@@ -1,6 +1,6 @@
 \r
 \r
-void ConfigTaskUE(AliAnalysisTaskUE * ueana );          // common config, extend with different cases\r
+void ConfigTaskUE(AliAnalysisTaskLeadingTrackUE * ueana );          // common config, extend with different cases\r
 \r
 AliAnalysisTaskLeadingTrackUE *AddTaskLeadingTrackUE(Int_t analysisMode = 0)\r
 {\r