Adding task to libraries
authorcoppedis <coppedis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 26 Apr 2012 13:15:55 +0000 (13:15 +0000)
committercoppedis <coppedis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 26 Apr 2012 13:15:55 +0000 (13:15 +0000)
PWGLF/CMakelibPWGLFforward2.pkg
PWGLF/FORWARD/macros/AddTaskZDCPbPb.C
PWGLF/PWGLFforward2LinkDef.h

index 555da6c..07bd6dc 100644 (file)
@@ -73,18 +73,20 @@ set ( SRCS
   FORWARD/analysis2/AliForwardQATask.cxx
   FORWARD/analysis2/AliCopyHeaderTask.cxx
   FORWARD/analysis2/AliDisplacedVertexSelection.cxx
+  FORWARD/GEO/AliAnalysisTaskZDCPbPb.cxx
 )
 
 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
 set ( HDRS ${HDRS} FORWARD/analysis2/AliFMDStripIndex.h )
 
-set ( EINCLUDE  ANALYSIS PWGLF/FORWARD/analysis2 PWG0 STEER/ESD STEER/STEERBase)
+set ( EINCLUDE  ANALYSIS PWGLF/FORWARD/analysis2  PWGLF/FORWARD/GEO PWG0 STEER/ESD STEER/STEERBase)
 
 set ( EXPORT FORWARD/analysis2/AliAODForwardMult.h 
              FORWARD/analysis2/AliAODCentralMult.h 
              FORWARD/analysis2/AliForwardUtil.h  
             FORWARD/analysis2/AliFMDEventInspector.h
-            FORWARD/analysis2/AliFMDMCEventInspector.h)
+            FORWARD/analysis2/AliFMDMCEventInspector.h
+            FORWARD/GEO/AliAnalysisTaskZDCPbPb.h)
 
 set ( DHDR  PWGLFforward2LinkDef.h)
 
index 34cd51b..8cbb770 100644 (file)
@@ -26,7 +26,6 @@ AliAnalysisTaskSE* AddTaskZDCPbPb(Bool_t  applyPS = kFALSE,
   
    // Configure analysis
    //===========================================================================
-   gROOT->LoadMacro("AliAnalysisTaskZDCPbPb.cxx++g");   
    AliAnalysisTaskZDCPbPb* task = new AliAnalysisTaskZDCPbPb("taskZDCPbPb");
 
    if(inputDataType.CompareTo("ESD")==0){
index b3b20fb..2df0077 100644 (file)
 #pragma link C++ class AliForwardQATask+;
 #pragma link C++ class AliCopyHeaderTask+;
 #pragma link C++ class AliDisplacedVertexSelection+;
+
+#pragma link C++ class AliAnalysisTaskZDCPbPb+;
+
+
 #else
 # error Not for compilation 
 #endif