Index: trunk/MagicSoft/Simulation/Detector/Camera/Makefile
===================================================================
--- trunk/MagicSoft/Simulation/Detector/Camera/Makefile	(revision 326)
+++ trunk/MagicSoft/Simulation/Detector/Camera/Makefile	(revision 327)
@@ -19,7 +19,7 @@
 #
 # $RCSfile: Makefile,v $
-# $Revision: 1.1.1.1 $
+# $Revision: 1.2 $
 # $Author: harald $ 
-# $Date: 1999-11-05 11:59:32 $
+# $Date: 1999-11-19 08:40:41 $
 #
 ##################################################################
@@ -28,5 +28,5 @@
 # @code
 
-INCLUDEMK = config.mk.${OSTYPE} 
+INCLUDEMK = config.mk.${OSTYPE}
 include ${INCLUDEMK}
 
@@ -43,21 +43,11 @@
 		   -I${INCLUDE_REFL} \
                    -I${INCLUDE_ROOT} \
-	           -I/usr/include/g++
+	           -I${INCLUDE_CPLUS}
 
 RANLIB  = -L${RANLIBDIR} -lranlib
 
-# what is needed for ROOT
-
-ROOTLIBS      = -L$(ROOTSYS)/lib -lNew -lBase -lCint -lClib \
-                -lCont -lFunc -lGraf -lGraf3d -lHist -lHtml \
-                -lMatrix -lMeta -lMinuit -lNet -lPostscript \
-                -lProof -lTree -lUnix -lZip -lRint
-#ROOTLIBS      = 
-
-ROOTGLIBS     = -lGpad -lGui -lGX11 -lX3d -lX11
-#ROOTGLIBS     =
-
-GLIBS         = $(ROOTLIBS) $(ROOTGLIBS) -L/usr/X11R6/lib \
-                -lXpm -lX11  -lm -ldl -rdynamic
+# what is needed for ROOT is inside the config.mk... file
+
+
 # special flags
 
@@ -180,5 +170,4 @@
 		${INCLUDE_EVITA}/MRawEvt.h \
 		${INCLUDE_EVITA}/MMcEvt.h \
-#		${INCLUDE_EVITA}/MCameraDisplay.h \
 		${INCLUDE_EVITA}/Mdefine.h \
 		${INCLUDE_EVITA}/LinkDef.h
@@ -231,197 +220,270 @@
 ../include-MC/MCEventHeader.o: ../include-MC/MCEventHeader.hxx
 ../include-MC/MCEventHeader.o: ../include-GENERAL/Rtypes.h
-../include-MC/MCEventHeader.o: /usr/include/g++/iostream.h
-../include-MC/MCEventHeader.o: /usr/include/g++/streambuf.h
-../include-MC/MCEventHeader.o: /usr/include/libio.h /usr/include/features.h
-../include-MC/MCEventHeader.o: /usr/include/sys/cdefs.h
-../include-MC/MCEventHeader.o: /usr/include/gnu/stubs.h
-../include-MC/MCEventHeader.o: /usr/include/_G_config.h
-../include-MC/MCEventHeader.o: /usr/include/gnu/types.h
-../include-MC/MCEventHeader.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h
-../include-MC/MCEventHeader.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stdarg.h
-../include-MC/MCEventHeader.o: /usr/include/g++/iomanip.h
-../include-MC/MCEventHeader.o: /usr/include/g++/fstream.h
-../include-MC/MCEventHeader.o: /usr/include/stdlib.h /usr/include/sys/types.h
-../include-MC/MCEventHeader.o: /usr/include/time.h /usr/include/endian.h
-../include-MC/MCEventHeader.o: /usr/include/bytesex.h
+../include-MC/MCEventHeader.o: /usr/include/cxx/iostream.h
+../include-MC/MCEventHeader.o: /usr/include/cxx/iostream.hxx
+../include-MC/MCEventHeader.o: /usr/include/cxx/compnent.hxx
+../include-MC/MCEventHeader.o: /usr/include/cxx/iostream_impl.hxx
+../include-MC/MCEventHeader.o: /usr/include/cxx/cxxl.hxx
+../include-MC/MCEventHeader.o: /usr/include/cxx/cxxl_share.hxx
+../include-MC/MCEventHeader.o: /usr/include/cxx/messages.hxx
+../include-MC/MCEventHeader.o: /usr/include/stddef.h /usr/include/standards.h
+../include-MC/MCEventHeader.o: /usr/include/stdio.h /usr/include/sys/seek.h
+../include-MC/MCEventHeader.o: /usr/include/va_list.h
+../include-MC/MCEventHeader.o: /usr/include/sys/types.h
+../include-MC/MCEventHeader.o: /usr/include/mach/machine/vm_types.h
 ../include-MC/MCEventHeader.o: /usr/include/sys/select.h
-../include-MC/MCEventHeader.o: /usr/include/selectbits.h
-../include-MC/MCEventHeader.o: /usr/include/alloca.h /usr/include/math.h
-../include-MC/MCEventHeader.o: /usr/include/huge_val.h
-../include-MC/MCEventHeader.o: /usr/include/mathcalls.h
-../include-MC/MCEventHeader.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/float.h
+../include-MC/MCEventHeader.o: /usr/include/getopt.h
+../include-MC/MCEventHeader.o: /usr/include/sys/limits.h
+../include-MC/MCEventHeader.o: /usr/include/sys/machine/machlimits.h
+../include-MC/MCEventHeader.o: /usr/include/sys/syslimits.h
+../include-MC/MCEventHeader.o: /usr/include/sys/machine/machtime.h
+../include-MC/MCEventHeader.o: /usr/include/sys/rt_limits.h
+../include-MC/MCEventHeader.o: /usr/include/limits.h /usr/include/memory.h
+../include-MC/MCEventHeader.o: /usr/include/string.h /usr/include/strings.h
+../include-MC/MCEventHeader.o: /usr/include/cxx/iomanip.h
+../include-MC/MCEventHeader.o: /usr/include/cxx/iomanip.hxx
+../include-MC/MCEventHeader.o: /usr/include/cxx/iomanip_impl.hxx
+../include-MC/MCEventHeader.o: /usr/include/cxx/generic.hxx
+../include-MC/MCEventHeader.o: /usr/include/cxx/mutex.hxx
+../include-MC/MCEventHeader.o: /usr/include/cxx/fstream.h
+../include-MC/MCEventHeader.o: /usr/include/cxx/fstream.hxx
+../include-MC/MCEventHeader.o: /usr/include/cxx/fstream_impl.hxx
+../include-MC/MCEventHeader.o: /usr/include/stdlib.h /usr/include/math.h
 ../include-MC/MCEventHeader.o: ../include-CORSIKA/COREventHeader.hxx
 ../include-MC/MCCphoton.o: ../include-MC/MCCphoton.hxx
 ../include-MC/MCCphoton.o: ../include-GENERAL/Rtypes.h
