]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
stand-alone compilation converted to autotools; doxygen setup added for documentation...
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 6 Jul 2006 13:23:39 +0000 (13:23 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 6 Jul 2006 13:23:39 +0000 (13:23 +0000)
16 files changed:
HLT/AUTHORS [new file with mode: 0644]
HLT/BASE/Makefile.am [new file with mode: 0644]
HLT/ChangeLog [new file with mode: 0644]
HLT/Makefile.am [new file with mode: 0644]
HLT/NEWS [new file with mode: 0644]
HLT/README [new file with mode: 0644]
HLT/SampleLib/Makefile.am [new file with mode: 0644]
HLT/TPCLib/Makefile.am [new file with mode: 0644]
HLT/TPCLib/Ref/Makefile.am [new file with mode: 0644]
HLT/acinclude.m4 [new file with mode: 0644]
HLT/configure.ac [new file with mode: 0644]
HLT/doc/Makefile.am [new file with mode: 0644]
HLT/doc/doxygen.conf.in [new file with mode: 0644]
HLT/doc/mainpage.c [new file with mode: 0644]
HLT/make.dict [new file with mode: 0644]
HLT/src/Makefile.am [new file with mode: 0644]

diff --git a/HLT/AUTHORS b/HLT/AUTHORS
new file mode 100644 (file)
index 0000000..d26591b
--- /dev/null
@@ -0,0 +1,35 @@
+Package: ALICE HLT
+
+This package implements the ALICE High Level Trigger framework.
+
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ *                                                                        *
+ * Also see files ChangeLog and THANKS.                                   *
+ *                                                                        *
+ **************************************************************************/
+
+This packages is maintained by Matthias.Richter@ift.uib.no
+
+Authors:
+BASE: HLT base library by Timm M. Steinbeck and Matthias Richter
+
+SampleLib: Examples by Timm M. Steinbeck and Matthias Richter
+
+TPCLib: The original TPC code was written by Anders S Vestbo and Constantin
+Loizides and was checked in under HLT/src. The code has been adapted to the
+framework by Timm. Contributions by Cvetan Cheshkov, Jochen Theader and 
+Matthias Richter.
+
+Further author notice will be added in conjunction with new modules.
+
+Thanks to Christian H. Christensen for help with autotools and macros.
+
diff --git a/HLT/BASE/Makefile.am b/HLT/BASE/Makefile.am
new file mode 100644 (file)
index 0000000..b23fb43
--- /dev/null
@@ -0,0 +1,51 @@
+# $Id$
+# Makefile template for the Alice HLT framework
+
+MODULE                         = HLTbase
+
+AM_CPPFLAGS                    = -I$(top_srcdir)/src      
+
+# library definition
+lib_LTLIBRARIES                        =  libHLTbase.la
+
+# library sources
+libHLTbase_la_SOURCES          =  AliHLTComponent.cxx \
+                                  AliHLTComponentHandler.cxx \
+                                  AliHLTSystem.cxx \
+                                  AliHLT_C_Component_WrapperInterface.cxx \
+                                  AliHLTProcessor.cxx \
+                                  AliHLTConfiguration.cxx \
+                                  AliHLTLogging.cxx \
+                                  AliHLTDataBuffer.cxx \
+                                  AliHLTDataSource.cxx \
+                                  AliHLTDataSink.cxx
+
+# class header files, the link definition for the root dictionary
+# will be created from the names of the header files
+CLASS_HDRS                     =  AliHLTComponent.h \
+                                  AliHLTComponentHandler.h \
+                                  AliHLTSystem.h \
+                                  AliHLTProcessor.h \
+                                  AliHLTConfiguration.h \
+                                  AliHLTConfigurationHandler.h \
+                                  AliHLTTask.h \
+                                  AliHLTLogging.h \
+                                  AliHLTDataBuffer.h \
+                                  AliHLTDataSource.h \
+                                  AliHLTDataSink.h
+pkginclude_HEADERS             =  $(CLASS_HDRS) \
+                                  AliHLTDataTypes.h \
+                                  AliHLT_C_Component_WrapperInterface.h \
+                                  AliHLTDefinitions.h
+
+
+# version info for the library
+libHLTbase_la_LDFLAGS          =  -version-info 1:0:0
+
+# set the file name for the generated root dictionary
+DICTCPP                                =  HLTbase-DICT.cxx
+nodist_libHLTbase_la_SOURCES    =  $(DICTCPP)
+
+CLEANFILES                     =
+
+include $(top_srcdir)/make.dict
diff --git a/HLT/ChangeLog b/HLT/ChangeLog
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/HLT/Makefile.am b/HLT/Makefile.am
new file mode 100644 (file)
index 0000000..3fa8279
--- /dev/null
@@ -0,0 +1,23 @@
+# $Id$
+# Makefile template for the Alice HLT framework and components
+
+
+if EN_HLT_SAMPLE
+SAMPLE_DIR=SampleLib   
+endif
+
+if EN_HLT_TPC
+TPC_DIR=TPCLib 
+endif
+
+SUBDIRS                = BASE \
+                         $(SAMPLE_DIR) \
+                         $(TPC_DIR) \
+                         src \
+                         doc
+
+DIST_SUBDIRS           = $(SUBDIRS)
+
+#
+# EOF
+#
diff --git a/HLT/NEWS b/HLT/NEWS
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/HLT/README b/HLT/README
new file mode 100644 (file)
index 0000000..b9eb8b7
--- /dev/null
@@ -0,0 +1,77 @@
+Package: ALICE HLT
+
+This package implements the ALICE High Level Trigger framework.
+All contributions are under the terms of the 
+GNU General Public License as published by the Free Software 
+Foundation. Also see files AUTHORS and THANKS.
+
+This packages is maintained by Matthias.Richter@ift.uib.no
+Comments, bug reports, suggestions welcome! 
+
+Overview
+========
+This package provides is a compilation of shared libraries of the ALICE
+HLT project. 
+- BASE: The base library (libHLTbase.so) provides the common interface for HLT 
+processing components, the binding into the ALICE offline project AliRoot
+and a pure C interface to the HLT on-line framework (Publisher/Subscriber
+framework)
+- SampleLib: The sample library contains examples for component 
+implementation and a tutorial.
+- TPCLib: The HLT code for the TPC
+
+Setting up a version retrieved from CVS
+=======================================
+Skip this section if you have started from the tar ball.
+
+A version checked out from CVS requires a few steps to set up the Makefiles
+and to set some links which are related to the CVS structure at the IFT.
+Go to the directory and run
+autoreconf -i -f
+
+Then continue with the package configuration described in the 'Installation'
+section.
+
+Modifying a distributed package
+===============================
+If you are going the modify a distributed package you might need to re-make 
+the GNU build system by running
+ autoreconf -f -i
+
+Please notify the authors about bug fixes/corrections/extensions you made if
+you consider them worth to be merged into the project.
+
+Then continue with the package configuration described in the 'Installation'
+section.
+
+Installation
+============
+Package build relies on the GNU triplet configure, make and make install.
+It is suggested to use a separate build directory, e.g. from the
+top directory do
+
+  mkdir build
+  cd build
+  ../configure
+  make
+  make install
+
+The default install directories are set to the current directory ($PWD). Try
+
+To override the default prefix use
+--prefix=<dir>           
+
+Some important options:
+--enable-logging  # Enable/Disable logging (default enabled)
+--enable-sample   # Compile the sample library
+--enable-tpc      # Compile the TPC library
+
+If you need further information on the GNU build system, execute from the 
+top directory:
+./configure --help | less
+
+
+Further information
+===================
+A wiki with detailed information is set up at
+http://www.kip.uni-heidelberg.de/wiki/HLT
diff --git a/HLT/SampleLib/Makefile.am b/HLT/SampleLib/Makefile.am
new file mode 100644 (file)
index 0000000..85198fa
--- /dev/null
@@ -0,0 +1,35 @@
+# $Id$
+# Makefile template for the Alice HLT sample library
+
+MODULE                                 = AliHLTSample
+
+AM_CPPFLAGS                    = -I$(top_srcdir)/src        \
+                                 -I$(top_srcdir)/BASE
+
+
+# library definition
+lib_LTLIBRARIES                        =  libAliHLTSample.la
+
+# library sources
+libAliHLTSample_la_SOURCES     =  AliHLTSampleComponent1.cxx \
+                                  AliHLTSampleComponent2.cxx \
+                                  AliHLTDummyComponent.cxx
+
+# class header files, the link definition for the root dictionary
+# will be created from the names of the header files
+CLASS_HDRS                     =  AliHLTSampleComponent1.h \
+                                  AliHLTSampleComponent2.h \
+                                  AliHLTDummyComponent.h
+
+noinst_HEADERS                 =  $(CLASS_HDRS)
+
+# version info for the library
+libAliHLTSample_la_LDFLAGS     =  -version-info 1:0:0
+
+# set the file name for the generated root dictionary
+DICTCPP                                =  AliHLTSample-DICT.cxx
+nodist_libAliHLTSample_la_SOURCES    =  $(DICTCPP)
+
+CLEANFILES                     =
+
+include $(top_srcdir)/make.dict
diff --git a/HLT/TPCLib/Makefile.am b/HLT/TPCLib/Makefile.am
new file mode 100644 (file)
index 0000000..3fb3755
--- /dev/null
@@ -0,0 +1,130 @@
+# $Id$
+# Makefile template for the Alice HLT TPC library
+
+MODULE                                 = AliHLTTPC
+
+AM_CPPFLAGS                    = -I$(top_srcdir)/src        \
+                                 -I$(top_srcdir)/BASE       \
+                                 -I$(ALICE_ROOT)/include    \
+                                 -I$(ALICE_ROOT)/TPC        \
+                                 -I$(ALICE_ROOT)/CONTAINERS \
+                                 -I$(ALICE_ROOT)/STEER      \
+                                 -I$(ALICE_ROOT)/RAW
+
+
+# library definition
+lib_LTLIBRARIES                        =  libAliHLTTPC.la
+
+# library sources
+libAliHLTTPC_la_SOURCES                = AliHLTTPCLog.cxx \
+                                 AliHLTTPCTransform.cxx \
+                                 AliHLTTPCMemHandler.cxx \
+                                 AliHLTTPCDataCompressorHelper.cxx \
+                                 AliHLTTPCFitter.cxx \
+                                 AliHLTTPCFileHandler.cxx \
+                                 AliHLTTPCBenchmark.cxx \
+                                 AliHLTTPCDDLDataFileHandler.cxx \
+                                 AliHLTTPCClustFinderNew.cxx \
+                                 AliHLTTPCClusterFinder.cxx \
+                                 AliHLTTPCDigitReader.cxx \
+                                 AliHLTTPCDigitReaderPacked.cxx \
+                                 AliHLTTPCDigitReaderUnpacked.cxx \
+                                 AliHLTTPCVertex.cxx \
+                                 AliHLTTPCVertexArray.cxx \
+                                 AliHLTTPCVertexFinder.cxx \
+                                 AliHLTTPCTrackArray.cxx \
+                                 AliHLTTPCTrack.cxx \
+                                 AliHLTTPCConfMapFit.cxx \
+                                 AliHLTTPCConfMapTrack.cxx \
+                                 AliHLTTPCConfMapPoint.cxx \
+                                 AliHLTTPCConfMapper.cxx \
+                                 AliHLTTPCModelTrack.cxx \
+                                 AliHLTTPCMerger.cxx \
+                                 AliHLTTPCTrackMerger.cxx \
+                                 AliHLTTPCGlobalMerger.cxx \
+                                 AliHLTTPCInterMerger.cxx \
+                                 AliHLTTPC.cxx \
+                                 AliHLTTPCDisplay.cxx \
+                                 AliHLTTPCDefinitions.cxx \
+                                 AliHLTTPCRawDataUnpackerComponent.cxx \
+                                 AliHLTTPCClusterFinderComponent.cxx \
+                                 AliHLTTPCVertexFinderComponent.cxx \
+                                 AliHLTTPCSliceTrackerComponent.cxx \
+                                 AliHLTTPCGlobalMergerComponent.cxx
+
+
+#                                AliRawReaderMemory.cxx
+
+
+#                                AliHLTTPCHoughTrack.cxx \
+#                                AliHLTTPCHistogram.cxx \
+#                                AliHLTTPCHistogramAdaptive.cxx \
+#                                AliHLTTPCHoughBaseTransformer.cxx \
+#                                AliHLTTPCHoughTransformerRow.cxx
+
+
+# class header files, the link definition for the root dictionary
+# will be created from the names of the header files
+CLASS_HDRS                     = AliHLTTPCLog.h \
+                                 AliHLTTPCTransform.h \
+                                 AliHLTTPCMemHandler.h \
+                                 AliHLTTPCDataCompressorHelper.h \
+                                 AliHLTTPCFitter.h \
+                                 AliHLTTPCFileHandler.h \
+                                 AliHLTTPCBenchmark.h \
+                                 AliHLTTPCDDLDataFileHandler.h \
+                                 AliHLTTPCClustFinderNew.h \
+                                 AliHLTTPCClusterFinder.h \
+                                 AliHLTTPCDigitReader.h \
+                                 AliHLTTPCDigitReaderPacked.h \
+                                 AliHLTTPCDigitReaderUnpacked.h \
+                                 AliHLTTPCVertex.h \
+                                 AliHLTTPCVertexArray.h \
+                                 AliHLTTPCVertexFinder.h \
+                                 AliHLTTPCTrackArray.h \
+                                 AliHLTTPCTrack.h \
+                                 AliHLTTPCConfMapFit.h \
+                                 AliHLTTPCConfMapTrack.h \
+                                 AliHLTTPCConfMapPoint.h \
+                                 AliHLTTPCConfMapper.h \
+                                 AliHLTTPCModelTrack.h \
+                                 AliHLTTPCMerger.h \
+                                 AliHLTTPCTrackMerger.h \
+                                 AliHLTTPCGlobalMerger.h \
+                                 AliHLTTPCInterMerger.h \
+                                 AliHLTTPC.h \
+                                 AliHLTTPCSpacePointData.h \
+                                 AliHLTTPCDisplay.h \
+                                 AliHLTTPCDefinitions.h \
+                                 AliHLTTPCRawDataUnpackerComponent.h \
+                                 AliHLTTPCClusterFinderComponent.h \
+                                 AliHLTTPCVertexFinderComponent.h \
+                                 AliHLTTPCSliceTrackerComponent.h \
+                                 AliHLTTPCGlobalMergerComponent.h
+
+
+pkginclude_HEADERS             = $(CLASS_HDRS) \
+                                 AliHLTTPCLogging.h \
+                                 AliHLTTPCStandardIncludes.h \
+                                 AliHLTTPCRootTypes.h \
+                                 AliHLTTPCDigitData.h \
+                                 AliHLTTPCTrackSegmentData.h \
+                                 AliHLTTPCVertexData.h \
+                                 AliHLTTPCTrackletDataFormat.h \
+                                 AliHLTTPCRawDataFormat.h \
+                                 AliHLTTPCClusterDataFormat.h \
+                                 AliHLTTPCModels.h
+
+
+# version info for the library
+libAliHLTTPC_la_LDFLAGS        =  -version-info 1:0:0
+
+# set the file name for the generated root dictionary
+DICTCPP                                =  AliHLTTPC-DICT.cxx
+nodist_libAliHLTTPC_la_SOURCES  =  $(DICTCPP)
+
+CLEANFILES                     =
+
+include $(top_srcdir)/make.dict
+
+SUBDIRS                        = . Ref
diff --git a/HLT/TPCLib/Ref/Makefile.am b/HLT/TPCLib/Ref/Makefile.am
new file mode 100644 (file)
index 0000000..7d594da
--- /dev/null
@@ -0,0 +1,135 @@
+# $Id$
+# Makefile template for the Alice HLT TPC library
+
+MODULE                                 = AliHLTTPCRef
+
+AM_CPPFLAGS                    = -I$(top_srcdir)/src        \
+                                 -I$(top_srcdir)/BASE       \
+                                 -I$(ALICE_ROOT)/include    \
+                                 -I$(ALICE_ROOT)/TPC        \
+                                 -I$(ALICE_ROOT)/CONTAINERS \
+                                 -I$(ALICE_ROOT)/STEER      \
+                                 -I$(ALICE_ROOT)/RAW
+
+
+# library definition
+lib_LTLIBRARIES                        =  libAliHLTTPCRef.la
+
+# library sources
+libAliHLTTPCRef_la_SOURCES     = bitio.cxx \
+                                 errhand.cxx \
+                                 AliHLTTPCLog.cxx \
+                                 AliHLTTPCTransform.cxx \
+                                 AliHLTTPCMemHandler.cxx \
+                                 AliHLTTPCCompress.cxx \
+                                 AliHLTTPCDataCompressor.cxx \
+                                 AliHLTTPCClusterFitter.cxx \
+                                 AliHLTTPCModeller.cxx \
+                                 AliHLTTPCDataCompressorHelper.cxx \
+                                 AliHLTTPCFitter.cxx \
+                                 AliHLTTPCFileHandler.cxx \
+                                 AliHLTTPCBenchmark.cxx \
+                                 AliHLTTPCDDLDataFileHandler.cxx \
+                                 AliHLTTPCClustFinderNew.cxx \
+                                 AliHLTTPCVertex.cxx \
+                                 AliHLTTPCVertexArray.cxx \
+                                 AliHLTTPCVertexFinder.cxx \
+                                 AliHLTTPCTrackArray.cxx \
+                                 AliHLTTPCTrack.cxx \
+                                 AliHLTTPCConfMapFit.cxx \
+                                 AliHLTTPCConfMapTrack.cxx \
+                                 AliHLTTPCConfMapPoint.cxx \
+                                 AliHLTTPCConfMapper.cxx \
+                                 AliHLTTPCModelTrack.cxx \
+                                 AliHLTTPCHoughTrack.cxx \
+                                 AliHLTTPCMerger.cxx \
+                                 AliHLTTPCTrackMerger.cxx \
+                                 AliHLTTPCGlobalMerger.cxx \
+                                 AliHLTTPCInterMerger.cxx \
+                                 AliHLTTPC.cxx \
+                                 AliHLTTPCDisplay.cxx \
+                                 AliHLTTPCDefinitions.cxx \
+                                 AliHLTTPCRawDataUnpackerComponent.cxx \
+                                 AliHLTTPCClusterFinderComponent.cxx \
+                                 AliHLTTPCVertexFinderComponent.cxx \
+                                 AliHLTTPCSliceTrackerComponent.cxx \
+                                 AliHLTTPCGlobalMergerComponent.cxx
+
+
+#                                AliRawReaderMemory.cxx
+
+
+#                                AliHLTTPCHoughTrack.cxx \
+#                                AliHLTTPCHistogram.cxx \
+#                                AliHLTTPCHistogramAdaptive.cxx \
+#                                AliHLTTPCHoughBaseTransformer.cxx \
+#                                AliHLTTPCHoughTransformerRow.cxx
+
+
+# class header files, the link definition for the root dictionary
+# will be created from the names of the header files
+CLASS_HDRS                     = AliHLTTPCLog.h \
+                                 AliHLTTPCTransform.h \
+                                 AliHLTTPCMemHandler.h \
+                                 AliHLTTPCCompress.h \
+                                 AliHLTTPCDataCompressor.h \
+                                 AliHLTTPCClusterFitter.h \
+                                 AliHLTTPCModeller.h \
+                                 AliHLTTPCDataCompressorHelper.h \
+                                 AliHLTTPCFitter.h \
+                                 AliHLTTPCFileHandler.h \
+                                 AliHLTTPCBenchmark.h \
+                                 AliHLTTPCDDLDataFileHandler.h \
+                                 AliHLTTPCClustFinderNew.h \
+                                 AliHLTTPCVertex.h \
+                                 AliHLTTPCVertexArray.h \
+                                 AliHLTTPCVertexFinder.h \
+                                 AliHLTTPCTrackArray.h \
+                                 AliHLTTPCTrack.h \
+                                 AliHLTTPCConfMapFit.h \
+                                 AliHLTTPCConfMapTrack.h \
+                                 AliHLTTPCConfMapPoint.h \
+                                 AliHLTTPCConfMapper.h \
+                                 AliHLTTPCModelTrack.h \
+                                 AliHLTTPCHoughTrack.h \
+                                 AliHLTTPCMerger.h \
+                                 AliHLTTPCTrackMerger.h \
+                                 AliHLTTPCGlobalMerger.h \
+                                 AliHLTTPCInterMerger.h \
+                                 AliHLTTPC.h \
+                                 AliHLTTPCDisplay.h \
+                                 AliHLTTPCDefinitions.h \
+                                 AliHLTTPCRawDataUnpackerComponent.h \
+                                 AliHLTTPCClusterFinderComponent.h \
+                                 AliHLTTPCVertexFinderComponent.h \
+                                 AliHLTTPCSliceTrackerComponent.h \
+                                 AliHLTTPCGlobalMergerComponent.h
+
+
+pkginclude_HEADERS             = $(CLASS_HDRS) \
+                                 bitio.h \
+                                 errhand.h \
+                                 AliHLTTPCLogging.h \
+                                 AliHLTTPCStandardIncludes.h \
+                                 AliHLTTPCRootTypes.h \
+                                 AliHLTTPCDigitData.h \
+                                 AliHLTTPCTrackSegmentData.h \
+                                 AliHLTTPCSpacePointData.h \
+                                 AliHLTTPCVertexData.h \
+                                 AliHLTTPCTrackletDataFormat.h \
+                                 AliHLTTPCRawDataFormat.h \
+                                 AliHLTTPCClusterDataFormat.h \
+                                 AliHLTTPCModels.h \
+                                 AliHLTTPCFitUtilities.h
+
+
+# version info for the library
+libAliHLTTPCRef_la_LDFLAGS     =  -version-info 1:0:0
+
+# set the file name for the generated root dictionary
+DICTCPP                                =  AliHLTTPCRef-DICT.cxx
+nodist_libAliHLTTPCRef_la_SOURCES  =  $(DICTCPP)
+
+CLEANFILES                     =
+
+include $(top_srcdir)/make.dict
diff --git a/HLT/acinclude.m4 b/HLT/acinclude.m4
new file mode 100644 (file)
index 0000000..2aaa56e
--- /dev/null
@@ -0,0 +1,176 @@
+dnl
+dnl $Id$
+dnl
+dnl  Copyright (C) 2002 Christian Holm Christensen <cholm@nbi.dk>
+dnl
+dnl  This library is free software; you can redistribute it and/or
+dnl  modify it under the terms of the GNU Lesser General Public License
+dnl  as published by the Free Software Foundation; either version 2.1
+dnl  of the License, or (at your option) any later version.
+dnl
+dnl  This library is distributed in the hope that it will be useful,
+dnl  but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+dnl  Lesser General Public License for more details.
+dnl
+dnl  You should have received a copy of the GNU Lesser General Public
+dnl  License along with this library; if not, write to the Free
+dnl  Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+dnl  02111-1307 USA
+dnl
+dnl ------------------------------------------------------------------
+AC_DEFUN([AC_DEBUG],
+[
+  AC_REQUIRE([AC_PROG_CC])
+  AC_REQUIRE([AC_PROG_CXX])
+  AC_MSG_CHECKING(whether to make debug objects)
+  AC_ARG_ENABLE(debug,
+    [AC_HELP_STRING([--enable-debug],[Enable debugging symbols in objects])],
+    [],[enable_debug=yes])
+  if test "x$enable_debug" = "xno" ; then
+    CFLAGS=`echo $CFLAGS | sed 's,-g,,'`
+    CXXFLAGS=`echo $CXXFLAGS | sed 's,-g,,'`
+  else
+    AC_DEFINE(__DEBUG)
+    case $CXXFLAGS in
+    *-g*) ;;
+    *)    CXXFLAGS="$CXXFLAGS -g" ;;
+    esac
+    case $CFLAGS in
+    *-g*) ;;
+    *)    CFLAGS="$CFLAGS -g" ;;
+    esac
+  fi
+  AC_MSG_RESULT($enable_debug 'CFLAGS=$CFLAGS')
+])
+
+dnl ------------------------------------------------------------------
+AC_DEFUN([AC_OPTIMIZATION],
+[
+  AC_REQUIRE([AC_PROG_CC])
+  AC_REQUIRE([AC_PROG_CXX])
+
+  AC_ARG_ENABLE(optimization,
+    [AC_HELP_STRING([--enable-optimization],[Enable optimization of objects])],
+    [],[enable_optimization=yes])
+
+  AC_MSG_CHECKING(for optimiztion level)
+
+  changequote(<<, >>)dnl
+  if test "x$enable_optimization" = "xno" ; then
+    CFLAGS=`echo   $CFLAGS   | sed 's,-O\([0-9][0-9]*\|\),,'`
+    CXXFLAGS=`echo $CXXFLAGS | sed 's,-O\([0-9][0-9]*\|\),,'`
+  elif test "x$enable_optimization" = "xyes" ; then
+    case $CXXFLAGS in
+    *-O*) ;;
+    *)    CXXFLAGS="$CXXFLAGS -O2" ;;
+    esac
+    case $CFLAGS in
+    *-O*) ;;
+    *)    CFLAGS="$CXXFLAGS -O2" ;;
+    esac
+  else
+    CFLAGS=`echo   $CFLAGS   | sed "s,-O\([0-9][0-9]*\|\),-O$enable_optimization,"`
+    CXXFLAGS=`echo $CXXFLAGS | sed "s,-O\([0-9][0-9]*\|\),-O$enable_optimization,"`
+  fi
+  changequote([, ])dnl
+  AC_MSG_RESULT($enable_optimization 'CFLAGS=$CFLAGS')
+])
+
+dnl ------------------------------------------------------------------
+
+dnl
+dnl Autoconf macro to check for existence or ROOT on the system
+dnl Synopsis:
+dnl
+dnl  ROOT_PATH([MINIMUM-VERSION, [ACTION-IF-FOUND, [ACTION-IF-NOT-FOUND]]])
+dnl
+dnl Some examples: 
+dnl 
+dnl    ROOT_PATH(3.03/05, , AC_MSG_ERROR(Your ROOT version is too old))
+dnl    ROOT_PATH(, AC_DEFINE([HAVE_ROOT]))
+dnl 
+dnl The macro defines the following substitution variables
+dnl
+dnl    ROOTCONF           full path to root-config
+dnl    ROOTEXEC           full path to root
+dnl    ROOTCINT           full path to rootcint
+dnl    ROOTLIBDIR         Where the ROOT libraries are 
+dnl    ROOTINCDIR         Where the ROOT headers are 
+dnl    ROOTCFLAGS         Extra compiler flags
+dnl    ROOTLIBS           ROOT basic libraries 
+dnl    ROOTGLIBS          ROOT basic + GUI libraries
+dnl    ROOTAUXLIBS        Auxilary libraries and linker flags for ROOT
+dnl    ROOTAUXCFLAGS      Auxilary compiler flags 
+dnl    ROOTRPATH          Same as ROOTLIBDIR
+dnl
+dnl The macro will fail if root-config and rootcint isn't found.
+dnl
+dnl Christian Holm Christensen <cholm@nbi.dk>
+dnl
+AC_DEFUN([ROOT_PATH],
+[
+  AC_ARG_WITH(rootsys,
+  [  --with-rootsys          top of the ROOT installation directory],
+    user_rootsys=$withval,
+    user_rootsys="none")
+  if test ! x"$user_rootsys" = xnone; then
+    rootbin="$user_rootsys/bin"
+  elif test ! x"$ROOTSYS" = x ; then 
+    rootbin="$ROOTSYS/bin"
+  else 
+   rootbin=$PATH
+  fi
+  AC_PATH_PROG(ROOTCONF, root-config , no, $rootbin)
+  AC_PATH_PROG(ROOTEXEC, root , no, $rootbin)
+  AC_PATH_PROG(ROOTCINT, rootcint , no, $rootbin)
+       
+  if test ! x"$ROOTCONF" = "xno" && \
+     test ! x"$ROOTCINT" = "xno" ; then 
+
+    # define some variables 
+    ROOTLIBDIR=`$ROOTCONF --libdir`
+    ROOTINCDIR=`$ROOTCONF --incdir`
+    ROOTCFLAGS=`$ROOTCONF --noauxcflags --cflags` 
+    ROOTLIBS=`$ROOTCONF --noauxlibs --noldflags --libs`
+    ROOTGLIBS=`$ROOTCONF --noauxlibs --noldflags --glibs`
+    ROOTAUXCFLAGS=`$ROOTCONF --auxcflags`
+    ROOTAUXLIBS=`$ROOTCONF --auxlibs`
+    ROOTRPATH=$ROOTLIBDIR
+       
+    if test $1 ; then 
+      AC_MSG_CHECKING(wether ROOT version >= [$1])
+      vers=`$ROOTCONF --version | tr './' ' ' | awk 'BEGIN { FS = " "; } { printf "%d", ($''1 * 1000 + $''2) * 1000 + $''3;}'`
+      requ=`echo $1 | tr './' ' ' | awk 'BEGIN { FS = " "; } { printf "%d", ($''1 * 1000 + $''2) * 1000 + $''3;}'`
+      if test $vers -lt $requ ; then 
+        AC_MSG_RESULT(no)
+       no_root="yes"
+      else 
+        AC_MSG_RESULT(yes)
+      fi
+    fi
+  else
+    # otherwise, we say no_root
+    no_root="yes"
+  fi
+
+  AC_SUBST(ROOTLIBDIR)
+  AC_SUBST(ROOTINCDIR)
+  AC_SUBST(ROOTCFLAGS)
+  AC_SUBST(ROOTLIBS)
+  AC_SUBST(ROOTGLIBS) 
+  AC_SUBST(ROOTAUXLIBS)
+  AC_SUBST(ROOTAUXCFLAGS)
+  AC_SUBST(ROOTRPATH)
+
+  if test "x$no_root" = "x" ; then 
+    ifelse([$2], , :, [$2])     
+  else 
+    ifelse([$3], , :, [$3])     
+  fi
+])
+
+
+#
+# EOF
+#
diff --git a/HLT/configure.ac b/HLT/configure.ac
new file mode 100644 (file)
index 0000000..a1c8438
--- /dev/null
@@ -0,0 +1,165 @@
+dnl -*- mode: autoconf -*- 
+dnl
+dnl $Id$
+dnl template for the configuration script for the Alice HLT 
+dnl framework and components
+dnl 
+dnl ------------------------------------------------------------------
+AC_INIT([Alice High Level Trigger] , [0.1], [Matthias.Richter@ift.uib.no], alice-hlt)
+
+dnl ------------------------------------------------------------------
+dnl the package from CVS contains the old Makefiles as well. In order to
+dnl prevent them from becoming overwritten, we require a separate build
+dnl directory
+if test "`dirname $0`" = "." ; then
+   AC_ERROR([please run the script from a separate build directory])
+fi
+
+dnl ------------------------------------------------------------------
+AC_CANONICAL_SYSTEM
+AC_PREFIX_DEFAULT(${PWD})
+AC_CONFIG_SRCDIR(BASE/AliHLTComponent.cxx)
+AM_INIT_AUTOMAKE
+AC_PROG_CC
+AC_PROG_CXX
+AC_PROG_LIBTOOL
+
+AC_DEBUG
+AC_OPTIMIZATION
+
+dnl ------------------------------------------------------------------
+dnl
+dnl Check for ROOT
+dnl
+ROOT_PATH(, [have_root=1], [AC_ERROR([Stop! The HLT package needs ROOT.])])
+AM_CONDITIONAL(HAVE_ROOT, test "x$have_root" = "x1" )
+
+dnl ------------------------------------------------------------------
+# TODO: make this configurable through arguments
+#Define whether you want to run with ALIROOT or only ROOT
+AH_TEMPLATE([ALIHLT_USEPACKAGE],[running environment])
+ALIHLT_USEPACKAGE=ALIROOT
+#ALIHLT_USEPACKAGE=ROOT
+#ALIHLT_USEPACKAGE=STANDALONE
+AC_DEFINE(use_aliroot)
+AC_DEFINE(use_root)
+CPPFLAGS="$CPPFLAGS -DROOTVERSION=`${ROOTCONF} --version`"
+CPPFLAGS="$CPPFLAGS -DALIROOTVERSION=0"
+CPPFLAGS="$CPPFLAGS -I${ROOTINCDIR}"
+
+dnl ------------------------------------------------------------------
+AC_MSG_CHECKING([whether to compile sample library])
+AH_TEMPLATE([HLT_SAMPLE],[hlt sample library])
+AC_ARG_ENABLE(sample,
+  [AC_HELP_STRING([--enable-sample],
+      [compile the sample library ])],
+  [],[enable_sample=yes])
+if test "x$enable_sample" = "xyes" ; then 
+  AC_DEFINE(HLT_SAMPLE)
+fi
+AM_CONDITIONAL(EN_HLT_SAMPLE, test x$enable_sample = xyes)
+AC_MSG_RESULT([$enable_sample])
+
+dnl ------------------------------------------------------------------
+AC_MSG_CHECKING([whether to compile tpc library])
+AH_TEMPLATE([HLT_TPC],[hlt tpc library])
+AC_ARG_ENABLE(tpc,
+  [AC_HELP_STRING([--enable-tpc],
+      [compile the tpc library ])],
+  [],[enable_tpc=yes])
+if test "x$enable_tpc" = "xyes" ; then 
+  AC_DEFINE(HLT_TPC)
+fi
+AM_CONDITIONAL(EN_HLT_TPC, test x$enable_tpc = xyes)
+AC_MSG_RESULT([$enable_tpc])
+
+dnl ------------------------------------------------------------------
+AC_MSG_CHECKING([whether to enable HLT logging])
+AH_TEMPLATE([NOLOGGING],[disable hlt logging])
+AC_ARG_ENABLE(logging,
+  [AC_HELP_STRING([--enable-logging],
+      [enable logging])],
+  [],[enable_logging=yes])
+if test "x$enable_logging" != "xyes" ; then 
+  AC_DEFINE(NOLOGGING)
+fi
+AC_MSG_RESULT([$enable_logging])
+
+dnl ------------------------------------------------------------------
+AC_MSG_CHECKING([whether to enable saving MC data through the chain])
+AH_TEMPLATE([DOMC],[MC saving])
+AC_ARG_ENABLE(mc-saving,
+  [AC_HELP_STRING([--enable-mc-saving],
+      [enable saving MC data through the chain])],
+  [],[enable_mc_saving=no])
+if test "x$enable_mc_saving" = "xyes" ; then 
+  AC_DEFINE(DOMC)
+fi
+AC_MSG_RESULT([$enable_mc_saving])
+
+dnl ------------------------------------------------------------------
+# TODO: get AliRoot version during configure
+#Switch on ALIROOT version detection by cvs command
+#ifeq ($(ALIHLT_ALIDETECT),true)
+#USECVS = 1
+#endif
+
+dnl ------------------------------------------------------------------
+AC_MSG_CHECKING([whether to enable AliRoot NEWIO])
+AH_TEMPLATE([use_newio],[AliRoot NEWIO])
+AC_ARG_ENABLE(newio,
+  [AC_HELP_STRING([--enable-newio],
+      [enable AliRoot NEWIO ])],
+  [],[enable_newio=yes])
+if test "x$enable_newio" = "xyes" ; then 
+  AC_DEFINE(use_newio)
+fi
+AC_MSG_RESULT([$enable_newio])
+
+dnl ------------------------------------------------------------------
+dnl certainly something old, but we keep the define
+AC_MSG_CHECKING([whether to use ROWHOUGH])
+AH_TEMPLATE([USEROWHOUGH],[HLT ROWHOUGH])
+AC_ARG_ENABLE(rowhough,
+  [AC_HELP_STRING([--enable-rowhough],
+      [use ROWHOUGH ])],
+  [],[enable_rowhough=no])
+if test "x$enable_rowhough" = "xyes" ; then 
+  AC_DEFINE(USEROWHOUGH)
+fi
+AC_MSG_RESULT([$enable_rowhough])
+
+dnl ------------------------------------------------------------------
+dnl
+dnl Documentation
+dnl
+AC_ARG_VAR(DOXYGEN, The Documentation Generator)
+AC_PATH_PROG(PERL, perl)
+AC_PATH_PROG(DOXYGEN, doxygen)
+AM_CONDITIONAL(HAVE_DOXYGEN, test ! "x$DOXYGEN" = "x")
+HAVE_DOT=NO
+DOT_PATH=
+AC_PATH_PROG(DOT, dot)
+if ! test "x$DOT" = "x" ; then
+   HAVE_DOT=YES
+   DOT_PATH=`dirname $DOT`
+fi
+AC_SUBST([HAVE_DOT])
+AC_SUBST([DOT_PATH])
+
+dnl ------------------------------------------------------------------
+AC_CONFIG_FILES([Makefile 
+                BASE/Makefile
+                SampleLib/Makefile
+                TPCLib/Makefile
+                TPCLib/Ref/Makefile
+                src/Makefile
+                doc/Makefile
+                doc/doxygen.conf])
+
+
+AC_OUTPUT
+dnl
+dnl EOF
+dnl
+
diff --git a/HLT/doc/Makefile.am b/HLT/doc/Makefile.am
new file mode 100644 (file)
index 0000000..ee1f6ff
--- /dev/null
@@ -0,0 +1,63 @@
+# $Id$
+# Makefile template for the Alice HLT documentation
+#
+#***********************************************************************
+#
+# Alice HLT project
+# Copyright (c) 2005
+#
+# This file is property of and copyright by the Experimental Nuclear 
+# Physics Group, Dep. of Physics and Technology
+# University of Bergen, Norway, 2004
+# This file has been written by Matthias Richter,
+# Matthias.Richter@ift.uib.no
+#
+# Permission to use, copy, modify and distribute this software and its  
+# documentation strictly for non-commercial purposes is hereby granted  
+# without fee, provided that the above copyright notice appears in all  
+# copies and that both the copyright notice and this permission notice  
+# appear in the supporting documentation. The authors make no claims    
+# about the suitability of this software for any purpose. It is         
+# provided "as is" without express or implied warranty.                 
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free
+# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 
+# MA 02111-1307  USA  
+#
+#***********************************************************************/
+
+EXTRA_DIST             = mainpage.c
+
+DISTCLEANFILES         = doxy.log $(PACKAGE).tags
+if HAVE_DOXYGEN
+HTML                   = html/index.html 
+TAGS                   = $(PACKAGE).tags
+else 
+HTML                   =
+TAGS                   = 
+endif
+
+%.png:%.fig
+       fig2dev -Lpng $< 
+
+all-local:$(HTML)
+
+
+clean-local: 
+       rm -rf *~ html latex man
+
+html/index.html $(PACKAGE).tags: doxygen.conf mainpage.c       
+       $(DOXYGEN) $<  
+       for i in `find @srcdir@ -name '*.png'`; do cp -f $$i html/pic_`basename $$i`; done
+
+tar-ball:$(HTML)
+       if test -f html/index.html ; then \
+         mv html $(PACKAGE) ;  \
+         tar -czvf ../$(PACKAGE)-$(VERSION)-doc.tar.gz $(PACKAGE) ; \
+         mv $(PACKAGE) html ; fi 
+
+
+#
+# EOF
+#
diff --git a/HLT/doc/doxygen.conf.in b/HLT/doc/doxygen.conf.in
new file mode 100644 (file)
index 0000000..58e5828
--- /dev/null
@@ -0,0 +1,207 @@
+#
+
+#---------------------------------------------------------------------------
+# General configuration options
+#---------------------------------------------------------------------------
+PROJECT_NAME           = "@PACKAGE_NAME@"
+PROJECT_NUMBER         = @PACKAGE_VERSION@
+OUTPUT_DIRECTORY       = .
+OUTPUT_LANGUAGE        = English
+USE_WINDOWS_ENCODING   = NO
+BRIEF_MEMBER_DESC      = NO
+REPEAT_BRIEF           = YES
+ALWAYS_DETAILED_SEC    = YES
+INLINE_INHERITED_MEMB  = NO
+FULL_PATH_NAMES        = NO
+STRIP_FROM_PATH        = 
+SHORT_NAMES            = NO
+JAVADOC_AUTOBRIEF      = YES
+MULTILINE_CPP_IS_BRIEF = NO
+DETAILS_AT_TOP         = YES
+INHERIT_DOCS           = YES
+DISTRIBUTE_GROUP_DOC   = NO
+TAB_SIZE               = 8
+GENERATE_TESTLIST      = YES
+GENERATE_BUGLIST       = YES
+ALIASES                = 
+OPTIMIZE_OUTPUT_FOR_C  = YES
+OPTIMIZE_OUTPUT_JAVA   = NO
+SUBGROUPING            = YES
+
+#---------------------------------------------------------------------------
+# Build related configuration options
+#---------------------------------------------------------------------------
+EXTRACT_ALL            = YES
+EXTRACT_PRIVATE        = YES
+EXTRACT_STATIC         = YES
+EXTRACT_LOCAL_CLASSES  = YES
+HIDE_UNDOC_MEMBERS     = NO
+HIDE_UNDOC_CLASSES     = NO
+HIDE_FRIEND_COMPOUNDS  = NO
+HIDE_IN_BODY_DOCS      = YES
+INTERNAL_DOCS          = NO
+CASE_SENSE_NAMES       = YES
+HIDE_SCOPE_NAMES       = NO
+SHOW_INCLUDE_FILES     = YES
+INLINE_INFO            = YES
+SORT_MEMBER_DOCS       = YES
+GENERATE_TODOLIST      = YES
+GENERATE_DEPRECATEDLIST= YES
+ENABLED_SECTIONS       = 
+MAX_INITIALIZER_LINES  = 30
+SHOW_USED_FILES        = YES
+#---------------------------------------------------------------------------
+# configuration options related to warning and progress messages
+#---------------------------------------------------------------------------
+QUIET                  = YES
+WARNINGS               = YES
+WARN_IF_UNDOCUMENTED   = YES
+WARN_IF_DOC_ERROR      = YES
+WARN_FORMAT            = "$file:$line: $text"
+WARN_LOGFILE           = 
+#---------------------------------------------------------------------------
+# configuration options related to the input files
+#---------------------------------------------------------------------------
+INPUT                  = @top_srcdir@/doc      \
+                        @top_srcdir@/BASE      
+FILE_PATTERNS          = *.h *.c *.cpp *.hpp
+RECURSIVE              = YES
+EXCLUDE                = 
+EXCLUDE_SYMLINKS       = NO
+EXCLUDE_PATTERNS       = 
+EXAMPLE_PATH           = 
+EXAMPLE_PATTERNS       = 
+EXAMPLE_RECURSIVE      = NO
+IMAGE_PATH             = @srcdir@
+INPUT_FILTER           = 
+FILTER_SOURCE_FILES    = NO
+#---------------------------------------------------------------------------
+# configuration options related to source browsing
+#---------------------------------------------------------------------------
+SOURCE_BROWSER         = NO
+INLINE_SOURCES         = NO
+STRIP_CODE_COMMENTS    = YES
+REFERENCED_BY_RELATION = YES
+REFERENCES_RELATION    = YES
+VERBATIM_HEADERS       = NO
+#---------------------------------------------------------------------------
+# configuration options related to the alphabetical class index
+#---------------------------------------------------------------------------
+ALPHABETICAL_INDEX     = YES
+COLS_IN_ALPHA_INDEX    = 5
+IGNORE_PREFIX          = 
+#---------------------------------------------------------------------------
+# configuration options related to the HTML output
+#---------------------------------------------------------------------------
+GENERATE_HTML          = YES
+HTML_OUTPUT            = html
+HTML_FILE_EXTENSION    = .html
+HTML_HEADER            = 
+HTML_FOOTER            = 
+HTML_STYLESHEET        = 
+HTML_ALIGN_MEMBERS     = YES
+GENERATE_HTMLHELP      = NO
+CHM_FILE               =
+HHC_LOCATION           =
+GENERATE_CHI           = NO
+BINARY_TOC             = NO
+TOC_EXPAND             = NO
+DISABLE_INDEX          = NO
+ENUM_VALUES_PER_LINE   = 4
+GENERATE_TREEVIEW      = NO
+TREEVIEW_WIDTH         = 150
+#---------------------------------------------------------------------------
+# configuration options related to the LaTeX output
+#---------------------------------------------------------------------------
+GENERATE_LATEX         = NO
+LATEX_OUTPUT           = latex
+LATEX_CMD_NAME         = latex
+MAKEINDEX_CMD_NAME     = makeindex
+COMPACT_LATEX          = YES
+PAPER_TYPE             = a4wide
+EXTRA_PACKAGES         = 
+LATEX_HEADER           = 
+PDF_HYPERLINKS         = YES
+USE_PDFLATEX           = YES
+LATEX_BATCHMODE        = NO
+LATEX_HIDE_INDICES     = NO
+#---------------------------------------------------------------------------
+# configuration options related to the RTF output
+#---------------------------------------------------------------------------
+GENERATE_RTF           = NO
+RTF_OUTPUT             = rtf
+COMPACT_RTF            = NO
+RTF_HYPERLINKS         = NO
+RTF_STYLESHEET_FILE    = 
+RTF_EXTENSIONS_FILE    = 
+#---------------------------------------------------------------------------
+# configuration options related to the man page output
+#---------------------------------------------------------------------------
+GENERATE_MAN           = NO
+MAN_OUTPUT             = man
+MAN_EXTENSION          = .3
+MAN_LINKS              = NO
+#---------------------------------------------------------------------------
+# configuration options related to the XML output
+#---------------------------------------------------------------------------
+GENERATE_XML           = NO
+XML_OUTPUT             = xml
+XML_SCHEMA             =
+XML_DTD                =
+#---------------------------------------------------------------------------
+# configuration options for the AutoGen Definitions output
+#---------------------------------------------------------------------------
+GENERATE_AUTOGEN_DEF   = NO
+#---------------------------------------------------------------------------
+# configuration options related to the Perl module output
+#---------------------------------------------------------------------------
+GENERATE_PERLMOD       = NO
+PERLMOD_LATEX          = NO
+PERLMOD_PRETTY         = YES
+PERLMOD_MAKEVAR_PREFIX =
+#---------------------------------------------------------------------------
+# Configuration options related to the preprocessor   
+#---------------------------------------------------------------------------
+ENABLE_PREPROCESSING   = YES
+MACRO_EXPANSION        = YES
+EXPAND_ONLY_PREDEF     = NO
+SEARCH_INCLUDES        = YES
+INCLUDE_PATH           = 
+INCLUDE_FILE_PATTERNS  = 
+PREDEFINED             = "DOXYGEN_INPUT" 
+EXPAND_AS_DEFINED      = 
+SKIP_FUNCTION_MACROS   = YES
+#---------------------------------------------------------------------------
+# Configuration::addtions related to external references   
+#---------------------------------------------------------------------------
+TAGFILES               = 
+GENERATE_TAGFILE       = @PACKAGE@.tags
+ALLEXTERNALS           = NO
+EXTERNAL_GROUPS        = YES
+PERL_PATH              = @PERL@
+#---------------------------------------------------------------------------
+# Configuration options related to the dot tool   
+#---------------------------------------------------------------------------
+CLASS_DIAGRAMS         = YES
+HIDE_UNDOC_RELATIONS   = NO
+HAVE_DOT               = @HAVE_DOT@
+CLASS_GRAPH            = YES
+COLLABORATION_GRAPH    = YES
+UML_LOOK               = YES
+TEMPLATE_RELATIONS     = YES
+INCLUDE_GRAPH          = YES
+INCLUDED_BY_GRAPH      = YES
+CALL_GRAPH            = YES
+GRAPHICAL_HIERARCHY    = YES
+DOT_IMAGE_FORMAT       = png
+DOT_PATH               = @DOT_PATH@
+DOTFILE_DIRS           = 
+MAX_DOT_GRAPH_WIDTH    = 640
+MAX_DOT_GRAPH_HEIGHT   = 640
+MAX_DOT_GRAPH_DEPTH    = 0
+GENERATE_LEGEND        = YES
+DOT_CLEANUP            = YES
+#---------------------------------------------------------------------------
+# Configuration::addtions related to the search engine   
+#---------------------------------------------------------------------------
+SEARCHENGINE           = NO
diff --git a/HLT/doc/mainpage.c b/HLT/doc/mainpage.c
new file mode 100644 (file)
index 0000000..724a9ec
--- /dev/null
@@ -0,0 +1,46 @@
+/*
+ * $Id$
+ *
+/************************************************************************
+**
+** ALICE HLT project
+** Copyright (c) 2005
+**
+** This file is property of and copyright by the Experimental Nuclear 
+** Physics Group, Dep. of Physics and Technology
+** University of Bergen, Norway, 2004
+** This file has been written by Matthias Richter,
+** Matthias.Richter@ift.uib.no
+**
+** Permission to use, copy, modify and distribute this software and its  
+** documentation strictly for non-commercial purposes is hereby granted  
+** without fee, provided that the above copyright notice appears in all  
+** copies and that both the copyright notice and this permission notice  
+** appear in the supporting documentation. The authors make no claims    
+** about the suitability of this software for any purpose. It is         
+** provided "as is" without express or implied warranty.                 
+**
+** You should have received a copy of the GNU Lesser General Public
+** License along with this library; if not, write to the Free
+** Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 
+** MA 02111-1307  USA  
+**
+*************************************************************************/
+
+/** @file   mainpage.c
+    @author Matthias Richter
+    @date   
+    @brief  Title page documentation. */
+/** @mainpage ALICE HLT
+
+    @section intro Introduction
+
+    @section overview Overview
+
+
+*/
+
+#error Not for compilation
+//
+// EOF
+//
diff --git a/HLT/make.dict b/HLT/make.dict
new file mode 100644 (file)
index 0000000..9dcb2c5
--- /dev/null
@@ -0,0 +1,36 @@
+# Makefile template for ROOT dictionary generation
+#
+# usage:
+#  1. set variable CLASS_HDRS to the class header files
+#  2. set DICTCPP variable to dictionary c++ file name
+#     e.g. <module>-DICT.cxx
+#  3. add the source file name to the list of generated sources
+#     nodist_lib<module>_la_SOURCES  =  $(DICTCPP)
+#  4. include this file from your Makefile(.am)
+#     e.g. include ../make.dict
+#
+# Author: Matthias.Richter@ift.uib.no
+#
+DICTDEF                                =  $(MODULE)-LinkDef.h
+DICTFILES                      =  $(DICTCPP) $(DICTCPP:.cxx=.h) $(DICTDEF)
+DICTHEADERS                    =  $(CLASS_HDRS)
+
+CLEANFILES                     += $(DICTFILES)
+
+
+$(DICTCPP:.cxx=.h): $(DICTCPP)
+       if test $@ ; then : ; else rm -f $< ; $(MAKE) $(MAKEFLAGS) $< ; fi 
+
+$(DICTCPP): $(DICTHEADERS:%=$(srcdir)/%) $(DICTDEF)
+       if [ -x $(ROOTCINT) ]; then $(ROOTCINT) -f $@ -c $(AM_CPPFLAGS) $(DEFS) $^ ; fi
+$(DICTDEF): Makefile.am
+       @echo '//automatically generated ROOT DICT definition' > $@
+       @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
+       @echo '//add further class definitions to the DICTHEADERS variable in Makefile.am' >> $@
+       @echo '#ifdef __CINT__' >> $@
+       @echo '#pragma link off all globals;' >> $@
+       @echo '#pragma link off all classes;' >> $@
+       @echo '#pragma link off all functions;' >> $@
+       @$(foreach i, $(DICTHEADERS:.h=), \
+          echo "#pragma link C++ class $(i);" >> $@ ;)
+       @echo '#endif' >> $@
diff --git a/HLT/src/Makefile.am b/HLT/src/Makefile.am
new file mode 100644 (file)
index 0000000..e8773d3
--- /dev/null
@@ -0,0 +1,8 @@
+# $Id$
+# Makefile template for the old TPC HLT code
+#
+# The purpose of this file is to include header files to the
+# package
+
+pkginclude_HEADERS             =  AliL3RootTypes.h \
+                                  AliL3StandardIncludes.h