changed from legacy rootcint to the new rootcling ROOT dictionary generator.
This commit is contained in:
@ -18,7 +18,7 @@ dnl The macro defines the following substitution variables
|
|||||||
dnl
|
dnl
|
||||||
dnl ROOTCONF full path to root-config
|
dnl ROOTCONF full path to root-config
|
||||||
dnl ROOTEXEC full path to root
|
dnl ROOTEXEC full path to root
|
||||||
dnl ROOTCINT full path to rootcint
|
dnl ROOTCLING full path to rootcling
|
||||||
dnl ROOTLIBDIR Where the ROOT libraries are
|
dnl ROOTLIBDIR Where the ROOT libraries are
|
||||||
dnl ROOTINCDIR Where the ROOT headers are
|
dnl ROOTINCDIR Where the ROOT headers are
|
||||||
dnl ROOTETCDIR Where the ROOT configuration is
|
dnl ROOTETCDIR Where the ROOT configuration is
|
||||||
@ -29,7 +29,7 @@ dnl ROOTAUXLIBS Auxilary libraries and linker flags for ROOT
|
|||||||
dnl ROOTAUXCFLAGS Auxilary compiler flags
|
dnl ROOTAUXCFLAGS Auxilary compiler flags
|
||||||
dnl ROOTRPATH Same as ROOTLIBDIR
|
dnl ROOTRPATH Same as ROOTLIBDIR
|
||||||
dnl
|
dnl
|
||||||
dnl The macro will fail if root-config and rootcint isn't found.
|
dnl The macro will fail if root-config and rootcling isn't found.
|
||||||
dnl
|
dnl
|
||||||
dnl Christian Holm Christensen <cholm@nbi.dk>
|
dnl Christian Holm Christensen <cholm@nbi.dk>
|
||||||
dnl
|
dnl
|
||||||
@ -49,10 +49,10 @@ AC_DEFUN([ROOT_PATH],
|
|||||||
fi
|
fi
|
||||||
AC_PATH_PROG(ROOTCONF, root-config , no, $rootbin)
|
AC_PATH_PROG(ROOTCONF, root-config , no, $rootbin)
|
||||||
AC_PATH_PROG(ROOTEXEC, root , no, $rootbin)
|
AC_PATH_PROG(ROOTEXEC, root , no, $rootbin)
|
||||||
AC_PATH_PROG(ROOTCINT, rootcint , no, $rootbin)
|
AC_PATH_PROG(ROOTCLING, rootcling , no, $rootbin)
|
||||||
|
|
||||||
if test ! x"$ROOTCONF" = "xno" && \
|
if test ! x"$ROOTCONF" = "xno" && \
|
||||||
test ! x"$ROOTCINT" = "xno" ; then
|
test ! x"$ROOTCLING" = "xno" ; then
|
||||||
|
|
||||||
# define some variables
|
# define some variables
|
||||||
ROOTLIBDIR=`$ROOTCONF --libdir`
|
ROOTLIBDIR=`$ROOTCONF --libdir`
|
||||||
|
@ -46,11 +46,11 @@ clean:; @rm -f $(OBJS) *Dict* core*
|
|||||||
$(OBJS): %.o: %.cpp
|
$(OBJS): %.o: %.cpp
|
||||||
$(CXX) $(INCLUDES) $(CXXFLAGS) -c $<
|
$(CXX) $(INCLUDES) $(CXXFLAGS) -c $<
|
||||||
|
|
||||||
# Generate the ROOT CINT dictionary
|
# Generate the ROOT CLING dictionary
|
||||||
|
|
||||||
PUserFcnDict.cpp: PUserFcn.h PUserFcnLinkDef.h
|
PUserFcnDict.cpp: PUserFcn.h PUserFcnLinkDef.h
|
||||||
@echo "Generating dictionary $@..."
|
@echo "Generating dictionary $@..."
|
||||||
rootcint -f $@ -c -p -I$(ROOTINCLUDE) $^
|
rootcling -f $@ -c -p -I$(ROOTINCLUDE) $^
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
@echo "Installing shared lib: libTApproximation.so"
|
@echo "Installing shared lib: libTApproximation.so"
|
||||||
|
@ -202,27 +202,27 @@ $(EXTOBJS): ../external/MuSR_software/Class_MuSR_PSI/MuSR_td_PSI_bin.cpp
|
|||||||
|
|
||||||
TLemRunHeaderDict.cxx: ../external/TLemRunHeader/TLemRunHeader.h ../external/TLemRunHeader/TLemRunHeaderLinkDef.h
|
TLemRunHeaderDict.cxx: ../external/TLemRunHeader/TLemRunHeader.h ../external/TLemRunHeader/TLemRunHeaderLinkDef.h
|
||||||
@echo "Generating dictionary $@..."
|
@echo "Generating dictionary $@..."
|
||||||
rootcint -f $@ -c -p $^
|
rootcling -f $@ -c -p $^
|
||||||
|
|
||||||
TLemStatsDict.cxx: ../external/TLemRunHeader/TLemStats.h ../external/TLemRunHeader/TLemStatsLinkDef.h
|
TLemStatsDict.cxx: ../external/TLemRunHeader/TLemStats.h ../external/TLemRunHeader/TLemStatsLinkDef.h
|
||||||
@echo "Generating dictionary $@..."
|
@echo "Generating dictionary $@..."
|
||||||
rootcint -f $@ -c -p $^
|
rootcling -f $@ -c -p $^
|
||||||
|
|
||||||
PStartupHandlerDict.cpp: ../include/PStartupHandler.h ../include/PStartupHandlerLinkDef.h
|
PStartupHandlerDict.cpp: ../include/PStartupHandler.h ../include/PStartupHandlerLinkDef.h
|
||||||
@echo "Generating dictionary $@..."
|
@echo "Generating dictionary $@..."
|
||||||
rootcint -f $@ -c -p $^
|
rootcling -f $@ -c -p $^
|
||||||
|
|
||||||
PMusrCanvasDict.cpp: ../include/PMusrCanvas.h ../include/PMusrCanvasLinkDef.h
|
PMusrCanvasDict.cpp: ../include/PMusrCanvas.h ../include/PMusrCanvasLinkDef.h
|
||||||
@echo "Generating dictionary $@..."
|
@echo "Generating dictionary $@..."
|
||||||
rootcint -v -f $@ -c -p $^
|
rootcling -v -f $@ -c -p $^
|
||||||
|
|
||||||
PMusrT0Dict.cpp: ../include/PMusrT0.h ../include/PMusrT0LinkDef.h
|
PMusrT0Dict.cpp: ../include/PMusrT0.h ../include/PMusrT0LinkDef.h
|
||||||
@echo "Generating dictionary $@..."
|
@echo "Generating dictionary $@..."
|
||||||
rootcint -v -f $@ -c -p $^
|
rootcling -v -f $@ -c -p $^
|
||||||
|
|
||||||
PUserFcnBaseDict.cpp: ../include/PUserFcnBase.h ../include/PUserFcnBaseLinkDef.h
|
PUserFcnBaseDict.cpp: ../include/PUserFcnBase.h ../include/PUserFcnBaseLinkDef.h
|
||||||
@echo "Generating dictionary $@..."
|
@echo "Generating dictionary $@..."
|
||||||
rootcint -v -f $@ -c -p $^
|
rootcling -v -f $@ -c -p $^
|
||||||
|
|
||||||
install: leminstall musrinstall
|
install: leminstall musrinstall
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ $(OBJS): %.o: %.cpp
|
|||||||
|
|
||||||
PUserFcnDict.cpp: ../include/PUserFcn.h ../include/PUserFcnLinkDef.h
|
PUserFcnDict.cpp: ../include/PUserFcn.h ../include/PUserFcnLinkDef.h
|
||||||
@echo "Generating dictionary $@..."
|
@echo "Generating dictionary $@..."
|
||||||
rootcint -f $@ -c -p $^
|
rootcling -f $@ -c -p $^
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
@echo "Installing shared lib: libPUserFcn.so ( you must be root ;-) )"
|
@echo "Installing shared lib: libPUserFcn.so ( you must be root ;-) )"
|
||||||
|
@ -103,7 +103,7 @@ AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
|||||||
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ core
|
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ core
|
||||||
|
|
||||||
%Dict.cpp %Dict.h: ../include/%.h ../include/%LinkDef.h
|
%Dict.cpp %Dict.h: ../include/%.h ../include/%LinkDef.h
|
||||||
@ROOTCINT@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||||
|
|
||||||
lib_LTLIBRARIES = libPUserFcnBase.la libPMusr.la
|
lib_LTLIBRARIES = libPUserFcnBase.la libPMusr.la
|
||||||
|
|
||||||
|
2
src/external/BMWtools/Makefile.am
vendored
2
src/external/BMWtools/Makefile.am
vendored
@ -33,7 +33,7 @@ AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
|||||||
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ core
|
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ core
|
||||||
|
|
||||||
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
||||||
@ROOTCINT@ -v -f $*Dict.cpp -c -p $(INCLUDES) $^
|
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(INCLUDES) $^
|
||||||
|
|
||||||
lib_LTLIBRARIES = libBMWtools.la
|
lib_LTLIBRARIES = libBMWtools.la
|
||||||
|
|
||||||
|
2
src/external/MagProximity/Makefile.am
vendored
2
src/external/MagProximity/Makefile.am
vendored
@ -39,7 +39,7 @@ AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
|||||||
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ core
|
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ core
|
||||||
|
|
||||||
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
||||||
@ROOTCINT@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||||
|
|
||||||
lib_LTLIBRARIES = libPMagProximityFitter.la
|
lib_LTLIBRARIES = libPMagProximityFitter.la
|
||||||
|
|
||||||
|
2
src/external/MusrRoot/Makefile.am
vendored
2
src/external/MusrRoot/Makefile.am
vendored
@ -29,7 +29,7 @@ AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
|||||||
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ core
|
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ core
|
||||||
|
|
||||||
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
||||||
@ROOTCINT@ -v -f $*Dict.cpp -c -p $(INCLUDES) $^
|
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(INCLUDES) $^
|
||||||
|
|
||||||
lib_LTLIBRARIES = libTMusrRunHeader.la
|
lib_LTLIBRARIES = libTMusrRunHeader.la
|
||||||
|
|
||||||
|
2
src/external/Nonlocal/Makefile.am
vendored
2
src/external/Nonlocal/Makefile.am
vendored
@ -39,7 +39,7 @@ AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
|||||||
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ core
|
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ core
|
||||||
|
|
||||||
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
||||||
@ROOTCINT@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||||
|
|
||||||
lib_LTLIBRARIES = libPNL_PippardFitter.la
|
lib_LTLIBRARIES = libPNL_PippardFitter.la
|
||||||
|
|
||||||
|
2
src/external/TLemRunHeader/Makefile.am
vendored
2
src/external/TLemRunHeader/Makefile.am
vendored
@ -36,7 +36,7 @@ AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
|||||||
CLEANFILES = *Dict.cxx *Dict.h *Dict* *~ core
|
CLEANFILES = *Dict.cxx *Dict.h *Dict* *~ core
|
||||||
|
|
||||||
%Dict.cxx %Dict.h: %.h %LinkDef.h
|
%Dict.cxx %Dict.h: %.h %LinkDef.h
|
||||||
@ROOTCINT@ -v -f $*Dict.cxx -c -p $(INCLUDES) $^
|
@ROOTCLING@ -v -f $*Dict.cxx -c -p $(INCLUDES) $^
|
||||||
|
|
||||||
lib_LTLIBRARIES = libTLemRunHeader.la
|
lib_LTLIBRARIES = libTLemRunHeader.la
|
||||||
|
|
||||||
|
2
src/external/libBNMR/Makefile.am
vendored
2
src/external/libBNMR/Makefile.am
vendored
@ -26,7 +26,7 @@ AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
|||||||
CLEANFILES = *Dict.cpp *Dict.h *~ core
|
CLEANFILES = *Dict.cpp *Dict.h *~ core
|
||||||
|
|
||||||
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
||||||
@ROOTCINT@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||||
|
|
||||||
lib_LTLIBRARIES = libBNMR.la
|
lib_LTLIBRARIES = libBNMR.la
|
||||||
|
|
||||||
|
4
src/external/libBNMR/Makefile.libBNMR
vendored
4
src/external/libBNMR/Makefile.libBNMR
vendored
@ -46,11 +46,11 @@ clean:; @rm -f $(OBJS) *Dict* core*
|
|||||||
$(OBJS): %.o: %.cpp
|
$(OBJS): %.o: %.cpp
|
||||||
$(CXX) $(INCLUDES) $(CXXFLAGS) -c $<
|
$(CXX) $(INCLUDES) $(CXXFLAGS) -c $<
|
||||||
|
|
||||||
# Generate the ROOT CINT dictionary
|
# Generate the ROOT CLING dictionary
|
||||||
|
|
||||||
TlibBNMRDict.cpp: TBNMR.h TBNMRLinkDef.h
|
TlibBNMRDict.cpp: TBNMR.h TBNMRLinkDef.h
|
||||||
@echo "Generating dictionary $@..."
|
@echo "Generating dictionary $@..."
|
||||||
rootcint -f $@ -c -p -I$(ROOTINCLUDE) $^
|
rootcling -f $@ -c -p -I$(ROOTINCLUDE) $^
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
@echo "Installing shared lib: libTApproximation.so"
|
@echo "Installing shared lib: libTApproximation.so"
|
||||||
|
@ -29,7 +29,7 @@ AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
|||||||
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ core
|
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ core
|
||||||
|
|
||||||
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
||||||
@ROOTCINT@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||||
|
|
||||||
lib_LTLIBRARIES = libCalcMeanFieldsLEM.la
|
lib_LTLIBRARIES = libCalcMeanFieldsLEM.la
|
||||||
|
|
||||||
|
2
src/external/libFitPofB/classes/Makefile.am
vendored
2
src/external/libFitPofB/classes/Makefile.am
vendored
@ -50,7 +50,7 @@ AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
|||||||
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ ../include/*~ core
|
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ ../include/*~ core
|
||||||
|
|
||||||
%Dict.cpp %Dict.h: ../include/%.h ../include/%LinkDef.h
|
%Dict.cpp %Dict.h: ../include/%.h ../include/%LinkDef.h
|
||||||
@ROOTCINT@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||||
|
|
||||||
lib_LTLIBRARIES = libFitPofB.la
|
lib_LTLIBRARIES = libFitPofB.la
|
||||||
|
|
||||||
|
2
src/external/libGapIntegrals/Makefile.am
vendored
2
src/external/libGapIntegrals/Makefile.am
vendored
@ -29,7 +29,7 @@ AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
|||||||
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ core
|
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ core
|
||||||
|
|
||||||
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
||||||
@ROOTCINT@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||||
|
|
||||||
lib_LTLIBRARIES = libGapIntegrals.la
|
lib_LTLIBRARIES = libGapIntegrals.la
|
||||||
|
|
||||||
|
2
src/external/libGbGLF/Makefile.am
vendored
2
src/external/libGbGLF/Makefile.am
vendored
@ -26,7 +26,7 @@ AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
|||||||
CLEANFILES = *Dict.cpp *Dict.h *~ core
|
CLEANFILES = *Dict.cpp *Dict.h *~ core
|
||||||
|
|
||||||
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
||||||
@ROOTCINT@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||||
|
|
||||||
lib_LTLIBRARIES = libGbGLF.la
|
lib_LTLIBRARIES = libGbGLF.la
|
||||||
|
|
||||||
|
2
src/external/libLFRelaxation/Makefile.am
vendored
2
src/external/libLFRelaxation/Makefile.am
vendored
@ -29,7 +29,7 @@ AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
|||||||
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ core
|
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ core
|
||||||
|
|
||||||
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
||||||
@ROOTCINT@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||||
|
|
||||||
lib_LTLIBRARIES = libLFRelaxation.la
|
lib_LTLIBRARIES = libLFRelaxation.la
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
|||||||
CLEANFILES = ../classes/*Dict* ../include/*Dict.* *~ core
|
CLEANFILES = ../classes/*Dict* ../include/*Dict.* *~ core
|
||||||
|
|
||||||
%Dict.cpp %Dict.h: ../include/%.h ../include/%LinkDef.h
|
%Dict.cpp %Dict.h: ../include/%.h ../include/%LinkDef.h
|
||||||
@ROOTCINT@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||||
|
|
||||||
lib_LTLIBRARIES = libPPhotoMeissner.la
|
lib_LTLIBRARIES = libPPhotoMeissner.la
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
|||||||
CLEANFILES = ../classes/*Dict.* ../include/*Dict.* *~ core
|
CLEANFILES = ../classes/*Dict.* ../include/*Dict.* *~ core
|
||||||
|
|
||||||
%Dict.cpp %Dict.h: ../include/%.h ../include/%LinkDef.h
|
%Dict.cpp %Dict.h: ../include/%.h ../include/%LinkDef.h
|
||||||
@ROOTCINT@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||||
|
|
||||||
lib_LTLIBRARIES = libPSpinValve.la
|
lib_LTLIBRARIES = libPSpinValve.la
|
||||||
|
|
||||||
|
2
src/external/libZFRelaxation/Makefile.am
vendored
2
src/external/libZFRelaxation/Makefile.am
vendored
@ -29,7 +29,7 @@ AM_LDFLAGS = $(LOCAL_LIB_LDFLAGS) -L@ROOTLIBDIR@
|
|||||||
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ core
|
CLEANFILES = *Dict.cpp *Dict.h *Dict* *~ core
|
||||||
|
|
||||||
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
%Dict.cpp %Dict.h: %.h %LinkDef.h
|
||||||
@ROOTCINT@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
@ROOTCLING@ -v -f $*Dict.cpp -c -p $(AM_CPPFLAGS) $^
|
||||||
|
|
||||||
lib_LTLIBRARIES = libZFRelaxation.la
|
lib_LTLIBRARIES = libZFRelaxation.la
|
||||||
|
|
||||||
|
@ -45,10 +45,10 @@
|
|||||||
#include <TLatex.h>
|
#include <TLatex.h>
|
||||||
|
|
||||||
#include "PMusr.h"
|
#include "PMusr.h"
|
||||||
#ifndef __MAKECINT__
|
#ifndef __MAKECLING__
|
||||||
#include "PMsrHandler.h"
|
#include "PMsrHandler.h"
|
||||||
#include "PRunListCollection.h"
|
#include "PRunListCollection.h"
|
||||||
#endif // __MAKECINT__
|
#endif // __MAKECLING__
|
||||||
|
|
||||||
#define YINFO 0.1
|
#define YINFO 0.1
|
||||||
#define YTITLE 0.95
|
#define YTITLE 0.95
|
||||||
@ -197,7 +197,7 @@ typedef vector<PMusrCanvasAsciiDump> PMusrCanvasAsciiDumpVector;
|
|||||||
|
|
||||||
//--------------------------------------------------------------------------
|
//--------------------------------------------------------------------------
|
||||||
/**
|
/**
|
||||||
* <p>The preprocessor tag __MAKECINT__ is used to hide away from rootcint
|
* <p>The preprocessor tag __MAKECLING__ is used to hide away from rootcling
|
||||||
* the overly complex spirit header files.
|
* the overly complex spirit header files.
|
||||||
*/
|
*/
|
||||||
class PMusrCanvas : public TObject, public TQObject
|
class PMusrCanvas : public TObject, public TQObject
|
||||||
@ -216,10 +216,10 @@ class PMusrCanvas : public TObject, public TQObject
|
|||||||
|
|
||||||
virtual Bool_t IsValid() { return fValid; }
|
virtual Bool_t IsValid() { return fValid; }
|
||||||
|
|
||||||
#ifndef __MAKECINT__
|
#ifndef __MAKECLING__
|
||||||
virtual void SetMsrHandler(PMsrHandler *msrHandler);
|
virtual void SetMsrHandler(PMsrHandler *msrHandler);
|
||||||
virtual void SetRunListCollection(PRunListCollection *runList) { fRunList = runList; }
|
virtual void SetRunListCollection(PRunListCollection *runList) { fRunList = runList; }
|
||||||
#endif // __MAKECINT__
|
#endif // __MAKECLING__
|
||||||
|
|
||||||
virtual void SetTimeout(Int_t ival);
|
virtual void SetTimeout(Int_t ival);
|
||||||
virtual void UpdateParamTheoryPad();
|
virtual void UpdateParamTheoryPad();
|
||||||
@ -277,10 +277,10 @@ class PMusrCanvas : public TObject, public TQObject
|
|||||||
|
|
||||||
TH1F *fHistoFrame; ///< fHistoFrame is a 'global' frame needed in order to plot histograms with (potentially) different x-frames
|
TH1F *fHistoFrame; ///< fHistoFrame is a 'global' frame needed in order to plot histograms with (potentially) different x-frames
|
||||||
|
|
||||||
#ifndef __MAKECINT__
|
#ifndef __MAKECLING__
|
||||||
PMsrHandler *fMsrHandler; ///< msr-file handler
|
PMsrHandler *fMsrHandler; ///< msr-file handler
|
||||||
PRunListCollection *fRunList; ///< data handler
|
PRunListCollection *fRunList; ///< data handler
|
||||||
#endif // __MAKECINT__
|
#endif // __MAKECLING__
|
||||||
|
|
||||||
PMusrCanvasDataSet fDataAvg; ///< set of all averaged data to be plotted (asymmetry/single histogram)
|
PMusrCanvasDataSet fDataAvg; ///< set of all averaged data to be plotted (asymmetry/single histogram)
|
||||||
|
|
||||||
|
@ -42,9 +42,9 @@
|
|||||||
#include <TTimer.h>
|
#include <TTimer.h>
|
||||||
|
|
||||||
#include "PMusr.h"
|
#include "PMusr.h"
|
||||||
#ifndef __MAKECINT__
|
#ifndef __MAKECLING__
|
||||||
#include "PMsrHandler.h"
|
#include "PMsrHandler.h"
|
||||||
#endif // __MAKECINT__
|
#endif // __MAKECLING__
|
||||||
|
|
||||||
#define PMUSRT0_FORWARD 0
|
#define PMUSRT0_FORWARD 0
|
||||||
#define PMUSRT0_BACKWARD 1
|
#define PMUSRT0_BACKWARD 1
|
||||||
@ -113,7 +113,7 @@ class PMusrT0Data {
|
|||||||
//--------------------------------------------------------------------------
|
//--------------------------------------------------------------------------
|
||||||
/**
|
/**
|
||||||
* <p>Handles the musrt0 graphical user interface.
|
* <p>Handles the musrt0 graphical user interface.
|
||||||
* <p>The preprocessor tag __MAKECINT__ is used to hide away from rootcint
|
* <p>The preprocessor tag __MAKECLING__ is used to hide away from rootcling
|
||||||
* the overly complex spirit header files.
|
* the overly complex spirit header files.
|
||||||
*/
|
*/
|
||||||
class PMusrT0 : public TObject, public TQObject
|
class PMusrT0 : public TObject, public TQObject
|
||||||
@ -131,18 +131,18 @@ class PMusrT0 : public TObject, public TQObject
|
|||||||
virtual void Quit(); // SLOT
|
virtual void Quit(); // SLOT
|
||||||
virtual void SetTimeout(Int_t timeout);
|
virtual void SetTimeout(Int_t timeout);
|
||||||
|
|
||||||
#ifndef __MAKECINT__
|
#ifndef __MAKECLING__
|
||||||
virtual void SetMsrHandler(PMsrHandler *msrHandler);
|
virtual void SetMsrHandler(PMsrHandler *msrHandler);
|
||||||
#endif // __MAKECINT__
|
#endif // __MAKECLING__
|
||||||
|
|
||||||
virtual void InitT0();
|
virtual void InitT0();
|
||||||
virtual void InitDataAndBkg();
|
virtual void InitDataAndBkg();
|
||||||
virtual Int_t GetStatus() { return fStatus; }
|
virtual Int_t GetStatus() { return fStatus; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
#ifndef __MAKECINT__
|
#ifndef __MAKECLING__
|
||||||
PMsrHandler *fMsrHandler; ///< msr-file handler
|
PMsrHandler *fMsrHandler; ///< msr-file handler
|
||||||
#endif // __MAKECINT__
|
#endif // __MAKECLING__
|
||||||
Int_t fTimeout; ///< timeout after which the Done signal should be emited. If timeout <= 0, no timeout is taking place
|
Int_t fTimeout; ///< timeout after which the Done signal should be emited. If timeout <= 0, no timeout is taking place
|
||||||
|
|
||||||
Bool_t fValid; ///< true if raw data set are available, otherwise false
|
Bool_t fValid; ///< true if raw data set are available, otherwise false
|
||||||
|
@ -111,7 +111,7 @@ Bool_t musrt0_item(TApplication &app, PMsrHandler *msrHandler, PMusrT0Data &data
|
|||||||
// set timeout
|
// set timeout
|
||||||
musrT0->SetTimeout(timeout);
|
musrT0->SetTimeout(timeout);
|
||||||
|
|
||||||
// set the msr-file handler. The handler cannot be transfered at construction time since rootcint is not able to handle the PMsrHandler class
|
// set the msr-file handler. The handler cannot be transfered at construction time since rootcling is not able to handle the PMsrHandler class
|
||||||
musrT0->SetMsrHandler(msrHandler);
|
musrT0->SetMsrHandler(msrHandler);
|
||||||
|
|
||||||
// check if only t0, data-, and bkg-range is wished, if not, only initialize t0 at this point
|
// check if only t0, data-, and bkg-range is wished, if not, only initialize t0 at this point
|
||||||
|
@ -330,7 +330,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
musrCanvas->SetTimeout(timeout);
|
musrCanvas->SetTimeout(timeout);
|
||||||
|
|
||||||
// ugly but rootcint cannot handle the spirit-parser framework
|
// ugly but rootcling cannot handle the spirit-parser framework
|
||||||
musrCanvas->SetMsrHandler(msrHandler);
|
musrCanvas->SetMsrHandler(msrHandler);
|
||||||
musrCanvas->SetRunListCollection(runListCollection);
|
musrCanvas->SetRunListCollection(runListCollection);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user