-../include-MC/MCCphoton.o: /usr/include/g++/iostream.h
-../include-MC/MCCphoton.o: /usr/include/g++/streambuf.h /usr/include/libio.h
-../include-MC/MCCphoton.o: /usr/include/features.h /usr/include/sys/cdefs.h
-../include-MC/MCCphoton.o: /usr/include/gnu/stubs.h /usr/include/_G_config.h
-../include-MC/MCCphoton.o: /usr/include/gnu/types.h
-../include-MC/MCCphoton.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h
-../include-MC/MCCphoton.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stdarg.h
-../include-MC/MCCphoton.o: /usr/include/g++/iomanip.h
-../include-MC/MCCphoton.o: /usr/include/g++/fstream.h /usr/include/stdlib.h
-../include-MC/MCCphoton.o: /usr/include/sys/types.h /usr/include/time.h
-../include-MC/MCCphoton.o: /usr/include/endian.h /usr/include/bytesex.h
-../include-MC/MCCphoton.o: /usr/include/sys/select.h
-../include-MC/MCCphoton.o: /usr/include/selectbits.h /usr/include/alloca.h
-../include-MC/MCCphoton.o: /usr/include/string.h /usr/include/math.h
-../include-MC/MCCphoton.o: /usr/include/huge_val.h /usr/include/mathcalls.h
-../include-MC/MCCphoton.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/float.h
+../include-MC/MCCphoton.o: /usr/include/cxx/iostream.h
+../include-MC/MCCphoton.o: /usr/include/cxx/iostream.hxx
+../include-MC/MCCphoton.o: /usr/include/cxx/compnent.hxx
+../include-MC/MCCphoton.o: /usr/include/cxx/iostream_impl.hxx
+../include-MC/MCCphoton.o: /usr/include/cxx/cxxl.hxx
+../include-MC/MCCphoton.o: /usr/include/cxx/cxxl_share.hxx
+../include-MC/MCCphoton.o: /usr/include/cxx/messages.hxx
+../include-MC/MCCphoton.o: /usr/include/stddef.h /usr/include/standards.h
+../include-MC/MCCphoton.o: /usr/include/stdio.h /usr/include/sys/seek.h
+../include-MC/MCCphoton.o: /usr/include/va_list.h /usr/include/sys/types.h
+../include-MC/MCCphoton.o: /usr/include/mach/machine/vm_types.h
+../include-MC/MCCphoton.o: /usr/include/sys/select.h /usr/include/getopt.h
+../include-MC/MCCphoton.o: /usr/include/sys/limits.h
+../include-MC/MCCphoton.o: /usr/include/sys/machine/machlimits.h
+../include-MC/MCCphoton.o: /usr/include/sys/syslimits.h
+../include-MC/MCCphoton.o: /usr/include/sys/machine/machtime.h
+../include-MC/MCCphoton.o: /usr/include/sys/rt_limits.h /usr/include/limits.h
+../include-MC/MCCphoton.o: /usr/include/memory.h /usr/include/string.h
+../include-MC/MCCphoton.o: /usr/include/strings.h /usr/include/cxx/iomanip.h
+../include-MC/MCCphoton.o: /usr/include/cxx/iomanip.hxx
+../include-MC/MCCphoton.o: /usr/include/cxx/iomanip_impl.hxx
+../include-MC/MCCphoton.o: /usr/include/cxx/generic.hxx
+../include-MC/MCCphoton.o: /usr/include/cxx/mutex.hxx
+../include-MC/MCCphoton.o: /usr/include/cxx/fstream.h
+../include-MC/MCCphoton.o: /usr/include/cxx/fstream.hxx
+../include-MC/MCCphoton.o: /usr/include/cxx/fstream_impl.hxx
+../include-MC/MCCphoton.o: /usr/include/stdlib.h /usr/include/math.h
 ../include-MC/MCCphoton.o: ../include-GENERAL/jcmacros.h
 ../include-MTrigger/MTrigger.o: ../include-MTrigger/MTrigger.hxx
-../include-MTrigger/MTrigger.o: /usr/include/g++/iostream.h
-../include-MTrigger/MTrigger.o: /usr/include/g++/streambuf.h
-../include-MTrigger/MTrigger.o: /usr/include/libio.h /usr/include/features.h
-../include-MTrigger/MTrigger.o: /usr/include/sys/cdefs.h
-../include-MTrigger/MTrigger.o: /usr/include/gnu/stubs.h
-../include-MTrigger/MTrigger.o: /usr/include/_G_config.h
-../include-MTrigger/MTrigger.o: /usr/include/gnu/types.h
-../include-MTrigger/MTrigger.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h
-../include-MTrigger/MTrigger.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stdarg.h
-../include-MTrigger/MTrigger.o: /usr/include/math.h /usr/include/huge_val.h
-../include-MTrigger/MTrigger.o: /usr/include/mathcalls.h
-../include-MTrigger/MTrigger.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/float.h
-../include-MTrigger/MTrigger.o: /cern/root/include/TObject.h
+../include-MTrigger/MTrigger.o: /usr/include/cxx/iostream.h
+../include-MTrigger/MTrigger.o: /usr/include/cxx/iostream.hxx
+../include-MTrigger/MTrigger.o: /usr/include/cxx/compnent.hxx
+../include-MTrigger/MTrigger.o: /usr/include/cxx/iostream_impl.hxx
+../include-MTrigger/MTrigger.o: /usr/include/cxx/cxxl.hxx
+../include-MTrigger/MTrigger.o: /usr/include/cxx/cxxl_share.hxx
+../include-MTrigger/MTrigger.o: /usr/include/cxx/messages.hxx
+../include-MTrigger/MTrigger.o: /usr/include/stddef.h
+../include-MTrigger/MTrigger.o: /usr/include/standards.h /usr/include/stdio.h
+../include-MTrigger/MTrigger.o: /usr/include/sys/seek.h
+../include-MTrigger/MTrigger.o: /usr/include/va_list.h
+../include-MTrigger/MTrigger.o: /usr/include/sys/types.h
+../include-MTrigger/MTrigger.o: /usr/include/mach/machine/vm_types.h
+../include-MTrigger/MTrigger.o: /usr/include/sys/select.h
+../include-MTrigger/MTrigger.o: /usr/include/getopt.h
+../include-MTrigger/MTrigger.o: /usr/include/sys/limits.h
+../include-MTrigger/MTrigger.o: /usr/include/sys/machine/machlimits.h
+../include-MTrigger/MTrigger.o: /usr/include/sys/syslimits.h
+../include-MTrigger/MTrigger.o: /usr/include/sys/machine/machtime.h
+../include-MTrigger/MTrigger.o: /usr/include/sys/rt_limits.h
+../include-MTrigger/MTrigger.o: /usr/include/limits.h /usr/include/memory.h
+../include-MTrigger/MTrigger.o: /usr/include/string.h /usr/include/strings.h
+../include-MTrigger/MTrigger.o: /usr/include/math.h /usr/include/stdlib.h
+../include-MTrigger/MTrigger.o: /CERN/root/include/TObject.h
 ../include-MTrigger/MTrigger.o: ../../../include-Classes/Mdefine.h
