New structure of PWG3: PWG3base, PWG3muon, PWG3vertexingHF and PWG3vertexingOld ...
authormartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 30 Apr 2008 07:40:01 +0000 (07:40 +0000)
committermartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 30 Apr 2008 07:40:01 +0000 (07:40 +0000)
85 files changed:
PWG3/Makefile
PWG3/PROOF-INF.PWG3/BUILD.sh [new file with mode: 0755]
PWG3/PROOF-INF.PWG3/SETUP.C [new file with mode: 0644]
PWG3/PROOF-INF.PWG3base/SETUP.C
PWG3/PROOF-INF.PWG3muon/BUILD.sh [new file with mode: 0755]
PWG3/PROOF-INF.PWG3muon/SETUP.C [new file with mode: 0644]
PWG3/PROOF-INF.PWG3vertexingHF/BUILD.sh [new file with mode: 0755]
PWG3/PROOF-INF.PWG3vertexingHF/SETUP.C [new file with mode: 0644]
PWG3/PROOF-INF.PWG3vertexingOld/BUILD.sh [new file with mode: 0755]
PWG3/PROOF-INF.PWG3vertexingOld/SETUP.C [new file with mode: 0644]
PWG3/PWG3LinkDef.h
PWG3/PWG3baseLinkDef.h
PWG3/PWG3muonLinkDef.h [new file with mode: 0644]
PWG3/PWG3vertexingHFLinkDef.h [new file with mode: 0644]
PWG3/PWG3vertexingOldLinkDef.h [new file with mode: 0644]
PWG3/base/AliQuarkoniaAcceptance.cxx [moved from PWG3/AliQuarkoniaAcceptance.cxx with 100% similarity]
PWG3/base/AliQuarkoniaAcceptance.h [moved from PWG3/AliQuarkoniaAcceptance.h with 100% similarity]
PWG3/base/AliQuarkoniaEfficiency.cxx [moved from PWG3/AliQuarkoniaEfficiency.cxx with 100% similarity]
PWG3/base/AliQuarkoniaEfficiency.h [moved from PWG3/AliQuarkoniaEfficiency.h with 100% similarity]
PWG3/base/QuarkoniaAcceptance.root [moved from PWG3/QuarkoniaAcceptance.root with 100% similarity]
PWG3/base/QuarkoniaEfficiency.C [moved from PWG3/QuarkoniaEfficiency.C with 100% similarity]
PWG3/base/QuarkoniaEfficiency.root [moved from PWG3/QuarkoniaEfficiency.root with 100% similarity]
PWG3/libPWG3.pkg
PWG3/libPWG3base.pkg
PWG3/libPWG3muon.pkg [new file with mode: 0644]
PWG3/libPWG3vertexingHF.pkg [new file with mode: 0644]
PWG3/libPWG3vertexingOld.pkg [new file with mode: 0644]
PWG3/muon/AliAODDimuon.cxx [moved from PWG3/AliAODDimuon.cxx with 100% similarity]
PWG3/muon/AliAODDimuon.h [moved from PWG3/AliAODDimuon.h with 100% similarity]
PWG3/muon/AliAODEventInfo.cxx [moved from PWG3/AliAODEventInfo.cxx with 100% similarity]
PWG3/muon/AliAODEventInfo.h [moved from PWG3/AliAODEventInfo.h with 100% similarity]
PWG3/muon/AliAnalysisTaskESDMuonFilter.cxx [moved from PWG3/AliAnalysisTaskESDMuonFilter.cxx with 100% similarity]
PWG3/muon/AliAnalysisTaskESDMuonFilter.h [moved from PWG3/AliAnalysisTaskESDMuonFilter.h with 100% similarity]
PWG3/muon/AliAnalysisTaskLUT.cxx [moved from PWG3/AliAnalysisTaskLUT.cxx with 100% similarity]
PWG3/muon/AliAnalysisTaskLUT.h [moved from PWG3/AliAnalysisTaskLUT.h with 100% similarity]
PWG3/muon/AliAnalysisTaskMuonAODfromGeneral.cxx [moved from PWG3/AliAnalysisTaskMuonAODfromGeneral.cxx with 100% similarity]
PWG3/muon/AliAnalysisTaskMuonAODfromGeneral.h [moved from PWG3/AliAnalysisTaskMuonAODfromGeneral.h with 100% similarity]
PWG3/muon/AliAnalysisTaskSingleMu.cxx [moved from PWG3/AliAnalysisTaskSingleMu.cxx with 100% similarity]
PWG3/muon/AliAnalysisTaskSingleMu.h [moved from PWG3/AliAnalysisTaskSingleMu.h with 100% similarity]
PWG3/muon/AliPWG3TrackExtrapInterface.cxx [moved from PWG3/AliPWG3TrackExtrapInterface.cxx with 100% similarity]
PWG3/muon/AliPWG3TrackExtrapInterface.h [moved from PWG3/AliPWG3TrackExtrapInterface.h with 100% similarity]
PWG3/muon/ReadSpecAOD.C [moved from PWG3/ReadSpecAOD.C with 100% similarity]
PWG3/muon/RunAODGeneration.C [moved from PWG3/RunAODGeneration.C with 100% similarity]
PWG3/muon/RunAnalysis.C [moved from PWG3/RunAnalysis.C with 100% similarity]
PWG3/muon/RunESDMuonFilter.C [moved from PWG3/RunESDMuonFilter.C with 100% similarity]
PWG3/muon/RunMuonAODfromGeneral.C [moved from PWG3/RunMuonAODfromGeneral.C with 100% similarity]
PWG3/muon/RunSingleMuonAnalysisFromAOD.C [moved from PWG3/RunSingleMuonAnalysisFromAOD.C with 100% similarity]
PWG3/muon/analysisTaskLUTNT.C [moved from PWG3/analysisTaskLUTNT.C with 100% similarity]
PWG3/muon/createLUTNT.jdl [moved from PWG3/createLUTNT.jdl with 100% similarity]
PWG3/muon/rootlutnt.sh [moved from PWG3/rootlutnt.sh with 100% similarity]
PWG3/muon/runCreateLUTNT.C [moved from PWG3/runCreateLUTNT.C with 100% similarity]
PWG3/vertexingHF/AliAODRecoDecayHF.cxx [moved from PWG3/AliAODRecoDecayHF.cxx with 100% similarity]
PWG3/vertexingHF/AliAODRecoDecayHF.h [moved from PWG3/AliAODRecoDecayHF.h with 100% similarity]
PWG3/vertexingHF/AliAODRecoDecayHF2Prong.cxx [moved from PWG3/AliAODRecoDecayHF2Prong.cxx with 100% similarity]
PWG3/vertexingHF/AliAODRecoDecayHF2Prong.h [moved from PWG3/AliAODRecoDecayHF2Prong.h with 100% similarity]
PWG3/vertexingHF/AliAODRecoDecayHF3Prong.cxx [moved from PWG3/AliAODRecoDecayHF3Prong.cxx with 100% similarity]
PWG3/vertexingHF/AliAODRecoDecayHF3Prong.h [moved from PWG3/AliAODRecoDecayHF3Prong.h with 100% similarity]
PWG3/vertexingHF/AliAODRecoDecayHF4Prong.cxx [moved from PWG3/AliAODRecoDecayHF4Prong.cxx with 100% similarity]
PWG3/vertexingHF/AliAODRecoDecayHF4Prong.h [moved from PWG3/AliAODRecoDecayHF4Prong.h with 100% similarity]
PWG3/vertexingHF/AliAnalysisTaskSESelectHF.cxx [moved from PWG3/AliAnalysisTaskSESelectHF.cxx with 100% similarity]
PWG3/vertexingHF/AliAnalysisTaskSESelectHF.h [moved from PWG3/AliAnalysisTaskSESelectHF.h with 100% similarity]
PWG3/vertexingHF/AliAnalysisTaskSESelectHFTest.C [moved from PWG3/AliAnalysisTaskSESelectHFTest.C with 100% similarity]
PWG3/vertexingHF/AliAnalysisTaskSEVertexingHF.cxx [moved from PWG3/AliAnalysisTaskSEVertexingHF.cxx with 100% similarity]
PWG3/vertexingHF/AliAnalysisTaskSEVertexingHF.h [moved from PWG3/AliAnalysisTaskSEVertexingHF.h with 100% similarity]
PWG3/vertexingHF/AliAnalysisTaskSEVertexingHFTest.C [moved from PWG3/AliAnalysisTaskSEVertexingHFTest.C with 100% similarity]
PWG3/vertexingHF/AliAnalysisTaskVertexingHF.cxx [moved from PWG3/AliAnalysisTaskVertexingHF.cxx with 100% similarity]
PWG3/vertexingHF/AliAnalysisTaskVertexingHF.h [moved from PWG3/AliAnalysisTaskVertexingHF.h with 100% similarity]
PWG3/vertexingHF/AliAnalysisTaskVertexingHFTest.C [moved from PWG3/AliAnalysisTaskVertexingHFTest.C with 100% similarity]
PWG3/vertexingHF/AliAnalysisVertexingHF.cxx [moved from PWG3/AliAnalysisVertexingHF.cxx with 100% similarity]
PWG3/vertexingHF/AliAnalysisVertexingHF.h [moved from PWG3/AliAnalysisVertexingHF.h with 100% similarity]
PWG3/vertexingHF/AliAnalysisVertexingHFTest.C [moved from PWG3/AliAnalysisVertexingHFTest.C with 100% similarity]
PWG3/vertexingHF/ConfigVertexingHF.C [moved from PWG3/ConfigVertexingHF.C with 100% similarity]
PWG3/vertexingHF/ReadAODVertexingHF.C [moved from PWG3/ReadAODVertexingHF.C with 100% similarity]
PWG3/vertexingOld/AliBtoJPSItoEle.cxx [moved from PWG3/AliBtoJPSItoEle.cxx with 100% similarity]
PWG3/vertexingOld/AliBtoJPSItoEle.h [moved from PWG3/AliBtoJPSItoEle.h with 100% similarity]
PWG3/vertexingOld/AliBtoJPSItoEleAnalysis.cxx [moved from PWG3/AliBtoJPSItoEleAnalysis.cxx with 100% similarity]
PWG3/vertexingOld/AliBtoJPSItoEleAnalysis.h [moved from PWG3/AliBtoJPSItoEleAnalysis.h with 100% similarity]
PWG3/vertexingOld/AliBtoJPSItoEleReco_all.C [moved from PWG3/AliBtoJPSItoEleReco_all.C with 100% similarity]
PWG3/vertexingOld/AliD0toKpi.cxx [moved from PWG3/AliD0toKpi.cxx with 100% similarity]
PWG3/vertexingOld/AliD0toKpi.h [moved from PWG3/AliD0toKpi.h with 100% similarity]
PWG3/vertexingOld/AliD0toKpiAnalysis.cxx [moved from PWG3/AliD0toKpiAnalysis.cxx with 100% similarity]
PWG3/vertexingOld/AliD0toKpiAnalysis.h [moved from PWG3/AliD0toKpiAnalysis.h with 100% similarity]
PWG3/vertexingOld/AliD0toKpiPlots.C [moved from PWG3/AliD0toKpiPlots.C with 100% similarity]
PWG3/vertexingOld/AliD0toKpiTest.C [moved from PWG3/AliD0toKpiTest.C with 100% similarity]
PWG3/vertexingOld/AliPrimJPSItoEleReco_all.C [moved from PWG3/AliPrimJPSItoEleReco_all.C with 100% similarity]

