Changeset 5072


Ignore:
Timestamp:
09/16/04 16:16:34 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Simulation/Detector
Files:
1 added
1 deleted
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Simulation/Detector/Camera/Makefile

    r3045 r5072  
    1919#
    2020# $RCSfile: Makefile,v $
    21 # $Revision: 1.24 $
    22 # $Author: blanch $
    23 # $Date: 2004-02-06 17:41:27 $
     21# $Revision: 1.25 $
     22# $Author: moralejo $
     23# $Date: 2004-09-16 15:16:33 $
    2424#
    2525##################################################################
     
    137137############################################################
    138138
    139 all: rmlib $(PROGRAM)
     139all: rmlib rmtrig $(PROGRAM)
    140140        @echo " Done. "
    141141        @echo " "
     
    157157        @echo "Cleaning $(@:.clean=):"
    158158        (cd $(@:.clean=); make clean; cd ..;)
    159 depend:
     159rmtrig:
     160        @echo " Removing ..."
     161        @echo " "
     162        @rm -f ${INCLUDE_TRIGGER}/*.o
     163
     164depend: rmtrig
    160165        @makedepend $(SRCS) $(INCLUDES) -fMakefile 2> kk.kk ; cat kk.kk
    161166
     
    175180
    176181.cxx.o:
    177         @echo "Compiling " $(CXXFLAGS) $<
     182        @echo "Compiling " $<
    178183        $(CXX) $(CXXFLAGS) -c $< -o $@
    179184
    180185.cc.o: 
    181         @echo "Compiling " $(CXXFLAGS) $<
     186        @echo "Compiling " $<
    182187        $(CXX) $(CXXFLAGS) -c $< -o $@
    183188
    184189.c.o:   
    185         @echo "Compiling "  $(CFLAGS) $<
     190        @echo "Compiling " $<
    186191        $(CC) $(CFLAGS) -c $< -o $@
    187192
     
    247252
    248253# DO NOT DELETE THIS LINE -- make depend depends on it.
    249 
    250 
    251 ../StarResponse/MStarLight.c.o: ../StarResponse/MStarLight.hxx
    252 ../StarResponse/MStarLight.c.o: /cern/root/root/include/Bytes.h
    253 ../StarResponse/MStarLight.c.o: /cern/root/root/include/Byteswap.h
    254 ../StarResponse/MStarLight.c.o: /cern/root/root/include/DllImport.h
    255 ../StarResponse/MStarLight.c.o: /cern/root/root/include/Foption.h
    256 ../StarResponse/MStarLight.c.o: /cern/root/root/include/Gtypes.h
    257 ../StarResponse/MStarLight.c.o: /cern/root/root/include/Htypes.h
    258 ../StarResponse/MStarLight.c.o: /cern/root/root/include/Property.h
    259 ../StarResponse/MStarLight.c.o: /cern/root/root/include/RConfig.h
    260 ../StarResponse/MStarLight.c.o: /cern/root/root/include/RVersion.h
    261 ../StarResponse/MStarLight.c.o: /cern/root/root/include/Riosfwd.h
    262 ../StarResponse/MStarLight.c.o: /cern/root/root/include/Rtypeinfo.h
    263 ../StarResponse/MStarLight.c.o: /cern/root/root/include/Rtypes.h
    264 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TArray.h
    265 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TArrayC.h
    266 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TArrayD.h
    267 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TArrayF.h
    268 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TArrayI.h
    269 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TArrayS.h
    270 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TAttAxis.h
    271 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TAttFill.h
    272 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TAttLine.h
    273 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TAttMarker.h
    274 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TAxis.h
    275 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TBuffer.h
    276 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TCache.h
    277 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TClass.h
    278 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TCollection.h
    279 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TDatime.h
    280 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TDictionary.h
    281 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TDirectory.h
    282 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TFile.h
    283 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TGenericClassInfo.h
    284 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TH1.h
    285 ../StarResponse/MStarLight.c.o: /cern/root/root/include/THashList.h
    286 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TInetAddress.h
    287 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TIterator.h
    288 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TList.h
    289 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TMath.h
    290 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TNamed.h
    291 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TObject.h
    292 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TROOT.h
    293 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TRandom.h
    294 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TRandom2.h
    295 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TRefCnt.h
    296 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TSeqCollection.h
    297 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TStorage.h
    298 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TString.h
    299 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TUUID.h
    300 ../StarResponse/MStarLight.c.o: /cern/root/root/include/TVirtualHistPainter.h
    301 ../StarResponse/MStarLight.c.o: /cern/root/root/include/Varargs.h
    302 ../StarResponse/MStarLight.c.o: /usr/include/_G_config.h /usr/include/alloca.h
    303 ../StarResponse/MStarLight.c.o: /usr/include/bits/endian.h
    304 ../StarResponse/MStarLight.c.o: /usr/include/bits/huge_val.h
    305 ../StarResponse/MStarLight.c.o: /usr/include/bits/mathcalls.h
    306 ../StarResponse/MStarLight.c.o: /usr/include/bits/mathdef.h
    307 ../StarResponse/MStarLight.c.o: /usr/include/bits/nan.h
    308 ../StarResponse/MStarLight.c.o: /usr/include/bits/pthreadtypes.h
    309 ../StarResponse/MStarLight.c.o: /usr/include/bits/sched.h
    310 ../StarResponse/MStarLight.c.o: /usr/include/bits/select.h
    311 ../StarResponse/MStarLight.c.o: /usr/include/bits/sigset.h
    312 ../StarResponse/MStarLight.c.o: /usr/include/bits/stdio_lim.h
    313 ../StarResponse/MStarLight.c.o: /usr/include/bits/time.h
    314 ../StarResponse/MStarLight.c.o: /usr/include/bits/types.h
    315 ../StarResponse/MStarLight.c.o: /usr/include/bits/waitflags.h
    316 ../StarResponse/MStarLight.c.o: /usr/include/bits/waitstatus.h
    317 ../StarResponse/MStarLight.c.o: /usr/include/bits/wchar.h
    318 ../StarResponse/MStarLight.c.o: /usr/include/endian.h /usr/include/features.h
    319 ../StarResponse/MStarLight.c.o: /usr/include/g++/fstream.h
    320 ../StarResponse/MStarLight.c.o: /usr/include/g++/iosfwd
    321 ../StarResponse/MStarLight.c.o: /usr/include/g++/iostream.h
    322 ../StarResponse/MStarLight.c.o: /usr/include/g++/streambuf.h
    323 ../StarResponse/MStarLight.c.o: /usr/include/gconv.h /usr/include/gnu/stubs.h
    324 ../StarResponse/MStarLight.c.o: /usr/include/libio.h /usr/include/math.h
    325 ../StarResponse/MStarLight.c.o: /usr/include/stdio.h /usr/include/stdlib.h
    326 ../StarResponse/MStarLight.c.o: /usr/include/string.h /usr/include/sys/cdefs.h
    327 ../StarResponse/MStarLight.c.o: /usr/include/sys/select.h
    328 ../StarResponse/MStarLight.c.o: /usr/include/sys/sysmacros.h
    329 ../StarResponse/MStarLight.c.o: /usr/include/sys/types.h /usr/include/time.h
    330 ../StarResponse/MStarLight.c.o: /usr/include/wchar.h /usr/include/xlocale.h
    331 ../StarResponse/MStarLight.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/exception
    332 ../StarResponse/MStarLight.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/float.h
    333 ../StarResponse/MStarLight.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stdarg.h
    334 ../StarResponse/MStarLight.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stddef.h
    335 ../StarResponse/MStarLight.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/typeinfo
    336 ../include-MC/MCCphoton.c.o: ../include-GENERAL/jcmacros.h
    337 ../include-MC/MCCphoton.c.o: ../include-MC/MCCphoton.hxx
    338 ../include-MC/MCCphoton.c.o: /cern/root/root/include/Bytes.h
    339 ../include-MC/MCCphoton.c.o: /cern/root/root/include/Byteswap.h
    340 ../include-MC/MCCphoton.c.o: /cern/root/root/include/DllImport.h
    341 ../include-MC/MCCphoton.c.o: /cern/root/root/include/Htypes.h
    342 ../include-MC/MCCphoton.c.o: /cern/root/root/include/RConfig.h
    343 ../include-MC/MCCphoton.c.o: /cern/root/root/include/RVersion.h
    344 ../include-MC/MCCphoton.c.o: /cern/root/root/include/Riosfwd.h
    345 ../include-MC/MCCphoton.c.o: /cern/root/root/include/Rtypeinfo.h
    346 ../include-MC/MCCphoton.c.o: /cern/root/root/include/Rtypes.h
    347 ../include-MC/MCCphoton.c.o: /cern/root/root/include/TBuffer.h
    348 ../include-MC/MCCphoton.c.o: /cern/root/root/include/TCollection.h
    349 ../include-MC/MCCphoton.c.o: /cern/root/root/include/TDatime.h
    350 ../include-MC/MCCphoton.c.o: /cern/root/root/include/TDirectory.h
    351 ../include-MC/MCCphoton.c.o: /cern/root/root/include/TGenericClassInfo.h
    352 ../include-MC/MCCphoton.c.o: /cern/root/root/include/TInetAddress.h
    353 ../include-MC/MCCphoton.c.o: /cern/root/root/include/TIterator.h
    354 ../include-MC/MCCphoton.c.o: /cern/root/root/include/TList.h
    355 ../include-MC/MCCphoton.c.o: /cern/root/root/include/TMath.h
    356 ../include-MC/MCCphoton.c.o: /cern/root/root/include/TNamed.h
    357 ../include-MC/MCCphoton.c.o: /cern/root/root/include/TObject.h
    358 ../include-MC/MCCphoton.c.o: /cern/root/root/include/TROOT.h
    359 ../include-MC/MCCphoton.c.o: /cern/root/root/include/TRefCnt.h
    360 ../include-MC/MCCphoton.c.o: /cern/root/root/include/TSeqCollection.h
    361 ../include-MC/MCCphoton.c.o: /cern/root/root/include/TStorage.h
    362 ../include-MC/MCCphoton.c.o: /cern/root/root/include/TString.h
    363 ../include-MC/MCCphoton.c.o: /cern/root/root/include/TUUID.h
    364 ../include-MC/MCCphoton.c.o: /cern/root/root/include/Varargs.h
    365 ../include-MC/MCCphoton.c.o: /usr/include/_G_config.h /usr/include/alloca.h
    366 ../include-MC/MCCphoton.c.o: /usr/include/bits/endian.h
    367 ../include-MC/MCCphoton.c.o: /usr/include/bits/huge_val.h
    368 ../include-MC/MCCphoton.c.o: /usr/include/bits/mathcalls.h
    369 ../include-MC/MCCphoton.c.o: /usr/include/bits/mathdef.h
    370 ../include-MC/MCCphoton.c.o: /usr/include/bits/nan.h
    371 ../include-MC/MCCphoton.c.o: /usr/include/bits/pthreadtypes.h
    372 ../include-MC/MCCphoton.c.o: /usr/include/bits/sched.h
    373 ../include-MC/MCCphoton.c.o: /usr/include/bits/select.h
    374 ../include-MC/MCCphoton.c.o: /usr/include/bits/sigset.h
    375 ../include-MC/MCCphoton.c.o: /usr/include/bits/stdio_lim.h
    376 ../include-MC/MCCphoton.c.o: /usr/include/bits/time.h
    377 ../include-MC/MCCphoton.c.o: /usr/include/bits/types.h
    378 ../include-MC/MCCphoton.c.o: /usr/include/bits/waitflags.h
    379 ../include-MC/MCCphoton.c.o: /usr/include/bits/waitstatus.h
    380 ../include-MC/MCCphoton.c.o: /usr/include/bits/wchar.h /usr/include/endian.h
    381 ../include-MC/MCCphoton.c.o: /usr/include/features.h
    382 ../include-MC/MCCphoton.c.o: /usr/include/g++/fstream.h
    383 ../include-MC/MCCphoton.c.o: /usr/include/g++/iomanip.h
    384 ../include-MC/MCCphoton.c.o: /usr/include/g++/iosfwd
    385 ../include-MC/MCCphoton.c.o: /usr/include/g++/iostream.h
    386 ../include-MC/MCCphoton.c.o: /usr/include/g++/streambuf.h /usr/include/gconv.h
    387 ../include-MC/MCCphoton.c.o: /usr/include/gnu/stubs.h /usr/include/libio.h
    388 ../include-MC/MCCphoton.c.o: /usr/include/math.h /usr/include/stdio.h
    389 ../include-MC/MCCphoton.c.o: /usr/include/stdlib.h /usr/include/string.h
    390 ../include-MC/MCCphoton.c.o: /usr/include/sys/cdefs.h
    391 ../include-MC/MCCphoton.c.o: /usr/include/sys/select.h
    392 ../include-MC/MCCphoton.c.o: /usr/include/sys/sysmacros.h
    393 ../include-MC/MCCphoton.c.o: /usr/include/sys/types.h /usr/include/time.h
    394 ../include-MC/MCCphoton.c.o: /usr/include/wchar.h /usr/include/xlocale.h
    395 ../include-MC/MCCphoton.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/exception
    396 ../include-MC/MCCphoton.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/float.h
    397 ../include-MC/MCCphoton.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stdarg.h
    398 ../include-MC/MCCphoton.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stddef.h
    399 ../include-MC/MCCphoton.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/typeinfo
    400 ../include-MC/MCEventHeader.c.o: ../include-CORSIKA/COREventHeader.hxx
    401 ../include-MC/MCEventHeader.c.o: ../include-MC/MCEventHeader.hxx
    402 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/Bytes.h
    403 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/Byteswap.h
    404 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/DllImport.h
    405 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/Htypes.h
    406 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/RConfig.h
    407 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/RVersion.h
    408 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/Riosfwd.h
    409 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/Rtypeinfo.h
    410 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/Rtypes.h
    411 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/TBuffer.h
    412 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/TCollection.h
    413 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/TDatime.h
    414 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/TDirectory.h
    415 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/TGenericClassInfo.h
    416 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/TInetAddress.h
    417 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/TIterator.h
    418 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/TList.h
    419 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/TMath.h
    420 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/TNamed.h
    421 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/TObject.h
    422 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/TROOT.h
    423 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/TRefCnt.h
    424 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/TSeqCollection.h
    425 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/TStorage.h
    426 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/TString.h
    427 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/TUUID.h
    428 ../include-MC/MCEventHeader.c.o: /cern/root/root/include/Varargs.h
    429 ../include-MC/MCEventHeader.c.o: /usr/include/_G_config.h
    430 ../include-MC/MCEventHeader.c.o: /usr/include/alloca.h
    431 ../include-MC/MCEventHeader.c.o: /usr/include/bits/endian.h
    432 ../include-MC/MCEventHeader.c.o: /usr/include/bits/huge_val.h
    433 ../include-MC/MCEventHeader.c.o: /usr/include/bits/mathcalls.h
    434 ../include-MC/MCEventHeader.c.o: /usr/include/bits/mathdef.h
    435 ../include-MC/MCEventHeader.c.o: /usr/include/bits/nan.h
    436 ../include-MC/MCEventHeader.c.o: /usr/include/bits/pthreadtypes.h
    437 ../include-MC/MCEventHeader.c.o: /usr/include/bits/sched.h
    438 ../include-MC/MCEventHeader.c.o: /usr/include/bits/select.h
    439 ../include-MC/MCEventHeader.c.o: /usr/include/bits/sigset.h
    440 ../include-MC/MCEventHeader.c.o: /usr/include/bits/stdio_lim.h
    441 ../include-MC/MCEventHeader.c.o: /usr/include/bits/time.h
    442 ../include-MC/MCEventHeader.c.o: /usr/include/bits/types.h
    443 ../include-MC/MCEventHeader.c.o: /usr/include/bits/waitflags.h
    444 ../include-MC/MCEventHeader.c.o: /usr/include/bits/waitstatus.h
    445 ../include-MC/MCEventHeader.c.o: /usr/include/bits/wchar.h
    446 ../include-MC/MCEventHeader.c.o: /usr/include/endian.h /usr/include/features.h
    447 ../include-MC/MCEventHeader.c.o: /usr/include/g++/fstream.h
    448 ../include-MC/MCEventHeader.c.o: /usr/include/g++/iomanip.h
    449 ../include-MC/MCEventHeader.c.o: /usr/include/g++/iosfwd
    450 ../include-MC/MCEventHeader.c.o: /usr/include/g++/iostream
    451 ../include-MC/MCEventHeader.c.o: /usr/include/g++/iostream.h
    452 ../include-MC/MCEventHeader.c.o: /usr/include/g++/streambuf.h
    453 ../include-MC/MCEventHeader.c.o: /usr/include/gconv.h /usr/include/gnu/stubs.h
    454 ../include-MC/MCEventHeader.c.o: /usr/include/libio.h /usr/include/math.h
    455 ../include-MC/MCEventHeader.c.o: /usr/include/stdio.h /usr/include/stdlib.h
    456 ../include-MC/MCEventHeader.c.o: /usr/include/string.h
    457 ../include-MC/MCEventHeader.c.o: /usr/include/sys/cdefs.h
    458 ../include-MC/MCEventHeader.c.o: /usr/include/sys/select.h
    459 ../include-MC/MCEventHeader.c.o: /usr/include/sys/sysmacros.h
    460 ../include-MC/MCEventHeader.c.o: /usr/include/sys/types.h /usr/include/time.h
    461 ../include-MC/MCEventHeader.c.o: /usr/include/wchar.h /usr/include/xlocale.h
    462 ../include-MC/MCEventHeader.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/exception
    463 ../include-MC/MCEventHeader.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/float.h
    464 ../include-MC/MCEventHeader.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stdarg.h
    465 ../include-MC/MCEventHeader.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stddef.h
    466 ../include-MC/MCEventHeader.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/typeinfo
    467 ../include-MC/MCEventHeader_2.c.o: ../include-CORSIKA/COREventHeader.hxx
    468 ../include-MC/MCEventHeader_2.c.o: ../include-MC/MCEventHeader_2.hxx
    469 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/Bytes.h
    470 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/Byteswap.h
    471 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/DllImport.h
    472 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/Htypes.h
    473 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/RConfig.h
    474 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/RVersion.h
    475 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/Riosfwd.h
    476 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/Rtypeinfo.h
    477 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/Rtypes.h
    478 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/TBuffer.h
    479 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/TCollection.h
    480 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/TDatime.h
    481 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/TDirectory.h
    482 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/TGenericClassInfo.h
    483 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/TInetAddress.h
    484 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/TIterator.h
    485 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/TList.h
    486 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/TMath.h
    487 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/TNamed.h
    488 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/TObject.h
    489 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/TROOT.h
    490 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/TRefCnt.h
    491 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/TSeqCollection.h
    492 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/TStorage.h
    493 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/TString.h
    494 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/TUUID.h
    495 ../include-MC/MCEventHeader_2.c.o: /cern/root/root/include/Varargs.h
    496 ../include-MC/MCEventHeader_2.c.o: /usr/include/_G_config.h
    497 ../include-MC/MCEventHeader_2.c.o: /usr/include/alloca.h
    498 ../include-MC/MCEventHeader_2.c.o: /usr/include/bits/endian.h
    499 ../include-MC/MCEventHeader_2.c.o: /usr/include/bits/huge_val.h
    500 ../include-MC/MCEventHeader_2.c.o: /usr/include/bits/mathcalls.h
    501 ../include-MC/MCEventHeader_2.c.o: /usr/include/bits/mathdef.h
    502 ../include-MC/MCEventHeader_2.c.o: /usr/include/bits/nan.h
    503 ../include-MC/MCEventHeader_2.c.o: /usr/include/bits/pthreadtypes.h
    504 ../include-MC/MCEventHeader_2.c.o: /usr/include/bits/sched.h
    505 ../include-MC/MCEventHeader_2.c.o: /usr/include/bits/select.h
    506 ../include-MC/MCEventHeader_2.c.o: /usr/include/bits/sigset.h
    507 ../include-MC/MCEventHeader_2.c.o: /usr/include/bits/stdio_lim.h
    508 ../include-MC/MCEventHeader_2.c.o: /usr/include/bits/time.h
    509 ../include-MC/MCEventHeader_2.c.o: /usr/include/bits/types.h
    510 ../include-MC/MCEventHeader_2.c.o: /usr/include/bits/waitflags.h
    511 ../include-MC/MCEventHeader_2.c.o: /usr/include/bits/waitstatus.h
    512 ../include-MC/MCEventHeader_2.c.o: /usr/include/bits/wchar.h
    513 ../include-MC/MCEventHeader_2.c.o: /usr/include/endian.h
    514 ../include-MC/MCEventHeader_2.c.o: /usr/include/features.h
    515 ../include-MC/MCEventHeader_2.c.o: /usr/include/g++/fstream.h
    516 ../include-MC/MCEventHeader_2.c.o: /usr/include/g++/iomanip.h
    517 ../include-MC/MCEventHeader_2.c.o: /usr/include/g++/iosfwd
    518 ../include-MC/MCEventHeader_2.c.o: /usr/include/g++/iostream.h
    519 ../include-MC/MCEventHeader_2.c.o: /usr/include/g++/streambuf.h
    520 ../include-MC/MCEventHeader_2.c.o: /usr/include/gconv.h
    521 ../include-MC/MCEventHeader_2.c.o: /usr/include/gnu/stubs.h
    522 ../include-MC/MCEventHeader_2.c.o: /usr/include/libio.h /usr/include/math.h
    523 ../include-MC/MCEventHeader_2.c.o: /usr/include/stdio.h /usr/include/stdlib.h
    524 ../include-MC/MCEventHeader_2.c.o: /usr/include/string.h
    525 ../include-MC/MCEventHeader_2.c.o: /usr/include/sys/cdefs.h
    526 ../include-MC/MCEventHeader_2.c.o: /usr/include/sys/select.h
    527 ../include-MC/MCEventHeader_2.c.o: /usr/include/sys/sysmacros.h
    528 ../include-MC/MCEventHeader_2.c.o: /usr/include/sys/types.h
    529 ../include-MC/MCEventHeader_2.c.o: /usr/include/time.h /usr/include/wchar.h
    530 ../include-MC/MCEventHeader_2.c.o: /usr/include/xlocale.h
    531 ../include-MC/MCEventHeader_2.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/exception
    532 ../include-MC/MCEventHeader_2.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/float.h
    533 ../include-MC/MCEventHeader_2.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stdarg.h
    534 ../include-MC/MCEventHeader_2.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stddef.h
    535 ../include-MC/MCEventHeader_2.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/typeinfo
    536 ../include-MFadc/MFadc.c.o: ../include-MFadc/MFadc.hxx
    537 ../include-MFadc/MFadc.c.o: ../include-MFadc/MGFadcSignal.hxx
    538 ../include-MFadc/MFadc.c.o: /cern/root/root/include/Buttons.h
    539 ../include-MFadc/MFadc.c.o: /cern/root/root/include/Bytes.h
    540 ../include-MFadc/MFadc.c.o: /cern/root/root/include/Byteswap.h
    541 ../include-MFadc/MFadc.c.o: /cern/root/root/include/DllImport.h
    542 ../include-MFadc/MFadc.c.o: /cern/root/root/include/Foption.h
    543 ../include-MFadc/MFadc.c.o: /cern/root/root/include/G__ci.h
    544 ../include-MFadc/MFadc.c.o: /cern/root/root/include/Gtypes.h
    545 ../include-MFadc/MFadc.c.o: /cern/root/root/include/GuiTypes.h
    546 ../include-MFadc/MFadc.c.o: /cern/root/root/include/Htypes.h
    547 ../include-MFadc/MFadc.c.o: /cern/root/root/include/Property.h
    548 ../include-MFadc/MFadc.c.o: /cern/root/root/include/RConfig.h
    549 ../include-MFadc/MFadc.c.o: /cern/root/root/include/RVersion.h
    550 ../include-MFadc/MFadc.c.o: /cern/root/root/include/Riosfwd.h
    551 ../include-MFadc/MFadc.c.o: /cern/root/root/include/Rtypeinfo.h
    552 ../include-MFadc/MFadc.c.o: /cern/root/root/include/Rtypes.h
    553 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TApplication.h
    554 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TApplicationImp.h
    555 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TArray.h
    556 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TArrayC.h
    557 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TArrayD.h
    558 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TArrayF.h
    559 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TArrayI.h
    560 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TArrayS.h
    561 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TAttAxis.h
    562 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TAttCanvas.h
    563 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TAttFill.h
    564 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TAttLine.h
    565 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TAttMarker.h
    566 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TAttPad.h
    567 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TAttText.h
    568 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TAxis.h
    569 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TBuffer.h
    570 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TCanvas.h
    571 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TCanvasImp.h
    572 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TClass.h
    573 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TCollection.h
    574 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TDatime.h
    575 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TDictionary.h
    576 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TDirectory.h
    577 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TEnv.h
    578 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGButton.h
    579 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGCanvas.h
    580 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGClient.h
    581 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGComboBox.h
    582 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGDimension.h
    583 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGDoubleSlider.h
    584 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGFileDialog.h
    585 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGFont.h
    586 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGFrame.h
    587 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGGC.h
    588 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGIcon.h
    589 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGLabel.h
    590 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGLayout.h
    591 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGListBox.h
    592 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGMenu.h
    593 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGMsgBox.h
    594 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGObject.h
    595 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGPicture.h
    596 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGScrollBar.h
    597 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGSlider.h
    598 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGString.h
    599 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGTab.h
    600 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGTextBuffer.h
    601 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGTextEntry.h
    602 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGWidget.h
    603 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGWindow.h
    604 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TGenericClassInfo.h
    605 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TH1.h
    606 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TH2.h
    607 ../include-MFadc/MFadc.c.o: /cern/root/root/include/THashList.h
    608 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TInetAddress.h
    609 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TIterator.h
    610 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TList.h
    611 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TMath.h
    612 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TNamed.h
    613 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TObjArray.h
    614 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TObject.h
    615 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TPad.h
    616 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TQObject.h
    617 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TROOT.h
    618 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TRandom.h
    619 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TRefCnt.h
    620 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TRootEmbeddedCanvas.h
    621 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TSeqCollection.h
    622 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TStorage.h
    623 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TString.h
    624 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TSysEvtHandler.h
    625 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TSystem.h
    626 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TTime.h
    627 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TTimer.h
    628 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TUUID.h
    629 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TVirtualHistPainter.h
    630 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TVirtualPad.h
    631 ../include-MFadc/MFadc.c.o: /cern/root/root/include/TVirtualX.h
    632 ../include-MFadc/MFadc.c.o: /cern/root/root/include/Varargs.h
    633 ../include-MFadc/MFadc.c.o: /cern/root/root/include/WidgetMessageTypes.h
    634 ../include-MFadc/MFadc.c.o: /usr/include/_G_config.h /usr/include/alloca.h
    635 ../include-MFadc/MFadc.c.o: /usr/include/asm/sigcontext.h
    636 ../include-MFadc/MFadc.c.o: /usr/include/assert.h /usr/include/bits/confname.h
    637 ../include-MFadc/MFadc.c.o: /usr/include/bits/endian.h
    638 ../include-MFadc/MFadc.c.o: /usr/include/bits/environments.h
    639 ../include-MFadc/MFadc.c.o: /usr/include/bits/fcntl.h
    640 ../include-MFadc/MFadc.c.o: /usr/include/bits/huge_val.h
    641 ../include-MFadc/MFadc.c.o: /usr/include/bits/local_lim.h
    642 ../include-MFadc/MFadc.c.o: /usr/include/bits/mathcalls.h
    643 ../include-MFadc/MFadc.c.o: /usr/include/bits/mathdef.h
    644 ../include-MFadc/MFadc.c.o: /usr/include/bits/nan.h
    645 ../include-MFadc/MFadc.c.o: /usr/include/bits/posix1_lim.h
    646 ../include-MFadc/MFadc.c.o: /usr/include/bits/posix2_lim.h
    647 ../include-MFadc/MFadc.c.o: /usr/include/bits/posix_opt.h
    648 ../include-MFadc/MFadc.c.o: /usr/include/bits/pthreadtypes.h
    649 ../include-MFadc/MFadc.c.o: /usr/include/bits/sched.h
    650 ../include-MFadc/MFadc.c.o: /usr/include/bits/select.h
    651 ../include-MFadc/MFadc.c.o: /usr/include/bits/setjmp.h
    652 ../include-MFadc/MFadc.c.o: /usr/include/bits/sigaction.h
    653 ../include-MFadc/MFadc.c.o: /usr/include/bits/sigcontext.h
    654 ../include-MFadc/MFadc.c.o: /usr/include/bits/siginfo.h
    655 ../include-MFadc/MFadc.c.o: /usr/include/bits/signum.h
    656 ../include-MFadc/MFadc.c.o: /usr/include/bits/sigset.h
    657 ../include-MFadc/MFadc.c.o: /usr/include/bits/sigstack.h
    658 ../include-MFadc/MFadc.c.o: /usr/include/bits/sigthread.h
    659 ../include-MFadc/MFadc.c.o: /usr/include/bits/stat.h
    660 ../include-MFadc/MFadc.c.o: /usr/include/bits/stdio_lim.h
    661 ../include-MFadc/MFadc.c.o: /usr/include/bits/time.h /usr/include/bits/types.h
    662 ../include-MFadc/MFadc.c.o: /usr/include/bits/waitflags.h
    663 ../include-MFadc/MFadc.c.o: /usr/include/bits/waitstatus.h
    664 ../include-MFadc/MFadc.c.o: /usr/include/bits/wchar.h
    665 ../include-MFadc/MFadc.c.o: /usr/include/bits/wordsize.h
    666 ../include-MFadc/MFadc.c.o: /usr/include/bits/xopen_lim.h /usr/include/ctype.h
    667 ../include-MFadc/MFadc.c.o: /usr/include/endian.h /usr/include/fcntl.h
    668 ../include-MFadc/MFadc.c.o: /usr/include/features.h /usr/include/g++/iosfwd
    669 ../include-MFadc/MFadc.c.o: /usr/include/g++/iostream
    670 ../include-MFadc/MFadc.c.o: /usr/include/g++/iostream.h
    671 ../include-MFadc/MFadc.c.o: /usr/include/g++/stream.h
    672 ../include-MFadc/MFadc.c.o: /usr/include/g++/streambuf.h /usr/include/gconv.h
    673 ../include-MFadc/MFadc.c.o: /usr/include/getopt.h /usr/include/gnu/stubs.h
    674 ../include-MFadc/MFadc.c.o: /usr/include/libio.h /usr/include/limits.h
    675 ../include-MFadc/MFadc.c.o: /usr/include/linux/limits.h /usr/include/math.h
    676 ../include-MFadc/MFadc.c.o: /usr/include/setjmp.h /usr/include/signal.h
    677 ../include-MFadc/MFadc.c.o: /usr/include/stdio.h /usr/include/stdlib.h
    678 ../include-MFadc/MFadc.c.o: /usr/include/string.h /usr/include/sys/cdefs.h
    679 ../include-MFadc/MFadc.c.o: /usr/include/sys/select.h /usr/include/sys/stat.h
    680 ../include-MFadc/MFadc.c.o: /usr/include/sys/sysmacros.h
    681 ../include-MFadc/MFadc.c.o: /usr/include/sys/types.h
    682 ../include-MFadc/MFadc.c.o: /usr/include/sys/ucontext.h /usr/include/time.h
    683 ../include-MFadc/MFadc.c.o: /usr/include/ucontext.h /usr/include/unistd.h
    684 ../include-MFadc/MFadc.c.o: /usr/include/wchar.h /usr/include/xlocale.h
    685 ../include-MFadc/MFadc.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/exception
    686 ../include-MFadc/MFadc.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/float.h
    687 ../include-MFadc/MFadc.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/limits.h
    688 ../include-MFadc/MFadc.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stdarg.h
    689 ../include-MFadc/MFadc.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stddef.h
    690 ../include-MFadc/MFadc.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/syslimits.h
    691 ../include-MFadc/MFadc.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/typeinfo
    692 ../include-MFadc/MGFadcSignal.c.o: ../include-MFadc/MGFadcSignal.hxx
    693 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/Buttons.h
    694 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/Bytes.h
    695 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/Byteswap.h
    696 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/DllImport.h
    697 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/Foption.h
    698 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/G__ci.h
    699 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/Gtypes.h
    700 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/GuiTypes.h
    701 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/Htypes.h
    702 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/Property.h
    703 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/RConfig.h
    704 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/RVersion.h
    705 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/Riosfwd.h
    706 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/Rtypeinfo.h
    707 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/Rtypes.h
    708 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TApplication.h
    709 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TApplicationImp.h
    710 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TArray.h
    711 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TArrayC.h
    712 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TArrayD.h
    713 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TArrayF.h
    714 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TArrayI.h
    715 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TArrayS.h
    716 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TAttAxis.h
    717 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TAttCanvas.h
    718 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TAttFill.h
    719 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TAttLine.h
    720 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TAttMarker.h
    721 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TAttPad.h
    722 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TAttText.h
    723 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TAxis.h
    724 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TBox.h
    725 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TBuffer.h
    726 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TCanvas.h
    727 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TCanvasImp.h
    728 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TClass.h
    729 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TCollection.h
    730 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TDatime.h
    731 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TDictionary.h
    732 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TDirectory.h
    733 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TEnv.h
    734 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGButton.h
    735 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGCanvas.h
    736 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGClient.h
    737 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGComboBox.h
    738 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGDimension.h
    739 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGDoubleSlider.h
    740 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGFileDialog.h
    741 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGFont.h
    742 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGFrame.h
    743 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGGC.h
    744 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGIcon.h
    745 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGLabel.h
    746 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGLayout.h
    747 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGListBox.h
    748 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGMenu.h
    749 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGMsgBox.h
    750 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGObject.h
    751 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGPicture.h
    752 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGScrollBar.h
    753 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGSlider.h
    754 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGString.h
    755 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGTab.h
    756 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGTextBuffer.h
    757 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGTextEntry.h
    758 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGWidget.h
    759 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGWindow.h
    760 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TGenericClassInfo.h
    761 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TH1.h
    762 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TH2.h
    763 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/THashList.h
    764 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TInetAddress.h
    765 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TIterator.h
    766 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TLine.h
    767 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TList.h
    768 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TMath.h
    769 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TNamed.h
    770 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TObjArray.h
    771 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TObject.h
    772 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TPad.h
    773 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TPave.h
    774 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TPaveText.h
    775 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TPavesText.h
    776 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TQObject.h
    777 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TROOT.h
    778 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TRandom.h
    779 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TRefCnt.h
    780 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TRootEmbeddedCanvas.h
    781 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TSeqCollection.h
    782 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TStorage.h
    783 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TString.h
    784 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TSysEvtHandler.h
    785 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TSystem.h
    786 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TText.h
    787 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TTime.h
    788 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TTimer.h
    789 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TUUID.h
    790 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TVirtualHistPainter.h
    791 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TVirtualPad.h
    792 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/TVirtualX.h
    793 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/Varargs.h
    794 ../include-MFadc/MGFadcSignal.c.o: /cern/root/root/include/WidgetMessageTypes.h
    795 ../include-MFadc/MGFadcSignal.c.o: /usr/include/_G_config.h
    796 ../include-MFadc/MGFadcSignal.c.o: /usr/include/alloca.h
    797 ../include-MFadc/MGFadcSignal.c.o: /usr/include/asm/sigcontext.h
    798 ../include-MFadc/MGFadcSignal.c.o: /usr/include/assert.h
    799 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/confname.h
    800 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/endian.h
    801 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/environments.h
    802 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/fcntl.h
    803 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/huge_val.h
    804 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/local_lim.h
    805 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/mathcalls.h
    806 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/mathdef.h
    807 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/nan.h
    808 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/posix1_lim.h
    809 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/posix2_lim.h
    810 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/posix_opt.h
    811 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/pthreadtypes.h
    812 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/sched.h
    813 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/select.h
    814 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/setjmp.h
    815 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/sigaction.h
    816 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/sigcontext.h
    817 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/siginfo.h
    818 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/signum.h
    819 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/sigset.h
    820 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/sigstack.h
    821 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/sigthread.h
    822 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/stat.h
    823 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/stdio_lim.h
    824 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/time.h
    825 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/types.h
    826 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/waitflags.h
    827 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/waitstatus.h
    828 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/wchar.h
    829 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/wordsize.h
    830 ../include-MFadc/MGFadcSignal.c.o: /usr/include/bits/xopen_lim.h
    831 ../include-MFadc/MGFadcSignal.c.o: /usr/include/ctype.h /usr/include/endian.h
    832 ../include-MFadc/MGFadcSignal.c.o: /usr/include/fcntl.h
    833 ../include-MFadc/MGFadcSignal.c.o: /usr/include/features.h
    834 ../include-MFadc/MGFadcSignal.c.o: /usr/include/g++/iosfwd
    835 ../include-MFadc/MGFadcSignal.c.o: /usr/include/g++/iostream
    836 ../include-MFadc/MGFadcSignal.c.o: /usr/include/g++/iostream.h
    837 ../include-MFadc/MGFadcSignal.c.o: /usr/include/g++/streambuf.h
    838 ../include-MFadc/MGFadcSignal.c.o: /usr/include/gconv.h /usr/include/getopt.h
    839 ../include-MFadc/MGFadcSignal.c.o: /usr/include/gnu/stubs.h
    840 ../include-MFadc/MGFadcSignal.c.o: /usr/include/libio.h /usr/include/limits.h
    841 ../include-MFadc/MGFadcSignal.c.o: /usr/include/linux/limits.h
    842 ../include-MFadc/MGFadcSignal.c.o: /usr/include/math.h /usr/include/setjmp.h
    843 ../include-MFadc/MGFadcSignal.c.o: /usr/include/signal.h /usr/include/stdio.h
    844 ../include-MFadc/MGFadcSignal.c.o: /usr/include/stdlib.h /usr/include/string.h
    845 ../include-MFadc/MGFadcSignal.c.o: /usr/include/sys/cdefs.h
    846 ../include-MFadc/MGFadcSignal.c.o: /usr/include/sys/select.h
    847 ../include-MFadc/MGFadcSignal.c.o: /usr/include/sys/stat.h
    848 ../include-MFadc/MGFadcSignal.c.o: /usr/include/sys/sysmacros.h
    849 ../include-MFadc/MGFadcSignal.c.o: /usr/include/sys/types.h
    850 ../include-MFadc/MGFadcSignal.c.o: /usr/include/sys/ucontext.h
    851 ../include-MFadc/MGFadcSignal.c.o: /usr/include/time.h /usr/include/ucontext.h
    852 ../include-MFadc/MGFadcSignal.c.o: /usr/include/unistd.h /usr/include/wchar.h
    853 ../include-MFadc/MGFadcSignal.c.o: /usr/include/xlocale.h
    854 ../include-MFadc/MGFadcSignal.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/exception
    855 ../include-MFadc/MGFadcSignal.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/float.h
    856 ../include-MFadc/MGFadcSignal.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/limits.h
    857 ../include-MFadc/MGFadcSignal.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stdarg.h
    858 ../include-MFadc/MGFadcSignal.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stddef.h
    859 ../include-MFadc/MGFadcSignal.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/syslimits.h
    860 ../include-MFadc/MGFadcSignal.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/typeinfo
    861 ../include-MLons/MLons.c.o: ../StarResponse/MStarLight.hxx
    862 ../include-MLons/MLons.c.o: ../include-MFadc/MFadc.hxx
    863 ../include-MLons/MLons.c.o: ../include-MLons/MLons.hxx
    864 ../include-MLons/MLons.c.o: /cern/root/root/include/Bytes.h
    865 ../include-MLons/MLons.c.o: /cern/root/root/include/Byteswap.h
    866 ../include-MLons/MLons.c.o: /cern/root/root/include/DllImport.h
    867 ../include-MLons/MLons.c.o: /cern/root/root/include/Foption.h
    868 ../include-MLons/MLons.c.o: /cern/root/root/include/Gtypes.h
    869 ../include-MLons/MLons.c.o: /cern/root/root/include/Htypes.h
    870 ../include-MLons/MLons.c.o: /cern/root/root/include/Property.h
    871 ../include-MLons/MLons.c.o: /cern/root/root/include/RConfig.h
    872 ../include-MLons/MLons.c.o: /cern/root/root/include/RVersion.h
    873 ../include-MLons/MLons.c.o: /cern/root/root/include/Riosfwd.h
    874 ../include-MLons/MLons.c.o: /cern/root/root/include/Rtypeinfo.h
    875 ../include-MLons/MLons.c.o: /cern/root/root/include/Rtypes.h
    876 ../include-MLons/MLons.c.o: /cern/root/root/include/TArray.h
    877 ../include-MLons/MLons.c.o: /cern/root/root/include/TArrayC.h
    878 ../include-MLons/MLons.c.o: /cern/root/root/include/TArrayD.h
    879 ../include-MLons/MLons.c.o: /cern/root/root/include/TArrayF.h
    880 ../include-MLons/MLons.c.o: /cern/root/root/include/TArrayI.h
    881 ../include-MLons/MLons.c.o: /cern/root/root/include/TArrayS.h
    882 ../include-MLons/MLons.c.o: /cern/root/root/include/TAttAxis.h
    883 ../include-MLons/MLons.c.o: /cern/root/root/include/TAttFill.h
    884 ../include-MLons/MLons.c.o: /cern/root/root/include/TAttLine.h
    885 ../include-MLons/MLons.c.o: /cern/root/root/include/TAttMarker.h
    886 ../include-MLons/MLons.c.o: /cern/root/root/include/TAxis.h
    887 ../include-MLons/MLons.c.o: /cern/root/root/include/TBuffer.h
    888 ../include-MLons/MLons.c.o: /cern/root/root/include/TCache.h
    889 ../include-MLons/MLons.c.o: /cern/root/root/include/TClass.h
    890 ../include-MLons/MLons.c.o: /cern/root/root/include/TCollection.h
    891 ../include-MLons/MLons.c.o: /cern/root/root/include/TDatime.h
    892 ../include-MLons/MLons.c.o: /cern/root/root/include/TDictionary.h
    893 ../include-MLons/MLons.c.o: /cern/root/root/include/TDirectory.h
    894 ../include-MLons/MLons.c.o: /cern/root/root/include/TFile.h
    895 ../include-MLons/MLons.c.o: /cern/root/root/include/TGenericClassInfo.h
    896 ../include-MLons/MLons.c.o: /cern/root/root/include/TH1.h
    897 ../include-MLons/MLons.c.o: /cern/root/root/include/THashList.h
    898 ../include-MLons/MLons.c.o: /cern/root/root/include/TInetAddress.h
    899 ../include-MLons/MLons.c.o: /cern/root/root/include/TIterator.h
    900 ../include-MLons/MLons.c.o: /cern/root/root/include/TList.h
    901 ../include-MLons/MLons.c.o: /cern/root/root/include/TMath.h
    902 ../include-MLons/MLons.c.o: /cern/root/root/include/TNamed.h
    903 ../include-MLons/MLons.c.o: /cern/root/root/include/TObject.h
    904 ../include-MLons/MLons.c.o: /cern/root/root/include/TROOT.h
    905 ../include-MLons/MLons.c.o: /cern/root/root/include/TRandom.h
    906 ../include-MLons/MLons.c.o: /cern/root/root/include/TRandom2.h
    907 ../include-MLons/MLons.c.o: /cern/root/root/include/TRefCnt.h
    908 ../include-MLons/MLons.c.o: /cern/root/root/include/TSeqCollection.h
    909 ../include-MLons/MLons.c.o: /cern/root/root/include/TStorage.h
    910 ../include-MLons/MLons.c.o: /cern/root/root/include/TString.h
    911 ../include-MLons/MLons.c.o: /cern/root/root/include/TUUID.h
    912 ../include-MLons/MLons.c.o: /cern/root/root/include/TVirtualHistPainter.h
    913 ../include-MLons/MLons.c.o: /cern/root/root/include/Varargs.h
    914 ../include-MLons/MLons.c.o: /usr/include/_G_config.h /usr/include/alloca.h
    915 ../include-MLons/MLons.c.o: /usr/include/bits/endian.h
    916 ../include-MLons/MLons.c.o: /usr/include/bits/huge_val.h
    917 ../include-MLons/MLons.c.o: /usr/include/bits/mathcalls.h
    918 ../include-MLons/MLons.c.o: /usr/include/bits/mathdef.h
    919 ../include-MLons/MLons.c.o: /usr/include/bits/nan.h
    920 ../include-MLons/MLons.c.o: /usr/include/bits/pthreadtypes.h
    921 ../include-MLons/MLons.c.o: /usr/include/bits/sched.h
    922 ../include-MLons/MLons.c.o: /usr/include/bits/select.h
    923 ../include-MLons/MLons.c.o: /usr/include/bits/sigset.h
    924 ../include-MLons/MLons.c.o: /usr/include/bits/stdio_lim.h
    925 ../include-MLons/MLons.c.o: /usr/include/bits/time.h /usr/include/bits/types.h
    926 ../include-MLons/MLons.c.o: /usr/include/bits/waitflags.h
    927 ../include-MLons/MLons.c.o: /usr/include/bits/waitstatus.h
    928 ../include-MLons/MLons.c.o: /usr/include/bits/wchar.h /usr/include/endian.h
    929 ../include-MLons/MLons.c.o: /usr/include/features.h /usr/include/g++/fstream.h
    930 ../include-MLons/MLons.c.o: /usr/include/g++/iosfwd /usr/include/g++/iostream
    931 ../include-MLons/MLons.c.o: /usr/include/g++/iostream.h
    932 ../include-MLons/MLons.c.o: /usr/include/g++/stream.h
    933 ../include-MLons/MLons.c.o: /usr/include/g++/streambuf.h /usr/include/gconv.h
    934 ../include-MLons/MLons.c.o: /usr/include/gnu/stubs.h /usr/include/libio.h
    935 ../include-MLons/MLons.c.o: /usr/include/math.h /usr/include/stdio.h
    936 ../include-MLons/MLons.c.o: /usr/include/stdlib.h /usr/include/string.h
    937 ../include-MLons/MLons.c.o: /usr/include/sys/cdefs.h /usr/include/sys/select.h
    938 ../include-MLons/MLons.c.o: /usr/include/sys/sysmacros.h
    939 ../include-MLons/MLons.c.o: /usr/include/sys/types.h /usr/include/time.h
    940 ../include-MLons/MLons.c.o: /usr/include/wchar.h /usr/include/xlocale.h
    941 ../include-MLons/MLons.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/exception
    942 ../include-MLons/MLons.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/float.h
    943 ../include-MLons/MLons.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stdarg.h
    944 ../include-MLons/MLons.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stddef.h
    945 ../include-MLons/MLons.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/typeinfo
    946 ../include-MTrigger/MGTriggerSignal.c.o: ../include-MTrigger/MGTriggerSignal.hxx
    947 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/Buttons.h
    948 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/Bytes.h
    949 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/Byteswap.h
    950 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/DllImport.h
    951 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/Foption.h
    952 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/G__ci.h
    953 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/Gtypes.h
    954 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/GuiTypes.h
    955 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/Htypes.h
    956 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/Property.h
    957 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/RConfig.h
    958 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/RVersion.h
    959 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/Riosfwd.h
    960 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/Rtypeinfo.h
    961 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/Rtypes.h
    962 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TApplication.h
    963 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TApplicationImp.h
    964 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TArray.h
    965 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TArrayC.h
    966 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TArrayD.h
    967 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TArrayF.h
    968 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TArrayI.h
    969 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TArrayS.h
    970 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TAttAxis.h
    971 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TAttCanvas.h
    972 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TAttFill.h
    973 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TAttLine.h
    974 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TAttMarker.h
    975 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TAttPad.h
    976 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TAttText.h
    977 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TAxis.h
    978 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TBox.h
    979 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TBuffer.h
    980 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TCanvas.h
    981 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TCanvasImp.h
    982 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TClass.h
    983 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TCollection.h
    984 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TDatime.h
    985 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TDictionary.h
    986 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TDirectory.h
    987 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TEnv.h
    988 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGButton.h
    989 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGCanvas.h
    990 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGClient.h
    991 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGComboBox.h
    992 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGDimension.h
    993 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGDoubleSlider.h
    994 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGFileDialog.h
    995 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGFont.h
    996 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGFrame.h
    997 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGGC.h
    998 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGIcon.h
    999 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGLabel.h
    1000 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGLayout.h
    1001 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGListBox.h
    1002 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGMenu.h
    1003 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGMsgBox.h
    1004 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGObject.h
    1005 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGPicture.h
    1006 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGScrollBar.h
    1007 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGSlider.h
    1008 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGString.h
    1009 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGTab.h
    1010 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGTextBuffer.h
    1011 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGTextEntry.h
    1012 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGWidget.h
    1013 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGWindow.h
    1014 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TGenericClassInfo.h
    1015 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TH1.h
    1016 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TH2.h
    1017 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/THashList.h
    1018 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TInetAddress.h
    1019 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TIterator.h
    1020 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TLine.h
    1021 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TList.h
    1022 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TMath.h
    1023 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TNamed.h
    1024 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TObjArray.h
    1025 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TObject.h
    1026 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TPad.h
    1027 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TPave.h
    1028 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TPaveText.h
    1029 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TPavesText.h
    1030 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TQObject.h
    1031 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TROOT.h
    1032 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TRandom.h
    1033 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TRefCnt.h
    1034 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TRootEmbeddedCanvas.h
    1035 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TSeqCollection.h
    1036 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TStorage.h
    1037 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TString.h
    1038 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TSysEvtHandler.h
    1039 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TSystem.h
    1040 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TText.h
    1041 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TTime.h
    1042 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TTimer.h
    1043 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TUUID.h
    1044 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TVirtualHistPainter.h
    1045 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TVirtualPad.h
    1046 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/TVirtualX.h
    1047 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/Varargs.h
    1048 ../include-MTrigger/MGTriggerSignal.c.o: /cern/root/root/include/WidgetMessageTypes.h
    1049 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/_G_config.h
    1050 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/alloca.h
    1051 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/asm/sigcontext.h
    1052 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/assert.h
    1053 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/confname.h
    1054 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/endian.h
    1055 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/environments.h
    1056 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/fcntl.h
    1057 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/huge_val.h
    1058 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/local_lim.h
    1059 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/mathcalls.h
    1060 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/mathdef.h
    1061 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/nan.h
    1062 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/posix1_lim.h
    1063 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/posix2_lim.h
    1064 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/posix_opt.h
    1065 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/pthreadtypes.h
    1066 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/sched.h
    1067 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/select.h
    1068 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/setjmp.h
    1069 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/sigaction.h
    1070 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/sigcontext.h
    1071 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/siginfo.h
    1072 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/signum.h
    1073 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/sigset.h
    1074 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/sigstack.h
    1075 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/sigthread.h
    1076 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/stat.h
    1077 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/stdio_lim.h
    1078 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/time.h
    1079 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/types.h
    1080 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/waitflags.h
    1081 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/waitstatus.h
    1082 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/wchar.h
    1083 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/wordsize.h
    1084 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/bits/xopen_lim.h
    1085 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/ctype.h
    1086 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/endian.h
    1087 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/fcntl.h
    1088 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/features.h
    1089 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/g++/iosfwd
    1090 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/g++/iostream
    1091 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/g++/iostream.h
    1092 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/g++/streambuf.h
    1093 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/gconv.h
    1094 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/getopt.h
    1095 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/gnu/stubs.h
    1096 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/libio.h
    1097 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/limits.h
    1098 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/linux/limits.h
    1099 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/math.h
    1100 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/setjmp.h
    1101 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/signal.h
    1102 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/stdio.h
    1103 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/stdlib.h
    1104 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/string.h
    1105 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/sys/cdefs.h
    1106 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/sys/select.h
    1107 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/sys/stat.h
    1108 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/sys/sysmacros.h
    1109 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/sys/types.h
    1110 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/sys/ucontext.h
    1111 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/time.h
    1112 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/ucontext.h
    1113 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/unistd.h
    1114 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/wchar.h
    1115 ../include-MTrigger/MGTriggerSignal.c.o: /usr/include/xlocale.h
    1116 ../include-MTrigger/MGTriggerSignal.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/exception
    1117 ../include-MTrigger/MGTriggerSignal.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/float.h
    1118 ../include-MTrigger/MGTriggerSignal.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/limits.h
    1119 ../include-MTrigger/MGTriggerSignal.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stdarg.h
    1120 ../include-MTrigger/MGTriggerSignal.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stddef.h
    1121 ../include-MTrigger/MGTriggerSignal.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/syslimits.h
    1122 ../include-MTrigger/MGTriggerSignal.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/typeinfo
    1123 ../include-MTrigger/MTrigger.c.o: ../include-MTrigger/MGTriggerSignal.hxx
    1124 ../include-MTrigger/MTrigger.c.o: ../include-MTrigger/MTrigger.hxx
    1125 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/Buttons.h
    1126 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/Bytes.h
    1127 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/Byteswap.h
    1128 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/DllImport.h
    1129 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/Foption.h
    1130 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/G__ci.h
    1131 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/Gtypes.h
    1132 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/GuiTypes.h
    1133 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/Htypes.h
    1134 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/Property.h
    1135 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/RConfig.h
    1136 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/RVersion.h
    1137 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/Riosfwd.h
    1138 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/Rtypeinfo.h
    1139 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/Rtypes.h
    1140 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TApplication.h
    1141 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TApplicationImp.h
    1142 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TArray.h
    1143 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TArrayC.h
    1144 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TArrayD.h
    1145 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TArrayF.h
    1146 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TArrayI.h
    1147 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TArrayS.h
    1148 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TAttAxis.h
    1149 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TAttCanvas.h
    1150 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TAttFill.h
    1151 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TAttLine.h
    1152 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TAttMarker.h
    1153 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TAttPad.h
    1154 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TAttText.h
    1155 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TAxis.h
    1156 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TBuffer.h
    1157 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TCache.h
    1158 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TCanvas.h
    1159 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TCanvasImp.h
    1160 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TClass.h
    1161 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TCollection.h
    1162 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TDatime.h
    1163 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TDictionary.h
    1164 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TDirectory.h
    1165 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TEnv.h
    1166 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TFile.h
    1167 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGButton.h
    1168 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGCanvas.h
    1169 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGClient.h
    1170 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGComboBox.h
    1171 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGDimension.h
    1172 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGDoubleSlider.h
    1173 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGFileDialog.h
    1174 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGFont.h
    1175 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGFrame.h
    1176 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGGC.h
    1177 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGIcon.h
    1178 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGLabel.h
    1179 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGLayout.h
    1180 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGListBox.h
    1181 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGMenu.h
    1182 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGMsgBox.h
    1183 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGObject.h
    1184 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGPicture.h
    1185 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGScrollBar.h
    1186 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGSlider.h
    1187 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGString.h
    1188 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGTab.h
    1189 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGTextBuffer.h
    1190 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGTextEntry.h
    1191 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGWidget.h
    1192 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGWindow.h
    1193 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TGenericClassInfo.h
    1194 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TH1.h
    1195 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TH2.h
    1196 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/THashList.h
    1197 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TInetAddress.h
    1198 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TIterator.h
    1199 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TList.h
    1200 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TMath.h
    1201 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TNamed.h
    1202 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TObjArray.h
    1203 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TObject.h
    1204 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TPad.h
    1205 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TQObject.h
    1206 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TROOT.h
    1207 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TRandom.h
    1208 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TRefCnt.h
    1209 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TRootEmbeddedCanvas.h
    1210 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TSeqCollection.h
    1211 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TStorage.h
    1212 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TString.h
    1213 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TSysEvtHandler.h
    1214 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TSystem.h
    1215 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TTime.h
    1216 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TTimer.h
    1217 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TUUID.h
    1218 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TVirtualHistPainter.h
    1219 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TVirtualPad.h
    1220 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/TVirtualX.h
    1221 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/Varargs.h
    1222 ../include-MTrigger/MTrigger.c.o: /cern/root/root/include/WidgetMessageTypes.h
    1223 ../include-MTrigger/MTrigger.c.o: /usr/include/_G_config.h
    1224 ../include-MTrigger/MTrigger.c.o: /usr/include/alloca.h
    1225 ../include-MTrigger/MTrigger.c.o: /usr/include/asm/sigcontext.h
    1226 ../include-MTrigger/MTrigger.c.o: /usr/include/assert.h
    1227 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/confname.h
    1228 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/endian.h
    1229 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/environments.h
    1230 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/fcntl.h
    1231 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/huge_val.h
    1232 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/local_lim.h
    1233 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/mathcalls.h
    1234 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/mathdef.h
    1235 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/nan.h
    1236 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/posix1_lim.h
    1237 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/posix2_lim.h
    1238 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/posix_opt.h
    1239 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/pthreadtypes.h
    1240 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/sched.h
    1241 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/select.h
    1242 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/setjmp.h
    1243 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/sigaction.h
    1244 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/sigcontext.h
    1245 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/siginfo.h
    1246 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/signum.h
    1247 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/sigset.h
    1248 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/sigstack.h
    1249 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/sigthread.h
    1250 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/stat.h
    1251 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/stdio_lim.h
    1252 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/time.h
    1253 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/types.h
    1254 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/waitflags.h
    1255 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/waitstatus.h
    1256 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/wchar.h
    1257 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/wordsize.h
    1258 ../include-MTrigger/MTrigger.c.o: /usr/include/bits/xopen_lim.h
    1259 ../include-MTrigger/MTrigger.c.o: /usr/include/ctype.h /usr/include/endian.h
    1260 ../include-MTrigger/MTrigger.c.o: /usr/include/fcntl.h /usr/include/features.h
    1261 ../include-MTrigger/MTrigger.c.o: /usr/include/g++/iosfwd
    1262 ../include-MTrigger/MTrigger.c.o: /usr/include/g++/iostream
    1263 ../include-MTrigger/MTrigger.c.o: /usr/include/g++/iostream.h
    1264 ../include-MTrigger/MTrigger.c.o: /usr/include/g++/streambuf.h
    1265 ../include-MTrigger/MTrigger.c.o: /usr/include/gconv.h /usr/include/getopt.h
    1266 ../include-MTrigger/MTrigger.c.o: /usr/include/gnu/stubs.h
    1267 ../include-MTrigger/MTrigger.c.o: /usr/include/libio.h /usr/include/limits.h
    1268 ../include-MTrigger/MTrigger.c.o: /usr/include/linux/limits.h
    1269 ../include-MTrigger/MTrigger.c.o: /usr/include/math.h /usr/include/setjmp.h
    1270 ../include-MTrigger/MTrigger.c.o: /usr/include/signal.h /usr/include/stdio.h
    1271 ../include-MTrigger/MTrigger.c.o: /usr/include/stdlib.h /usr/include/string.h
    1272 ../include-MTrigger/MTrigger.c.o: /usr/include/sys/cdefs.h
    1273 ../include-MTrigger/MTrigger.c.o: /usr/include/sys/select.h
    1274 ../include-MTrigger/MTrigger.c.o: /usr/include/sys/stat.h
    1275 ../include-MTrigger/MTrigger.c.o: /usr/include/sys/sysmacros.h
    1276 ../include-MTrigger/MTrigger.c.o: /usr/include/sys/types.h
    1277 ../include-MTrigger/MTrigger.c.o: /usr/include/sys/ucontext.h
    1278 ../include-MTrigger/MTrigger.c.o: /usr/include/time.h /usr/include/ucontext.h
    1279 ../include-MTrigger/MTrigger.c.o: /usr/include/unistd.h /usr/include/wchar.h
    1280 ../include-MTrigger/MTrigger.c.o: /usr/include/xlocale.h
    1281 ../include-MTrigger/MTrigger.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/exception
    1282 ../include-MTrigger/MTrigger.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/float.h
    1283 ../include-MTrigger/MTrigger.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/limits.h
    1284 ../include-MTrigger/MTrigger.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stdarg.h
    1285 ../include-MTrigger/MTrigger.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stddef.h
    1286 ../include-MTrigger/MTrigger.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/syslimits.h
    1287 ../include-MTrigger/MTrigger.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/typeinfo
    1288 camera.c.o: ../../../include-Classes/MBase/MAGIC.h
    1289 camera.c.o: ../../../include-Classes/MBase/MArray.h
    1290 camera.c.o: ../../../include-Classes/MBase/MLog.h
    1291 camera.c.o: ../../../include-Classes/MBase/MParContainer.h
    1292 camera.c.o: ../../../include-Classes/MBase/MTime.h
    1293 camera.c.o: ../../../include-Classes/MMcFormat/MFadcDefine.h
    1294 camera.c.o: ../../../include-Classes/MMcFormat/MMcConfigRunHeader.h
    1295 camera.c.o: ../../../include-Classes/MMcFormat/MMcCorsikaRunHeader.h
    1296 camera.c.o: ../../../include-Classes/MMcFormat/MMcEvt.hxx
    1297 camera.c.o: ../../../include-Classes/MMcFormat/MMcFadcHeader.hxx
    1298 camera.c.o: ../../../include-Classes/MMcFormat/MMcRunHeader.hxx
    1299 camera.c.o: ../../../include-Classes/MMcFormat/MMcTrig.hxx
    1300 camera.c.o: ../../../include-Classes/MMcFormat/MMcTrigHeader.hxx
    1301 camera.c.o: ../../../include-Classes/MMcFormat/MTriggerDefine.h
    1302 camera.c.o: ../../../include-Classes/MMcFormat/Mdefine.h
    1303 camera.c.o: ../../../include-Classes/MRawFormat/MRawCrateArray.h
    1304 camera.c.o: ../../../include-Classes/MRawFormat/MRawCrateData.h
    1305 camera.c.o: ../../../include-Classes/MRawFormat/MRawEvtData.h
    1306 camera.c.o: ../../../include-Classes/MRawFormat/MRawEvtHeader.h
    1307 camera.c.o: ../../../include-Classes/MRawFormat/MRawRunHeader.h
    1308 camera.c.o: ../../../include-Classes/mgeom/MCamEvent.h
    1309 camera.c.o: ../../../include-Classes/mgeom/MGeomCam.h
    1310 camera.c.o: ../../../include-Classes/mgeom/MGeomCamCT1.h
    1311 camera.c.o: ../../../include-Classes/mgeom/MGeomCamCT1Daniel.h
    1312 camera.c.o: ../../../include-Classes/mgeom/MGeomCamECO1000.h
    1313 camera.c.o: ../../../include-Classes/mgeom/MGeomCamECO1000HG.h
    1314 camera.c.o: ../../../include-Classes/mgeom/MGeomCamMagic.h
    1315 camera.c.o: ../../../include-Classes/mgeom/MGeomCamMagic919.h
    1316 camera.c.o: ../../../include-Classes/mgeom/MGeomCamMagicHG.h
    1317 camera.c.o: ../../../include-Classes/mgeom/MGeomMirror.h
    1318 camera.c.o: ../../../include-Classes/mgeom/MGeomPMT.h
    1319 camera.c.o: ../../../include-Classes/mgeom/MGeomPix.h
    1320 camera.c.o: ../StarResponse/MStarLight.hxx
    1321 camera.c.o: ../include-CORSIKA/COREventHeader.hxx ../include-GENERAL/jcdebug.h
    1322 camera.c.o: ../include-GENERAL/jcmacros.h ../include-GENERAL/ranlib.h
    1323 camera.c.o: ../include-MC/MCCphoton.hxx ../include-MC/MCEventHeader.hxx
    1324 camera.c.o: ../include-MC/MCEventHeader_2.hxx ../include-MC/MCRunHeader.hxx
    1325 camera.c.o: ../include-MFadc/MFadc.hxx ../include-MLons/MLons.hxx
    1326 camera.c.o: ../include-MTrigger/MTrigger.hxx /cern/root/root/include/Buttons.h
    1327 camera.c.o: /cern/root/root/include/Bytes.h /cern/root/root/include/Byteswap.h
    1328 camera.c.o: /cern/root/root/include/DllImport.h
    1329 camera.c.o: /cern/root/root/include/Foption.h /cern/root/root/include/Gtypes.h
    1330 camera.c.o: /cern/root/root/include/GuiTypes.h
    1331 camera.c.o: /cern/root/root/include/Htypes.h
    1332 camera.c.o: /cern/root/root/include/Property.h
    1333 camera.c.o: /cern/root/root/include/RConfig.h
    1334 camera.c.o: /cern/root/root/include/RVersion.h
    1335 camera.c.o: /cern/root/root/include/Riosfwd.h
    1336 camera.c.o: /cern/root/root/include/Rtypeinfo.h
    1337 camera.c.o: /cern/root/root/include/Rtypes.h
    1338 camera.c.o: /cern/root/root/include/TApplication.h
    1339 camera.c.o: /cern/root/root/include/TApplicationImp.h
    1340 camera.c.o: /cern/root/root/include/TArray.h /cern/root/root/include/TArrayC.h
    1341 camera.c.o: /cern/root/root/include/TArrayD.h
    1342 camera.c.o: /cern/root/root/include/TArrayF.h
    1343 camera.c.o: /cern/root/root/include/TArrayI.h
    1344 camera.c.o: /cern/root/root/include/TArrayS.h
    1345 camera.c.o: /cern/root/root/include/TAttAxis.h
    1346 camera.c.o: /cern/root/root/include/TAttCanvas.h
    1347 camera.c.o: /cern/root/root/include/TAttFill.h
    1348 camera.c.o: /cern/root/root/include/TAttLine.h
    1349 camera.c.o: /cern/root/root/include/TAttMarker.h
    1350 camera.c.o: /cern/root/root/include/TAttPad.h
    1351 camera.c.o: /cern/root/root/include/TAttText.h /cern/root/root/include/TAxis.h
    1352 camera.c.o: /cern/root/root/include/TBranch.h
    1353 camera.c.o: /cern/root/root/include/TBuffer.h /cern/root/root/include/TCache.h
    1354 camera.c.o: /cern/root/root/include/TCanvas.h
    1355 camera.c.o: /cern/root/root/include/TCanvasImp.h
    1356 camera.c.o: /cern/root/root/include/TClass.h
    1357 camera.c.o: /cern/root/root/include/TClonesArray.h
    1358 camera.c.o: /cern/root/root/include/TCollection.h
    1359 camera.c.o: /cern/root/root/include/TDatime.h
    1360 camera.c.o: /cern/root/root/include/TDictionary.h
    1361 camera.c.o: /cern/root/root/include/TDirectory.h
    1362 camera.c.o: /cern/root/root/include/TError.h /cern/root/root/include/TFile.h
    1363 camera.c.o: /cern/root/root/include/TGenericClassInfo.h
    1364 camera.c.o: /cern/root/root/include/TH1.h /cern/root/root/include/THashList.h
    1365 camera.c.o: /cern/root/root/include/TInetAddress.h
    1366 camera.c.o: /cern/root/root/include/TIterator.h
    1367 camera.c.o: /cern/root/root/include/TList.h /cern/root/root/include/TMath.h
    1368 camera.c.o: /cern/root/root/include/TMatrix.h
    1369 camera.c.o: /cern/root/root/include/TMatrixUtils.h
    1370 camera.c.o: /cern/root/root/include/TNamed.h
    1371 camera.c.o: /cern/root/root/include/TObjArray.h
    1372 camera.c.o: /cern/root/root/include/TObject.h /cern/root/root/include/TPad.h
    1373 camera.c.o: /cern/root/root/include/TQObject.h /cern/root/root/include/TROOT.h
    1374 camera.c.o: /cern/root/root/include/TRandom.h
    1375 camera.c.o: /cern/root/root/include/TRandom2.h
    1376 camera.c.o: /cern/root/root/include/TRefCnt.h
    1377 camera.c.o: /cern/root/root/include/TSeqCollection.h
    1378 camera.c.o: /cern/root/root/include/TStorage.h
    1379 camera.c.o: /cern/root/root/include/TString.h
    1380 camera.c.o: /cern/root/root/include/TStringLong.h
    1381 camera.c.o: /cern/root/root/include/TTime.h /cern/root/root/include/TTree.h
    1382 camera.c.o: /cern/root/root/include/TUUID.h /cern/root/root/include/TVector.h
    1383 camera.c.o: /cern/root/root/include/TVector2.h
    1384 camera.c.o: /cern/root/root/include/TVector3.h
    1385 camera.c.o: /cern/root/root/include/TVirtualHistPainter.h
    1386 camera.c.o: /cern/root/root/include/TVirtualPad.h
    1387 camera.c.o: /cern/root/root/include/TVirtualTreePlayer.h
    1388 camera.c.o: /cern/root/root/include/TVirtualX.h
    1389 camera.c.o: /cern/root/root/include/Varargs.h /usr/include/_G_config.h
    1390 camera.c.o: /usr/include/alloca.h /usr/include/bits/confname.h
    1391 camera.c.o: /usr/include/bits/dirent.h /usr/include/bits/endian.h
    1392 camera.c.o: /usr/include/bits/environments.h /usr/include/bits/huge_val.h
    1393 camera.c.o: /usr/include/bits/local_lim.h /usr/include/bits/mathcalls.h
    1394 camera.c.o: /usr/include/bits/mathdef.h /usr/include/bits/nan.h
    1395 camera.c.o: /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h
    1396 camera.c.o: /usr/include/bits/posix_opt.h /usr/include/bits/pthreadtypes.h
    1397 camera.c.o: /usr/include/bits/sched.h /usr/include/bits/select.h
    1398 camera.c.o: /usr/include/bits/sigset.h /usr/include/bits/stdio_lim.h
    1399 camera.c.o: /usr/include/bits/time.h /usr/include/bits/types.h
    1400 camera.c.o: /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h
    1401 camera.c.o: /usr/include/bits/wchar.h /usr/include/bits/wordsize.h
    1402 camera.c.o: /usr/include/bits/xopen_lim.h /usr/include/dirent.h
    1403 camera.c.o: /usr/include/endian.h /usr/include/features.h
    1404 camera.c.o: /usr/include/g++/fstream.h /usr/include/g++/iomanip.h
    1405 camera.c.o: /usr/include/g++/iosfwd /usr/include/g++/iostream
    1406 camera.c.o: /usr/include/g++/iostream.h /usr/include/g++/stream.h
    1407 camera.c.o: /usr/include/g++/streambuf.h /usr/include/gconv.h
    1408 camera.c.o: /usr/include/getopt.h /usr/include/gnu/stubs.h
    1409 camera.c.o: /usr/include/libgen.h /usr/include/libio.h /usr/include/limits.h
    1410 camera.c.o: /usr/include/linux/limits.h /usr/include/math.h
    1411 camera.c.o: /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h
    1412 camera.c.o: /usr/include/sys/cdefs.h /usr/include/sys/select.h
    1413 camera.c.o: /usr/include/sys/sysmacros.h /usr/include/sys/types.h
    1414 camera.c.o: /usr/include/time.h /usr/include/unistd.h /usr/include/wchar.h
    1415 camera.c.o: /usr/include/xlocale.h
    1416 camera.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/exception
    1417 camera.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/float.h
    1418 camera.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/limits.h
    1419 camera.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stdarg.h
    1420 camera.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stddef.h
    1421 camera.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/syslimits.h
    1422 camera.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/typeinfo
    1423 camera.c.o: camera-v.h camera.h creadparam.h moments.h
    1424 creadparam.c.o: ../../../include-Classes/MMcFormat/MFadcDefine.h
    1425 creadparam.c.o: ../../../include-Classes/MMcFormat/MTriggerDefine.h
    1426 creadparam.c.o: ../../../include-Classes/MMcFormat/Mdefine.h
    1427 creadparam.c.o: ../include-GENERAL/jcdebug.h ../include-GENERAL/jcmacros.h
    1428 creadparam.c.o: /usr/include/_G_config.h /usr/include/alloca.h
    1429 creadparam.c.o: /usr/include/bits/endian.h /usr/include/bits/huge_val.h
    1430 creadparam.c.o: /usr/include/bits/mathcalls.h /usr/include/bits/mathdef.h
    1431 creadparam.c.o: /usr/include/bits/nan.h /usr/include/bits/pthreadtypes.h
    1432 creadparam.c.o: /usr/include/bits/sched.h /usr/include/bits/select.h
    1433 creadparam.c.o: /usr/include/bits/sigset.h /usr/include/bits/stdio_lim.h
    1434 creadparam.c.o: /usr/include/bits/time.h /usr/include/bits/types.h
    1435 creadparam.c.o: /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h
    1436 creadparam.c.o: /usr/include/bits/wchar.h /usr/include/endian.h
    1437 creadparam.c.o: /usr/include/features.h /usr/include/g++/fstream.h
    1438 creadparam.c.o: /usr/include/g++/iostream.h /usr/include/g++/streambuf.h
    1439 creadparam.c.o: /usr/include/gconv.h /usr/include/gnu/stubs.h
    1440 creadparam.c.o: /usr/include/libio.h /usr/include/math.h /usr/include/stdio.h
    1441 creadparam.c.o: /usr/include/stdlib.h /usr/include/string.h
    1442 creadparam.c.o: /usr/include/sys/cdefs.h /usr/include/sys/select.h
    1443 creadparam.c.o: /usr/include/sys/sysmacros.h /usr/include/sys/types.h
    1444 creadparam.c.o: /usr/include/time.h /usr/include/wchar.h
    1445 creadparam.c.o: /usr/include/xlocale.h
    1446 creadparam.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/float.h
    1447 creadparam.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stdarg.h
    1448 creadparam.c.o: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stddef.h
    1449 creadparam.c.o: camera-v.h creadparam.h
  • trunk/MagicSoft/Simulation/Detector/Camera/README

    r370 r5072  
    11README for "camera"
     2
     3Warning: this file contains information on the first versions of camera
     4program. Please refer to the manual (see MAGIC web pages) for up to date
     5information.
    26
    37(for camera.cxx version 1.5/camera.h 1.4/creadparam.cxx 1.2/
  • trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx

    r3044 r5072  
    2121//
    2222// $RCSfile: camera.cxx,v $
    23 // $Revision: 1.68 $
    24 // $Author: blanch $
    25 // $Date: 2004-02-06 17:39:24 $
     23// $Revision: 1.69 $
     24// $Author: moralejo $
     25// $Date: 2004-09-16 15:16:34 $
    2626//
    2727////////////////////////////////////////////////////////////////////////
     
    8484#include "MGeomCamCT1Daniel.h"
    8585#include "MGeomPix.h"
     86#include "MGeomCorsikaCT.h"
    8687
    8788/*!@"
     
    151152static int ct_Number;       
    152153
    153 //@: Camera geometries
    154 static int ct_Geometry;       
    155 
    156154//@: list of showers to be skipped
    157155static int *Skip;
     
    200198
    201199//@: Properties of the FADC
    202 static float FADC_response_ampl = MFADC_RESPONSE_INTEGRAL;
     200static int FADC_shape = 0;
     201static float FADC_response_integ = MFADC_RESPONSE_INTEGRAL;
    203202static float FADC_response_fwhm = MFADC_RESPONSE_FWHM;
    204 static float FADC_resp_ampl_out = MFADC_RESPONSE_INTEGRAL;
     203static int FADC_shape_out = 0;
     204static float FADC_resp_integ_out = MFADC_RESPONSE_INTEGRAL;
    205205static float FADC_resp_fwhm_out = MFADC_RESPONSE_FWHM;
    206 static float FADC_noise = 2.0;
     206static float FADC_noise_inner = 2.0;
     207static float FADC_noise_outer = 2.0;
    207208static float DIGITAL_noise = 2.0;
    208209static float FADC_high2low = HIGH2LOWGAIN;
     
    210211//@: Trigger conditions for a single trigger mode
    211212static float **qThreshold; 
    212 static int Trigger_multiplicity[100];
    213 static int Trigger_topology[100];
     213static int Trigger_multiplicity[MAX_NUMBER_OF_CTS];
     214static int Trigger_topology[MAX_NUMBER_OF_CTS];
    214215
    215216//@: Upper and lower edges of the trigger loop
     
    222223static int Trigger_loop_utop = 2;
    223224
     225//@: Direction of each shower
     226static  float Zenith = 0.0;
     227static  float Azimutal = 90.0;
     228
     229//@: Miss Pointing Simulation
     230static   int missPointing = 0;
     231static   float missP_x = 0.0;
     232static   float missP_y = 0.0;
     233
     234//@: Point Spread Function Added
     235static  float Spot_x=0.0;
     236static  float Spot_y=0.0;
     237static  float Spotsigma=0.0;
     238
     239 
    224240//!@}
    225241
     
    259275
    260276//@: number of datapoints for the QE curve
    261 static int pointsQE[100];
     277static int pointsQE[MAX_NUMBER_OF_CTS];
    262278
    263279//@: table of QE
    264280static float *QElambda;
    265281
    266 //@: table of lightguide = WC;
     282//@: table of lightguide = WC;  WC_outer for outer pixels.
    267283static float **WC;
     284static float **WC_outer;
    268285
    269286//@: number of datapoints for the WC curve
     
    313330  //@'
    314331
    315   char inname_CT[100][256];   //@< array of names for each CT input file
     332  char **inname_CT;   //@< array of names for each CT input file
    316333  char starfieldname[256];    //@< starfield input file name
    317334  char qe_filename[256];       //@< qe input file name
     
    328345
    329346  char flag[SIZE_OF_FLAGS + 1];  //@< flags in the .rfl file
    330   char flag_new[SIZE_OF_FLAGS + 1];              //@< New flag for the run header in the .rfl file
    331   char GeometryName[100][50];            //@< Name of MGeomCam for each CT
    332   int GeometryCamera[100];           //@< Identification of MGeomCam for each CT
    333   int TriggerPixels[100];          //@< Number of pixels in the trigger region for each CT
     347  char flag_new[SIZE_OF_FLAGS + 1];  //@< New flag for the run header in the .rfl file
     348  char **GeometryName;   //@< Name of MGeomCam for each CT
     349  int GeometryCamera[MAX_NUMBER_OF_CTS];  //@< Identification of MGeomCam for each CT
     350  int TriggerPixels[MAX_NUMBER_OF_CTS]; //@< Number of pixels in the trigger region for each CT
    334351
    335352  int reflector_file_version=0;  //@< vrsion of he reflector file
    336353
    337   FILE *inputfile[100];            //@< stream for the input file
     354  FILE *inputfile[MAX_NUMBER_OF_CTS]; //@< stream for the input file
    338355
    339356  ofstream datafile;          //@< stream for the data file
    340357
    341358  MCRunHeader mcrunh;                //@< Run Header class (MC)
    342   MCEventHeader mcevth[100];      //@< Event Header class (MC)
    343   MCEventHeader_2 mcevth_2[100];   //@< Event Header class (MC) for reflector > 0.6
     359  MCEventHeader mcevth[MAX_NUMBER_OF_CTS]; //@< Event Header class (MC)
     360  MCEventHeader_2 mcevth_2[MAX_NUMBER_OF_CTS];   //@< Event Header class (MC) for reflector > 0.6
    344361  MCCphoton cphoton;          //@< Cherenkov Photon class (MC)
    345362
    346363  int inumphe;                //@< number of photoelectrons in an event from showers
    347   int inumphe_CT[100];        //@< number of photoelectrons in an event from showers
    348   float inumphensb[100];             //@< number of photoelectrons in an event from nsb
     364  int inumphe_CT[MAX_NUMBER_OF_CTS]; //@< number of photoelectrons in an event from showers
     365  float inumphensb[MAX_NUMBER_OF_CTS];  //@< number of photoelectrons in an event from nsb
    349366
    350367  float arrtmin_ns;           //@ arrival time of the first photoelectron
    351368  float arrtmax_ns;           //@ arrival time of the last photoelectron
    352369
    353   float thetaCT[100], phiCT[100];       //@< parameters of a given shower
     370  float thetaCT[MAX_NUMBER_OF_CTS], phiCT[MAX_NUMBER_OF_CTS];  //@< theta and phi of telescopes
     371
     372  //@: Coordinates of telescopes in Corsika's coordinate system
     373  float CTx[MAX_NUMBER_OF_CTS];
     374  float CTy[MAX_NUMBER_OF_CTS];
     375  float CTz[MAX_NUMBER_OF_CTS];
     376
     377  float mirror_frac[MAX_NUMBER_OF_CTS];
     378
    354379  float thetashw, phishw;     //@< parameters of a given shower
    355380  float coreX, coreY;         //@< core position
    356   float impactD[100];              //@< impact parameter
     381  float impactD[MAX_NUMBER_OF_CTS];  //@< impact parameter
    357382  float l1, m1, n1;           //@< auxiliary variables
    358   float l2, m2, n2;           //@< auxiliary variables
    359   float num, den;      //@< auxiliary variables
    360   float factorqe_NSB[100];          //@< factor on the NSB depending of QE
     383  float factorqe_NSB[MAX_NUMBER_OF_CTS]; //@< factor on the NSB depending of QE
    361384
    362385  int nshow=0;                //@< partial number of shower in a given run
    363386  int ntshow=0;               //@< total number of showers
    364   int ncph[100];            //@< partial number of photons in a given run
    365   int ntcph[100];                //@< total number of photons
     387  int ncph[MAX_NUMBER_OF_CTS];  //@< partial number of photons in a given run
     388  int ntcph[MAX_NUMBER_OF_CTS]; //@< total number of photons
    366389
    367390  int ibr, j, k;                //@< simple counters
     
    375398  int nphe2NSB;               //@< From how many phe will we simulate NSB?
    376399  float meanNSB;              //@< diffuse NSB mean value (phe per ns per central pixel)
    377   float diffnsb_phepns[100][iMAXNUMPIX];  //@< diffuse NSB values for each pixel 
    378                                      //@< derived from meanNSB
    379   float nsbrate_phepns[iMAXNUMPIX][iNUMWAVEBANDS];    //@< non-diffuse nsb
    380                                                      //@< photoelectron rates
    381   float nsb_phepns[100][iMAXNUMPIX];                 //@< NSB values for each pixel
    382   float nsb_phepns_rotated[100][iMAXNUMPIX];         //@< NSB values for each pixel after rotation
     400  float **diffnsb_phepns; 
     401  //@< diffuse NSB values for each pixel derived from meanNSB
     402
     403  float **nsbrate_phepns;  //@< non-diffuse nsb
     404                                                    //@< photoelectron rates
     405  float **nsb_phepns;
     406  //@< NSB values for each pixel
     407
     408  float **nsb_phepns_rotated;
     409  //@< NSB values for each pixel after rotation
    383410
    384411  Float_t nsb_trigresp[TRIGGER_TIME_SLICES];    //@< array to write the trigger
     
    406433  int flagstoring = 0;
    407434
    408   int ntrigger[100];           //@< number of triggers in the whole file
     435  int ntrigger[MAX_NUMBER_OF_CTS];  //@< number of triggers in the whole file
    409436  int btrigger = 0;           //@< trigger flag
    410437  int ithrescount;            //@< counter for loop over threshold trigger
     
    435462  Float_t telestheta = 0.0;
    436463  Float_t telesphi = 0.0;
    437   Float_t sofftheta = 0.0;
    438   Float_t soffphi = 0.0;
    439464  UInt_t corsika = 5200 ;
    440465  Float_t maxpimpact = 0.0;
     
    453478  //@'
    454479
    455   qThreshold = new float *[100];
    456   for(int i=0;i<100;i++)
     480  inname_CT = new char *[MAX_NUMBER_OF_CTS];
     481  GeometryName = new char *[MAX_NUMBER_OF_CTS];
     482  diffnsb_phepns = new float *[MAX_NUMBER_OF_CTS];
     483  nsb_phepns = new float *[MAX_NUMBER_OF_CTS];
     484  nsb_phepns_rotated = new float *[MAX_NUMBER_OF_CTS];
     485
     486  for(int i=0;i<MAX_NUMBER_OF_CTS;i++)
     487    {
     488      inname_CT[i] = new char[256];
     489      GeometryName[i] = new char[50];
     490      diffnsb_phepns[i] = new float[iMAXNUMPIX];
     491      nsb_phepns[i] = new float[iMAXNUMPIX];
     492      nsb_phepns_rotated[i] = new float[iMAXNUMPIX];
     493      CTx[i] = 0.; CTy[i] = 0.; CTz[i] = 0.;
     494    }
     495
     496  nsbrate_phepns = new float *[iMAXNUMPIX];
     497  for(int i=0;i<iMAXNUMPIX;i++)
     498    nsbrate_phepns[i] = new float[iNUMWAVEBANDS];
     499   
     500  qThreshold = new float *[MAX_NUMBER_OF_CTS];
     501  for(int i=0;i<MAX_NUMBER_OF_CTS;i++)
    457502    qThreshold[i] = new float [CAMERA_PIXELS];
    458503
    459504  for(int i=0;i<iMAXNUMPIX;i++){
    460     for(int ict=0;ict<100;ict++){     
     505    for(int ict=0;ict<MAX_NUMBER_OF_CTS;ict++){     
    461506      nsb_phepns[ict][i]=0;
    462507      nsb_phepns_rotated[ict][i]=0;
     
    465510      nsbrate_phepns[i][j]=0.0;    //@< Starlight rates initialised at 0.0
    466511  }
    467   for(int i=0;i<100;i++)
     512  for(int i=0;i<MAX_NUMBER_OF_CTS;i++)
    468513    ntcph[i]=0;
    469514  /*!@'
     
    527572
    528573  ct_Number=get_ct_number();
    529   ct_Geometry=get_ct_geometry();
     574  if (ct_Number > MAX_NUMBER_OF_CTS)
     575    {
     576      error( SIGNATURE, "Number of telescopes is larger than maximum allowed (%i). Stoping camera program ...", MAX_NUMBER_OF_CTS);
     577      exit(1);
     578    }
    530579
    531580  for(int ict=0;ict<ct_Number;ict++){
    532581    ntrigger[ict]=0;
    533     if(ct_Geometry>=ict*10){
    534       GeometryCamera[ict]=int(ct_Geometry/pow(10.0,ict))%10;
    535     }
    536     else
    537       GeometryCamera[ict]=0;
     582    GeometryCamera[ict]=get_ct_geometry(ict);
     583
     584    //
     585    // Get telescope coordinates (if supplied) from  input card (units cm).
     586    //
     587    CTx[ict] = get_telescope_location_cm(ict,0);
     588    CTy[ict] = get_telescope_location_cm(ict,1);
     589    CTz[ict] = get_telescope_location_cm(ict,2);
     590
     591    //
     592    // Get fraction of operative mirror:
     593    //
     594    mirror_frac[ict] = get_mirror_fraction(ict);
    538595  }
    539596
     
    615672  get_secure_threhold(&riseDiskThres,&secureDiskThres);
    616673
    617   get_FADC_properties( &FADC_response_ampl, &FADC_response_fwhm,
    618                        &FADC_resp_ampl_out, &FADC_resp_fwhm_out);
     674  get_FADC_properties
     675    (&FADC_shape, &FADC_response_integ, &FADC_response_fwhm,
     676     &FADC_shape_out, &FADC_resp_integ_out, &FADC_resp_fwhm_out);
     677
    619678  FADC_high2low=get_High_to_Low();
    620679
    621   // FIXME --- tirgger properties may depend on the Camrea geometry
     680  // FIXME --- trigger properties may depend on the Camera geometry
    622681
    623682  get_Trigger_properties( &Trigger_gate_length, &Trigger_overlaping_time, &Trigger_response_ampl, &Trigger_response_fwhm);
     
    630689    (Trigger_loop_utop-Trigger_loop_ltop+1);
    631690
    632   // Trigger loop operation is not implemented for Multi telscopes
     691  // Trigger loop operation is not implemented for Multi telescopes
    633692
    634693  if ( Trigger_Loop && ct_Number > 1 ){
     
    651710
    652711  for(int ict=0;ict<ct_Number;ict++)
    653     strcpy( inname_CT[ict], get_input_filename(ict) );
     712    {
     713      strcpy( inname_CT[ict], get_input_filename(ict) );
     714      if (strlen(inname_CT[ict]) == 0)
     715        {
     716          printf("\nError: missing input file name for CT id = %d. Exiting.\n\n", ict);
     717          exit(1);
     718        }
     719    }
    654720
    655721  strcpy( starfieldname, get_starfield_filename() );
     
    662728  // get different parameters of the simulation
    663729
    664   addElecNoise = add_elec_noise(&FADC_noise, &DIGITAL_noise, &Trigger_noise);
     730  addElecNoise = add_elec_noise(&FADC_noise_inner, &FADC_noise_outer, &DIGITAL_noise, &Trigger_noise);
    665731  simulateNSB = get_nsb( &meanNSB, &nphe2NSB ); 
     732  missPointing = get_misspointing(&missP_x,&missP_y);
     733  Spotsigma = get_sigma_xy_cm_spot(&Spot_x,&Spot_y);
    666734
    667735
     
    681749        "Geometry ", GeometryName[ict]);
    682750    strcpy( qe_filename, get_qe_filename(ict));
     751
     752    printf("Telescope coordinates (cm): %.1f %.1f %.1f\n", CTx[ict], CTy[ict], CTz[ict]);
    683753
    684754    // Look to factor for NSB respect to emi_coat PMTs
     
    748818 
    749819  log(SIGNATURE,
    750       "%s:\n\t%20s: %s\n\t%20s: %s\n\t%20s: %s\n\t%20s: %3.2f(%s) %3.2f+%3.2f(%s) %s\n",
     820      "%s:\n\t%20s: %s\n\t%20s: %s\n\t%20s: %s\n\t%20s: %s %3.2f, %s %3.2f (%s), %3.2f (%s) + %3.2f (%s) %s\n",
    751821      "Flags",
    752822      "Data_From_STDIN",   ONoff(Data_From_STDIN), 
    753823      "Write_All_Events",  ONoff(Write_All_Images),
    754824      "Rotate Starfield",  ONoff(Starfield_rotate),
    755       "Electronic Noise",  Trigger_noise,"trigger",
    756       FADC_noise,DIGITAL_noise,"fadc",ONoff(addElecNoise)
     825      "Electronic Noise",  "trigger (rel. noise): ", Trigger_noise,
     826      "FADC (ADC counts): ", FADC_noise_inner, "inner pixels",
     827      FADC_noise_outer, "outer pixels",
     828      DIGITAL_noise, "added digital noise at FADC", ONoff(addElecNoise)
    757829      );
    758830
     
    779851
    780852  ntriggerloop= new int ** [(int)((Trigger_loop_uthres-Trigger_loop_lthres)
    781                            /Trigger_loop_sthres)];
     853                           /Trigger_loop_sthres)+1];
    782854  for (ithrescount=0, fthrescount=Trigger_loop_lthres;fthrescount<=Trigger_loop_uthres;fthrescount+=Trigger_loop_sthres, ithrescount++){
    783855    ntriggerloop[ithrescount]= new int * [Trigger_loop_umult-Trigger_loop_lmult+1];
     
    821893
    822894  Int_t Lev0, Lev1;
    823   Int_t Lev0MT[100], Lev1MT[100];
     895  Int_t Lev0MT[MAX_NUMBER_OF_CTS], Lev1MT[MAX_NUMBER_OF_CTS];
    824896 
    825897  fadcValues    =  new TArrayC(FADC_SLICES);
     
    843915
    844916  for (int i=0; i<ct_Number;i++){
    845     Trigger_CT[i] = new  MTrigger(TriggerPixels[i],
     917    Trigger_CT[i] = new MTrigger(TriggerPixels[i],
    846918                    ((MGeomCam*)(camgeom.UncheckedAt(i))),
    847919                    Trigger_gate_length,
    848920                    Trigger_overlaping_time,
    849921                    Trigger_response_ampl,
    850                     Trigger_response_fwhm);  //@< A instance of the Class MTrigger
     922                    Trigger_response_fwhm, i);  //@< A instance of the Class MTrigger
    851923    Trigger_CT[i]->SetSeed(UInt_t(i+get_seeds(0)));
    852924  }
     
    912984    Fadc_CT[i] =
    913985      new  MFadc(((MGeomCam*)(camgeom.UncheckedAt(i)))->GetNumPixels(),
    914                  FADC_response_ampl,FADC_response_fwhm,
    915                  FADC_resp_ampl_out,FADC_resp_fwhm_out,
     986                 FADC_shape,
     987                 FADC_response_integ,FADC_response_fwhm,
     988                 FADC_shape_out,
     989                 FADC_resp_integ_out,FADC_resp_fwhm_out,
    916990                 get_trig_delay()
    917991          ) ; //@< A instance of the Class MFadc
     
    9401014   
    9411015    // Generate database for the Fadc electronic noise
    942     if (addElecNoise){       
    943       Fadc_CT[ict]->SetElecNoise(FADC_noise);
    944       Fadc_CT[ict]->SetDigitalNoise(DIGITAL_noise);
    945     }
     1016
     1017    if (!addElecNoise)
     1018        continue;
     1019
     1020    MGeomCam *camg = (MGeomCam*)(camgeom.UncheckedAt(ict));
     1021    UInt_t n_inner_pixels;  // Number of inner(small) pixels
     1022    for (n_inner_pixels = 0; n_inner_pixels < camg->GetNumPixels();
     1023         n_inner_pixels ++)
     1024    {
     1025        if (camg->GetPixRatio(n_inner_pixels) < 1.)
     1026            break;
     1027    }
     1028    Fadc_CT[ict]->SetElecNoise(FADC_noise_inner, FADC_noise_outer,
     1029                               n_inner_pixels);
     1030    Fadc_CT[ict]->SetDigitalNoise(DIGITAL_noise);
    9461031  }
    9471032
     
    9551040  MRawRunHeader *RunHeader= new MRawRunHeader();
    9561041  MMcRunHeader  *McRunHeader = new MMcRunHeader();
    957   MMcCorsikaRunHeader  *McCorsikaRunHeader = new MMcCorsikaRunHeader();
     1042  MMcCorsikaRunHeader  *McCorsikaRunHeader = new MMcCorsikaRunHeader("","",ct_Number);
     1043
     1044
     1045  for (int i = 0; i < ct_Number; i++)
     1046    McCorsikaRunHeader->FillCT(CTx[i], CTy[i], CTz[i], -1., -1., -1., -1., i);
     1047
    9581048
    9591049  MMcConfigRunHeader  **McConfigRunHeader = NULL;
     
    9731063      EvtHeader[i] = new MRawEvtHeader();
    9741064    }
     1065
    9751066  }
    9761067
     
    10151106  char help[4]; 
    10161107
    1017   HeaderTree.Branch("MRawRunHeader","MRawRunHeader",
     1108  HeaderTree.Branch("MRawRunHeader.","MRawRunHeader",
    10181109                    &RunHeader);
    10191110
    1020   HeaderTree.Branch("MMcRunHeader","MMcRunHeader",
     1111  HeaderTree.Branch("MMcRunHeader.","MMcRunHeader",
    10211112                    &McRunHeader);
    10221113
    1023   HeaderTree.Branch("MMcCorsikaRunHeader","MMcCorsikaRunHeader",
    1024                     &McCorsikaRunHeader);
     1114  HeaderTree.Branch("MMcCorsikaRunHeader.","MMcCorsikaRunHeader",
     1115                    &McCorsikaRunHeader);
    10251116
    10261117  if(!Trigger_Loop && Write_McTrig && ct_Number==1){
    10271118   
    1028     HeaderTree.Branch("MMcTrigHeader","MMcTrigHeader",
     1119    HeaderTree.Branch("MMcTrigHeader.","MMcTrigHeader",
    10291120                      &HeaderTrig[0]);
    10301121  }
     1122
    10311123  if (ct_Number==1){
    1032     HeaderTree.Branch("MGeomCam",GeometryName[0],
    1033                       &camdummy[0]);
    1034     HeaderTree.Branch("MMcConfigRunHeader","MMcConfigRunHeader",
     1124    //    HeaderTree.Branch("MGeomCam.", "MGeomCam", &camdummy[0]);
     1125    HeaderTree.Branch("MGeomCam.", GeometryName[0], &camdummy[0]);
     1126    HeaderTree.Branch("MMcConfigRunHeader.","MMcConfigRunHeader",
    10351127                      &McConfigRunHeader[0]);
    10361128  }
    10371129  else{
    1038     char branchname[20];
     1130    char branchname[256];
    10391131    for (int ict=0; ict<ct_Number;ict++){
    10401132      sprintf(help,"%i",ict+1);
     
    10421134      strcat (branchname, & help[0]);
    10431135      strcat (branchname, ".");
    1044       HeaderTree.Branch(branchname,GeometryName[ict],
     1136      HeaderTree.Branch(branchname, GeometryName[ict],
    10451137                        &camdummy[ict]);
    10461138    }
     
    10581150  if ((Trigger_Loop || ct_Number>1) && Write_McTrig){
    10591151    ibr=0;
    1060     for(char branchname[20];ibr<numberBranches;ibr++){
     1152    for(char branchname[256];ibr<numberBranches;ibr++){
    10611153     
    10621154      sprintf(help,"%i",ibr+1);
     
    10711163  if(!Trigger_Loop && Write_McFADC && ct_Number==1){
    10721164   
    1073     HeaderTree.Branch("MMcFadcHeader","MMcFadcHeader",
     1165    HeaderTree.Branch("MMcFadcHeader.","MMcFadcHeader",
    10741166                      &HeaderFadc[0]);
    10751167  }
    10761168  if ((Trigger_Loop || ct_Number>1) && Write_McFADC){
    10771169    ibr=0;
    1078     for(char branchname[20];ibr<numberBranches;ibr++){
     1170    for(char branchname[256];ibr<numberBranches;ibr++){
    10791171     
    10801172      sprintf(help,"%i",ibr+1);
     
    10821174      strcat (branchname, & help[0]);
    10831175      strcat (branchname, ".");
     1176
    10841177      HeaderTree.Branch(branchname,"MMcFadcHeader",
    10851178                        &HeaderFadc[ibr]);
     
    10941187  RunHeader->SetRunType(256);
    10951188  RunHeader->SetRunNumber(0);
    1096   RunHeader->SetNumSamples(0,FADC_SLICES);
     1189  RunHeader->SetNumSamples(FADC_SLICES, FADC_SLICES);
    10971190  RunHeader->SetNumCrates(1);
    10981191  RunHeader->SetNumPixInCrate(ct_NPixels);
     
    11491242 
    11501243  //  Fill branches for MMcFadcHeader
    1151 
    1152   for(int i=0;i<ct_NPixels;i++){
    1153       fadc_elecnoise[i]=FADC_noise;
    1154       fadc_diginoise[i]=DIGITAL_noise;
    1155   }
    1156 
    11571244  Fadc_CT[0]->GetPedestals(&fadc_pedestals[0]);
    11581245
    11591246  if(!Trigger_Loop && Write_McFADC && ct_Number==1){
    11601247
    1161     HeaderFadc[0]->SetShape(0.0);
    1162     HeaderFadc[0]->SetAmplitud(FADC_response_ampl*2.35/
    1163                                sqrt(2*M_PI*FADC_response_fwhm
    1164                                     *FADC_response_fwhm),
    1165                                FADC_resp_ampl_out*2.35/
    1166                                sqrt(2*M_PI*FADC_resp_fwhm_out
    1167                                     *FADC_resp_fwhm_out));
     1248      for(int k = 0; k < ct_NPixels; k++){
     1249          if ( ((MGeomCam*)(camgeom.UncheckedAt(0)))->GetPixRatio(k) < 1.)
     1250              fadc_elecnoise[k]=FADC_noise_outer; // outer pixels
     1251          else
     1252              fadc_elecnoise[k]=FADC_noise_inner; // inner pixels
     1253
     1254          fadc_diginoise[k]=DIGITAL_noise;
     1255      }
     1256
     1257    HeaderFadc[0]->SetShape(FADC_shape);
     1258    HeaderFadc[0]->SetShapeOuter(FADC_shape_out);
     1259    HeaderFadc[0]->SetAmplitud(FADC_response_integ,
     1260                               FADC_resp_integ_out);
    11681261    HeaderFadc[0]->SetFwhm(FADC_response_fwhm,FADC_resp_fwhm_out);
    11691262    HeaderFadc[0]->SetLow2High(FADC_high2low);
     
    11731266                                ((MGeomCam*)(camgeom.UncheckedAt(0)))->GetNumPixels());
    11741267  }
     1268
    11751269  if(!Trigger_Loop && Write_McFADC && ct_Number>1){
    11761270    for(int i=0;i<ct_Number;i++){
     1271
     1272      for(int k = 0; k < ct_NPixels; k++){
     1273          if ( ((MGeomCam*)(camgeom.UncheckedAt(i)))->GetPixRatio(k) < 1.)
     1274              fadc_elecnoise[k]=FADC_noise_outer; // outer pixels
     1275          else
     1276              fadc_elecnoise[k]=FADC_noise_inner; // inner pixels
     1277
     1278          fadc_diginoise[k]=DIGITAL_noise;
     1279      }
     1280
    11771281      Fadc_CT[i]->GetPedestals(&fadc_pedestals[0]);
    1178       HeaderFadc[i]->SetShape(0.0);
    1179       HeaderFadc[i]->SetAmplitud(FADC_response_ampl*2.35/
    1180                                  sqrt(2*M_PI*FADC_response_fwhm
    1181                                       *FADC_response_fwhm),
    1182                                  FADC_resp_ampl_out*2.35/
    1183                                  sqrt(2*M_PI*FADC_resp_fwhm_out
    1184                                       *FADC_resp_fwhm_out));
     1282      HeaderFadc[i]->SetShape(FADC_shape);
     1283      HeaderFadc[i]->SetShapeOuter(FADC_shape_out);
     1284      HeaderFadc[i]->SetAmplitud(FADC_response_integ,
     1285                                 FADC_resp_integ_out);
    11851286      HeaderFadc[i]->SetFwhm(FADC_response_fwhm,FADC_resp_fwhm_out);
    11861287      HeaderFadc[i]->SetLow2High(FADC_high2low);
     
    11891290                                  ((MGeomCam*)(camgeom.UncheckedAt(i)))->GetNumPixels());
    11901291    }
    1191   } 
     1292  }
     1293 
    11921294  if(Trigger_Loop && Write_McFADC){
     1295
     1296    for(int k = 0; k < ct_NPixels; k++){
     1297        if ( ((MGeomCam*)(camgeom.UncheckedAt(0)))->GetPixRatio(k) < 1.)
     1298            fadc_elecnoise[k]=FADC_noise_outer; // outer
     1299        else
     1300            fadc_elecnoise[k]=FADC_noise_inner; // inner
     1301
     1302        fadc_diginoise[k]=DIGITAL_noise;
     1303    }
     1304
    11931305    int iconcount;
    11941306    for (iconcount=0,ithrescount=0,fthrescount=Trigger_loop_lthres;fthrescount<=Trigger_loop_uthres;ithrescount++, fthrescount+=Trigger_loop_sthres){
     
    11961308        for(itopocount=0;itopocount<=Trigger_loop_utop-Trigger_loop_ltop;itopocount++){
    11971309          Fadc_CT[0]->GetPedestals(&fadc_pedestals[0]);
    1198           HeaderFadc[iconcount]->SetShape(0.0);
    1199           HeaderFadc[iconcount]->SetAmplitud(FADC_response_ampl*2.35/
    1200                                              sqrt(2*M_PI*FADC_response_fwhm
    1201                                                   *FADC_response_fwhm),
    1202                                              FADC_resp_ampl_out*2.35/
    1203                                              sqrt(2*M_PI*FADC_resp_fwhm_out
    1204                                                   *FADC_resp_fwhm_out));
     1310          HeaderFadc[iconcount]->SetShape(FADC_shape);
     1311          HeaderFadc[iconcount]->SetShapeOuter(FADC_shape_out);
     1312          HeaderFadc[iconcount]->SetAmplitud(FADC_response_integ,
     1313                                             FADC_resp_integ_out);
    12051314          HeaderFadc[iconcount]->SetFwhm(FADC_response_fwhm,
    12061315                                         FADC_resp_fwhm_out);
     
    12221331  }
    12231332
    1224 
    12251333  //      create a Tree for the Event data stream
    12261334  TTree EvtTree("Events","Normal Triggered Events");
     
    12281336  if (Write_McEvt && ct_Number==1){
    12291337
    1230     EvtTree.Branch("MMcEvt","MMcEvt",
     1338    EvtTree.Branch("MMcEvt.","MMcEvt",
    12311339                   &McEvt[0]);
    12321340  }
     
    12341342  if (Write_McEvt && ct_Number!=1){
    12351343    ibr=0;
    1236     for(char branchname[10];ibr<numberBranches;ibr++){
     1344    for(char branchname[256];ibr<numberBranches;ibr++){
    12371345     
    12381346      sprintf(help,"%i",ibr+1);
     
    12481356   
    12491357    if (Write_RawEvt){
    1250       EvtTree.Branch("MRawEvtHeader","MRawEvtHeader",
     1358      EvtTree.Branch("MRawEvtHeader.","MRawEvtHeader",
    12511359                     &EvtHeader[0]);
    1252       EvtTree.Branch("MRawEvtData","MRawEvtData",
     1360      EvtTree.Branch("MRawEvtData.","MRawEvtData",
    12531361                     &EvtData[0]);
    12541362    }
    12551363    if (Write_McTrig){
    1256       EvtTree.Branch("MMcTrig","MMcTrig",
     1364      EvtTree.Branch("MMcTrig.","MMcTrig",
    12571365                     &McTrig[0]);
    12581366    }   
     
    12621370    if (Write_McTrig){
    12631371      ibr=0;
    1264       for(char branchname[10];ibr<numberBranches;ibr++){
     1372      for(char branchname[256];ibr<numberBranches;ibr++){
    12651373     
    12661374        sprintf(help,"%i",ibr+1);
     
    12761384  if ((Trigger_Loop || ct_Number>1) && Write_RawEvt){
    12771385    ibr=0;
    1278     for(char branchname[15];ibr<numberBranches;ibr++){
     1386    for(char branchname[256];ibr<numberBranches;ibr++){
    12791387     
    12801388      sprintf(help,"%i",ibr+1);
     
    12861394    }
    12871395    ibr=0;
    1288     for(char branchname[15];ibr<numberBranches;ibr++){
     1396    for(char branchname[256];ibr<numberBranches;ibr++){
    12891397     
    12901398      sprintf(help,"%i",ibr+1);
     
    13151423  }
    13161424 
    1317 
    13181425  // prepare the NSB simulation
    13191426
    13201427  //  Instance of the Mlons class
    1321   MLons lons(Trigger_response_ampl, Trigger_response_fwhm,
    1322              FADC_response_ampl,FADC_response_fwhm);
     1428  MLons lons(0.0, Trigger_response_ampl, Trigger_response_fwhm,
     1429             float(FADC_shape),FADC_response_integ,FADC_response_fwhm);
    13231430
    13241431  lons.SetSeed(Int_t(get_seeds(1)/get_seeds(0))+1);
     
    13271434
    13281435  //  Instance of the Mlons class
    1329   MLons lons_outer(Trigger_response_ampl, Trigger_response_fwhm,
    1330                    FADC_resp_ampl_out,FADC_resp_fwhm_out);
     1436  MLons lons_outer(0.0, Trigger_response_ampl, Trigger_response_fwhm,
     1437                   float(FADC_shape_out),FADC_resp_integ_out,FADC_resp_fwhm_out);
    13311438
    13321439  lons_outer.SetSeed(Int_t(get_seeds(1)/get_seeds(0))+2);
     
    13401447    //
    13411448   
    1342     // FIXME --- star NSB different for each camera?
     1449    //
     1450    // FIXME! --- star NSB different for each camera?
     1451    // Then we will have to use mirror_frac[ict]
     1452    //
    13431453    log(SIGNATURE,"Produce NSB rates from Star Field");
    13441454
     
    13461456                          ((MGeomCam*)(camgeom.UncheckedAt(0))),
    13471457                          nsbrate_phepns,
    1348                           0);
     1458                          0,
     1459                          mirror_frac[0]);
     1460
     1461
     1462    //
     1463    // Call to "produce_nsbrates" above accounts ONLY for
     1464    // non-diffuse NSB (i.e. from stars). NOTE: produce_nsbrates already
     1465    // accounts for the possibly different light collection efficiencies
     1466    // of inner and outer pixels, through a call (see function) to
     1467    // "produce_phes". The output array nsbrate_phepns contains only the
     1468    // rates due to individual stars in the FOV, and not diffuse NSB light!
     1469    //
    13491470
    13501471    if (k != 0){
     
    13581479    for(int ict=0;ict<ct_Number;ict++){     
    13591480     
    1360       // First we set the factor due to the mirror size respect to the MAGIC mirror.
     1481      // First we set the factor due to the mirror size with respect to the normal
     1482      // MAGIC mirror geometry.
    13611483     
    13621484      switch(GeometryCamera[ict]){
     
    13791501      }
    13801502
    1381       factorNSB_ct=factorNSB_ct/
     1503      factorNSB_ct = factorNSB_ct /
    13821504        ((*((MGeomCam*)(camgeom.UncheckedAt(ict)))).GetCameraDist()*1000*
    13831505         (*((MGeomCam*)(camgeom.UncheckedAt(ict)))).GetCameraDist()*1000*
    1384          PIXEL_SIZE*PIXEL_SIZE);
     1506         PIXEL_SIZE*PIXEL_SIZE); //  [mm^-2]
    13851507
    13861508      for(UInt_t ui=0;
    13871509          ui<((MGeomCam*)(camgeom.UncheckedAt(ict)))->GetNumPixels(); ui++){
    13881510        const Float_t size=
    1389           (*((MGeomCam*)(camgeom.UncheckedAt(ict))))[ui].GetD();
    1390         diffnsb_phepns[ict][ui] = (Int_t(meanNSB*factorNSB_ct*100*size*size+0.5))/(100.0)*factorqe_NSB[ict];
     1511          (*((MGeomCam*)(camgeom.UncheckedAt(ict))))[ui].GetD();
     1512        // Returns distance [mm] between two paralel sides of pixel
     1513
     1514
     1515        Float_t diffusensb = meanNSB*mirror_frac[ict];
     1516
     1517        //
     1518        // If pixel is outer pixel:
     1519        //
     1520        if ( ((MGeomCam*)(camgeom.UncheckedAt(ict)))->GetPixRatio(ui) < 1. )
     1521          diffusensb *= WC_outer[1][90] / WC[1][90];
     1522        //
     1523        // FIXME! Correction above is for (possibly) different light collection efficiencies of
     1524        // inner and outer pixels. For the moment we assume the angular dependence of the light
     1525        // collection is the same and hence use simply the ratio of efficiencies for light impinging
     1526        // perpendicular to the camera plane (index 90 stands for 90 degrees)
     1527        //
     1528
     1529        diffnsb_phepns[ict][ui] = (Int_t(diffusensb*factorNSB_ct*100*size*size+0.5))/(100.0)*factorqe_NSB[ict];
    13911530      }
    13921531    }
     
    13961535    for(int ict=0;ict<ct_Number;ict++){     
    13971536      for(j=0;j<iNUMWAVEBANDS;j++){
    1398         // calculate the effect of the atmospheric extinction
     1537        // calculate the effect of the atmospheric extinction (for stars!)
    13991538       
    14001539        zenfactor = pow(10., -0.4 * ext[j] );
     
    14111550  //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    14121551  //
    1413   //  Now 500 empty event with the conditin in which the camera is run
    1414   //  are simulated. IN this way one gets an estimation of the
    1415   //  sigma for the pedestal of each FADC channel.
    1416   //  This sigma computtaion is done assuming any noise taht effects
     1552  //  Now 500 empty events with the condition in which the camera is run
     1553  //  are simulated. In this way one gets an estimation of the
     1554  //  fluctuations of the pedestal of each FADC channel.
     1555  //  This computation is done assuming any noise that affects
    14171556  //  the FADC but there is no rotation of the Star Field (otherwise it
    1418   //  should be done for each event)
     1557  //  should be done for each event). So it is valid if no starfield
     1558  //  rotation is used.
     1559  //
     1560  //  Changed 20/03/2004, AM: now we no longer calculate the individual
     1561  //  FADC slice RMS. Due to correlations in the noise of neighboring
     1562  //  slides, it follows that RMS(sum_n_slices) != sqrt(n)*RMS(single_slice)
     1563  //
     1564  //  In the analysis in Mars, however, the RMS of the fluctuations of the
     1565  //  signal (resulting from the integration of n slices) is estimated as
     1566  //  sqrt(n) * MMcFadcHeader.fPedesSigmaHigh, where the latter value,
     1567  //  stored in the camera output, is calculated in the next lines of code.
     1568  //  We have then made the following, as is being done also in real data:
     1569  //  calculate the RMS of the distribution of the sum of 14 slices, then
     1570  //  the stored value is
     1571  //  MMcFadcHeader.fPedesSigmaHigh = RMS(sum_14_slices)/sqrt(14), and the
     1572  //  same for the low gain. It can be seen that the RMS of the sum of n
     1573  //  slices, with n not too low (n>=6 or so), is more or less:
     1574  //  RMS(sum_n_slices) ~ sqrt(n) * RMS(sum_14_slices)/sqrt(14)
     1575  //
     1576  //  The reason to sum 14 slices (and not 15) comes from the fact that in
     1577  //  real data there is a FADC clock noise affecting differently odd and
     1578  //  even FADC slices, so always an even number of them is added up so that
     1579  //  this cancels out. So we do the calculation in the same way as in real
     1580  //  data.
    14191581  //
    14201582  //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     1583
     1584  Int_t empty_events = 500;
     1585  Int_t n_slices = 14;
    14211586
    14221587  for(int ict=0;ict<ct_Number;ict++){
     
    14271592      fadc_sigma_low[ui]=0.0;
    14281593    }
    1429     for(int ie=0;ie<500;ie++){
     1594    for(int ie=0; ie < empty_events; ie++){
    14301595      Fadc_CT[ict]->Reset() ;
    14311596      if (addElecNoise){       
    1432         Fadc_CT[ict]->ElecNoise(FADC_noise) ;
     1597        Fadc_CT[ict]->ElecNoise() ;
    14331598      }
    14341599      if(simulateNSB){
     
    14551620      }
    14561621      Fadc_CT[ict]->Pedestals();
     1622
    14571623      for(UInt_t ui=0;
    14581624          ui<((MGeomCam*)(camgeom.UncheckedAt(ict)))->GetNumPixels();
    1459           ui++){
    1460         fadc_sigma[ui]+=(Fadc_CT[ict]->GetPedestalNoise(ui,1))/500.0;
    1461         fadc_sigma_low[ui]+=(Fadc_CT[ict]->GetPedestalNoise(ui,0))/500.0;
     1625          ui++)
     1626        {
     1627          //
     1628          // We add up n_slices FADC slices (pedestal subtracted), then
     1629          // calculate the sigma_n-1 of this sum for the number of generated
     1630          // noise events (=empty_events).
     1631          //
     1632          Float_t sumslices = Fadc_CT[ict]->AddNoiseInSlices(ui,1,n_slices);
     1633          fadc_sigma[ui] += sumslices*sumslices;
     1634
     1635          // Now the low gain:
     1636          sumslices = Fadc_CT[ict]->AddNoiseInSlices(ui,0,n_slices);
     1637          fadc_sigma_low[ui]+= sumslices*sumslices;
     1638        }
     1639    }
     1640
     1641    for(UInt_t ui=0;
     1642        ui<((MGeomCam*)(camgeom.UncheckedAt(ict)))->GetNumPixels();
     1643        ui++)
     1644      {
     1645        Float_t s_high = fadc_sigma[ui] / (Float_t)(empty_events-1) /
     1646          (Float_t)(n_slices);
     1647        fadc_sigma[ui] = sqrt(s_high);
     1648
     1649        Float_t s_low = fadc_sigma_low[ui] / (Float_t)(empty_events-1) /
     1650          (Float_t)(n_slices);
     1651        fadc_sigma_low[ui] = sqrt(s_low);
    14621652      }
    1463     }
     1653
    14641654    HeaderFadc[ict]->SetPedestalSigma(&fadc_sigma_low[0],&fadc_sigma[0],
    14651655                                      ((MGeomCam*)(camgeom.UncheckedAt(ict)))
     
    15601750        }
    15611751
    1562         fread((char*)&mcrunh,(SIZE_OF_MCRUNHEADER)*sizeof(float), 1, inputfile[ict] );
     1752        //      fread((char*)&mcrunh,(SIZE_OF_MCRUNHEADER)*sizeof(float), 1, inputfile[ict] );
     1753        //  AM, changed reading method, 02/2004:
     1754
     1755        mcrunh.read(inputfile[ict]);
     1756
    15631757      }
    15641758     
     
    15981792        if (reflector_file_version<6){
    15991793          for(int ict=0;ict<ct_Number;ict++)
    1600             fread( (char*)&mcevth[ict], mcevth[ict].mysize(),
    1601                    1, inputfile[ict] );
     1794            {
     1795              mcevth[ict].read(inputfile[ict]);
     1796            }
     1797
    16021798        }
    16031799        else{
    16041800          for(int ict=0;ict<ct_Number;ict++)
    1605             fread( (char*)&mcevth_2[ict], mcevth_2[ict].mysize(),
    1606                    1, inputfile[ict] );
     1801            {
     1802              mcevth_2[ict].read(inputfile[ict]);
     1803            }
    16071804        }
    16081805
    1609         // calculate impact parameter (shortest distance betwee the original
    1610         // trajectory of the primary (assumed shower-axis) and the
    1611         // direction where the telescope points to
     1806        //
     1807        // AM March 2004 simplified impact parameter calculation,
     1808        // and allowed for correct estimate also for telescopes not
     1809        // placed at Corsika's origin of coordinates (0.,0.).
     1810        // FIXME: telescope coordinates still set by the user in the
     1811        // input card, since they are not available in the reflector
     1812        // file!
     1813        //
     1814        // Calculate impact parameter as distance between telescope
     1815        // location and shower axis. In the previous implementation,
     1816        // the definition was the distance between telescope axis and
     1817        // shower axis, but this has less physical meaning in general.
     1818        // Light yield depends above all on distance to shower axis!
     1819        // Of course for shower axis paralel to telescope the old and
     1820        // the new definitions of impact parameter agree.
    16121821        //
    1613         // we use the following equation, given that the shower core position
    1614         // is (x1,y1,z1)=(x,y,0),the  trajectory is given by (l1,m1,n1),
    1615         // and the telescope position and orientation are (x2,y2,z2)=(0,0,0)
    1616         // and (l2,m2,n2)
    1617         //
    1618         //               |                     |
    1619         //               | x1-x2  y1-y2  z1-z2 |
    1620         //               |                     |
    1621         //             + |   l1     m1     n1  |
    1622         //             - |                     |
    1623         //               |   l2     m2     n2  |
    1624         //               |                     |
    1625         // dist = ------------------------------------        ( > 0 )
    1626         //        [ |l1 m1|2   |m1 n1|2   |n1 l1|2 ]1/2
    1627         //        [ |     |  + |     |  + |     |  ]
    1628         //        [ |l2 m2|    |m2 n2|    |n2 l2|  ]
    1629         //
    1630         // playing a little bit, we get this reduced for in our case:
    1631         //
    1632         //
    1633         // dist = (- m2 n1 x + m1 n2 x + l2 n1 y - l1 n2 y - l2 m1 z + l1 m2 z) /
    1634         //         [(l2^2 (m1^2 + n1^2) + (m2 n1 - m1 n2)^2 -
    1635         //          2 l1 l2 (m1 m2 + n1 n2) + l1^2 (m2^2 + n2^2) ] ^(1/2)
    1636        
     1822
     1823
    16371824        // read the direction of the incoming shower
    16381825        // It is done only for one telescope since it is suposed
     
    16461833          phishw = mcevth_2[0].get_phi();
    16471834        }
     1835        Zenith=thetashw; Azimutal=phishw;
    16481836       
    16491837        // calculate vector for shower
     
    16531841        n1 = cos(thetashw);
    16541842
    1655         if (reflector_file_version<6){
    1656 
    1657           mcevth[0].get_core(&coreX, &coreY);   
    1658          
    1659           for(int ict=0;ict<ct_Number;ict++){
    1660             // read the deviation of the telescope with respect to the shower
    1661             mcevth[ict].get_deviations ( &thetaCT[ict], &phiCT[ict] );
    1662 
    1663             if ( (thetaCT[ict] == 0.) && (phiCT[ict] == 0.) ) {
    1664          
    1665               // CT was looking to the source (both lines are parallel)
    1666               // therefore, we calculate the impact parameter as the distance
    1667               // between the CT axis and the core position
    1668 
    1669               impactD[ict] = dist_r_P( 0., 0., 0., l1, m1, n1, coreX, coreY, 0. );
    1670               thetaCT[ict] += thetashw;
    1671               phiCT[ict]   += phishw;
    1672             } else {
    1673            
    1674               // the shower comes off-axis
    1675            
    1676               // obtain with this the final direction of the CT
    1677              
    1678               thetaCT[ict] += thetashw;
    1679               phiCT[ict]   += phishw;
    1680              
    1681               // calculate vector for telescope
    1682            
    1683               l2 = sin(thetaCT[ict])*cos(phiCT[ict]);
    1684               m2 = sin(thetaCT[ict])*sin(phiCT[ict]);
    1685               n2 = cos(thetaCT[ict]);
    1686              
    1687               num = (m1*n2*coreX - m2*n1*coreX + l2*n1*coreY - l1*n2*coreY);
    1688               den = (SQR(l1*m2 - l2*m1) +
    1689                      SQR(m1*n2 - m2*n1) +
    1690                      SQR(n1*l2 - n2*l1));
    1691               den = sqrt(den);
    1692               impactD[ict] = fabs(num)/den;
    1693             }
    1694           }
    1695         }
    1696         else{
    1697           mcevth_2[0].get_core(&coreX, &coreY);
    1698           for(int ict=0;ict<ct_Number;ict++){
    1699             thetaCT[ict]=mcevth_2[ict].get_theta_CT();
    1700             phiCT[ict]=mcevth_2[ict].get_phi_CT();
    1701             if ( (thetaCT[ict] == thetashw) && (phiCT[ict] == phishw) ) {
    1702          
    1703               // CT was looking to the source (both lines are parallel)
    1704               // therefore, we calculate the impact parameter as the distance
    1705               // between the CT axis and the core position
    1706 
    1707               impactD[ict] = dist_r_P( 0., 0., 0., l1, m1, n1, coreX, coreY, 0. );
    1708            
    1709             } else {
    1710            
    1711               // the shower comes off-axis
    1712            
    1713               // calculate vector for telescope
    1714            
    1715               l2 = sin(thetaCT[ict])*cos(phiCT[ict]);
    1716               m2 = sin(thetaCT[ict])*sin(phiCT[ict]);
    1717               n2 = cos(thetaCT[ict]);
    1718            
    1719               num = (m1*n2*coreX - m2*n1*coreX + l2*n1*coreY - l1*n2*coreY);
    1720               den = (SQR(l1*m2 - l2*m1) +
    1721                      SQR(m1*n2 - m2*n1) +
    1722                      SQR(n1*l2 - n2*l1));
    1723               den = sqrt(den);
    1724            
    1725               impactD[ict] = fabs(num)/den;
    1726            
    1727             }
    1728           }
    1729         }
     1843        //
     1844        // Note, A.M.:
     1845        // Attention! "core vector from mcevth*.get_core
     1846        // is the vector from the core to the telescope!
     1847        //
     1848        Float_t core2ct_x;
     1849        Float_t core2ct_y;
     1850
     1851        if (reflector_file_version<6)
     1852          mcevth[0].get_core(&core2ct_x, &core2ct_y);   
     1853        else
     1854          mcevth_2[0].get_core(&core2ct_x, &core2ct_y);
     1855
     1856        //
     1857        // Then true core position in Corsika's system is:
     1858        //
     1859
     1860        coreX = CTx[0] - core2ct_x;
     1861        coreY = CTy[0] - core2ct_y;
     1862
     1863        //
     1864        // FIXME: This may not work fine for CTs at z != 0 !!
     1865        //
     1866        for(int ict=0;ict<ct_Number;ict++)
     1867          impactD[ict] = dist_r_P( CTx[ict], CTy[ict], CTz[ict],
     1868                                   l1, m1, n1, coreX, coreY, 0. );
     1869
    17301870
    17311871        // energy cut
     
    17721912                            &arrtmin_ns, // will be changed by the function!
    17731913                            &arrtmax_ns, // will be changed by the function!
    1774                             ict);
     1914                            ict,
     1915                            mirror_frac[ict]);
    17751916
    17761917          inumphe=(inumphe<inumphe_CT[ict])?inumphe_CT[ict]:inumphe;
     
    19082049            Trigger_CT[ict]->ElecNoise(Trigger_noise) ;
    19092050           
    1910             Fadc_CT[ict]->ElecNoise(FADC_noise) ;
     2051            Fadc_CT[ict]->ElecNoise() ;
    19112052          }
    19122053        }
     
    20792220                             mcevth[0].get_phi(),
    20802221                             mcevth[0].get_core(),
    2081                              mcevth[0].get_coreX(),
    2082                              mcevth[0].get_coreY(),
     2222                             coreX,
     2223                             coreY,
    20832224                             impactD[0],
    20842225                             phiCT[0],
     
    21162257                             mcevth_2[0].get_phi(),
    21172258                             mcevth_2[0].get_core(),
    2118                              mcevth_2[0].get_coreX(),
    2119                              mcevth_2[0].get_coreY(),
     2259                             coreX,
     2260                             coreY,
    21202261                             impactD[0],
    21212262                             mcevth_2[0].get_phi_CT(),
     
    23142455              //
    23152456           
     2457
    23162458              for (int ict=0;ict<ct_Number;ict++){
    23172459                Float_t ftime, ltime;
     
    23272469                                  mcevth[ict].get_phi(),
    23282470                                  mcevth[ict].get_core(),
    2329                                   mcevth[ict].get_coreX(),
    2330                                   mcevth[ict].get_coreY(),
     2471                                  coreX,
     2472                                  coreY,
    23312473                                  impactD[ict],
    23322474                                  phiCT[ict],
     
    23642506                                  mcevth_2[ict].get_phi(),
    23652507                                  mcevth_2[ict].get_core(),
    2366                                   mcevth_2[ict].get_coreX(),
    2367                                   mcevth_2[ict].get_coreY(),
     2508                                  coreX,
     2509                                  coreY,
    23682510                                  impactD[ict],
    23692511                                  mcevth_2[ict].get_phi_CT(),
     
    24702612          for(int ict=0;ict<ct_Number;ict++){
    24712613            read_ascii(inputfile[ict], McConfigRunHeader[ict]);
    2472 
    2473             if (get_sigma_xy_cm_spot() > 0.)
     2614            McConfigRunHeader[ict]->SetMissPointingX(missP_x);
     2615            McConfigRunHeader[ict]->SetMissPointingY(missP_y);
     2616            if ( Spotsigma > 0.)
    24742617            {
    2475                 Float_t spotsigma = McConfigRunHeader[ict]->GetPointSpread();
    2476                 Float_t newsigma = sqrt(spotsigma * spotsigma +
    2477                     get_sigma_xy_cm_spot() * get_sigma_xy_cm_spot());
    2478                 McConfigRunHeader[ict]->SetPointSpread(newsigma);
     2618                Float_t ref_spotsigma = McConfigRunHeader[ict]->GetPointSpread();
     2619                Float_t newsigma = sqrt(ref_spotsigma * ref_spotsigma +
     2620                    Spot_x* Spot_x);
     2621                McConfigRunHeader[ict]->SetPointSpreadX(newsigma);
     2622                newsigma = sqrt(ref_spotsigma * ref_spotsigma + Spot_y* Spot_y);
     2623                McConfigRunHeader[ict]->SetPointSpreadY(newsigma);
    24792624            }
    24802625          }
     
    25342679  }
    25352680
    2536   get_source_off(&sofftheta,&soffphi);
    25372681  if(!Trigger_Loop) icontrigger=0;
    25382682  time (&ltime);
     
    25642708                    telestheta,
    25652709                    telesphi,
    2566                     sofftheta,
    2567                     soffphi,
    25682710                    shthetamax,
    25692711                    shthetamin,
     
    26052747                    telestheta,
    26062748                    telesphi,
    2607                     sofftheta,
    2608                     soffphi,
    26092749                    shthetamax,
    26102750                    shthetamin,
     
    26232763  // Fill some missing values for MRawRunHeader
    26242764
    2625   RunHeader->SetRunNumber(rnum);
     2765  RunHeader->SetRunNumber((UInt_t)rnum);
    26262766  RunHeader->SetNumEvents(nstoredevents);
    26272767
     
    26882828    }
    26892829   
    2690     // Store Light Guides factors in the output file
    2691     TArrayF theta_lg;
    2692     TArrayF factor_lg;
    2693     theta_lg.Set(pointsWC,WC[0]);
    2694     factor_lg.Set(pointsWC,WC[1]);
    2695     McConfigRunHeader[ict]->SetLightGuides(theta_lg,factor_lg);
     2830    // Store Light Collection factors in the output file
     2831    TArrayF theta_lc;
     2832    TArrayF factor_lc;
     2833    TArrayF factor_lc_outer;
     2834
     2835    theta_lc.Set(pointsWC,WC[0]);
     2836    factor_lc.Set(pointsWC,WC[1]);
     2837    factor_lc_outer.Set(pointsWC,WC_outer[1]);
     2838
     2839    McConfigRunHeader[ict]->SetLightCollection(theta_lc, factor_lc,
     2840                                               factor_lc_outer);
    26962841 
    26972842  }
     
    29803125      break;
    29813126
    2982     if ( ((i-1) < ct_NPixels) && ((i-1) > -1) &&
     3127    if ( (i < ct_NPixels) && (i > -1) &&
    29833128         ((j-1) < pointsQE[ict])   && ((j-1) > -1) ) {
    2984       QE[ict][i-1][0][j-1] = QElambda[j-1];
    2985       QE[ict][i-1][1][j-1] = qe;
     3129      QE[ict][i][0][j-1] = QElambda[j-1];
     3130      QE[ict][i][1][j-1] = qe;
    29863131    }
    29873132
     
    30363181
    30373182  //------------------------------------------------------------
    3038   // Read Light Guides data
     3183  // Read Light Collection data
    30393184
    30403185  // try to open the file
     
    30553200  // get line from the file
    30563201
    3057   wcfile.getline(line, LINE_MAX_LENGTH);
    3058  
     3202  do
     3203    wcfile.getline(line, LINE_MAX_LENGTH);
     3204  while (line[0] == '#');
     3205
    30593206  // get the number of datapoints
    30603207   
     
    30713218    sscanf(line, "%f %f", &WC[0][i], &WC[1][i]);
    30723219  }
    3073    
     3220
     3221  //
     3222  // Now read info for outer pixels
     3223  //
     3224  WC_outer = new float * [2];
     3225  WC_outer[0] = new float[pointsWC];
     3226  WC_outer[1] = new float[pointsWC];
     3227
     3228  do
     3229    wcfile.getline(line, LINE_MAX_LENGTH);
     3230  while (line[0] == '#');
     3231
     3232  if (wcfile.eof())
     3233    {
     3234      log("read_WC", "ERROR. Missing data for outer pixels in file \"%s\"...\n",WC_FILE);
     3235      log("read_WC", "EXITING camera\n");
     3236      exit(-1);
     3237    }
     3238
     3239  sscanf(line, "%f %f", &WC_outer[0][0], &WC_outer[1][0]);
     3240  for ( i=1; i<pointsWC; ++i ) {
     3241    wcfile.getline(line, LINE_MAX_LENGTH);
     3242    sscanf(line, "%f %f", &WC_outer[0][i], &WC_outer[1][i]);
     3243  }
     3244
    30743245  // close file
    30753246
     
    35483719// dist_r_P
    35493720//
    3550 // distance straight line r - point P
     3721// distance straight line r (x+t*l, y+t*m, z+t*n) to point P(a,b,c)
     3722//
     3723// We assume that vector (l, m, n) is normalized l^2+m^2+n^2 = 1
    35513724//------------------------------------------------------------
    35523725
     
    35593732          sqrt((SQR((a-x)*m-(b-y)*l) +
    35603733                SQR((b-y)*n-(c-z)*m) +
    3561                 SQR((c-z)*l-(a-x)*n))/
    3562                (SQR(l)+SQR(m)+SQR(n))
    3563                )
     3734                SQR((c-z)*l-(a-x)*n)))
    35643735          );
    35653736}
     
    36363807int size_rotated(
    36373808    float *rotated,
    3638     float nsb[iMAXNUMPIX],
     3809    float *nsb,
    36393810    float rho)
    36403811{
     
    37373908                  class MFadc *fadc,
    37383909                  int *itotnphe, // total number of produced photoelectrons
    3739                   float nphe[iMAXNUMPIX], // number of photoelectrons in each pixel
     3910                  float *nphe, // number of photoelectrons in each pixel
    37403911                  int *incph,       // total number of cph within camera
    37413912                  float *tmin_ns,   // minimum arrival time of all phes
    37423913                  float *tmax_ns,    // maximum arrival time of all phes
    3743                   int ict      // Telescope that is being analised to get the right QE.
     3914                  int ict,      // Telescope that is being analised to get the right QE.
     3915                  float mirror_fraction // Fraction of total mirror really present
    37443916                   ){
    37453917
    37463918  static uint i;
    37473919  static int k, ipixnum;
    3748   static float cx, cy, wl, qe, t;
    3749   static float cu, cv, cw;
     3920  static float cx, cy, wl, qe;
     3921  static float cw;
    37503922  static MCCphoton photon;
    37513923  static float **qept;
     
    37533925  static float radius_mm;
    37543926
     3927  Float_t t;
     3928
    37553929  // reset variables
    37563930
     
    37613935  }
    37623936
     3937  *itotnphe = 0;
    37633938  *incph = 0;
    37643939
     
    37683943  random.SetSeed((Int_t)(get_seeds(0)*get_seeds(1)));
    37693944
    3770   float spotsigma = get_sigma_xy_cm_spot();
     3945  float C1, C2, C3, rho;
     3946
    37713947
    37723948  //- - - - - - - - - - - - - - - - - - - - - - - - -
     
    37793955 
    37803956  // read the photons data
    3781  
    3782  
     3957
    37833958  // loop over the photons
    37843959 
    37853960  while (1) {
    37863961
    3787     fread ( flag, SIZE_OF_FLAGS, 1, sp );
     3962    photon.read(sp);
     3963    photon.get_flag(flag);
    37883964
    37893965    if (isA( flag, FLAG_END_OF_EVENT ))
    3790         break;
    3791          
    3792     memcpy( (char*)&photon, flag, SIZE_OF_FLAGS );
    3793    
    3794     fread( ((char*)&photon)+SIZE_OF_FLAGS, photon.mysize()-SIZE_OF_FLAGS, 1, sp );
    3795          
     3966      {
     3967        fseek (sp, SIZE_OF_FLAGS-photon.mysize(), SEEK_CUR);
     3968        break; 
     3969      }
    37963970
    37973971    //  Check if photon is inside trigger time range
    37983972
    3799     t = photon.get_t() ; 
     3973    t = photon.get_t() ;
    38003974
    38013975    if (t-*tmin_ns>TOTAL_TRIGGER_TIME) {
    38023976        continue;
    38033977    }
    3804          
     3978
     3979    //
     3980    // Account for possibly missing mirrors, or lower reflectivity...
     3981    // mirror_fraction is the fraction of the total mirror really
     3982    // working.
     3983    //
     3984    if (mirror_fraction < 1.)
     3985        if (RandomNumber > mirror_fraction)
     3986            continue;
     3987
    38053988    //
    38063989    // Pixelization
     
    38103993    cy = photon.get_y();
    38113994
    3812 
    3813     if (spotsigma > 0.)
     3995    if (Spotsigma > 0.)
    38143996    {
    3815         cx += random.Gaus(0.,spotsigma);
    3816         cy += random.Gaus(0.,spotsigma);
    3817     }
     3997        cx += random.Gaus(0.,Spot_x);
     3998        cy += random.Gaus(0.,Spot_y);
     3999    }
     4000    if (missPointing > 0.)
     4001    {
     4002      // We should take intot acount the rotation of the FoV
     4003      C1 = 0.48 * sin(Zenith) - 0.87 * cos(Zenith) * cos(Azimutal);
     4004      C3 = (0.87 * cos(Zenith) - 0.48 * sin(Zenith) * cos(Azimutal));
     4005      C2 = sqrt( sin(Zenith) * sin(Zenith) * sin(Azimutal) * sin(Azimutal) + C3 * C3 );
     4006      rho = acos( C1/C2 );
     4007      rho=(sin(Azimutal)<0 ? (2 * 3.14159 - rho) : rho);
     4008
     4009      rho = rho*180/3.14159;
     4010
     4011      cx += (missP_x*cos(rho)-missP_y*sin(rho))/(10*camgeom->GetConvMm2Deg());
     4012      cy += (missP_x*sin(rho)+missP_y*cos(rho))/(10*camgeom->GetConvMm2Deg());
     4013    }
     4014   
    38184015
    38194016    // get wavelength
     
    38494046   
    38504047    // set pointer to the QE table of the relevant pixel
    3851          
     4048
    38524049    qept = (float **)QE[ict][ipixnum];
    38534050         
     
    38704067    qe = lin_interpol(qept[0][k-1], qept[1][k-1], qept[0][k], qept[1][k], wl) / 100.0;
    38714068
    3872     // Apply incient angular correction due to Light Guides
    3873 
    3874     cu=photon.get_u();
    3875     cv=photon.get_v();
    3876     cw=90.0-acos(sqrt(1-cu*cu-cv*cv))*3.14159/180.0;
    3877 
    3878     // find data point in the QE table (-> k)
    3879 
    3880     k = 0;
    3881     while (k < pointsWC-1 && WC[0][k] < cw){
    3882       k++;
    3883     }
    3884 
    3885      // correct the qe with WC data.
    3886 
    3887     qe = qe*lin_interpol(WC[0][k-1], WC[1][k-1], WC[0][k], WC[1][k], cw);
     4069    //
     4070    // Apply incient angular correction due to Light Guides, plexiglas,
     4071    // 1st dynode collection efficiency, double crossings... etc.
     4072    // This information is contained in the file Data/LightCollection.dat
     4073    //
     4074    cw=photon.get_phi()*180./3.14159265;
     4075
     4076    // find data point in the WC table (-> k)
     4077
     4078    if ( camgeom->GetPixRatio(ipixnum) < 1.) // => Pixel is outer pixel
     4079      {
     4080        k = 0;
     4081        while (k < pointsWC-1 && WC_outer[0][k] < cw)
     4082          k++;
     4083        // correct the qe with WC data.
     4084        qe = qe*lin_interpol(WC_outer[0][k-1], WC_outer[1][k-1],
     4085                             WC_outer[0][k],   WC_outer[1][k], cw);
     4086      }
     4087
     4088    else    // => Pixel is inner pixel
     4089      {
     4090        k = 0;
     4091        while (k < pointsWC-1 && WC[0][k] < cw)
     4092          k++;
     4093        // correct the qe with WC data.
     4094        qe = qe*lin_interpol(WC[0][k-1], WC[1][k-1], WC[0][k], WC[1][k], cw);
     4095      }
     4096
    38884097
    38894098   // if random > quantum efficiency, reject it
     
    39024111         
    39034112    nphe[ipixnum] += 1.0;
    3904          
     4113
     4114
    39054115    // store the new photoelectron
    39064116
     
    39294139int produce_nsbrates( char *iname, // the starfield input file name
    39304140                      MGeomCam *camgeom, // camera layout
    3931                       float rate_phepns[iMAXNUMPIX][iNUMWAVEBANDS], // the product of this function:
    3932                                                // the NSB rates in phe/ns for each pixel
    3933                       int ict
    3934                       ){
    3935 
     4141                      float **rate_phepns,
     4142                      // the product of this function:
     4143                      // the NSB rates in phe/ns for each pixel
     4144                      int ict,
     4145                      float mirror_fraction)
     4146{
    39364147  uint i, j; // counters
    39374148  int k, ii; // counters
     
    39594170  char flag_new[4];
    39604171
     4172
    39614173  // open input file
    39624174 
     
    39654177  infile = fopen( iname, "r" );
    39664178
    3967   // check if the satrfield input file exists
     4179  // check if the starfield input file exists
    39684180
    39694181  if ( infile == NULL ) {
     
    39754187    return (0);
    39764188  }
    3977  
     4189
    39784190  // get signature, and check it
    39794191 
     
    39824194  }
    39834195
    3984   // Instance of MTrigger and MFadc
    3985 
    3986   MTrigger trigger(camgeom->GetNumPixels(),camgeom,Trigger_gate_length, Trigger_overlaping_time, Trigger_response_ampl, Trigger_response_fwhm);
    3987   MFadc flashadc(camgeom->GetNumPixels());
    3988 
    3989   // initialize flag
    3990  
     4196  // Instance of MTrigger and MFadc; needed here only as dummies for
     4197  // a call to produce_phes (see below).
     4198  // 15/09/2004, A. Moralejo, changed "trigger" and "flashadc" to
     4199  // pointers, the former static allocation caused memory problems and
     4200  // segmentation fault in some systems.
     4201
     4202  MTrigger* trigger = new MTrigger(camgeom->GetNumPixels(),camgeom,
     4203                                   Trigger_gate_length,
     4204                                   Trigger_overlaping_time,
     4205                                   Trigger_response_ampl,
     4206                                   Trigger_response_fwhm);
     4207
     4208  MFadc* flashadc = new MFadc(camgeom->GetNumPixels(),
     4209                              FADC_shape,
     4210                              FADC_response_integ,FADC_response_fwhm,
     4211                              FADC_shape_out,
     4212                              FADC_resp_integ_out,FADC_resp_fwhm_out,
     4213                              get_trig_delay());
     4214
     4215  // initialize flag 
    39914216  strcpy( cflag, "                                        \0" );
    39924217
     
    40384263       
    40394264        if (reflector_file_version<6)
    4040           fread( (char*)&evth, evth.mysize(), 1, infile );
     4265          //      fread( (char*)&evth, evth.mysize(), 1, infile );
     4266          evth.read(infile);
    40414267        else
    4042           fread( (char*)&evth_2, evth_2.mysize(), 1, infile );
    4043          
     4268          //      fread( (char*)&evth_2, evth_2.mysize(), 1, infile );
     4269          evth_2.read(infile);
     4270
    40444271        if (reflector_file_version<6)
    40454272          integtime_ns = evth.get_energy();
     
    40814308                              wl_nm[i],
    40824309                              wl_nm[i+1],
    4083                               &trigger,  // this is a dummy here
    4084                               &flashadc, // this is a dummy here
     4310                              trigger,  // this is a dummy here
     4311                              flashadc, // this is a dummy here
    40854312                              &itnphe,
    40864313                              nphe, // we want this!
     
    40884315                              &tmin_ns,
    40894316                              &tmax_ns,
    4090                               0
    4091                               ); // photons from starfield
     4317                              0,
     4318                              mirror_fraction); // photons from starfield
    40924319
    40934320            if( k != 0 ){ // non-zero returnvalue means error
     
    41244351
    41254352  return(0);
    4126 
    4127 }
    4128 
    4129 
    4130 //------------------------------------------------------------
    4131 // @name produce_nsb_phes
    4132 //                                     
    4133 // @desc produce the photoelectrons from the nsbrates
    4134 //
    4135 // @date Thu Feb 17 17:10:40 CET 2000
    4136 // @function @code
    4137 //------------------------------------------------------------
    4138 
    4139 int produce_nsb_phes( float *atmin_ns,
    4140                       float *atmax_ns,
    4141                       float theta_rad,
    4142                       struct camera *cam,
    4143                       float nsbr_phepns[iMAXNUMPIX][iNUMWAVEBANDS],
    4144                       float difnsbr_phepns[iMAXNUMPIX],
    4145                       float extinction[iNUMWAVEBANDS],
    4146                       float fnpx[iMAXNUMPIX],
    4147                       MTrigger *trigger,
    4148                       MFadc *fadc,
    4149                       int *inphe,
    4150                       float base_mv[iMAXNUMPIX]){
    4151 
    4152   float simtime_ns; // NSB simulation time
    4153   int i, j, k, ii;
    4154   float zenfactor;  //  correction factor calculated from the extinction
    4155   int inumnsbphe;   //  number of photoelectrons caused by NSB
    4156 
    4157   float t;
    4158   TRandom random;             // Random numbers generator
    4159 
    4160   random.SetSeed(get_seeds(1));
    4161 
    4162   ii = *inphe; // avoid dereferencing
    4163                
    4164   // check if the arrival times are set; if not generate them
    4165 
    4166   if(*atmin_ns <SIMTIMEOFFSET_NS || *atmin_ns > *atmax_ns){
    4167     *atmin_ns = 0.;
    4168     *atmax_ns = simtime_ns = TOTAL_TRIGGER_TIME;
    4169 
    4170   }
    4171   else{ // extend the event time window by the given offsets
    4172 
    4173     *atmin_ns = *atmin_ns - SIMTIMEOFFSET_NS;
    4174     *atmax_ns = *atmax_ns + SIMTIMEOFFSET_NS;
    4175 
    4176     simtime_ns = *atmax_ns - *atmin_ns;
    4177 
    4178     // make sure the simulated time is long enough for the FADC
    4179     // simulation and not too long
    4180 
    4181     if(simtime_ns< TOTAL_TRIGGER_TIME){
    4182       *atmin_ns = *atmin_ns -(TOTAL_TRIGGER_TIME-simtime_ns)/2;
    4183       *atmax_ns = *atmin_ns + TOTAL_TRIGGER_TIME;
    4184       simtime_ns = TOTAL_TRIGGER_TIME;
    4185     }
    4186 
    4187     if(simtime_ns> TOTAL_TRIGGER_TIME){
    4188       *atmax_ns =*atmin_ns + TOTAL_TRIGGER_TIME;
    4189       simtime_ns = TOTAL_TRIGGER_TIME;
    4190     }
    4191  
    4192   }
    4193 
    4194   // initialize baselines
    4195 
    4196   for(i=0; i<cam->inumpixels; i++){
    4197     base_mv[i] = 0.;
    4198   }
    4199 
    4200   // calculate baselines and generate phes
    4201 
    4202   for(i=0; i<iNUMWAVEBANDS; i++){ // loop over the wavebands
    4203    
    4204     // calculate the effect of the atmospheric extinction
    4205    
    4206     zenfactor = pow(10., -0.4 * extinction[i]/cos(theta_rad) );
    4207    
    4208     for(j=0; j<cam->inumpixels; j++){ // loop over the pixels
    4209      
    4210       inumnsbphe = (int) ((zenfactor * nsbr_phepns[j][i] + difnsbr_phepns[j]/iNUMWAVEBANDS) 
    4211                           * simtime_ns );
    4212 
    4213       base_mv[j] += inumnsbphe;
    4214 
    4215       // randomize
    4216 
    4217       if (inumnsbphe>0.0){
    4218         inumnsbphe = random.Poisson (inumnsbphe );
    4219       }
    4220 
    4221       // create the photoelectrons
    4222      
    4223       for(k=0; k < inumnsbphe; k++){
    4224        
    4225         t=(RandomNumber * simtime_ns);
    4226 
    4227         (*fadc).Fill(j,t ,(*trigger).FillNSB(j,t));
    4228        
    4229         ii++; // increment total number of photoelectons
    4230        
    4231         fnpx[j] += 1.; // increment number of photoelectrons in this pixel
    4232 
    4233       }
    4234      
    4235     } // end for(j=0 ...
    4236   } // end for(i=0 ...
    4237 
    4238   // finish baseline calculation
    4239 
    4240   for(i=0; i<cam->inumpixels; i++){
    4241     base_mv[i] *= RESPONSE_FWHM * RESPONSE_AMPLITUDE / simtime_ns;
    4242   }
    4243 
    4244   *inphe = ii; // update the pointer
    4245 
    4246   return(0);
    42474353}
    42484354
     
    42574363//
    42584364// $Log: not supported by cvs2svn $
     4365//
     4366// Revision 1.70  2004/09/15 A. Moralejo
     4367// Changed "flashadc" and "trigger" in procedure produce_nsbrates from
     4368// objects to pointers (followed by dynamical allocation). This is only
     4369// to avoid memory problems (-> segmentation fault) in some systems.
     4370// Introduced missing initialization to 0 of *itotnphe in produce_phes.
     4371// Now the number of phes produced by stars shown on the screen make sense.
     4372//
     4373// Revision 1.69  2004/03/30
     4374// Changed calculation of MMcFadcHeader.fPedesSigmaHigh and
     4375// MMcFadcHeader.fPedesSigmaLow to do as in real data (see comments in
     4376// code). Changed meaning of MMcFadcHeader.fAmplFadc and fAmplFadcOuter,
     4377// from amplitude to integral of single photoelectron pulse in FADC
     4378// counts. Added possibility to choose a realistic pulse shaped (as
     4379// measured using pulpo). Changed file Data/lightguides.dat by
     4380// Data/LightCollection.dat, intended to contain the information on
     4381// light collection efficiency regarding Winston cones, plexiglas, double
     4382// PMT crossing and colection efficiency of 1st dynode of PMT. Now the
     4383// information for inner and outer pixels can be different, since in the
     4384// LightCollection.dat file they are set independently.
     4385//
     4386// Revision 1.68  2004/02/06 17:39:24  blanch
     4387// Compiling with root 3.05 and updating MARS files.
     4388//
    42594389// Revision 1.67  2004/01/30 09:51:18  blanch
    42604390// [Changes mainly done by A. Moralejo]
     
    42654395// has been introduced.
    42664396//
    4267 // The possibilty to unlarge the point spread function has been introduced
     4397// The possibilty to enlarge the point spread function has been introduced
    42684398// in order to be able to simualte the current data.
    42694399//
  • trunk/MagicSoft/Simulation/Detector/Camera/camera.h

    r2390 r5072  
    1919//=
    2020//= $RCSfile: camera.h,v $
    21 //= $Revision: 1.19 $
    22 //= $Author: blanch $
    23 //= $Date: 2003-10-17 19:39:30 $
     21//= $Revision: 1.20 $
     22//= $Author: moralejo $
     23//= $Date: 2004-09-16 15:16:34 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    6464#include "MCEventHeader.hxx"
    6565#include "MCEventHeader_2.hxx"
     66#include "MMcConfigRunHeader.h"
    6667#include "MCCphoton.hxx"
    6768#include "MTrigger.hxx"
     
    142143#define SIMTIMEOFFSET_NS 5  // determines how many ns before the first and after the last
    143144                            // shower photoelectron, there should be NSB photoelectrons
     145
     146#define MAX_NUMBER_OF_CTS 20  // Maximum number of CTs allowed for running
     147                              // on multitelescope systems. If this maximum
     148                              // is set too large, program may crash!
     149
    144150
    145151//@ now we define the list CT_ITEM_LIST of possible items in the CT def. file
     
    256262
    257263#define QE_FILE     "../Data/qe.dat"
    258 #define WC_FILE     "../Data/lightguides.dat"
     264#define WC_FILE     "../Data/LightCollection.dat"
    259265
    260266//!@}
     
    307313                  float *tmin_ns,   // minimum arrival time of all phes
    308314                  float *tmax_ns,    // maximum arrival time of all phes
    309                   int telescope      // Telescope that is being analised to get the right QE.
     315                  int telescope,      // Telescope that is being analised to get the right QE.
     316                  float mirror_fraction // Fraction of working mirror
    310317                  );
    311318
    312319int produce_nsbrates( char *inname,
    313320                      MGeomCam *camgeom,
    314                       float nsbrate[][iNUMWAVEBANDS],
    315                       int ict
     321                      float **nsbrate,
     322                      int ict,
     323                      float mirror_fraction
    316324                      );
    317325
     
    320328                      float theta_rad,
    321329                      struct camera *cam,
    322                       float nsbr_phepns[iMAXNUMPIX][iNUMWAVEBANDS],
     330                      float **nsbr_phepns,
    323331                      float dnsb_phepns[iMAXNUMPIX],
    324332                      float extinction[iNUMWAVEBANDS],
     
    342350/*
    343351 *$Log: not supported by cvs2svn $
     352 *Revision 1.19  2003/10/17 19:39:30  blanch
     353 *Factor used for the NSB scaling for several qe files is defined.
     354 *
    344355 *Revision 1.18  2003/09/15 10:06:47  blanch
    345356 *Header file for camera 1.58
  • trunk/MagicSoft/Simulation/Detector/Camera/config.mk.Linux

    r3045 r5072  
    1818#---------------------------------------------------------------
    1919# $RCSfile: config.mk.Linux,v $
    20 # $Revision: 1.7 $
    21 # $Author: blanch $
    22 # $Date: 2004-02-06 17:40:10 $
     20# $Revision: 1.8 $
     21# $Author: moralejo $
     22# $Date: 2004-09-16 15:16:34 $
    2323##################################################################
    2424# @maintitle
     
    5656INCLUDE_CPLUS        = /usr/include/g++
    5757
    58 OPTIM    = -O5 -Wall -fno-exceptions -fPIC -Wpointer-arith -Wcast-align -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Woverloaded-virtual
     58OPTIM    = -O5 -Wall -fno-exceptions -fPIC -Wpointer-arith -Wcast-align -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Woverloaded-virtual -Wno-deprecated
    5959DEBUG    = -g
    6060
  • trunk/MagicSoft/Simulation/Detector/Camera/config.mk.linux

    r3045 r5072  
    1818#---------------------------------------------------------------
    1919# $RCSfile: config.mk.linux,v $
    20 # $Revision: 1.4 $
    21 # $Author: blanch $
    22 # $Date: 2004-02-06 17:39:51 $
     20# $Revision: 1.5 $
     21# $Author: moralejo $
     22# $Date: 2004-09-16 15:16:34 $
    2323##################################################################
    2424# @maintitle
     
    5656INCLUDE_CPLUS        = /usr/include/g++
    5757
    58 # OPTIM    = -O2 -Wall -fno-rtti -fno-exceptions -fPIC
    59 OPTIM    = -O5 -Wall -fno-exceptions -fPIC -Wpointer-arith -Wcast-align -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Woverloaded-virtual
     58#OPTIM    = -O2 -Wall -fno-rtti -fno-exceptions -fPIC
     59OPTIM    = -O5 -Wall -fno-exceptions -fPIC -Wpointer-arith -Wcast-align -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Woverloaded-virtual -Wno-deprecated
     60
    6061DEBUG    = -g
    6162
     
    6869#               -lMatrix -lPhysics -lm 
    6970
    70 ROOTGLIBS = `root-config --glibs` -lMinuit -lHistPainter -lThread
     71ROOTGLIBS = `root-config --glibs` -lThread -lMinuit -lHistPainter -lThread
    7172
    7273#       0-L/CERN/root/lib -lNew -lCore -lCint -lHist \
     
    8384# AM TEST: to compile statically uncomments lines below (you need root
    8485# to be compiled statically too!):
     86# Be aware that you have to put -L/your_root_path/lib
    8587#ROOTLIBS =
    8688#ROOTGLIBS =
    87 #GLIBS = -static -L/remote/home/pcmagic00/moralejo/root_3.02.07/lib -lRoot -lpthread -lm -ldl
     89#GLIBS = -static -L/cern/root/root/lib -lRoot -lpthread -lm -ldl
    8890#
    8991
  • trunk/MagicSoft/Simulation/Detector/Camera/config.mk.linux-gnu

    r3045 r5072  
    1818#---------------------------------------------------------------
    1919# $RCSfile: config.mk.linux-gnu,v $
    20 # $Revision: 1.8 $
    21 # $Author: blanch $
    22 # $Date: 2004-02-06 17:40:21 $
     20# $Revision: 1.9 $
     21# $Author: moralejo $
     22# $Date: 2004-09-16 15:16:34 $
    2323##################################################################
    2424# @maintitle
     
    5656INCLUDE_CPLUS        = /usr/include/g++
    5757
    58 OPTIM    = -O5 -Wall -fno-exceptions -fPIC -Wpointer-arith -Wcast-align -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Woverloaded-virtual
     58OPTIM    = -O5 -Wall -fno-exceptions -fPIC -Wpointer-arith -Wcast-align -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Woverloaded-virtual -Wno-deprecated
    5959DEBUG    = -g
    6060
  • trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx

    r2965 r5072  
    1919//=
    2020//= $RCSfile: creadparam.cxx,v $
    21 //= $Revision: 1.26 $
    22 //= $Author: blanch $
    23 //= $Date: 2004-01-30 09:58:39 $
     21//= $Revision: 1.27 $
     22//= $Author: moralejo $
     23//= $Date: 2004-09-16 15:16:34 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    5454
    5555#include "creadparam.h"
     56#include "camera.h"      // Needed for MAX_NUMBER_OF_CTS
    5657
    5758//!@}
     
    6869//!@{
    6970
    70 static char Input_filename[100][PATH_MAX_LENGTH];  //@< input filename
     71static char **Input_filename;  //@< input filename
    7172static char Starfield_filename[PATH_MAX_LENGTH]; //@< starfield input filename
    7273static int Starfield_center[6]={0,0,0,0,0,0}; //@< center of the starfield FOV
     
    7576static char ROOT_filename[PATH_MAX_LENGTH];   //@< data filename
    7677static char Loop_filename[PATH_MAX_LENGTH];   //@< special data filename
    77 static int  CT_geometry = 0;                  //@< CT camera geometry
     78static char CT_geom_string[256];              //@< Contains geometry ids of CTs 
    7879static int  CT_number = 1;                    //@< Number of CT
    79 static char QE_filename[100][PATH_MAX_LENGTH];    //@< name of the qe file
     80static char **QE_filename; //@< name of the qe file
    8081static char NSB_directory[PATH_MAX_LENGTH];   //@< database for NSB
    8182static char NSB_outer_directory[PATH_MAX_LENGTH];   //@< database for NSB
     
    8384static int ElecNoise = TRUE;                  //@< Will we add ElecNoise?
    8485static float FADC_pedestal = 10.0;            //@< Value for FADC Pedestal
    85 static float FADC_Noise = 2.0;                //@< Value for FADC ElecNoise
     86static float FADC_Noise_inner = 2.0;         //@< Value for FADC ElecNoise
     87static float FADC_Noise_outer = 2.0;         //@< Value for FADC ElecNoise
    8688static float Digital_Noise = 1.0;            //@< Value for FADC  digital Noise
    8789static float Trig_Noise = 0.3;                //@< Factor for Trigger ElecNoise
     
    8991static float meanNSB;           //@< NSB mean value (per pixel)
    9092static int nphe2NSB=0;          //@< Number of phe from shower to do NSB simulation
    91 static float qThreshold[100][CAMERA_PIXELS];    //@< Threshold values
     93static float **qThreshold; //@< Threshold values
    9294static int Individual_Thres = FALSE;
    9395static float RiseDisc = -1.0;
     
    112114static float Trigger_response_ampl = 1.0;
    113115static float Trigger_response_fwhm = 2.0;
    114 static float Trigger_threshold[100];
    115 static int Trigger_multiplicity[100];
    116 static int Trigger_topology[100];
     116static float Trigger_threshold[MAX_NUMBER_OF_CTS];
     117static int Trigger_multiplicity[MAX_NUMBER_OF_CTS];
     118static int Trigger_topology[MAX_NUMBER_OF_CTS];
    117119static float Trigger_loop_lthres = 3.0;
    118120static float Trigger_loop_uthres = 10.0;
     
    122124static int Trigger_loop_ltop = 0;
    123125static int Trigger_loop_utop = 2;
     126static int FADC_shape = 0;
    124127static float FADC_response_ampl = MFADC_RESPONSE_INTEGRAL;
    125128static float FADC_response_fwhm = MFADC_RESPONSE_FWHM;
     129static int FADC_shape_out = 0;
    126130static float FADC_resp_ampl_out = MFADC_RESPONSE_INTEGRAL;
    127131static float FADC_resp_fwhm_out = MFADC_RESPONSE_FWHM;
    128132static float High_to_Low = 10.0;      //@< Low gain channel respct to High
    129 static float Source_offset_th=0.;     //@<  Displacement in Theta of the
    130                                       //@< source from the center
    131 static float Source_offset_ph=0.;     //@<  Displacement in Phi of the
    132                                       //@< source from the center
    133 
    134 static float sigma_spot = -1.; // Sigma in x and y for additional
    135                                // gaussian spread of the mirror spot.
     133
     134static float sigma_x_spot = 0.; // Sigma in x and y (cm) for additional
     135static float sigma_y_spot = 0.; // gaussian spread of the mirror spot.
     136                               
     137static float misp_x = 0.; // Mispointing in x
     138static float misp_y = 0.; // Mispointing in y
    136139
    137140static float trig_delay = 25.;  // Delay in ns between beginning of FADC
    138141                                // time window and the trigger instant.
    139142
     143static float CTcoor[MAX_NUMBER_OF_CTS][3];
     144
     145static float m_fraction[MAX_NUMBER_OF_CTS];
     146
     147// Coordinates of CT locations, in centimeters, in the Corsika system.
    140148
    141149//!@}
     
    162170  char token[ITEM_MAX_LENGTH];   //@< a single token
    163171  int i, j, k;                      //@< dummy counters
    164   float aux, aux2;                    //@< auxiliar variable
     172  float aux, aux1, aux2;                    //@< auxiliar variable
    165173  int aux3, aux4;                    //@< auxiliar variable
    166174  ifstream ifile;
    167175  char filename_tmp[PATH_MAX_LENGTH];
     176
     177
     178  memset((char*)CT_geom_string, 0, sizeof(CT_geom_string));
     179
     180  Input_filename = new char *[MAX_NUMBER_OF_CTS];
     181  QE_filename = new char *[MAX_NUMBER_OF_CTS];
     182  qThreshold = new float *[MAX_NUMBER_OF_CTS];
     183
     184  for (int i = 0; i < MAX_NUMBER_OF_CTS; i++)
     185    {
     186      Input_filename[i] = new char[PATH_MAX_LENGTH];
     187      QE_filename[i] = new char[PATH_MAX_LENGTH];
     188      qThreshold[i] = new float[CAMERA_PIXELS];
     189      CTcoor[i][0] = 0.; CTcoor[i][1] = 0.; CTcoor[i][2] = 0.;
     190      m_fraction[i] = 1.;
     191    }
     192
    168193  // use cin or ifile (reading from STDIN or from parameters file?
    169194  if ( filename != NULL )
     
    259284      break;
    260285
    261     case ct_num:             //@< name of the telescope file
     286    case ct_num:             //@< number of telescopes
    262287         
    263288      // get the name of the ct_file from the line
     
    269294         
    270295      // get the name of the ct_file from the line
    271       sscanf(line, "%s %i", token, &CT_geometry);
     296      sscanf(line, "%s %s", token, CT_geom_string);
     297      if ( strlen(CT_geom_string) > MAX_NUMBER_OF_CTS )
     298        {
     299          printf("\nError: ct_geom option read from input card wrong:\n");
     300          printf("Number of digits (%d) is larger than maximum number\n",strlen(CT_geom_string) );
     301          printf("of allowed telescopes (%d). Exiting.\n\n", MAX_NUMBER_OF_CTS);
     302          exit(1);
     303        }
    272304
    273305      break;
     
    285317      // we will not add electronic noise for FADC and Trigger channels.
    286318      ElecNoise = FALSE;
    287       FADC_Noise = 0.0;
     319      FADC_Noise_inner = 0.0;
     320      FADC_Noise_outer = 0.0;
    288321      Trig_Noise =0.0;
    289322
    290323      break;
    291324
    292     case fadc_pedestal:              //@< FADC ElecNoise
     325    case fadc_pedestal:              //@< FADC pedestal
    293326         
    294327      // value for FADC Pedestal
     
    311344      break;
    312345
    313     case high_to_low:              //@< FADC ElecNoise
     346    case high_to_low:              //@< High to Low gain ratio
    314347         
    315348      // Value for the Low Gain channel respect to the High gain
     
    321354         
    322355      // value for FADC Elec Noise
    323       sscanf(line, "%s %f %f", token, &FADC_Noise, &Digital_Noise);
     356      sscanf(line, "%s %f %f %f", token,
     357             &FADC_Noise_inner, &FADC_Noise_outer,
     358             &Digital_Noise);
    324359
    325360      ElecNoise = TRUE;
     
    479514
    480515      //  Get parameters for the fadc  response for one phe
    481       sscanf(line, "%s %f %f", token, &FADC_response_ampl,&FADC_response_fwhm);
     516      sscanf(line, "%s %i %f %f", token, &FADC_shape, &FADC_response_ampl,&FADC_response_fwhm);
    482517
    483518      break;
     
    486521
    487522      //  Get parameters for the fadc  response for one phe
    488       sscanf(line, "%s %f %f", token, &FADC_resp_ampl_out,&FADC_resp_fwhm_out);
     523      sscanf(line, "%s %i %f %f", token, &FADC_shape_out, &FADC_resp_ampl_out,&FADC_resp_fwhm_out);
    489524
    490525      break;
     
    545580      break;
    546581
    547     case source_offset:
    548 
    549       //  Get offset of source
    550         sscanf(line, "%s %f %f", token, &Source_offset_th, &Source_offset_ph);
    551 
    552       break;
    553 
    554582    case Trigger_Loop_Output_Only_Specialists:
    555583
     
    563591      break;
    564592
     593    case trigger_delay:
     594
     595      sscanf(line, "%s %f", token, &trig_delay);
     596      break;
     597
     598
    565599    case sigma_xy_cm_spot:
    566600
    567       sscanf(line, "%s %f", token, &sigma_spot);
    568       break;
    569 
    570     case trigger_delay:
    571 
    572       sscanf(line, "%s %f", token, &trig_delay);
    573       break;
     601      sscanf(line, "%s %f", token, &sigma_x_spot);
     602      sigma_y_spot=sigma_x_spot;
     603      break;
     604
     605    case sigma_x_cm_spot:
     606
     607      sscanf(line, "%s %f", token, &sigma_x_spot);
     608      break;
     609
     610    case sigma_y_cm_spot:
     611
     612      sscanf(line, "%s %f", token, &sigma_y_spot);
     613      break;
     614
     615    case misspoint_deg:
     616
     617      sscanf(line, "%s %f %f", token, &misp_x, &misp_y);
     618      break;
     619
     620    case telescope_location_cm:
     621
     622      if ( 5 != sscanf(line, "%s %d %f %f %f", token, &j, &aux, &aux1, &aux2) )
     623        {
     624          printf("\nError: wrong number of arguments for command telescope_location_cm.\n");
     625          printf("Usage: telescope_location_cm ct_id x y z\n");
     626          printf("Coordinates must be written in centimeters.");
     627          printf("Exiting.\n\n");
     628          exit(1);
     629        }
     630
     631      if (j >= MAX_NUMBER_OF_CTS)
     632        {
     633          printf("\nError: coordinates were supplied for a telescope index (%d)\n", j);
     634          printf("larger than allowed. Valid telescope ids range from 0 to %d. Exiting.\n\n", MAX_NUMBER_OF_CTS-1);
     635          exit(1);
     636        }
     637      CTcoor[j][0] = aux;
     638      CTcoor[j][1] = aux1;
     639      CTcoor[j][2] = aux2;
     640
     641      break;
     642
     643    case mirror_fraction:
     644
     645        sscanf(line, "%s %d %f", token, &j, &aux);
     646        m_fraction[j] = aux;
     647       
     648        break;
    574649
    575650    case end_file:            //@< end of the parameters file
     
    761836//!@{
    762837int
    763 get_ct_geometry(void)
    764 {
    765   return (CT_geometry);
     838get_ct_geometry(int ict)
     839{
     840  char dummy[2];
     841  strncpy(dummy, &(CT_geom_string[ict]), 1);
     842  dummy[1] = '\0';
     843
     844  return ((int)atoi(dummy));
    766845}
    767846//!@}
     
    839918//!@{
    840919int
    841 add_elec_noise(float *fadc, float *digi, float *trig)
    842 {
    843   *fadc = FADC_Noise;
     920add_elec_noise(float *fadcinner, float*fadcouter, float *digi, float *trig)
     921{
     922  *fadcinner = FADC_Noise_inner;
     923  *fadcouter = FADC_Noise_outer;
     924
    844925  *digi = Digital_Noise;
    845926  *trig = Trig_Noise;
     
    11741255//!@{
    11751256void
    1176 get_FADC_properties(float *ra, float *rf, float *rao, float *rfo)
    1177 {
     1257get_FADC_properties(int *shape,float *ra, float *rf,
     1258                    int *shapeo, float *rao, float *rfo)
     1259{
     1260  *shape=FADC_shape;
    11781261  *ra=FADC_response_ampl;
    11791262  *rf=FADC_response_fwhm;
     1263  *shapeo=FADC_shape_out;
    11801264  *rao=FADC_resp_ampl_out;
    11811265  *rfo=FADC_resp_fwhm_out;
     
    12411325get_Trigger_Single(float **t, int *m, int *g)
    12421326{
    1243   for(int j=0;j<100;j++){
     1327  for(int j=0;j<MAX_NUMBER_OF_CTS;j++){
    12441328    for(int i=0;i<CAMERA_PIXELS;i++)
    12451329      t[j][i]=qThreshold[j][i];
     
    12511335
    12521336//!-----------------------------------------------------------
    1253 // @name get_source_off
    1254 //                                               
    1255 // @desc give the offset of the source to the center of the camera
    1256 //
    1257 //------------------------------------------------------------
    1258 // @function
    1259 
    1260 //!@{
    1261 void get_source_off(float *th, float *p){
    1262     *th=Source_offset_th;
    1263     *p=Source_offset_ph;
    1264 }
    1265 //!@}
    1266 
    1267 //!-----------------------------------------------------------
    12681337// @name get_FADC_pedesta
    12691338//                                               
     
    13001369}
    13011370
    1302 float get_sigma_xy_cm_spot(void){
    1303 
    1304   return sigma_spot;
     1371int get_misspointing(float *x, float *y){
     1372
     1373  *x=misp_x;
     1374  *y=misp_y;
     1375
     1376  if (misp_x == 0.0 && misp_y==0.0)
     1377    return 0;
     1378  else
     1379    return 1;
     1380
     1381}
     1382
     1383float get_sigma_xy_cm_spot(float *x, float *y){
     1384
     1385  *x=sigma_x_spot;
     1386  *y=sigma_y_spot;
     1387
     1388  if (sigma_x_spot > 0.0 || sigma_y_spot >0.0)
     1389    return 1.0;
     1390  else
     1391    return -1.0;
    13051392
    13061393}
     
    13111398
    13121399}
     1400
     1401float get_telescope_location_cm(int j, int icoor){
     1402
     1403  return CTcoor[j][icoor];
     1404
     1405}
     1406
     1407float get_mirror_fraction(int j){
     1408    return m_fraction[j];
     1409}
     1410
     1411
    13131412
    13141413//!@}
     
    13191418//
    13201419// $Log: not supported by cvs2svn $
     1420//
     1421// Revision 1.27  2004/05/12 A. Moralejo
     1422//
     1423// Changed fadc_noise command: now the two first numbers are respectively
     1424// the analogic electronic noise for inner (small) and outer (big) pixels
     1425// respectively. Last number is still the FADC digital noise which affects
     1426// equallly inner and outer pixels (as well as high and low gain).
     1427//
     1428// Revision 1.26  2004/01/30 09:58:39  blanch
     1429// [Changes done mainly by A. Moralejo]
     1430//
     1431// Two new commands of the input card have been added:
     1432//
     1433// sigma_xy_cm_spot: to enlarge the point spread function.
     1434// trigger_delay: to center the FADC signal
     1435//
     1436// There is also a check that the Pedestal is an integer, otherwise it
     1437// becames complex to get a reasonable rms for events without electronic noise.
     1438//
    13211439// Revision 1.25  2003/10/26 19:45:38  blanch
    13221440// The write_all_data input card command has been removed.
  • trunk/MagicSoft/Simulation/Detector/Camera/creadparam.h

    r2964 r5072  
    1919//=
    2020//= $RCSfile: creadparam.h,v $
    21 //= $Revision: 1.23 $
    22 //= $Author: blanch $
    23 //= $Date: 2004-01-30 09:55:33 $
     21//= $Revision: 1.24 $
     22//= $Author: moralejo $
     23//= $Date: 2004-09-16 15:16:34 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    175175T(write_McTrig),    /* write to file .root McTrig infos */ \
    176176T(write_McFadc),    /* write to file .root McFadc infos */ \
    177 T(nowrite_RawEvt),   /* write to file .root RawData infos */ \
     177T(nowrite_RawEvt),  /* write to file .root RawData infos */ \
    178178T(select_energy),   /* energy range to read: only for .phe files */ \
    179179T(trigger_scan),    /* show signal in the diskriminator */ \
     
    181181T(trigger_loop),    /* make loop over trigger conditions */ \
    182182T(trigger_prop),    /* values of trigger properties */ \
    183 T(fadc_prop),    /* values of fadc properties */ \
    184 T(fadc_outer),    /* values of fadc properties for outer pixels */ \
     183T(fadc_prop),       /* values of fadc properties */ \
     184T(fadc_outer),      /* values of fadc properties for outer pixels */ \
    185185T(trigger_single),  /* trigger conditions */ \
    186186T(Trigger_Loop_Output_Only_Specialists),   /* special steercard */ \
    187 T(source_offset),   /* Displacement of the source from the center */ \
    188 T(high_to_low),   /* Displacement of the source from the center */ \
     187T(high_to_low),     /* High to Low gain ratio */ \
    189188T(sigma_xy_cm_spot), /* Additional gaussian spread of mirror spot on camera */ \
     189T(sigma_x_cm_spot), /* Additional gaussian spread of mirror in x axis spot on camera */ \
     190T(sigma_y_cm_spot), /* Additional gaussian spread of mirror in y axis spot on camera */ \
     191T(misspoint_deg), /* Additional misspointing of Telescope direction*/ \
    190192T(trigger_delay), /*  Delay in ns between beginning of FADC
    191193                      time window and the trigger instant.*/ \
     194T(telescope_location_cm), /* Telescope coordinates in Corsika system */ \
     195T(mirror_fraction), /* Fraction of dish mirror really operative */ \
    192196T(end_file)         /* end of the parameters file */
    193  
     197
    194198#define T(x)  x             // define T() as the name as it is
    195199
     
    210214#define LINE_MAX_LENGTH  400
    211215#define ITEM_MAX_LENGTH  40
    212 #define PATH_MAX_LENGTH  120
     216#define PATH_MAX_LENGTH  256
    213217
    214218//!@}
     
    231235char *get_loop_filename(void);
    232236int get_ct_number(void);
    233 int get_ct_geometry(void);
     237int get_ct_geometry(int ict);
    234238char *get_qe_filename(int ict=0);
    235239char *get_nsb_directory(void);
    236240char *get_nsb_directory_outer(void);
    237 int add_elec_noise(float *fadc, float *digi, float *trig);
     241int add_elec_noise(float *fadcinner, float* fadcouter,
     242                   float *digi, float *trig);
    238243int get_nsb(float *n, int *m);
    239244long int get_seeds(int n);
     
    250255int get_Trigger_Scan(void);
    251256void get_Trigger_properties(float *gl, float *ot, float *ra, float *rf);
    252 void get_FADC_properties(float *ra, float *rf, float *rao, float *rfo);
     257void get_FADC_properties(int *shape, float *ra, float *rf,int *shapeo, float *rao, float *rfo);
    253258float get_FADC_pedestal(void);
    254259int get_Trigger_Loop(float *lt, float *ut, float *st, int *lm, int *um, int *lg, int *ug);
     
    257262void get_secure_threhold(float *ac, float *disc);
    258263int get_indi_thres_pixel(void);
    259 void get_source_off(float *th, float *p);
    260264float get_High_to_Low(void);
    261 float get_sigma_xy_cm_spot(void);
     265float get_sigma_xy_cm_spot(float *x, float *y);
     266int get_misspointing(float *x, float *y);
    262267float get_trig_delay(void);
     268float get_telescope_location_cm(int j, int icoor);
     269float get_mirror_fraction(int j);
    263270//!@}
    264271
     
    276283/*
    277284 * $Log: not supported by cvs2svn $
     285 * Revision 1.23  2004/01/30 09:55:33  blanch
     286 * New "trigger_delay" and "sigma_xy_cm_spot" commands.
     287 *
    278288 * Revision 1.22  2003/10/26 19:51:30  blanch
    279289 * Header file for creadparam.cxx version 1.25
  • trunk/MagicSoft/Simulation/Detector/Camera/input.card

    r2392 r5072  
    11camera 0.7
    2 #
    3 # Enter the input card for each telescope (0, 1, ...) that you want to
    4 # simulate
    5 input_file  0  /disc02/Data/RefData/Protons/Proton_0/Proton_0_90_4_0to0.rfl
    6 #
    7 # qe file name for each telescope (0, 1, ...)
    8 qe_file  0  ../Data/qe-emi-coat.RFL.dat
    9 #
    10 # Reflector format file that gives the NSB from the stars
    11 #starfield_file    /remote/disc02/magic/Data/RefData/CrabNebula.rfl
    12 #
    13 # Center of the FOV for stars light, right information should
    14 # be here since it is no checked in the Camera program (RA and DEC)
    15 #starfield_center  5 34 32 22 00 55
    16 #
    17 # Output file with a brief summary about trigger
    18 data_file test.dat
    19 #
    20 # Root file with the output information
    21 root_file test.root
    22 #
    23 # Number of telescopes
     2# Number of telescopes:
    243ct_num 1
    25 #
    26 # Camera geometry ( code(ct=0)+10*code(ct=1)+100* ... )
     4# Telescope geometry type:
    275ct_geom 1
    28 #
    29 # Directory to look for the NSB database (it should finish with /)
    30 nsb_directory /remote/disc02/magic/Data/StarLight/Fwhm20/
    31 #
    32 # Directory to look for the NSB database for outer pixels
    33 # (it should finish with /)
    34 nsb_dir_outer /remote/disc02/magic/Data/StarLight/Fwhm20/
    35 #
    36 # Diskriminator and response properties (gate_lentgh, minimum overlaping time,
    37 # amplitude and fwhm) needed for the trigger studies
     6# Quantum efficiency file:
     7qe_file 0  /home/magic/MagicProgs/Simulation/Detector/Data/qe-emi-coat.RFL.dat
     8# Input file (one per telescope):
     9input_file 0 /home/magic/tmp/Gamma_Short.rfl
     10# Ascii output file name:
     11data_file /home/magic/tmp/Gamma_Short.dat
     12# root output file name:
     13root_file /home/magic/tmp/Gamma_Short.root
     14# Trigger characteristics: gate length (ns), min. overlapping time (ns),
     15# amplitude and FWHM of (gaussian) single phe response for trigger:
    3816trigger_prop 3.0 0.25 1.0 2.0
    39 #
    40 # Trig electronic noise (the width of the gaussian noise is that times
    41 # the amplitude of the single phe response for the trigger)
    42 trig_noise 0.3
    43 #
    44 # Fadc properties (integral and fwhm) needed for the fadc simulation
    45 fadc_prop 6.3 5.0
    46 #
    47 # Fadc properties (integral and fwhm) for the outer pixels
    48 fadc_outer 6.3 5.0
    49 #
    50 # Fadc electronic noise (width of the gaussian on top of FADC signal in
    51 # FADC counts)
    52 fadc_noise 2.0 1.0
    53 #
    54 # Fadc pedestal (10 by default)
    55 fadc_pedestal 10.0
    56 #
    57 # Trigger loop mode (theshold(low, high and step), multiplicity and topology)
    58 #trigger_loop 1.0 2.05 0.5 3 4 0 0
    59 #
    60 # Single trigger mode (telescope, theshold, multiplicity and topology)
    61 # for each CT (0, 1, .. )
    62 trigger_single 0 4.0 4 2
    63 #
    64 # Pixels with special trigger threshold (one line for each pixel)
    65 #pixel_thres 37 7.0
    66 #
    67 # Numper of (phe/ns) from NSB per pixel to (rise) discriminator threshold
    68 #secure_disc 50.0 7.0
    69 #
    70 # Write also images that do not trigger
    71 #write_all_events
    72 #
    73 # Do not write Mc information
    74 #nowrite_McEvt
    75 #
    76 # Do not write Raw Evt information
    77 #nowrite_RawEvt
    78 #
    79 # Write Mc trigger information
     17# L1 Trigger condition: CT number, threshold (mV), multiplicity and topology:
     18trigger_single 0 4 4 2
     19# Switch on NSB:
     20nsb_on
     21# Number of photons from the diffuse NSB (nphe / ns 0.1*0.1 deg^2 239 m^2) and
     22# minimum number of phe from shower required to simulate NSB:
     23nsb_mean 0.13 30
     24# Starfield (see Starfieldadder program)
     25# starfield_file /home/magic/MagicProgs/Simulation/Detector/Starfield/starfield.rfl
     26# Electronic noise in FADC (sigma in ADC counts): Inner pixels, outer pixels, digital noise:
     27fadc_noise 1.48 2.1 0.
     28# Mean pedestal per slice (ADC counts):
     29fadc_pedestal 10.
     30# Additional sigma of mirror spot (cm):
     31sigma_xy_cm_spot 2.
     32# Fraction of currently active mirror:
     33mirror_fraction 0 1.
     34# Seeds for random number generation:
     35seeds 66767 45069
     36# Directory where NSB database can be found for inner and outer pixels:
     37nsb_directory  /home/magic/MagicProgs/Simulation/Detector/StarLight/p016/inner/
     38nsb_dir_outer  /home/magic/MagicProgs/Simulation/Detector/StarLight/p016/outer/
     39# FADC properties: shape of single phe response (1 means realistic one, from
     40# Pulpo setup), integral in FADC counts for 1 phe. (3rd argument is ignored unless
     41# gaussian shape - 1st argument=0 - was chosen) :
     42fadc_prop 1 7.3 5.0
     43# Same as above for outer pixels:
     44fadc_outer 1 2.5 5.0
     45# Write to output trigger information:
    8046write_McTrig
    81 #
    82 # Write Mc fadc information
     47# Write to output FADC information:
    8348write_McFadc
    84 #
    85 # Switch off the Electronic Noise
    86 #elec_noise_off
    87 #
    88 #Switch on Star Field Rotation
    89 #sfr_on
    90 #
    91 # Switch on NSB
    92 nsb_on
    93 #
    94 # Switch off NSB
    95 #nsb_off
    96 # Number of photons from the diffuse NSB (nphe / ns 0.1*0.1 deg^2 239 m^2) and
    97 # minmum number of phe from shower required to simulate NSB
    98 nsb_mean 0.13 1
    99 #
    100 # Show signal of diskriminator on the screen
    101 #trigger_scan
    102 #
    103 # Show signal of FADC on the screen
    104 #fadc_scan
    105 #
    106 # Select Energy of particles
    107 #select_energy 0 10000000000
    108 #
    109 # Skip showers (interactive)
    110 #skip
    111 #
    112 #Data from STDIN
    113 #data_from_stdin
    114 #
    115 # Seeds for random numbers
    116 seeds 6520 10406
    117 #
    118 #
    119 # Distance from source position to camera center (Theta, phi)
    120 source_offset 0.0 0.0
    121 #
    122 #
    123 # End of steercards
    12449end_file
    125 
    126 
    127 
Note: See TracChangeset for help on using the changeset viewer.