-../../../include-Classes/MRawPixel.o: /usr/include/g++/iostream.h
-../../../include-Classes/MRawPixel.o: /usr/include/g++/streambuf.h
-../../../include-Classes/MRawPixel.o: /usr/include/libio.h
-../../../include-Classes/MRawPixel.o: /usr/include/features.h
-../../../include-Classes/MRawPixel.o: /usr/include/sys/cdefs.h
-../../../include-Classes/MRawPixel.o: /usr/include/gnu/stubs.h
-../../../include-Classes/MRawPixel.o: /usr/include/_G_config.h
-../../../include-Classes/MRawPixel.o: /usr/include/gnu/types.h
-../../../include-Classes/MRawPixel.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h
-../../../include-Classes/MRawPixel.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stdarg.h
-../../../include-Classes/MRawPixel.o: /cern/root/include/TClonesArray.h
-../../../include-Classes/MRawPixel.o: /cern/root/include/TString.h
+../../../include-Classes/MRawPixel.o: /usr/include/cxx/iostream.h
+../../../include-Classes/MRawPixel.o: /usr/include/cxx/iostream.hxx
+../../../include-Classes/MRawPixel.o: /usr/include/cxx/compnent.hxx
+../../../include-Classes/MRawPixel.o: /usr/include/cxx/iostream_impl.hxx
+../../../include-Classes/MRawPixel.o: /usr/include/cxx/cxxl.hxx
+../../../include-Classes/MRawPixel.o: /usr/include/cxx/cxxl_share.hxx
+../../../include-Classes/MRawPixel.o: /usr/include/cxx/messages.hxx
+../../../include-Classes/MRawPixel.o: /usr/include/stddef.h
+../../../include-Classes/MRawPixel.o: /usr/include/standards.h
+../../../include-Classes/MRawPixel.o: /usr/include/stdio.h
+../../../include-Classes/MRawPixel.o: /usr/include/sys/seek.h
+../../../include-Classes/MRawPixel.o: /usr/include/va_list.h
+../../../include-Classes/MRawPixel.o: /usr/include/sys/types.h
+../../../include-Classes/MRawPixel.o: /usr/include/mach/machine/vm_types.h
+../../../include-Classes/MRawPixel.o: /usr/include/sys/select.h
+../../../include-Classes/MRawPixel.o: /usr/include/getopt.h
+../../../include-Classes/MRawPixel.o: /usr/include/sys/limits.h
+../../../include-Classes/MRawPixel.o: /usr/include/sys/machine/machlimits.h
+../../../include-Classes/MRawPixel.o: /usr/include/sys/syslimits.h
+../../../include-Classes/MRawPixel.o: /usr/include/sys/machine/machtime.h
+../../../include-Classes/MRawPixel.o: /usr/include/sys/rt_limits.h
+../../../include-Classes/MRawPixel.o: /usr/include/limits.h
+../../../include-Classes/MRawPixel.o: /usr/include/memory.h
 ../../../include-Classes/MRawPixel.o: /usr/include/string.h
-../../../include-Classes/MRawPixel.o: /cern/root/include/TRandom.h
+../../../include-Classes/MRawPixel.o: /usr/include/strings.h
+../../../include-Classes/MRawPixel.o: /CERN/root/include/TClonesArray.h
+../../../include-Classes/MRawPixel.o: /CERN/root/include/TString.h
+../../../include-Classes/MRawPixel.o: /CERN/root/include/TRandom.h
 ../../../include-Classes/MRawPixel.o: ../../../include-Classes/MRawPixel.h
-../../../include-Classes/MRawPixel.o: /cern/root/include/TObject.h
+../../../include-Classes/MRawPixel.o: /CERN/root/include/TObject.h
 ../../../include-Classes/MRawPixel.o: ../../../include-Classes/Mdefine.h
-../../../include-Classes/MRawEvt.o: /usr/include/g++/iostream.h
-../../../include-Classes/MRawEvt.o: /usr/include/g++/streambuf.h
-../../../include-Classes/MRawEvt.o: /usr/include/libio.h
-../../../include-Classes/MRawEvt.o: /usr/include/features.h
-../../../include-Classes/MRawEvt.o: /usr/include/sys/cdefs.h
-../../../include-Classes/MRawEvt.o: /usr/include/gnu/stubs.h
-../../../include-Classes/MRawEvt.o: /usr/include/_G_config.h
-../../../include-Classes/MRawEvt.o: /usr/include/gnu/types.h
-../../../include-Classes/MRawEvt.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h
-../../../include-Classes/MRawEvt.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stdarg.h
-../../../include-Classes/MRawEvt.o: /cern/root/include/TClonesArray.h
-../../../include-Classes/MRawEvt.o: /cern/root/include/TString.h
+../../../include-Classes/MRawEvt.o: /usr/include/cxx/iostream.h
+../../../include-Classes/MRawEvt.o: /usr/include/cxx/iostream.hxx
+../../../include-Classes/MRawEvt.o: /usr/include/cxx/compnent.hxx
+../../../include-Classes/MRawEvt.o: /usr/include/cxx/iostream_impl.hxx
+../../../include-Classes/MRawEvt.o: /usr/include/cxx/cxxl.hxx
+../../../include-Classes/MRawEvt.o: /usr/include/cxx/cxxl_share.hxx
+../../../include-Classes/MRawEvt.o: /usr/include/cxx/messages.hxx
+../../../include-Classes/MRawEvt.o: /usr/include/stddef.h
+../../../include-Classes/MRawEvt.o: /usr/include/standards.h
+../../../include-Classes/MRawEvt.o: /usr/include/stdio.h
+../../../include-Classes/MRawEvt.o: /usr/include/sys/seek.h
+../../../include-Classes/MRawEvt.o: /usr/include/va_list.h
+../../../include-Classes/MRawEvt.o: /usr/include/sys/types.h
+../../../include-Classes/MRawEvt.o: /usr/include/mach/machine/vm_types.h
+../../../include-Classes/MRawEvt.o: /usr/include/sys/select.h
+../../../include-Classes/MRawEvt.o: /usr/include/getopt.h
+../../../include-Classes/MRawEvt.o: /usr/include/sys/limits.h
+../../../include-Classes/MRawEvt.o: /usr/include/sys/machine/machlimits.h
+../../../include-Classes/MRawEvt.o: /usr/include/sys/syslimits.h
+../../../include-Classes/MRawEvt.o: /usr/include/sys/machine/machtime.h
+../../../include-Classes/MRawEvt.o: /usr/include/sys/rt_limits.h
+../../../include-Classes/MRawEvt.o: /usr/include/limits.h
+../../../include-Classes/MRawEvt.o: /usr/include/memory.h
 ../../../include-Classes/MRawEvt.o: /usr/include/string.h