index ad98b9d..8f0e4db 100644 (file)
@@ -2,7 +2,7 @@
 
 include $(ROOTSYS)/test/Makefile.arch
 
-default-target: libPWG3base.so 
+default-target: libPWG3base.so libPWG3muon libPWG3vertexingHF.so libPWG3vertexingOld.so 
 
 ALICEINC      = -I.
 
@@ -30,17 +30,17 @@ endif
 
 CXXFLAGS     += $(ALICEINC) -g
 
-PACKAGE = PWG3base
+PACKAGE = PWG3
 include lib$(PACKAGE).pkg
 
-DHDR_PWG3base := $(DHDR)
-HDRS_PWG3base := $(HDRS)
-SRCS_PWG3base := $(SRCS) G__$(PACKAGE).cxx
-OBJS_PWG3base := $(SRCS_PWG3base:.cxx=.o)
+DHDR_PWG3 := $(DHDR)
+HDRS_PWG3 := $(HDRS)
+SRCS_PWG3 := $(SRCS) G__$(PACKAGE).cxx
+OBJS_PWG3 := $(SRCS_PWG3:.cxx=.o)
 
 PARFILE       = $(PACKAGE).par
 
-lib$(PACKAGE).so: $(OBJS_PWG3base)
+lib$(PACKAGE).so: $(OBJS_PWG3)
        @echo "Linking" $@ ...
        @/bin/rm -f $@
 ifeq ($(ARCH),macosx)
