o First Version of TRDnSigma implementation (Xianguo) o still requires some catching...
[u/mrichter/AliRoot.git] / PWGJE / CMakelibPWGJE.pkg
index 789f826..2fb3e4e 100644 (file)
@@ -30,7 +30,6 @@ set ( SRCS
     AliAnaChargedJetResponseMaker.cxx
     AliAnalysisTaskAj.cxx
     AliAnalysisTaskFragmentationFunction.cxx
-    AliAnalysisTaskJetChem.cxx 
     AliAnalysisTaskJetCore.cxx         
     AliAnalysisTaskJetCorePP.cxx       
     AliAnalysisTaskJetProperties.cxx
@@ -53,19 +52,19 @@ set ( SRCS
     UserTasks/AliAnalysisTaskIDFragmentationFunction.cxx
     UserTasks/AliAnalysisTaskIDFFTCF.cxx
     UserTasks/AliIDFFUtils.cxx
-    )
-
-set(FASTJET_ROOT $ENV{FASTJET_ROOT})
+    UserTasks/AliAnalysisTaskPPJetSpectra.cxx
+    UserTasks/AliAnalysisTaskJetAntenna.cxx
+  )
 
 # Add code that needs fastjet or FJWrapper here 
-if (FASTJET_ROOT)
+if (FASTJET_FOUND)
   LIST(APPEND  SRCS
     UserTasks/AliAnalysisTaskCheckSingleTrackJetRejection.cxx 
     UserTasks/AliAnalysisTaskJetHadronCorrelation.cxx
     UserTasks/AliAnalysisTaskJetHBOM.cxx
   )
-  set ( CINTFLAGS ${CINTFLAGS} -DHAVE_FASTJET)
-endif(FASTJET_ROOT)
+  set ( CINTFLAGS ${CINTFLAGS} ${FASTJET_DEFINITIONS})
+endif(FASTJET_FOUND)
 
 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
 
@@ -73,13 +72,11 @@ set ( DHDR  PWGJELinkDef.h)
 
 string ( REPLACE ".cxx" ".h" EXPORT "${SRCS}" )
 
-if(FASTJET_ROOT)
-  set (FASTJET_INC ${FASTJET_ROOT}/include)
-  set ( EINCLUDE ${FASTJET_INC} ANALYSIS JETAN CORRFW PWGJE PWG/Tools PWGCF/Correlations/Base STEER/AOD STEER/ESD STEER/STEERBase)
+set ( EINCLUDE ANALYSIS JETAN CORRFW PWGJE PWG/Tools PWG/FLOW/Tasks PWG/TRD PWGCF/Correlations/Base STEER/AOD STEER/ESD STEER/STEERBase STEER/CDB STEER/STEER)
+if(FASTJET_FOUND)
+  set ( EINCLUDE ${FASTJET_INCLUDE_DIR} PWGCF/Correlations PWGCF/Correlations/DPhi ${EINCLUDE})
   set ( HDRS ${HDRS}  EMCALJetTasks/FJ_includes.h  )
-else()
-  set ( EINCLUDE ANALYSIS JETAN CORRFW PWGJE PWG/Tools PWGCF/Correlations/Base STEER/AOD STEER/ESD STEER/STEERBase)
-endif(FASTJET_ROOT)
+endif(FASTJET_FOUND)
 
 
 install (DIRECTORY macros