-../../../include-Classes/MRawEvt.o: /cern/root/include/TRandom.h
+../../../include-Classes/MRawEvt.o: /usr/include/strings.h
+../../../include-Classes/MRawEvt.o: /CERN/root/include/TClonesArray.h
+../../../include-Classes/MRawEvt.o: /CERN/root/include/TString.h
+../../../include-Classes/MRawEvt.o: /CERN/root/include/TRandom.h
 ../../../include-Classes/MRawEvt.o: ../../../include-Classes/MRawEvt.h
-../../../include-Classes/MRawEvt.o: /cern/root/include/TObject.h
+../../../include-Classes/MRawEvt.o: /CERN/root/include/TObject.h
 ../../../include-Classes/MRawEvt.o: ../../../include-Classes/Mdefine.h
 ../../../include-Classes/MRawEvt.o: ../../../include-Classes/MRawPixel.h
-../../../include-Classes/MMcEvt.o: /usr/include/g++/iostream.h
-../../../include-Classes/MMcEvt.o: /usr/include/g++/streambuf.h
-../../../include-Classes/MMcEvt.o: /usr/include/libio.h
-../../../include-Classes/MMcEvt.o: /usr/include/features.h
-../../../include-Classes/MMcEvt.o: /usr/include/sys/cdefs.h
-../../../include-Classes/MMcEvt.o: /usr/include/gnu/stubs.h
-../../../include-Classes/MMcEvt.o: /usr/include/_G_config.h
-../../../include-Classes/MMcEvt.o: /usr/include/gnu/types.h
-../../../include-Classes/MMcEvt.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h
-../../../include-Classes/MMcEvt.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stdarg.h
+../../../include-Classes/MMcEvt.o: /usr/include/cxx/iostream.h
+../../../include-Classes/MMcEvt.o: /usr/include/cxx/iostream.hxx
+../../../include-Classes/MMcEvt.o: /usr/include/cxx/compnent.hxx
+../../../include-Classes/MMcEvt.o: /usr/include/cxx/iostream_impl.hxx
+../../../include-Classes/MMcEvt.o: /usr/include/cxx/cxxl.hxx
+../../../include-Classes/MMcEvt.o: /usr/include/cxx/cxxl_share.hxx
+../../../include-Classes/MMcEvt.o: /usr/include/cxx/messages.hxx
+../../../include-Classes/MMcEvt.o: /usr/include/stddef.h
+../../../include-Classes/MMcEvt.o: /usr/include/standards.h
+../../../include-Classes/MMcEvt.o: /usr/include/stdio.h
+../../../include-Classes/MMcEvt.o: /usr/include/sys/seek.h
+../../../include-Classes/MMcEvt.o: /usr/include/va_list.h
+../../../include-Classes/MMcEvt.o: /usr/include/sys/types.h
+../../../include-Classes/MMcEvt.o: /usr/include/mach/machine/vm_types.h
+../../../include-Classes/MMcEvt.o: /usr/include/sys/select.h
+../../../include-Classes/MMcEvt.o: /usr/include/getopt.h
+../../../include-Classes/MMcEvt.o: /usr/include/sys/limits.h
+../../../include-Classes/MMcEvt.o: /usr/include/sys/machine/machlimits.h
+../../../include-Classes/MMcEvt.o: /usr/include/sys/syslimits.h
+../../../include-Classes/MMcEvt.o: /usr/include/sys/machine/machtime.h
+../../../include-Classes/MMcEvt.o: /usr/include/sys/rt_limits.h
+../../../include-Classes/MMcEvt.o: /usr/include/limits.h
+../../../include-Classes/MMcEvt.o: /usr/include/memory.h
+../../../include-Classes/MMcEvt.o: /usr/include/string.h
+../../../include-Classes/MMcEvt.o: /usr/include/strings.h
 ../../../include-Classes/MMcEvt.o: ../../../include-Classes/MMcEvt.h
 ../../../include-Classes/MMcEvt.o: /usr/include/stdlib.h
-../../../include-Classes/MMcEvt.o: /usr/include/sys/types.h
-../../../include-Classes/MMcEvt.o: /usr/include/time.h /usr/include/endian.h
-../../../include-Classes/MMcEvt.o: /usr/include/bytesex.h
-../../../include-Classes/MMcEvt.o: /usr/include/sys/select.h
-../../../include-Classes/MMcEvt.o: /usr/include/selectbits.h
-../../../include-Classes/MMcEvt.o: /usr/include/alloca.h /usr/include/stdio.h
-../../../include-Classes/MMcEvt.o: /usr/include/stdio_lim.h
-../../../include-Classes/MMcEvt.o: /usr/include/string.h
 ../../../include-Classes/MMcEvt.o: /usr/include/unistd.h
-../../../include-Classes/MMcEvt.o: /usr/include/posix_opt.h
-../../../include-Classes/MMcEvt.o: /usr/include/confname.h
+../../../include-Classes/MMcEvt.o: /usr/include/sys/access.h
 ../../../include-Classes/MMcEvt.o: /usr/include/fcntl.h