@@ -54,16 +54,16 @@ endif
 %.o:    %.cxx %.h
        $(CXX) $(CXXFLAGS) -c $< -o $@
 
-G__PWG3base.cxx G__PWG3base.h: $(HDRS_PWG3base) $(DHDR_PWG3base)
+G__PWG3.cxx G__PWG3.h: $(HDRS_PWG3) $(DHDR_PWG3)
        @echo "Generating dictionary ..."
        rootcint -f $@ -c $(ALICEINC) $^
 
 clean:
-       @rm -f $(OBJS_PWG3base)  *.so G__PWG3base.*  $(PARFILE)
+       @rm -f $(OBJS_PWG3)  *.so G__PWG3.*  $(PARFILE)
 
 ### CREATE PAR FILE
 
-$(PARFILE): $(patsubst %,$(PACKAGE)/%,$(filter-out G__%, $(HDRS_PWG3base) $(SRCS_PWG3base) $(DHDR_PWG3base) Makefile Makefile.arch lib$(PACKAGE).pkg PROOF-INF))
+$(PARFILE): $(patsubst %,$(PACKAGE)/%,$(filter-out G__%, $(HDRS_PWG3) $(SRCS_PWG3) $(DHDR_PWG3) Makefile Makefile.arch lib$(PACKAGE).pkg PROOF-INF))
        @echo "Creating archive" $@ ...
        @tar cfzh $@ $(PACKAGE)
        @rm -rf $(PACKAGE)
