C++ page of Benno List

Comments, suggestions, bugs to Benno List@desy.de

I have also written a bit on how to interface FORTRAN and C++.

Here is a description of a C++ interface to HBOOK.
Here is the code, as gzipped tar-file


C++ related links

Here's a set of coding conventions from Data Fellows.

A hypertext documentation of the STL


Here is a Page with A Few Good Books on C++

SUN's C++ documentation Here one finds a good description on how to interface C++ and Fortran. 


The transparencies of my talk at the cas meeting on Sep. 11. 


A few words about exceptions (pretty outdated!)
You may also want to read Tom Cargill's article "Exception Handling: A False Sense of Security" on the topic.


Source code for stuff I did at H1

Here I have collected topics I think deserve further thought before a standard BOS-C++ interface can be defined.

This part contains a few header files and a demo program that performs a track selection and plots a 2-prong mass spectrum for H1 DST data.

Load the code and play with it! For the (meager) documentation, look at the header files themselves, and at the code...

Here are the header and code files:

newmain.C: The main program

run: A script to run the program

nbosiw.h: The header file that defines the size of the BOS common (yes, that's ugly. If you have a better idea, let me know!)

bos.h: The header file for the BOS common, plus (almost) all BOS routines like nlink etc...

bos.C: The code that defines the BOSMDL and BCS "commons"

banks.h: A header file that defines the templates for bank access

dstbanks.h: A header file that defines the structure and some access functions to tyhe DST banks DTRA, DTNV, and DVER

dstbanks.C: A file that defines to which bank a TablePointer points.

fpack.h: A wrapper file for FPACK

h1util.h: A wrapper file for H1UTIL (not QUITE comprehensive)

look.h: A wrapper file for LOOK

mdb.h: A wrapper file for MDB

4vectors.h: A very crude start of a class for 4-vectors. Should be replaced by the corresponding CLHEP classes...

4vectors.C: Some initializations for the 4-vector class (mainly mass values)

Makefile.IRIX: A Makefile for Indies

Makefile.SOLARIS: A Makefile for SUNs