-../../../include-Classes/MMcEvt.o: /usr/include/fcntlbits.h
-../../../include-Classes/MMcEvt.o: /cern/root/include/TObject.h
-MDiag.o: MDiag.h /usr/include/stdlib.h /usr/include/features.h
-MDiag.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
-MDiag.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h
-MDiag.o: /usr/include/sys/types.h /usr/include/gnu/types.h
-MDiag.o: /usr/include/time.h /usr/include/endian.h /usr/include/bytesex.h
-MDiag.o: /usr/include/sys/select.h /usr/include/selectbits.h
-MDiag.o: /usr/include/alloca.h /usr/include/g++/iostream.h
-MDiag.o: /usr/include/g++/streambuf.h /usr/include/libio.h
-MDiag.o: /usr/include/_G_config.h
-MDiag.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stdarg.h
-MDiag.o: /usr/include/g++/fstream.h /usr/include/string.h
-MDiag.o: /cern/root/include/TROOT.h /cern/root/include/TFile.h
-MDiag.o: /cern/root/include/TRandom.h /cern/root/include/TTree.h
-moments.o: moments.h /usr/include/g++/iostream.h /usr/include/g++/streambuf.h
-moments.o: /usr/include/libio.h /usr/include/features.h
-moments.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
-moments.o: /usr/include/_G_config.h /usr/include/gnu/types.h
-moments.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h
-moments.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stdarg.h
-moments.o: /usr/include/g++/fstream.h /usr/include/stdlib.h
-moments.o: /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h
-moments.o: /usr/include/bytesex.h /usr/include/sys/select.h
-moments.o: /usr/include/selectbits.h /usr/include/alloca.h
-moments.o: /usr/include/stdio.h /usr/include/stdio_lim.h
-moments.o: /usr/include/string.h /usr/include/math.h /usr/include/huge_val.h
-moments.o: /usr/include/mathcalls.h
-moments.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/float.h
-moments.o: ../include-GENERAL/jcmacros.h ../include-GENERAL/jcdebug.h
-moments.o: camera-v.h
-creadparam.o: creadparam.h /usr/include/g++/iostream.h
-creadparam.o: /usr/include/g++/streambuf.h /usr/include/libio.h
-creadparam.o: /usr/include/features.h /usr/include/sys/cdefs.h
-creadparam.o: /usr/include/gnu/stubs.h /usr/include/_G_config.h
-creadparam.o: /usr/include/gnu/types.h
-creadparam.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h
-creadparam.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stdarg.h
-creadparam.o: /usr/include/g++/fstream.h /usr/include/stdlib.h
-creadparam.o: /usr/include/sys/types.h /usr/include/time.h
-creadparam.o: /usr/include/endian.h /usr/include/bytesex.h
-creadparam.o: /usr/include/sys/select.h /usr/include/selectbits.h
-creadparam.o: /usr/include/alloca.h /usr/include/stdio.h
-creadparam.o: /usr/include/stdio_lim.h /usr/include/string.h
-creadparam.o: /usr/include/math.h /usr/include/huge_val.h
-creadparam.o: /usr/include/mathcalls.h
-creadparam.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/float.h
-creadparam.o: ../include-GENERAL/jcmacros.h ../include-GENERAL/jcdebug.h
-creadparam.o: camera-v.h
-camera.o: /cern/root/include/TROOT.h /cern/root/include/TFile.h
-camera.o: /cern/root/include/TTree.h /cern/root/include/TBranch.h MDiag.h
-camera.o: /usr/include/stdlib.h /usr/include/features.h
-camera.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
-camera.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stddef.h
-camera.o: /usr/include/sys/types.h /usr/include/gnu/types.h
-camera.o: /usr/include/time.h /usr/include/endian.h /usr/include/bytesex.h
-camera.o: /usr/include/sys/select.h /usr/include/selectbits.h
-camera.o: /usr/include/alloca.h /usr/include/g++/iostream.h
-camera.o: /usr/include/g++/streambuf.h /usr/include/libio.h
-camera.o: /usr/include/_G_config.h
-camera.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/stdarg.h
-camera.o: /usr/include/g++/fstream.h /usr/include/string.h
-camera.o: /cern/root/include/TRandom.h ../include-MTrigger/MTrigger.hxx
-camera.o: /usr/include/math.h /usr/include/huge_val.h
-camera.o: /usr/include/mathcalls.h
-camera.o: /usr/lib/gcc-lib/i486-linux/2.7.2.3/include/float.h
-camera.o: /cern/root/include/TObject.h ../../../include-Classes/Mdefine.h
+../../../include-Classes/MMcEvt.o: /usr/include/sys/fcntl.h
+../../../include-Classes/MMcEvt.o: /usr/include/sys/mode.h
+../../../include-Classes/MMcEvt.o: /CERN/root/include/TObject.h
+MDiag.o: MDiag.h /usr/include/stdlib.h /usr/include/standards.h
+MDiag.o: /usr/include/getopt.h /usr/include/sys/types.h
+MDiag.o: /usr/include/mach/machine/vm_types.h /usr/include/sys/select.h
+MDiag.o: /usr/include/cxx/iostream.h /usr/include/cxx/iostream.hxx
+MDiag.o: /usr/include/cxx/compnent.hxx /usr/include/cxx/iostream_impl.hxx
+MDiag.o: /usr/include/cxx/cxxl.hxx /usr/include/cxx/cxxl_share.hxx
+MDiag.o: /usr/include/cxx/messages.hxx /usr/include/stddef.h
+MDiag.o: /usr/include/stdio.h /usr/include/sys/seek.h /usr/include/va_list.h
+MDiag.o: /usr/include/sys/limits.h /usr/include/sys/machine/machlimits.h
+MDiag.o: /usr/include/sys/syslimits.h /usr/include/sys/machine/machtime.h
+MDiag.o: /usr/include/sys/rt_limits.h /usr/include/limits.h
+MDiag.o: /usr/include/memory.h /usr/include/string.h /usr/include/strings.h
+MDiag.o: /usr/include/cxx/fstream.h /usr/include/cxx/fstream.hxx
+MDiag.o: /usr/include/cxx/fstream_impl.hxx /CERN/root/include/TROOT.h
+MDiag.o: /CERN/root/include/TFile.h /CERN/root/include/TRandom.h
+MDiag.o: /CERN/root/include/TTree.h
+moments.o: moments.h /usr/include/cxx/iostream.h
+moments.o: /usr/include/cxx/iostream.hxx /usr/include/cxx/compnent.hxx
+moments.o: /usr/include/cxx/iostream_impl.hxx /usr/include/cxx/cxxl.hxx
+moments.o: /usr/include/cxx/cxxl_share.hxx /usr/include/cxx/messages.hxx
+moments.o: /usr/include/stddef.h /usr/include/standards.h
+moments.o: /usr/include/stdio.h /usr/include/sys/seek.h
+moments.o: /usr/include/va_list.h /usr/include/sys/types.h
+moments.o: /usr/include/mach/machine/vm_types.h /usr/include/sys/select.h
+moments.o: /usr/include/getopt.h /usr/include/sys/limits.h
+moments.o: /usr/include/sys/machine/machlimits.h /usr/include/sys/syslimits.h
+moments.o: /usr/include/sys/machine/machtime.h /usr/include/sys/rt_limits.h
+moments.o: /usr/include/limits.h /usr/include/memory.h /usr/include/string.h
+moments.o: /usr/include/strings.h /usr/include/cxx/fstream.h
+moments.o: /usr/include/cxx/fstream.hxx /usr/include/cxx/fstream_impl.hxx
+moments.o: /usr/include/stdlib.h /usr/include/math.h /usr/include/float.h
+moments.o: /usr/include/fp_class.h ../include-GENERAL/jcmacros.h
+moments.o: ../include-GENERAL/jcdebug.h camera-v.h
+creadparam.o: creadparam.h /usr/include/cxx/iostream.h
+creadparam.o: /usr/include/cxx/iostream.hxx /usr/include/cxx/compnent.hxx
+creadparam.o: /usr/include/cxx/iostream_impl.hxx /usr/include/cxx/cxxl.hxx
+creadparam.o: /usr/include/cxx/cxxl_share.hxx /usr/include/cxx/messages.hxx
+creadparam.o: /usr/include/stddef.h /usr/include/standards.h
+creadparam.o: /usr/include/stdio.h /usr/include/sys/seek.h
+creadparam.o: /usr/include/va_list.h /usr/include/sys/types.h
+creadparam.o: /usr/include/mach/machine/vm_types.h /usr/include/sys/select.h
+creadparam.o: /usr/include/getopt.h /usr/include/sys/limits.h
+creadparam.o: /usr/include/sys/machine/machlimits.h
+creadparam.o: /usr/include/sys/syslimits.h
+creadparam.o: /usr/include/sys/machine/machtime.h
+creadparam.o: /usr/include/sys/rt_limits.h /usr/include/limits.h
+creadparam.o: /usr/include/memory.h /usr/include/string.h
+creadparam.o: /usr/include/strings.h /usr/include/cxx/fstream.h
+creadparam.o: /usr/include/cxx/fstream.hxx /usr/include/cxx/fstream_impl.hxx
+creadparam.o: /usr/include/stdlib.h /usr/include/math.h /usr/include/float.h
+creadparam.o: /usr/include/fp_class.h ../include-GENERAL/jcmacros.h
+creadparam.o: ../include-GENERAL/jcdebug.h camera-v.h
+camera.o: /CERN/root/include/TROOT.h /CERN/root/include/TFile.h
+camera.o: /CERN/root/include/TTree.h /CERN/root/include/TBranch.h MDiag.h
+camera.o: /usr/include/stdlib.h /usr/include/standards.h
+camera.o: /usr/include/getopt.h /usr/include/sys/types.h
+camera.o: /usr/include/mach/machine/vm_types.h /usr/include/sys/select.h
+camera.o: /usr/include/cxx/iostream.h /usr/include/cxx/iostream.hxx
+camera.o: /usr/include/cxx/compnent.hxx /usr/include/cxx/iostream_impl.hxx
+camera.o: /usr/include/cxx/cxxl.hxx /usr/include/cxx/cxxl_share.hxx
+camera.o: /usr/include/cxx/messages.hxx /usr/include/stddef.h
+camera.o: /usr/include/stdio.h /usr/include/sys/seek.h /usr/include/va_list.h
+camera.o: /usr/include/sys/limits.h /usr/include/sys/machine/machlimits.h
+camera.o: /usr/include/sys/syslimits.h /usr/include/sys/machine/machtime.h
+camera.o: /usr/include/sys/rt_limits.h /usr/include/limits.h
+camera.o: /usr/include/memory.h /usr/include/string.h /usr/include/strings.h
+camera.o: /usr/include/cxx/fstream.h /usr/include/cxx/fstream.hxx
+camera.o: /usr/include/cxx/fstream_impl.hxx /CERN/root/include/TRandom.h
+camera.o: ../include-MTrigger/MTrigger.hxx /usr/include/math.h
+camera.o: /CERN/root/include/TObject.h ../../../include-Classes/Mdefine.h
 camera.o: ../../../include-Classes/MRawEvt.h