@@ -96,3 +96,95 @@ test-%.par: %.par
        @rm -rf par-tmp
        @echo "INFO: Testing succeeded (already cleaned up)"
 
+## libPWG3base part
+##include libPWG3base.pkg
+
+DHDR_PWG3base := $(DHDR)
+HDRS_PWG3base := $(HDRS)
+SRCS_PWG3base := $(SRCS) G__PWG3base.cxx
+OBJS_PWG3base := $(SRCS_PWG3base:.cxx=.o)
+
+libPWG3base.so: $(OBJS_PWG3base)
+       @echo "Linking" $@ ...
+       @/bin/rm -f $@
+ifeq ($(ARCH),macosx)
+       @$(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ -o $@
+else
+       @$(LD) $(SOFLAGS) $(LDFLAGS) $^ -o $@
+endif
+       @chmod a+x $@
+       @echo "done"
+
+G__PWG3base.cxx G__PWG3base.h: $(HDRS_PWG3base) $(DHDR_PWG3base)
+       @echo "Generating dictionary ..."
+       rootcint -f $@ -c $(ALICEINC) $^
+
+
+## libPWG3muon part
+##include libPWG3muon.pkg
+
+DHDR_PWG3muon := $(DHDR)
+HDRS_PWG3muon := $(HDRS)
+SRCS_PWG3muon := $(SRCS) G__PWG3muon.cxx
+OBJS_PWG3muon := $(SRCS_PWG3muon:.cxx=.o)
+
+libPWG3muon.so: $(OBJS_PWG3muon)
+       @echo "Linking" $@ ...
+       @/bin/rm -f $@
+ifeq ($(ARCH),macosx)
+       @$(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ -o $@
+else
+       @$(LD) $(SOFLAGS) $(LDFLAGS) $^ -o $@
+endif
+       @chmod a+x $@
+       @echo "done"
+
+G__PWG3muon.cxx G__PWG3muon.h: $(HDRS_PWG3muon) $(DHDR_PWG3muon)
+       @echo "Generating dictionary ..."
+       rootcint -f $@ -c $(ALICEINC) $^
+
+## libPWG3vertexingHF part
+##include libPWG3vertexingHF.pkg
+
+DHDR_PWG3vertexingHF := $(DHDR)
+HDRS_PWG3vertexingHF := $(HDRS)
+SRCS_PWG3vertexingHF := $(SRCS) G__PWG3vertexingHF.cxx
+OBJS_PWG3vertexingHF := $(SRCS_PWG3vertexingHF:.cxx=.o)
+
+libPWG3vertexingHF.so: $(OBJS_PWG3vertexingHF)
+       @echo "Linking" $@ ...
+       @/bin/rm -f $@
+ifeq ($(ARCH),macosx)
+       @$(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ -o $@
+else
+       @$(LD) $(SOFLAGS) $(LDFLAGS) $^ -o $@
+endif
+       @chmod a+x $@
+       @echo "done"
+
+G__PWG3vertexingHF.cxx G__PWG3vertexingHF.h: $(HDRS_PWG3vertexingHF) $(DHDR_PWG3vertexingHF)
+       @echo "Generating dictionary ..."
+       rootcint -f $@ -c $(ALICEINC) $^
+
+## libPWG3vertexingOld part
+##include libPWG3vertexingOld.pkg
+
+DHDR_PWG3vertexingOld := $(DHDR)
+HDRS_PWG3vertexingOld := $(HDRS)
+SRCS_PWG3vertexingOld := $(SRCS) G__PWG3vertexingOld.cxx
+OBJS_PWG3vertexingOld := $(SRCS_PWG3vertexingOld:.cxx=.o)
+
+libPWG3vertexingOld.so: $(OBJS_PWG3vertexingOld)
+       @echo "Linking" $@ ...
+       @/bin/rm -f $@
+ifeq ($(ARCH),macosx)
+       @$(LD) -bundle -undefined $(UNDEFOPT) $(LDFLAGS) $^ -o $@
+else
+       @$(LD) $(SOFLAGS) $(LDFLAGS) $^ -o $@
+endif
+       @chmod a+x $@
+       @echo "done"
+
+G__PWG3vertexingOld.cxx G__PWG3vertexingOld.h: $(HDRS_PWG3vertexingOld) $(DHDR_PWG3vertexingOld)
+       @echo "Generating dictionary ..."
+       rootcint -f $@ -c $(ALICEINC) $^
diff --git a/PWG3/PROOF-INF.PWG3/BUILD.sh b/PWG3/PROOF-INF.PWG3/BUILD.sh
new file mode 100755 (executable)
index 0000000..e6311b3
--- /dev/null
@@ -0,0 +1,6 @@
+#! /bin/sh
+
+make libPWG3base.so
+make libPWG3muon.so
+make libPWG3vertexingHF.so
+make libPWG3vertexingOld.so
\ No newline at end of file
diff --git a/PWG3/PROOF-INF.PWG3/SETUP.C b/PWG3/PROOF-INF.PWG3/SETUP.C
new file mode 100644 (file)
index 0000000..df28eda
--- /dev/null
@@ -0,0 +1,32 @@
+void SETUP()
+{
+    // Load some ROOT libraries
+    CheckLoadLibrary("libTree");
+    CheckLoadLibrary("libGeom");
+    CheckLoadLibrary("libVMC");
+
+    // Load the ESD library
+    CheckLoadLibrary("libANALYSIS");
+    CheckLoadLibrary("libSTEERBase");
+    CheckLoadLibrary("libESD");
+    CheckLoadLibrary("libAOD");
+    CheckLoadLibrary("libANALYSISalice");
+    CheckLoadLibrary("libPWG3");
+
+
+   // Set the include paths
+   gROOT->ProcessLine(".include PWG3");
+
+   // Set our location, so that other packages can find us
+   gSystem->Setenv("PWG3_INCLUDE", "PWG3");
+}
+
+Int_t CheckLoadLibrary(const char* library)
+{
+  // checks if a library is already loaded, if not loads the library
+
+  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+    return 1;
+
+  return gSystem->Load(library);
+}
index 7bbafc6..405a2da 100644 (file)
@@ -1,7 +1,6 @@
 void SETUP()
 {
     // Load some ROOT libraries
-    CheckLoadLibrary("libEG");
     CheckLoadLibrary("libTree");
     CheckLoadLibrary("libGeom");
     CheckLoadLibrary("libVMC");
@@ -11,6 +10,7 @@ void SETUP()
     CheckLoadLibrary("libSTEERBase");
     CheckLoadLibrary("libESD");
     CheckLoadLibrary("libAOD");
+    CheckLoadLibrary("libANALYSISalice");
     CheckLoadLibrary("libPWG3base");
 
 
diff --git a/PWG3/PROOF-INF.PWG3muon/BUILD.sh b/PWG3/PROOF-INF.PWG3muon/BUILD.sh
new file mode 100755 (executable)
index 0000000..7335ddf
--- /dev/null
@@ -0,0 +1,2 @@
+#! /bin/sh
+make libPWG3muon.so
diff --git a/PWG3/PROOF-INF.PWG3muon/SETUP.C b/PWG3/PROOF-INF.PWG3muon/SETUP.C
new file mode 100644 (file)
index 0000000..9633c92
--- /dev/null
@@ -0,0 +1,32 @@
+void SETUP()
+{
+    // Load some ROOT libraries
+    CheckLoadLibrary("libTree");
+    CheckLoadLibrary("libGeom");
+    CheckLoadLibrary("libVMC");
+
+    // Load the ESD library
+    CheckLoadLibrary("libANALYSIS");
+    CheckLoadLibrary("libSTEERBase");
+    CheckLoadLibrary("libESD");
+    CheckLoadLibrary("libAOD");
+    CheckLoadLibrary("libANALYSISalice");
+    CheckLoadLibrary("libPWG3muon");
+
+
+   // Set the include paths
+   gROOT->ProcessLine(".include PWG3muon");
+
+   // Set our location, so that other packages can find us
+   gSystem->Setenv("PWG3muon_INCLUDE", "PWG3muon");
+}
+
+Int_t CheckLoadLibrary(const char* library)
+{
+  // checks if a library is already loaded, if not loads the library
+
+  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+    return 1;
+
+  return gSystem->Load(library);
+}
diff --git a/PWG3/PROOF-INF.PWG3vertexingHF/BUILD.sh b/PWG3/PROOF-INF.PWG3vertexingHF/BUILD.sh
new file mode 100755 (executable)
index 0000000..7193d7e
--- /dev/null
@@ -0,0 +1,2 @@
+#! /bin/sh
+make libPWG3vertexingHF.so
diff --git a/PWG3/PROOF-INF.PWG3vertexingHF/SETUP.C b/PWG3/PROOF-INF.PWG3vertexingHF/SETUP.C
new file mode 100644 (file)
index 0000000..b0760f7
--- /dev/null
@@ -0,0 +1,31 @@
+void SETUP()
+{
+    // Load some ROOT libraries
+    CheckLoadLibrary("libTree");
+    CheckLoadLibrary("libGeom");
+    CheckLoadLibrary("libVMC");
+
+    // Load the ESD library
+    CheckLoadLibrary("libANALYSIS");
+    CheckLoadLibrary("libSTEERBase");
+    CheckLoadLibrary("libESD");
+    CheckLoadLibrary("libAOD");
+    CheckLoadLibrary("libANALYSISalice");
+    CheckLoadLibrary("libPWG3vertexingHF");
+
+   // Set the include paths
+   gROOT->ProcessLine(".include PWG3vertexingHF");
+
+   // Set our location, so that other packages can find us
+   gSystem->Setenv("PWG3base_INCLUDE", "PWG3vertexingHF");
+}
+
+Int_t CheckLoadLibrary(const char* library)
+{
+  // checks if a library is already loaded, if not loads the library
+
+  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+    return 1;
+
+  return gSystem->Load(library);
+}
diff --git a/PWG3/PROOF-INF.PWG3vertexingOld/BUILD.sh b/PWG3/PROOF-INF.PWG3vertexingOld/BUILD.sh
new file mode 100755 (executable)
index 0000000..f7a1adb
--- /dev/null
@@ -0,0 +1,2 @@
+#! /bin/sh
+make libPWG3vertexingOld.so
diff --git a/PWG3/PROOF-INF.PWG3vertexingOld/SETUP.C b/PWG3/PROOF-INF.PWG3vertexingOld/SETUP.C
new file mode 100644 (file)
index 0000000..0712f39
--- /dev/null
@@ -0,0 +1,31 @@
+void SETUP()
+{
+    // Load some ROOT libraries
+    CheckLoadLibrary("libTree");
+    CheckLoadLibrary("libGeom");
+    CheckLoadLibrary("libVMC");
+
+    // Load the ESD library
+    CheckLoadLibrary("libANALYSIS");
+    CheckLoadLibrary("libSTEERBase");
+    CheckLoadLibrary("libESD");
+    CheckLoadLibrary("libAOD");
+    CheckLoadLibrary("libANALYSISalice");
+    CheckLoadLibrary("libPWG3vertexingOld");
+
+   // Set the include paths
+   gROOT->ProcessLine(".include PWG3vertexingOld");
+
+   // Set our location, so that other packages can find us
+   gSystem->Setenv("PWG3base_INCLUDE", "PWG3vertexingOld");
+}
+
+Int_t CheckLoadLibrary(const char* library)
+{
+  // checks if a library is already loaded, if not loads the library
+
+  if (strlen(gSystem->GetLibraries(Form("%s.so", library), "", kFALSE)) > 0)
+    return 1;
+
+  return gSystem->Load(library);
+}
index 6cc45d1..d67e595 100644 (file)
@@ -1,13 +1,10 @@
 #ifdef __CINT__
 
-#pragma link off all glols;
+#pragma link off all globals;
 #pragma link off all classes;
 #pragma link off all functions;
 
-#pragma link C++ class AliD0toKpi+;
-#pragma link C++ class AliD0toKpiAnalysis+;
-#pragma link C++ class AliBtoJPSItoEle+;
-#pragma link C++ class AliBtoJPSItoEleAnalysis+;
-
 
 #endif
+
+
index d7a4e82..34805fd 100644 (file)
@@ -7,21 +7,6 @@
 #pragma link C++ class AliQuarkoniaAcceptance+; 
 #pragma link C++ class AliQuarkoniaEfficiency+; 
 
-#pragma link C++ class AliAODRecoDecayHF+;
-#pragma link C++ class AliAODRecoDecayHF2Prong+;
-#pragma link C++ class AliAODRecoDecayHF3Prong+;
-#pragma link C++ class AliAODRecoDecayHF4Prong+;
-#pragma link C++ class AliAnalysisVertexingHF+;
-#pragma link C++ class AliAnalysisTaskVertexingHF+;
-#pragma link C++ class AliAnalysisTaskSEVertexingHF+;
-#pragma link C++ class AliAnalysisTaskSESelectHF+;
-
-#pragma link C++ class AliAODDimuon+;
-#pragma link C++ class AliAODEventInfo+;
-#pragma link C++ class AliAnalysisTaskMuonAODfromGeneral+;
-#pragma link C++ class AliAnalysisTaskSingleMu+;
-#pragma link C++ class AliAnalysisTaskLUT+;
-#pragma link C++ class AliAnalysisTaskESDMuonFilter+;
 #endif
 
 
diff --git a/PWG3/PWG3muonLinkDef.h b/PWG3/PWG3muonLinkDef.h
new file mode 100644 (file)
index 0000000..43792f6
--- /dev/null
@@ -0,0 +1,15 @@
+#ifdef __CINT__
+
+#pragma link off all globals;
+#pragma link off all classes;
+#pragma link off all functions;
+
+#pragma link C++ class AliAODDimuon+;
+#pragma link C++ class AliAODEventInfo+;
+#pragma link C++ class AliAnalysisTaskMuonAODfromGeneral+;
+#pragma link C++ class AliAnalysisTaskSingleMu+;
+#pragma link C++ class AliAnalysisTaskLUT+;
+#pragma link C++ class AliAnalysisTaskESDMuonFilter+;
+#endif
+
+
diff --git a/PWG3/PWG3vertexingHFLinkDef.h b/PWG3/PWG3vertexingHFLinkDef.h
new file mode 100644 (file)
index 0000000..31fc92e
--- /dev/null
@@ -0,0 +1,19 @@
+#ifdef __CINT__
+
+#pragma link off all globals;
+#pragma link off all classes;
+#pragma link off all functions;
+
+
+#pragma link C++ class AliAODRecoDecayHF+;
+#pragma link C++ class AliAODRecoDecayHF2Prong+;
+#pragma link C++ class AliAODRecoDecayHF3Prong+;
+#pragma link C++ class AliAODRecoDecayHF4Prong+;
+#pragma link C++ class AliAnalysisVertexingHF+;
+#pragma link C++ class AliAnalysisTaskVertexingHF+;
+#pragma link C++ class AliAnalysisTaskSEVertexingHF+;
+#pragma link C++ class AliAnalysisTaskSESelectHF+;
+
+#endif
+
+
diff --git a/PWG3/PWG3vertexingOldLinkDef.h b/PWG3/PWG3vertexingOldLinkDef.h
new file mode 100644 (file)
index 0000000..a225fa4
--- /dev/null
@@ -0,0 +1,15 @@
+#ifdef __CINT__
+
+#pragma link off all globals;
+#pragma link off all classes;
+#pragma link off all functions;
+
+
+#pragma link C++ class AliD0toKpi+;
+#pragma link C++ class AliD0toKpiAnalysis+;
+#pragma link C++ class AliBtoJPSItoEle+;
+#pragma link C++ class AliBtoJPSItoEleAnalysis+;
+
+#endif
+
+
index 50f64feddedc5850a6628d9a62b2cca57b1fd88e..cd7f16d58d25acfaacf4c455a29ff736877fe4a3 100644 (file)
@@ -1,12 +1,8 @@
-SRCS:=  AliD0toKpi.cxx  AliD0toKpiAnalysis.cxx \
-        AliBtoJPSItoEle.cxx  AliBtoJPSItoEleAnalysis.cxx
+SRCS:=  
+     
+HDRS:= $(SRCS:.cxx=.h)
 
+DHDR:= PWG3LinkDef.h
 
-HDRS:= $(SRCS:.cxx=.h) 
-
-DHDR:=PWG3LinkDef.h
-
-EXPORT:=
-
-EINCLUDE:= 
+EINCLUDE:=  
 
index 7b71e87f86026033187d441742458681bf1b9498..db14669d89e90563dbce7f9f15eb5b1ff8eb1900 100644 (file)
@@ -1,18 +1,9 @@
-SRCS:= AliQuarkoniaAcceptance.cxx \
-       AliQuarkoniaEfficiency.cxx \
-       AliAODRecoDecayHF.cxx \
-       AliAODRecoDecayHF2Prong.cxx  AliAODRecoDecayHF3Prong.cxx \
-       AliAODRecoDecayHF4Prong.cxx \
-       AliAnalysisVertexingHF.cxx AliAnalysisTaskVertexingHF.cxx \
-       AliAnalysisTaskSEVertexingHF.cxx \
-       AliAnalysisTaskSESelectHF.cxx \
-       AliAODDimuon.cxx AliAODEventInfo.cxx \
-       AliAnalysisTaskMuonAODfromGeneral.cxx AliAnalysisTaskSingleMu.cxx \
-       AliAnalysisTaskLUT.cxx AliAnalysisTaskESDMuonFilter.cxx
+SRCS:=  base/AliQuarkoniaAcceptance.cxx \
+             base/AliQuarkoniaEfficiency.cxx 
      
 HDRS:= $(SRCS:.cxx=.h)
 
 DHDR:= PWG3baseLinkDef.h
 
-EINCLUDE:= MUON
+EINCLUDE:= 
 
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..a72bad32940bdcede7c8fd09c84214383764f02e
--- /dev/null
@@ -0,0 +1,13 @@
+SRCS:=  muon/AliAnalysisTaskESDMuonFilter.cxx \
+                 muon/AliAnalysisTaskMuonAODfromGeneral.cxx \
+                 muon/AliAnalysisTaskSingleMu.cxx \
+                 muon/AliAnalysisTaskLUT.cxx  \
+                 muon/AliAODDimuon.cxx \
+                 muon/AliAODEventInfo.cxx 
+
+HDRS:= $(SRCS:.cxx=.h)
+
+DHDR:= PWG3muonLinkDef.h
+
+EINCLUDE:= PWG3/base
+
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..7a2cf04b2a7ea67c5608585aaa3a7ce6ff1d2cb7
--- /dev/null
@@ -0,0 +1,13 @@
+SRCS:=   vertexingHF/AliAODRecoDecayHF.cxx \
+       vertexingHF/AliAODRecoDecayHF2Prong.cxx  vertexingHF/AliAODRecoDecayHF3Prong.cxx \
+       vertexingHF/AliAODRecoDecayHF4Prong.cxx \
+       vertexingHF/AliAnalysisVertexingHF.cxx vertexingHF/AliAnalysisTaskVertexingHF.cxx \
+       vertexingHF/AliAnalysisTaskSEVertexingHF.cxx \
+       vertexingHF/AliAnalysisTaskSESelectHF.cxx
+
+HDRS:= $(SRCS:.cxx=.h)
+
+DHDR:= PWG3vertexingHFLinkDef.h
+
+EINCLUDE:=  PWG3/base
+
diff --git a/PWG3/libPWG3muon.pkg b/PWG3/libPWG3muon.pkg
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..6889ff8c1512beaf76fc722514778533af8c3014
--- /dev/null
@@ -0,0 +1,9 @@
+SRCS:=   vertexingOld/AliD0toKpi.cxx  vertexingOld/AliD0toKpiAnalysis.cxx \
+       vertexingOld/AliBtoJPSItoEle.cxx  vertexingOld/AliBtoJPSItoEleAnalysis.cxx
+     
+HDRS:= $(SRCS:.cxx=.h)
+
+DHDR:= PWG3vertexingOldLinkDef.h
+
+EINCLUDE:= 
+
diff --git a/PWG3/libPWG3vertexingHF.pkg b/PWG3/libPWG3vertexingHF.pkg
similarity index 100%
rename from
rename to PWG3/libPWG3vertexingHF.pkg
diff --git a/PWG3/libPWG3vertexingOld.pkg b/PWG3/libPWG3vertexingOld.pkg
similarity index 100%
rename from
rename to PWG3/libPWG3vertexingOld.pkg
similarity index 100%
rename from PWG3/AliAODDimuon.h
rename to PWG3/muon/AliAODDimuon.h
similarity index 100%
rename from PWG3/ReadSpecAOD.C
rename to PWG3/muon/ReadSpecAOD.C
similarity index 100%
rename from PWG3/RunAnalysis.C
rename to PWG3/muon/RunAnalysis.C
similarity index 100%
rename from PWG3/rootlutnt.sh
rename to PWG3/muon/rootlutnt.sh
Simple merge