-camera.o: /cern/root/include/TClonesArray.h ../../../include-Classes/MMcEvt.h
-camera.o: /usr/include/stdio.h /usr/include/stdio_lim.h /usr/include/unistd.h
-camera.o: /usr/include/posix_opt.h /usr/include/confname.h
-camera.o: /usr/include/fcntl.h /usr/include/fcntlbits.h camera.h
-camera.o: /usr/include/dirent.h /usr/include/direntry.h
-camera.o: /usr/include/posix1_lim.h /usr/include/local_lim.h
-camera.o: /usr/include/linux/limits.h /usr/include/libgen.h camera-v.h
+camera.o: /CERN/root/include/TClonesArray.h ../../../include-Classes/MMcEvt.h
+camera.o: /usr/include/unistd.h /usr/include/sys/access.h
+camera.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h
+camera.o: /usr/include/sys/mode.h camera.h /usr/include/stdarg.h
+camera.o: /usr/include/dirent.h /usr/include/libgen.h camera-v.h
 camera.o: ../include-GENERAL/jcmacros.h ../include-GENERAL/jcdebug.h
-camera.o: creadparam.h ../Reflector/atm.h ../Reflector/reflector-v.h
-camera.o: moments.h ../include-GENERAL/lagrange.h
-camera.o: ../include-MC/MCEventHeader.hxx ../include-GENERAL/Rtypes.h
-camera.o: /usr/include/g++/iomanip.h ../include-CORSIKA/COREventHeader.hxx
-camera.o: ../include-MC/MCCphoton.hxx ../include-GENERAL/ranlib.h
+camera.o: creadparam.h /usr/include/float.h /usr/include/fp_class.h
+camera.o: ../Reflector/atm.h ../Reflector/reflector-v.h moments.h
+camera.o: ../include-GENERAL/lagrange.h ../include-MC/MCEventHeader.hxx
+camera.o: ../include-GENERAL/Rtypes.h /usr/include/cxx/iomanip.h
+camera.o: /usr/include/cxx/iomanip.hxx /usr/include/cxx/iomanip_impl.hxx
+camera.o: /usr/include/cxx/generic.hxx /usr/include/cxx/mutex.hxx
+camera.o: ../include-CORSIKA/COREventHeader.hxx ../include-MC/MCCphoton.hxx
+camera.o: ../include-GENERAL/ranlib.h
Index: trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx
===================================================================
--- trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx	(revision 326)
+++ trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx	(revision 327)
@@ -21,7 +21,7 @@
 //
 // $RCSfile: camera.cxx,v $
-// $Revision: 1.1.1.1 $
+// $Revision: 1.2 $
 // $Author: harald $ 
-// $Date: 1999-11-05 11:59:31 $
+// $Date: 1999-11-19 08:40:42 $
 //
 ////////////////////////////////////////////////////////////////////////
@@ -517,5 +517,5 @@
   MTrigger  Trigger ;         //@< A instance of the Class MTrigger 
 
-#endif __DETAIL_TRIGGER__ 
+#endif // __DETAIL_TRIGGER__ 
 
   //!@' @#### Definition of variables for |getopt()|.
@@ -728,5 +728,5 @@
   unsigned short ulli = 0 ; 
 
-#endif __ROOT__
+#endif // __ROOT__
 
   // for safety and for dimensioning image_data: count the elements in the 
@@ -857,9 +857,9 @@
   fnslicesum = new float [ (2 * SLICES) ] ; 
   
-  float slices   [ct_NPixels][ (2 * SLICES) ] ; 
-  float slices2  [ct_NPixels][ SLICES ] ; 
+  float slices   [CAMERA_PIXELS][ (2 * SLICES) ] ; 
+  float slices2  [CAMERA_PIXELS][ SLICES ] ; 
 
   float trans    [ SLICES ] ; 
-#endif __ROOT__ 
+#endif // __ROOT__ 
 
   
@@ -1034,5 +1034,5 @@
 	    slices [i][ii] = 0 ; 
 	  }
-#endif __ROOT__ 
+#endif // __ROOT__ 
 	}
 
@@ -1046,5 +1046,5 @@
       
 	Trigger.Reset() ; 
-#endif __DETAIL_TRIGGER__ 
+#endif // __DETAIL_TRIGGER__ 
        
 	//- - - - - - - - - - - - - - - - - - - - - - - - - 
@@ -1300,5 +1300,5 @@
 	  fnslicesum[t_chan]  += 1.0 ; 
 	  slices[nPMT][t_chan] += 1.0 ; 
-#endif __ROOT__ 	  
+#endif // __ROOT__ 	  
 
 #ifdef __DETAIL_TRIGGER__ 
@@ -1309,5 +1309,5 @@
 
 	  Trigger.Fill( nPMT, ( t - t_ini  ) ) ; 
-#endif __DETAIL_TRIGGER__ 
+#endif // __DETAIL_TRIGGER__ 
 	  
 	  // read next CPhoton
@@ -1408,5 +1408,5 @@
       //   Trigger.Print() ; 
       cout << Trigger.Diskriminate() << endl << endl ;
-#endif __DETAIL_TRIGGER__ 
+#endif // __DETAIL_TRIGGER__ 
 
 #ifdef __ROOT__
@@ -1481,5 +1481,5 @@
       McEvt->Clear() ; 
 
-#endif __ROOT__
+#endif // __ROOT__
 	
 	//++++++++++++++++++++++++++++++++++++++++++++++++++
@@ -2132,5 +2132,5 @@
       outfile.Close() ; 
 
-#endif __ROOT__
+#endif // __ROOT__
               
   // close input file
@@ -2159,5 +2159,5 @@
 
   Trigger.PrintStat() ; 
-#endif __DETAIL_TRIGGER__ 
+#endif // __DETAIL_TRIGGER__ 
 
   // program finished
@@ -3111,4 +3111,227 @@
 //
 // $Log: not supported by cvs2svn $
+// Revision 1.1.1.1  1999/11/05 11:59:31  harald
+// This the starting point for CVS controlled further developments of the
+// camera program. The program was originally written by Jose Carlos. 
+// But here you can find a "rootified" version to the program. This means 
+// that there is no hbook stuff in it now. Also the output of the
+// program changed to the MagicRawDataFormat. 
+//
+// The "rootification" was done by Dirk Petry and Harald Kornmayer. 
+//
+// In the following you can see the README file of that version:
+//
+// ==================================================
+//
+// Fri Oct 22  1999   D.P.
+//
+// The MAGIC Monte Carlo System
+//
+// Camera Simulation Programme
+// ---------------------------
+//
+// 1) Description
+//
+// This version is the result of the fusion of H.K.'s
+// root_camera which is described below (section 2)
+// and another version by D.P. which had a few additional
+// useful features.
+//
+// The version compiles under Linux with ROOT 2.22 installed
+// (variable ROOTSYS has to be set).
+//
+// Compile as before simply using "make" in the root_camera
+// directory.
+//
+// All features of H.K.'s root_camera were retained.
+//
+// Additional features of this version are:
+//
+//   a) HBOOK is no longer used and all references are removed.
+//
+//   b) Instead of HBOOK, the user is given now the possibility of 
+//      having Diagnostic data in ROOT format as a complement
+//      to the ROOT Raw data.
+//
+//      This data is written to the file which is determined by
+//      the new input parameter "diag_file" in the camera parameter
+//      file.
+//
+//      All source code file belonging to this part have filenames
+//      starting with "MDiag".
+//
+//      The user can read the output file using the following commands
+//      in an interactive ROOT session:
+//
+//        	root [0] .L MDiag.so
+// 	root [1] new TFile("diag.root");
+// 	root [2] new TTreeViewer("T");
+// 	
+//      This brings up a viewer from which all variables of the
+//      TTree can be accessed and histogrammed. This example
+//      assumes that you have named the file "diag.root", that
+//      you are using ROOT version 2.22 or later and that you have
+//      the shared object library "MDiag.so" which is produced
+//      by the Makefile along with the executable "camera".
+//        
+//  !   The contents of the so-called diag file is not yet fixed.
+//  !   At the moment it is what J.C.G. used to put into the HBOOK
+//  !   ntuple. In future versions the moments calculation can be
+//  !   removed and the parameter list be modified correspondingly.
+//
+//   c) Now concatenated reflector files can be read. This is useful
+//      if you have run the reflector with different parameters but
+//      you want to continue the analysis with all reflector data
+//      going into ONE ROOT outputfile.
+//
+//      The previous camera version contained a bug which made reading 
+//      of two or more concatenated reflector files impossible.
+//
+//   d) The reflector output format was changed. It is now version
+//      0.4 .
+//      The change solely consists in a shortening of the flag
+//      definition in the file 
+//
+//            include-MC/MCCphoton.hxx  
+//
+//  !   IF YOU WANT TO READ REFLECTOR FORMAT 0.3, you can easily
+//  !   do so by recompiling camera with the previous version of
+//  !   include-MC/MCCphoton.hxx.
+//
+//      The change was necessary for saving space and better
+//      debugging. From now on, this format can be frozen.
+//
+//  !   For producing reflector output in the new format, you
+//  !   of course have to recompile your reflector with the
+//  !   new include-MC/MCCphoton.hxx .
+//
+//   e) A first version of the pixelization with the larger
+//      outer pixels is implemented. THIS IS NOT YET FULLY
+//      TESTED, but first rough tests show that it works
+//      at least to a good approximation.
+//
+//      The present version implements the camera outline
+//      with 18 "gap-pixels" and 595 pixels in total as
+//      shown in 
+//
+//         http://sarastro.ifae.es/internal/home/hardware/camera/numbering.ps
+//
+//      This change involved 
+//
+// 	(i) The file pixels.dat is no longer needed. Instead
+//           the coordinates are generated by the program itself
+//           (takes maybe 1 second). In the file 
+//
+// 		pixel-coords.txt
+//
+// 	  in the same directory as this README, you find a list
+//           of the coordinates generated by this new routine. It
+//           has the format
+//
+//               number   i   j   x  y  size-factor
+//
+//           where i and j are J.C.G.'s so called biaxis hexagonal
+//           coordinates (for internal use) and x and y are the
+//           coordinates of the pixel centers in the standard camera
+//           coordinate system in units of centimeters. The value
+//           of "size-factor" determines the linear size of the pixel
+//           relative to the central pixels. 
+//
+//         (ii) The magic.def file has two additional parameters
+//           which give the number of central pixels and the
+//           number of gap pixels
+//
+//         (iii) In camera.h and camera.cxx several changes were 
+//           necessary, among them the introduction of several
+//           new functions 
+//
+//      The newly suggested outline with asymmetric Winston cones
+//      will be implemented in a later version.
+//
+//   f) phe files can no longer be read since this contradicts
+//      our philosophy that the analysis should be done with other
+//      programs like e.g. EVITA and not with "camera" itself.
+//      This possibility was removed. 
+//
+//   g) ROOT is no longer invoked with an interactive interface.
+//      In this way, camera can better be run as a batch program and
+//      it uses less memory.
+//
+//   h) small changes concerning the variable "t_chan" were necessary in
+//      order to avoid segmentation faults: The variable is used as an
+//      index and it went sometimes outside the limits when camera
+//      was reading proton data. This is because the reflector files
+//      don't contain the photons in a chronological order and also
+//      the timespread can be considerably longer that the foreseen
+//      digitisation timespan. Please see the source code of camera.cxx
+//      round about line 1090.
+//
+//   j) several unused variables were removed, a few warning messages
+//      occur when you compile camera.cxx but these can be ignored at
+//      the moment.
+//
+// In general the program is of course not finished. It still needs
+// debugging, proper trigger simulation, simulation of the asymmetric
+// version of the outer pixels, proper NSB simulation, adaption of
+// the diag "ntuple" contents to our need and others small improvements.
+//
+// In the directory rfl-files there is now a file in reflector format 0.4
+// containing a single event produced by the starfiled adder. It has
+// a duration of 30 ns and represents the region around the Crab Nebula.
+// Using the enclosed input parameter file, camera should process this
+// file without problems.
+//
+// 2) The README for the previous version of root_camera
+//
+// README for a preliminary version of the 
+// root_camera program. 
+//
+// root_camera is based on the program "camera"of Jose Carlos
+// Gonzalez. It was changed in the way that only the pixelisation 
+// and the distibution of the phe to the FADCs works in a 
+// first version. 
+//
+// Using the #undef command most possibilities of the orignal 
+// program are switched of. 
+//
+// The new parts are signed by 
+//
+// - ROOT or __ROOT__ 
+//   nearly all  important codelines for ROOT output are enclosed 
+//   in structures like 
+//   #ifdef __ROOT__ 
+//   
+//     code 
+//
+//   #endif __ROOT__ 
+//
+//   In same case the new lines are signed by a comment with the word 
+//   ROOT in it. 
+//
+//   For timing of the pulse some variable names are changed. 
+//   (t0, t1, t  -->  t_ini, t_fin, t_1st, t_chan,...) 
+//   Look also for this changes. 
+//
+//   For the new root-file is also a change in readparm-files
+//
+//
+// - __DETAIL_TRIGGER__
+//
+//   This is for the implementation of the current work on trigger 
+//   studies. Because the class MTrigger is not well documented it 
+//   isn´t a part of this tar file. Only a dummy File exists. 
+//
+//
+//
+// With all files in the archive, the root_camera program should run. 
+//
+// A reflector file is in the directory rfl-files
+//
+// ==================================================
+//
+// From now on, use CVS for development!!!!
+//
+//
+//
 // Revision 1.3  1999/10/22 15:01:28  petry
 // version sent to H.K. and N.M. on Fri Oct 22 1999
Index: trunk/MagicSoft/Simulation/Detector/Camera/config.mk.linux-gnu
===================================================================
--- trunk/MagicSoft/Simulation/Detector/Camera/config.mk.linux-gnu	(revision 326)
+++ trunk/MagicSoft/Simulation/Detector/Camera/config.mk.linux-gnu	(revision 327)
@@ -18,7 +18,7 @@
 #---------------------------------------------------------------
 # $RCSfile: config.mk.linux-gnu,v $
-# $Revision: 1.1.1.1 $
+# $Revision: 1.2 $
 # $Author: harald $ 
-# $Date: 1999-11-05 11:59:32 $
+# $Date: 1999-11-19 08:40:43 $
 ##################################################################
 # @maintitle
@@ -47,5 +47,21 @@
 INCLUDE_REFL    = ../Reflector
 INCLUDE_ROOT    = ${ROOTSYS}/include
-INCLUDE_g++     = /usr/include/g++
+INCLUDE_CPLUS   = /usr/include/g++
+
+# all the stuff for ROOT
+
+
+ROOTLIBS      = -L$(ROOTSYS)/lib -lNew -lBase -lCint -lClib \
+                -lCont -lFunc -lGraf -lGraf3d -lHist -lHtml \
+                -lMatrix -lMeta -lMinuit -lNet -lPostscript \
+                -lProof -lTree -lUnix -lZip -lRint
+
+ROOTGLIBS     = -lGpad -lGui -lGX11 -lX3d -lX11
+
+GLIBS         = $(ROOTLIBS) $(ROOTGLIBS) -L/usr/X11R6/lib \
+                -lXpm -lX11  -lm -ldl -rdynamic
+
+
+# compiler options
 
 #OPTIM    = -O2 -ieee  
Index: trunk/MagicSoft/Simulation/Detector/Camera/config.mk.osf1
===================================================================
--- trunk/MagicSoft/Simulation/Detector/Camera/config.mk.osf1	(revision 327)
+++ trunk/MagicSoft/Simulation/Detector/Camera/config.mk.osf1	(revision 327)
@@ -0,0 +1,82 @@
+##################################################################
+#
+# config.mk
+#
+# @file        config.mk
+# @title       small configuration file for Makefile
+# @author      J C Gonz\'alez
+# @email       gonzalez@mppmu.mpg.de
+# @date        Fri Mar 12 11:51:11 MET 1999
+#
+#_______________________________________________________________
+#
+# Created: Fri Mar 12 11:51:11 MET 1999
+# Author:  Jose Carlos Gonzalez
+# Purpose: Makefile for the compilation of the camera program
+# Notes:   
+#    
+#---------------------------------------------------------------
+# $RCSfile: config.mk.osf1,v $
+# $Revision: 1.1 $
+# $Author: harald $ 
+# $Date: 1999-11-19 08:40:44 $
+##################################################################
+# @maintitle
+
+# @code
+
+# program
+
+PROGRAM = camera
+
+# compilers
+
+CC            = cc
+CXX           = cxx
+F77           = f77
+
+DOCUM         = ${HOME}/detector/sus/sus
+
+# includes
+
+INCLUDE         = ../include-GENERAL
+INCLUDE_COR     = ../include-CORSIKA
+INCLUDE_MC      = ../include-MC
+INCLUDE_TRIGGER = ../include-MTrigger
+INCLUDE_EVITA   = ../../../include-Classes
+INCLUDE_REFL    = ../Reflector
+INCLUDE_ROOT    = ${ROOTSYS}/include
+INCLUDE_CPLUS   = /usr/include/cxx
+
+OPTIM    = -ieee -arch host    
+#OPTIM    = -O2 -Wall -fno-rtti -fno-exceptions -fPIC
+DEBUG    = -g 
+
+# libraries
+
+ROOTLIBS =  	-L/CERN/root/lib -lNew -lCore -lCint -lHist \
+		-lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript \
+		-lMatrix -lPhysics -lm  
+
+ROOTGLIBS = 	-L/CERN/root/lib -lNew -lCore -lCint -lHist \
+		-lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript \
+		-lMatrix -lPhysics -lGui -lm  
+
+GLIBS = 	$(ROOTLIBS) $(ROOTGLIBS)
+
+
+
+RANLIBDIR = ../lib
+CERNDIR = /cern
+
+# system
+
+SYSTEM  = linux
+
+# uncomment this for quiet compilation
+
+.SILENT:
+
+# @endcode
+##EOF
+
