Ignore:
Timestamp:
09/21/00 12:47:33 (24 years ago)
Author:
harald
Message:
Oscar found some smaller errors in the calculation of the pixel shape and
corrected it.
Location:
trunk/MagicSoft/Simulation/Detector/Camera
Files:
4 edited

Legend:

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

    r400 r435  
    1919#
    2020# $RCSfile: Makefile,v $
    21 # $Revision: 1.4 $
    22 # $Author: MagicSol $
    23 # $Date: 2000-06-07 11:20:05 $
     21# $Revision: 1.5 $
     22# $Author: harald $
     23# $Date: 2000-09-21 11:47:33 $
    2424#
    2525##################################################################
     
    212212# DO NOT DELETE THIS LINE -- make depend depends on it.
    213213
    214 ../include-MC/MCEventHeader.o: ../include-MC/MCEventHeader.hxx
    215 ../include-MC/MCEventHeader.o: ../include-GENERAL/Rtypes.h
    216 ../include-MC/MCEventHeader.o: /usr/include/cxx/iostream.h
    217 ../include-MC/MCEventHeader.o: /usr/include/cxx/iostream.hxx
    218 ../include-MC/MCEventHeader.o: /usr/include/cxx/compnent.hxx
    219 ../include-MC/MCEventHeader.o: /usr/include/cxx/iostream_impl.hxx
    220 ../include-MC/MCEventHeader.o: /usr/include/cxx/cxxl.hxx
    221 ../include-MC/MCEventHeader.o: /usr/include/cxx/cxxl_share.hxx
    222 ../include-MC/MCEventHeader.o: /usr/include/cxx/messages.hxx
    223 ../include-MC/MCEventHeader.o: /usr/include/stddef.h /usr/include/standards.h
    224 ../include-MC/MCEventHeader.o: /usr/include/stdio.h /usr/include/sys/seek.h
    225 ../include-MC/MCEventHeader.o: /usr/include/va_list.h
    226 ../include-MC/MCEventHeader.o: /usr/include/sys/types.h
    227 ../include-MC/MCEventHeader.o: /usr/include/mach/machine/vm_types.h
    228 ../include-MC/MCEventHeader.o: /usr/include/sys/select.h
    229 ../include-MC/MCEventHeader.o: /usr/include/getopt.h
    230 ../include-MC/MCEventHeader.o: /usr/include/sys/limits.h
    231 ../include-MC/MCEventHeader.o: /usr/include/sys/machine/machlimits.h
    232 ../include-MC/MCEventHeader.o: /usr/include/sys/syslimits.h
    233 ../include-MC/MCEventHeader.o: /usr/include/sys/machine/machtime.h
    234 ../include-MC/MCEventHeader.o: /usr/include/sys/rt_limits.h
    235 ../include-MC/MCEventHeader.o: /usr/include/limits.h /usr/include/memory.h
    236 ../include-MC/MCEventHeader.o: /usr/include/string.h /usr/include/strings.h
    237 ../include-MC/MCEventHeader.o: /usr/include/cxx/iomanip.h
    238 ../include-MC/MCEventHeader.o: /usr/include/cxx/iomanip.hxx
    239 ../include-MC/MCEventHeader.o: /usr/include/cxx/iomanip_impl.hxx
    240 ../include-MC/MCEventHeader.o: /usr/include/cxx/generic.hxx
    241 ../include-MC/MCEventHeader.o: /usr/include/cxx/mutex.hxx
    242 ../include-MC/MCEventHeader.o: /usr/include/cxx/fstream.h
    243 ../include-MC/MCEventHeader.o: /usr/include/cxx/fstream.hxx
    244 ../include-MC/MCEventHeader.o: /usr/include/cxx/fstream_impl.hxx
    245 ../include-MC/MCEventHeader.o: /usr/include/stdlib.h /usr/include/math.h
    246 ../include-MC/MCEventHeader.o: ../include-CORSIKA/COREventHeader.hxx
    247 ../include-MC/MCCphoton.o: ../include-MC/MCCphoton.hxx
    248 ../include-MC/MCCphoton.o: ../include-GENERAL/Rtypes.h
    249 ../include-MC/MCCphoton.o: /usr/include/cxx/iostream.h
    250 ../include-MC/MCCphoton.o: /usr/include/cxx/iostream.hxx
    251 ../include-MC/MCCphoton.o: /usr/include/cxx/compnent.hxx
    252 ../include-MC/MCCphoton.o: /usr/include/cxx/iostream_impl.hxx
    253 ../include-MC/MCCphoton.o: /usr/include/cxx/cxxl.hxx
    254 ../include-MC/MCCphoton.o: /usr/include/cxx/cxxl_share.hxx
    255 ../include-MC/MCCphoton.o: /usr/include/cxx/messages.hxx
    256 ../include-MC/MCCphoton.o: /usr/include/stddef.h /usr/include/standards.h
    257 ../include-MC/MCCphoton.o: /usr/include/stdio.h /usr/include/sys/seek.h
    258 ../include-MC/MCCphoton.o: /usr/include/va_list.h /usr/include/sys/types.h
    259 ../include-MC/MCCphoton.o: /usr/include/mach/machine/vm_types.h
    260 ../include-MC/MCCphoton.o: /usr/include/sys/select.h /usr/include/getopt.h
    261 ../include-MC/MCCphoton.o: /usr/include/sys/limits.h
    262 ../include-MC/MCCphoton.o: /usr/include/sys/machine/machlimits.h
    263 ../include-MC/MCCphoton.o: /usr/include/sys/syslimits.h
    264 ../include-MC/MCCphoton.o: /usr/include/sys/machine/machtime.h
    265 ../include-MC/MCCphoton.o: /usr/include/sys/rt_limits.h /usr/include/limits.h
    266 ../include-MC/MCCphoton.o: /usr/include/memory.h /usr/include/string.h
    267 ../include-MC/MCCphoton.o: /usr/include/strings.h /usr/include/cxx/iomanip.h
    268 ../include-MC/MCCphoton.o: /usr/include/cxx/iomanip.hxx
    269 ../include-MC/MCCphoton.o: /usr/include/cxx/iomanip_impl.hxx
    270 ../include-MC/MCCphoton.o: /usr/include/cxx/generic.hxx
    271 ../include-MC/MCCphoton.o: /usr/include/cxx/mutex.hxx
    272 ../include-MC/MCCphoton.o: /usr/include/cxx/fstream.h
    273 ../include-MC/MCCphoton.o: /usr/include/cxx/fstream.hxx
    274 ../include-MC/MCCphoton.o: /usr/include/cxx/fstream_impl.hxx
    275 ../include-MC/MCCphoton.o: /usr/include/stdlib.h /usr/include/math.h
    276 ../include-MC/MCCphoton.o: ../include-GENERAL/jcmacros.h
    277 ../include-MTrigger/MTrigger.o: ../include-MTrigger/MTrigger.hxx
    278 ../include-MTrigger/MTrigger.o: /usr/include/cxx/iostream.h
    279 ../include-MTrigger/MTrigger.o: /usr/include/cxx/iostream.hxx
    280 ../include-MTrigger/MTrigger.o: /usr/include/cxx/compnent.hxx
    281 ../include-MTrigger/MTrigger.o: /usr/include/cxx/iostream_impl.hxx
    282 ../include-MTrigger/MTrigger.o: /usr/include/cxx/cxxl.hxx
    283 ../include-MTrigger/MTrigger.o: /usr/include/cxx/cxxl_share.hxx
    284 ../include-MTrigger/MTrigger.o: /usr/include/cxx/messages.hxx
    285 ../include-MTrigger/MTrigger.o: /usr/include/stddef.h
    286 ../include-MTrigger/MTrigger.o: /usr/include/standards.h /usr/include/stdio.h
    287 ../include-MTrigger/MTrigger.o: /usr/include/sys/seek.h
    288 ../include-MTrigger/MTrigger.o: /usr/include/va_list.h
    289 ../include-MTrigger/MTrigger.o: /usr/include/sys/types.h
    290 ../include-MTrigger/MTrigger.o: /usr/include/mach/machine/vm_types.h
    291 ../include-MTrigger/MTrigger.o: /usr/include/sys/select.h
    292 ../include-MTrigger/MTrigger.o: /usr/include/getopt.h
    293 ../include-MTrigger/MTrigger.o: /usr/include/sys/limits.h
    294 ../include-MTrigger/MTrigger.o: /usr/include/sys/machine/machlimits.h
    295 ../include-MTrigger/MTrigger.o: /usr/include/sys/syslimits.h
    296 ../include-MTrigger/MTrigger.o: /usr/include/sys/machine/machtime.h
    297 ../include-MTrigger/MTrigger.o: /usr/include/sys/rt_limits.h
    298 ../include-MTrigger/MTrigger.o: /usr/include/limits.h /usr/include/memory.h
    299 ../include-MTrigger/MTrigger.o: /usr/include/string.h /usr/include/strings.h
    300 ../include-MTrigger/MTrigger.o: /usr/include/math.h /usr/include/stdlib.h
    301 ../include-MTrigger/MTrigger.o: /CERN/root/include/TROOT.h
    302 ../include-MTrigger/MTrigger.o: /CERN/root/include/TObject.h
    303 ../include-MTrigger/MTrigger.o: /CERN/root/include/TRandom.h
    304 ../include-MTrigger/MTrigger.o: /CERN/root/include/TH1.h
    305 ../include-MTrigger/MTrigger.o: ../../../include-Classes/Mdefine.h
    306 ../include-MTrigger/MTrigger.o: ../../../include-Classes/MMcEvt.h
    307 ../include-MTrigger/MTrigger.o: /usr/include/unistd.h
    308 ../include-MTrigger/MTrigger.o: /usr/include/sys/access.h
    309 ../include-MTrigger/MTrigger.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h
    310 ../include-MTrigger/MTrigger.o: /usr/include/sys/mode.h
    311 ../include-MTrigger/MTrigger.o: ../include-MTrigger/MTriggerDefine.h
    312 ../include-MTrigger/MTrigger.o: /CERN/root/include/TFile.h
    313 ../include-MTrigger/MTrigger.o: /CERN/root/include/TObjArray.h
    314 ../include-MTrigger/MTrigger.o: ../include-MTrigger/MGTriggerSignal.hxx
    315 ../include-MTrigger/MTrigger.o: /CERN/root/include/TApplication.h
    316 ../include-MTrigger/MTrigger.o: /CERN/root/include/TVirtualX.h
    317 ../include-MTrigger/MTrigger.o: /CERN/root/include/TGListBox.h
    318 ../include-MTrigger/MTrigger.o: /CERN/root/include/TGClient.h
    319 ../include-MTrigger/MTrigger.o: /CERN/root/include/GuiTypes.h
    320 ../include-MTrigger/MTrigger.o: /CERN/root/include/TGFrame.h
    321 ../include-MTrigger/MTrigger.o: /CERN/root/include/TGIcon.h
    322 ../include-MTrigger/MTrigger.o: /CERN/root/include/TGLabel.h
    323 ../include-MTrigger/MTrigger.o: /CERN/root/include/TGButton.h
    324 ../include-MTrigger/MTrigger.o: /CERN/root/include/TGTextEntry.h
    325 ../include-MTrigger/MTrigger.o: /CERN/root/include/TGMsgBox.h
    326 ../include-MTrigger/MTrigger.o: /CERN/root/include/TGMenu.h
    327 ../include-MTrigger/MTrigger.o: /CERN/root/include/TGCanvas.h
    328 ../include-MTrigger/MTrigger.o: /CERN/root/include/TGComboBox.h
    329 ../include-MTrigger/MTrigger.o: /CERN/root/include/TGTab.h
    330 ../include-MTrigger/MTrigger.o: /CERN/root/include/TGSlider.h
    331 ../include-MTrigger/MTrigger.o: /CERN/root/include/TGDoubleSlider.h
    332 ../include-MTrigger/MTrigger.o: /CERN/root/include/TGFileDialog.h
    333 ../include-MTrigger/MTrigger.o: /CERN/root/include/TRootEmbeddedCanvas.h
    334 ../include-MTrigger/MTrigger.o: /CERN/root/include/TCanvas.h
    335 ../include-MTrigger/MTrigger.o: /CERN/root/include/TH2.h
    336 ../include-MTrigger/MTrigger.o: /CERN/root/include/TSystem.h
    337 ../include-MTrigger/MTrigger.o: /CERN/root/include/TEnv.h
    338 ../include-MTrigger/MGTriggerSignal.o: ../include-MTrigger/MGTriggerSignal.hxx
    339 ../include-MTrigger/MGTriggerSignal.o: /usr/include/stdlib.h
    340 ../include-MTrigger/MGTriggerSignal.o: /usr/include/standards.h
    341 ../include-MTrigger/MGTriggerSignal.o: /usr/include/getopt.h
    342 ../include-MTrigger/MGTriggerSignal.o: /usr/include/sys/types.h
    343 ../include-MTrigger/MGTriggerSignal.o: /usr/include/mach/machine/vm_types.h
    344 ../include-MTrigger/MGTriggerSignal.o: /usr/include/sys/select.h
    345 ../include-MTrigger/MGTriggerSignal.o: /usr/include/cxx/iostream.h
    346 ../include-MTrigger/MGTriggerSignal.o: /usr/include/cxx/iostream.hxx
    347 ../include-MTrigger/MGTriggerSignal.o: /usr/include/cxx/compnent.hxx
    348 ../include-MTrigger/MGTriggerSignal.o: /usr/include/cxx/iostream_impl.hxx
    349 ../include-MTrigger/MGTriggerSignal.o: /usr/include/cxx/cxxl.hxx
    350 ../include-MTrigger/MGTriggerSignal.o: /usr/include/cxx/cxxl_share.hxx
    351 ../include-MTrigger/MGTriggerSignal.o: /usr/include/cxx/messages.hxx
    352 ../include-MTrigger/MGTriggerSignal.o: /usr/include/stddef.h
    353 ../include-MTrigger/MGTriggerSignal.o: /usr/include/stdio.h
    354 ../include-MTrigger/MGTriggerSignal.o: /usr/include/sys/seek.h
    355 ../include-MTrigger/MGTriggerSignal.o: /usr/include/va_list.h
    356 ../include-MTrigger/MGTriggerSignal.o: /usr/include/sys/limits.h
    357 ../include-MTrigger/MGTriggerSignal.o: /usr/include/sys/machine/machlimits.h
    358 ../include-MTrigger/MGTriggerSignal.o: /usr/include/sys/syslimits.h
    359 ../include-MTrigger/MGTriggerSignal.o: /usr/include/sys/machine/machtime.h
    360 ../include-MTrigger/MGTriggerSignal.o: /usr/include/sys/rt_limits.h
    361 ../include-MTrigger/MGTriggerSignal.o: /usr/include/limits.h
    362 ../include-MTrigger/MGTriggerSignal.o: /usr/include/memory.h
    363 ../include-MTrigger/MGTriggerSignal.o: /usr/include/string.h
    364 ../include-MTrigger/MGTriggerSignal.o: /usr/include/strings.h
    365 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TROOT.h
    366 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TApplication.h
    367 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TVirtualX.h
    368 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TGListBox.h
    369 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TGClient.h
    370 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/GuiTypes.h
    371 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TGFrame.h
    372 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TGIcon.h
    373 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TGLabel.h
    374 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TGButton.h
    375 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TGTextEntry.h
    376 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TGMsgBox.h
    377 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TGMenu.h
    378 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TGCanvas.h
    379 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TGComboBox.h
    380 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TGTab.h
    381 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TGSlider.h
    382 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TGDoubleSlider.h
    383 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TGFileDialog.h
    384 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TRootEmbeddedCanvas.h
    385 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TCanvas.h
    386 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TH1.h
    387 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TH2.h
    388 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TRandom.h
    389 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TSystem.h
    390 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TEnv.h
    391 ../include-MTrigger/MGTriggerSignal.o: ../../../include-Classes/MMcEvt.h
    392 ../include-MTrigger/MGTriggerSignal.o: /usr/include/unistd.h
    393 ../include-MTrigger/MGTriggerSignal.o: /usr/include/sys/access.h
    394 ../include-MTrigger/MGTriggerSignal.o: /usr/include/fcntl.h
    395 ../include-MTrigger/MGTriggerSignal.o: /usr/include/sys/fcntl.h
    396 ../include-MTrigger/MGTriggerSignal.o: /usr/include/sys/mode.h
    397 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TObject.h
    398 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TPavesText.h
    399 ../include-MTrigger/MGTriggerSignal.o: /CERN/root/include/TObjArray.h
    400 ../include-MFadc/MFadc.o: ../include-MFadc/MFadc.hxx
    401 ../include-MFadc/MFadc.o: /usr/include/cxx/stream.h
    402 ../include-MFadc/MFadc.o: /usr/include/cxx/stream.hxx
    403 ../include-MFadc/MFadc.o: /usr/include/cxx/compnent.hxx
    404 ../include-MFadc/MFadc.o: /usr/include/cxx/cxxl.hxx
    405 ../include-MFadc/MFadc.o: /usr/include/cxx/cxxl_share.hxx
    406 ../include-MFadc/MFadc.o: /usr/include/stddef.h /usr/include/standards.h
    407 ../include-MFadc/MFadc.o: /usr/include/stdarg.h /usr/include/va_list.h
    408 ../include-MFadc/MFadc.o: /usr/include/cxx/iomanip.hxx
    409 ../include-MFadc/MFadc.o: /usr/include/cxx/iomanip_impl.hxx
    410 ../include-MFadc/MFadc.o: /usr/include/cxx/generic.hxx
    411 ../include-MFadc/MFadc.o: /usr/include/cxx/iostream.hxx
    412 ../include-MFadc/MFadc.o: /usr/include/cxx/iostream_impl.hxx
    413 ../include-MFadc/MFadc.o: /usr/include/cxx/messages.hxx /usr/include/stdio.h
    414 ../include-MFadc/MFadc.o: /usr/include/sys/seek.h /usr/include/sys/types.h
    415 ../include-MFadc/MFadc.o: /usr/include/mach/machine/vm_types.h
    416 ../include-MFadc/MFadc.o: /usr/include/sys/select.h /usr/include/getopt.h
    417 ../include-MFadc/MFadc.o: /usr/include/sys/limits.h
    418 ../include-MFadc/MFadc.o: /usr/include/sys/machine/machlimits.h
    419 ../include-MFadc/MFadc.o: /usr/include/sys/syslimits.h
    420 ../include-MFadc/MFadc.o: /usr/include/sys/machine/machtime.h
    421 ../include-MFadc/MFadc.o: /usr/include/sys/rt_limits.h /usr/include/limits.h
    422 ../include-MFadc/MFadc.o: /usr/include/memory.h /usr/include/string.h
    423 ../include-MFadc/MFadc.o: /usr/include/strings.h /usr/include/cxx/mutex.hxx
    424 ../include-MFadc/MFadc.o: /usr/include/math.h /usr/include/stdlib.h
    425 ../include-MFadc/MFadc.o: /CERN/root/include/TObject.h
    426 ../include-MFadc/MFadc.o: /CERN/root/include/TRandom.h
    427 ../include-MFadc/MFadc.o: ../../../include-Classes/Mdefine.h
    428 ../include-MFadc/MFadc.o: ../include-MTrigger/MTriggerDefine.h
    429 ../include-MFadc/MFadc.o: ../../../include-Classes/MMcEvt.h
    430 ../include-MFadc/MFadc.o: /usr/include/unistd.h /usr/include/sys/access.h
    431 ../include-MFadc/MFadc.o: /usr/include/fcntl.h /usr/include/sys/fcntl.h
    432 ../include-MFadc/MFadc.o: /usr/include/sys/mode.h /usr/include/cxx/iostream.h
    433 ../include-MFadc/MFadc.o: /CERN/root/include/TROOT.h
    434 ../include-MFadc/MFadc.o: /CERN/root/include/TApplication.h
    435 ../include-MFadc/MFadc.o: /CERN/root/include/TVirtualX.h
    436 ../include-MFadc/MFadc.o: /CERN/root/include/TGClient.h
    437 ../include-MFadc/MFadc.o: /CERN/root/include/GuiTypes.h
    438 ../include-MFadc/MFadc.o: /CERN/root/include/TH1.h
    439 ../include-MFadc/MFadc.o: /CERN/root/include/TObjArray.h
    440 ../include-MFadc/MFadc.o: ../include-MFadc/MGFadcSignal.hxx
    441 ../include-MFadc/MFadc.o: /CERN/root/include/TGListBox.h
    442 ../include-MFadc/MFadc.o: /CERN/root/include/TGFrame.h
    443 ../include-MFadc/MFadc.o: /CERN/root/include/TGIcon.h
    444 ../include-MFadc/MFadc.o: /CERN/root/include/TGLabel.h
    445 ../include-MFadc/MFadc.o: /CERN/root/include/TGButton.h
    446 ../include-MFadc/MFadc.o: /CERN/root/include/TGTextEntry.h
    447 ../include-MFadc/MFadc.o: /CERN/root/include/TGMsgBox.h
    448 ../include-MFadc/MFadc.o: /CERN/root/include/TGMenu.h
    449 ../include-MFadc/MFadc.o: /CERN/root/include/TGCanvas.h
    450 ../include-MFadc/MFadc.o: /CERN/root/include/TGComboBox.h
    451 ../include-MFadc/MFadc.o: /CERN/root/include/TGTab.h
    452 ../include-MFadc/MFadc.o: /CERN/root/include/TGSlider.h
    453 ../include-MFadc/MFadc.o: /CERN/root/include/TGDoubleSlider.h
    454 ../include-MFadc/MFadc.o: /CERN/root/include/TGFileDialog.h
    455 ../include-MFadc/MFadc.o: /CERN/root/include/TRootEmbeddedCanvas.h
    456 ../include-MFadc/MFadc.o: /CERN/root/include/TCanvas.h
    457 ../include-MFadc/MFadc.o: /CERN/root/include/TH2.h
    458 ../include-MFadc/MFadc.o: /CERN/root/include/TSystem.h
    459 ../include-MFadc/MFadc.o: /CERN/root/include/TEnv.h
    460 ../include-MFadc/MGFadcSignal.o: ../include-MFadc/MGFadcSignal.hxx
    461 ../include-MFadc/MGFadcSignal.o: /usr/include/stdlib.h
    462 ../include-MFadc/MGFadcSignal.o: /usr/include/standards.h
    463 ../include-MFadc/MGFadcSignal.o: /usr/include/getopt.h
    464 ../include-MFadc/MGFadcSignal.o: /usr/include/sys/types.h
    465 ../include-MFadc/MGFadcSignal.o: /usr/include/mach/machine/vm_types.h
    466 ../include-MFadc/MGFadcSignal.o: /usr/include/sys/select.h
    467 ../include-MFadc/MGFadcSignal.o: /usr/include/cxx/iostream.h
    468 ../include-MFadc/MGFadcSignal.o: /usr/include/cxx/iostream.hxx
    469 ../include-MFadc/MGFadcSignal.o: /usr/include/cxx/compnent.hxx
    470 ../include-MFadc/MGFadcSignal.o: /usr/include/cxx/iostream_impl.hxx
    471 ../include-MFadc/MGFadcSignal.o: /usr/include/cxx/cxxl.hxx
    472 ../include-MFadc/MGFadcSignal.o: /usr/include/cxx/cxxl_share.hxx
    473 ../include-MFadc/MGFadcSignal.o: /usr/include/cxx/messages.hxx
    474 ../include-MFadc/MGFadcSignal.o: /usr/include/stddef.h /usr/include/stdio.h
    475 ../include-MFadc/MGFadcSignal.o: /usr/include/sys/seek.h
    476 ../include-MFadc/MGFadcSignal.o: /usr/include/va_list.h
    477 ../include-MFadc/MGFadcSignal.o: /usr/include/sys/limits.h
    478 ../include-MFadc/MGFadcSignal.o: /usr/include/sys/machine/machlimits.h
    479 ../include-MFadc/MGFadcSignal.o: /usr/include/sys/syslimits.h
    480 ../include-MFadc/MGFadcSignal.o: /usr/include/sys/machine/machtime.h
    481 ../include-MFadc/MGFadcSignal.o: /usr/include/sys/rt_limits.h
    482 ../include-MFadc/MGFadcSignal.o: /usr/include/limits.h /usr/include/memory.h
    483 ../include-MFadc/MGFadcSignal.o: /usr/include/string.h /usr/include/strings.h
    484 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TROOT.h
    485 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TApplication.h
    486 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TVirtualX.h
    487 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TGListBox.h
    488 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TGClient.h
    489 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/GuiTypes.h
    490 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TGFrame.h
    491 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TGIcon.h
    492 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TGLabel.h
    493 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TGButton.h
    494 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TGTextEntry.h
    495 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TGMsgBox.h
    496 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TGMenu.h
    497 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TGCanvas.h
    498 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TGComboBox.h
    499 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TGTab.h
    500 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TGSlider.h
    501 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TGDoubleSlider.h
    502 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TGFileDialog.h
    503 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TRootEmbeddedCanvas.h
    504 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TCanvas.h
    505 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TH1.h
    506 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TH2.h
    507 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TRandom.h
    508 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TSystem.h
    509 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TEnv.h
    510 ../include-MFadc/MGFadcSignal.o: ../../../include-Classes/MMcEvt.h
    511 ../include-MFadc/MGFadcSignal.o: /usr/include/unistd.h
    512 ../include-MFadc/MGFadcSignal.o: /usr/include/sys/access.h
    513 ../include-MFadc/MGFadcSignal.o: /usr/include/fcntl.h
    514 ../include-MFadc/MGFadcSignal.o: /usr/include/sys/fcntl.h
    515 ../include-MFadc/MGFadcSignal.o: /usr/include/sys/mode.h
    516 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TObject.h
    517 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TPavesText.h
    518 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TObjArray.h
    519 ../include-MFadc/MGFadcSignal.o: /CERN/root/include/TLine.h
    520 ../../../include-Classes/MRawPixel.o: /usr/include/cxx/iostream.h
    521 ../../../include-Classes/MRawPixel.o: /usr/include/cxx/iostream.hxx
    522 ../../../include-Classes/MRawPixel.o: /usr/include/cxx/compnent.hxx
    523 ../../../include-Classes/MRawPixel.o: /usr/include/cxx/iostream_impl.hxx
    524 ../../../include-Classes/MRawPixel.o: /usr/include/cxx/cxxl.hxx
    525 ../../../include-Classes/MRawPixel.o: /usr/include/cxx/cxxl_share.hxx
    526 ../../../include-Classes/MRawPixel.o: /usr/include/cxx/messages.hxx
    527 ../../../include-Classes/MRawPixel.o: /usr/include/stddef.h
    528 ../../../include-Classes/MRawPixel.o: /usr/include/standards.h
    529 ../../../include-Classes/MRawPixel.o: /usr/include/stdio.h
    530 ../../../include-Classes/MRawPixel.o: /usr/include/sys/seek.h
    531 ../../../include-Classes/MRawPixel.o: /usr/include/va_list.h
    532 ../../../include-Classes/MRawPixel.o: /usr/include/sys/types.h
    533 ../../../include-Classes/MRawPixel.o: /usr/include/mach/machine/vm_types.h
    534 ../../../include-Classes/MRawPixel.o: /usr/include/sys/select.h
    535 ../../../include-Classes/MRawPixel.o: /usr/include/getopt.h
    536 ../../../include-Classes/MRawPixel.o: /usr/include/sys/limits.h
    537 ../../../include-Classes/MRawPixel.o: /usr/include/sys/machine/machlimits.h
    538 ../../../include-Classes/MRawPixel.o: /usr/include/sys/syslimits.h
    539 ../../../include-Classes/MRawPixel.o: /usr/include/sys/machine/machtime.h
    540 ../../../include-Classes/MRawPixel.o: /usr/include/sys/rt_limits.h
    541 ../../../include-Classes/MRawPixel.o: /usr/include/limits.h
    542 ../../../include-Classes/MRawPixel.o: /usr/include/memory.h
    543 ../../../include-Classes/MRawPixel.o: /usr/include/string.h
    544 ../../../include-Classes/MRawPixel.o: /usr/include/strings.h
    545 ../../../include-Classes/MRawPixel.o: /CERN/root/include/TClonesArray.h
    546 ../../../include-Classes/MRawPixel.o: /CERN/root/include/TString.h
    547 ../../../include-Classes/MRawPixel.o: /CERN/root/include/TRandom.h
    548 ../../../include-Classes/MRawPixel.o: ../../../include-Classes/MRawPixel.h
    549 ../../../include-Classes/MRawPixel.o: /CERN/root/include/TObject.h
    550 ../../../include-Classes/MRawPixel.o: ../../../include-Classes/Mdefine.h
    551 ../../../include-Classes/MRawEvt.o: /usr/include/cxx/iostream.h
    552 ../../../include-Classes/MRawEvt.o: /usr/include/cxx/iostream.hxx
    553 ../../../include-Classes/MRawEvt.o: /usr/include/cxx/compnent.hxx
    554 ../../../include-Classes/MRawEvt.o: /usr/include/cxx/iostream_impl.hxx
    555 ../../../include-Classes/MRawEvt.o: /usr/include/cxx/cxxl.hxx
    556 ../../../include-Classes/MRawEvt.o: /usr/include/cxx/cxxl_share.hxx
    557 ../../../include-Classes/MRawEvt.o: /usr/include/cxx/messages.hxx
    558 ../../../include-Classes/MRawEvt.o: /usr/include/stddef.h
    559 ../../../include-Classes/MRawEvt.o: /usr/include/standards.h
    560 ../../../include-Classes/MRawEvt.o: /usr/include/stdio.h
    561 ../../../include-Classes/MRawEvt.o: /usr/include/sys/seek.h
    562 ../../../include-Classes/MRawEvt.o: /usr/include/va_list.h
    563 ../../../include-Classes/MRawEvt.o: /usr/include/sys/types.h
    564 ../../../include-Classes/MRawEvt.o: /usr/include/mach/machine/vm_types.h
    565 ../../../include-Classes/MRawEvt.o: /usr/include/sys/select.h
    566 ../../../include-Classes/MRawEvt.o: /usr/include/getopt.h
    567 ../../../include-Classes/MRawEvt.o: /usr/include/sys/limits.h
    568 ../../../include-Classes/MRawEvt.o: /usr/include/sys/machine/machlimits.h
    569 ../../../include-Classes/MRawEvt.o: /usr/include/sys/syslimits.h
    570 ../../../include-Classes/MRawEvt.o: /usr/include/sys/machine/machtime.h
    571 ../../../include-Classes/MRawEvt.o: /usr/include/sys/rt_limits.h
    572 ../../../include-Classes/MRawEvt.o: /usr/include/limits.h
    573 ../../../include-Classes/MRawEvt.o: /usr/include/memory.h
    574 ../../../include-Classes/MRawEvt.o: /usr/include/string.h
    575 ../../../include-Classes/MRawEvt.o: /usr/include/strings.h
    576 ../../../include-Classes/MRawEvt.o: /CERN/root/include/TClonesArray.h
    577 ../../../include-Classes/MRawEvt.o: /CERN/root/include/TString.h
    578 ../../../include-Classes/MRawEvt.o: /CERN/root/include/TRandom.h
    579 ../../../include-Classes/MRawEvt.o: ../../../include-Classes/MRawEvt.h
    580 ../../../include-Classes/MRawEvt.o: /CERN/root/include/TObject.h
    581 ../../../include-Classes/MRawEvt.o: ../../../include-Classes/Mdefine.h
    582 ../../../include-Classes/MRawEvt.o: ../../../include-Classes/MRawPixel.h
    583 ../../../include-Classes/MMcEvt.o: /usr/include/cxx/iostream.h
    584 ../../../include-Classes/MMcEvt.o: /usr/include/cxx/iostream.hxx
    585 ../../../include-Classes/MMcEvt.o: /usr/include/cxx/compnent.hxx
    586 ../../../include-Classes/MMcEvt.o: /usr/include/cxx/iostream_impl.hxx
    587 ../../../include-Classes/MMcEvt.o: /usr/include/cxx/cxxl.hxx
    588 ../../../include-Classes/MMcEvt.o: /usr/include/cxx/cxxl_share.hxx
    589 ../../../include-Classes/MMcEvt.o: /usr/include/cxx/messages.hxx
    590 ../../../include-Classes/MMcEvt.o: /usr/include/stddef.h
    591 ../../../include-Classes/MMcEvt.o: /usr/include/standards.h
    592 ../../../include-Classes/MMcEvt.o: /usr/include/stdio.h
    593 ../../../include-Classes/MMcEvt.o: /usr/include/sys/seek.h
    594 ../../../include-Classes/MMcEvt.o: /usr/include/va_list.h
    595 ../../../include-Classes/MMcEvt.o: /usr/include/sys/types.h
    596 ../../../include-Classes/MMcEvt.o: /usr/include/mach/machine/vm_types.h
    597 ../../../include-Classes/MMcEvt.o: /usr/include/sys/select.h
    598 ../../../include-Classes/MMcEvt.o: /usr/include/getopt.h
    599 ../../../include-Classes/MMcEvt.o: /usr/include/sys/limits.h
    600 ../../../include-Classes/MMcEvt.o: /usr/include/sys/machine/machlimits.h
    601 ../../../include-Classes/MMcEvt.o: /usr/include/sys/syslimits.h
    602 ../../../include-Classes/MMcEvt.o: /usr/include/sys/machine/machtime.h
    603 ../../../include-Classes/MMcEvt.o: /usr/include/sys/rt_limits.h
    604 ../../../include-Classes/MMcEvt.o: /usr/include/limits.h
    605 ../../../include-Classes/MMcEvt.o: /usr/include/memory.h
    606 ../../../include-Classes/MMcEvt.o: /usr/include/string.h
    607 ../../../include-Classes/MMcEvt.o: /usr/include/strings.h
    608 ../../../include-Classes/MMcEvt.o: ../../../include-Classes/MMcEvt.h
    609 ../../../include-Classes/MMcEvt.o: /usr/include/stdlib.h
    610 ../../../include-Classes/MMcEvt.o: /usr/include/unistd.h
    611 ../../../include-Classes/MMcEvt.o: /usr/include/sys/access.h
    612 ../../../include-Classes/MMcEvt.o: /usr/include/fcntl.h
    613 ../../../include-Classes/MMcEvt.o: /usr/include/sys/fcntl.h
    614 ../../../include-Classes/MMcEvt.o: /usr/include/sys/mode.h
    615 ../../../include-Classes/MMcEvt.o: /CERN/root/include/TObject.h
    616 ../../../include-Classes/MMcTrig.o: /usr/include/cxx/iostream.h
    617 ../../../include-Classes/MMcTrig.o: /usr/include/cxx/iostream.hxx
    618 ../../../include-Classes/MMcTrig.o: /usr/include/cxx/compnent.hxx
    619 ../../../include-Classes/MMcTrig.o: /usr/include/cxx/iostream_impl.hxx
    620 ../../../include-Classes/MMcTrig.o: /usr/include/cxx/cxxl.hxx
    621 ../../../include-Classes/MMcTrig.o: /usr/include/cxx/cxxl_share.hxx
    622 ../../../include-Classes/MMcTrig.o: /usr/include/cxx/messages.hxx
    623 ../../../include-Classes/MMcTrig.o: /usr/include/stddef.h
    624 ../../../include-Classes/MMcTrig.o: /usr/include/standards.h
    625 ../../../include-Classes/MMcTrig.o: /usr/include/stdio.h
    626 ../../../include-Classes/MMcTrig.o: /usr/include/sys/seek.h
    627 ../../../include-Classes/MMcTrig.o: /usr/include/va_list.h
    628 ../../../include-Classes/MMcTrig.o: /usr/include/sys/types.h
    629 ../../../include-Classes/MMcTrig.o: /usr/include/mach/machine/vm_types.h
    630 ../../../include-Classes/MMcTrig.o: /usr/include/sys/select.h
    631 ../../../include-Classes/MMcTrig.o: /usr/include/getopt.h
    632 ../../../include-Classes/MMcTrig.o: /usr/include/sys/limits.h
    633 ../../../include-Classes/MMcTrig.o: /usr/include/sys/machine/machlimits.h
    634 ../../../include-Classes/MMcTrig.o: /usr/include/sys/syslimits.h
    635 ../../../include-Classes/MMcTrig.o: /usr/include/sys/machine/machtime.h
    636 ../../../include-Classes/MMcTrig.o: /usr/include/sys/rt_limits.h
    637 ../../../include-Classes/MMcTrig.o: /usr/include/limits.h
    638 ../../../include-Classes/MMcTrig.o: /usr/include/memory.h
    639 ../../../include-Classes/MMcTrig.o: /usr/include/string.h
    640 ../../../include-Classes/MMcTrig.o: /usr/include/strings.h
    641 ../../../include-Classes/MMcTrig.o: ../../../include-Classes/MMcTrig.hxx
    642 ../../../include-Classes/MMcTrig.o: /usr/include/stdlib.h
    643 ../../../include-Classes/MMcTrig.o: /usr/include/unistd.h
    644 ../../../include-Classes/MMcTrig.o: /usr/include/sys/access.h
    645 ../../../include-Classes/MMcTrig.o: /usr/include/fcntl.h
    646 ../../../include-Classes/MMcTrig.o: /usr/include/sys/fcntl.h
    647 ../../../include-Classes/MMcTrig.o: /usr/include/sys/mode.h
    648 ../../../include-Classes/MMcTrig.o: /CERN/root/include/TObject.h
    649 ../../../include-Classes/MMcTrig.o: ../../../Simulation/Detector/include-MTrigger/MTriggerDefine.h
    650214creadparam.o: creadparam.h /usr/include/cxx/iostream.h
    651215creadparam.o: /usr/include/cxx/iostream.hxx /usr/include/cxx/compnent.hxx
     
    665229creadparam.o: /usr/include/cxx/fstream.hxx /usr/include/cxx/fstream_impl.hxx
    666230creadparam.o: /usr/include/stdlib.h /usr/include/math.h /usr/include/float.h
    667 creadparam.o: /usr/include/fp_class.h ../include-GENERAL/jcmacros.h
    668 creadparam.o: ../include-GENERAL/jcdebug.h camera-v.h
     231creadparam.o: /usr/include/fp_class.h camera-v.h
    669232camera.o: /CERN/root/include/TROOT.h /CERN/root/include/TApplication.h
    670233camera.o: /CERN/root/include/TFile.h /CERN/root/include/TTree.h
    671 camera.o: /CERN/root/include/TBranch.h /CERN/root/include/TCanvas.h
    672 camera.o: ../include-MTrigger/MTrigger.hxx /usr/include/cxx/iostream.h
    673 camera.o: /usr/include/cxx/iostream.hxx /usr/include/cxx/compnent.hxx
    674 camera.o: /usr/include/cxx/iostream_impl.hxx /usr/include/cxx/cxxl.hxx
    675 camera.o: /usr/include/cxx/cxxl_share.hxx /usr/include/cxx/messages.hxx
    676 camera.o: /usr/include/stddef.h /usr/include/standards.h /usr/include/stdio.h
     234camera.o: /CERN/root/include/TBranch.h /CERN/root/include/TCanvas.h camera.h
     235camera.o: /usr/include/cxx/iostream.h /usr/include/cxx/iostream.hxx
     236camera.o: /usr/include/cxx/compnent.hxx /usr/include/cxx/iostream_impl.hxx
     237camera.o: /usr/include/cxx/cxxl.hxx /usr/include/cxx/cxxl_share.hxx
     238camera.o: /usr/include/cxx/messages.hxx /usr/include/stddef.h
     239camera.o: /usr/include/standards.h /usr/include/stdio.h
    677240camera.o: /usr/include/sys/seek.h /usr/include/va_list.h
    678241camera.o: /usr/include/sys/types.h /usr/include/mach/machine/vm_types.h
     
    682245camera.o: /usr/include/sys/rt_limits.h /usr/include/limits.h
    683246camera.o: /usr/include/memory.h /usr/include/string.h /usr/include/strings.h
    684 camera.o: /usr/include/math.h /usr/include/stdlib.h
    685 camera.o: /CERN/root/include/TObject.h /CERN/root/include/TRandom.h
    686 camera.o: /CERN/root/include/TH1.h ../../../include-Classes/Mdefine.h
    687 camera.o: ../../../include-Classes/MMcEvt.h /usr/include/unistd.h
    688 camera.o: /usr/include/sys/access.h /usr/include/fcntl.h
    689 camera.o: /usr/include/sys/fcntl.h /usr/include/sys/mode.h
    690 camera.o: ../include-MTrigger/MTriggerDefine.h ../include-MFadc/MFadc.hxx
    691 camera.o: /usr/include/cxx/stream.h /usr/include/cxx/stream.hxx
    692 camera.o: /usr/include/stdarg.h /usr/include/cxx/iomanip.hxx
    693 camera.o: /usr/include/cxx/iomanip_impl.hxx /usr/include/cxx/generic.hxx
    694 camera.o: /usr/include/cxx/mutex.hxx ../../../include-Classes/MRawEvt.h
    695 camera.o: /CERN/root/include/TClonesArray.h
    696 camera.o: ../../../include-Classes/MMcTrig.hxx
    697 camera.o: ../../../Simulation/Detector/include-MTrigger/MTriggerDefine.h
    698 camera.o: camera.h /usr/include/cxx/fstream.h /usr/include/cxx/fstream.hxx
    699 camera.o: /usr/include/cxx/fstream_impl.hxx /usr/include/dirent.h
    700 camera.o: /usr/include/libgen.h camera-v.h ../include-GENERAL/jcmacros.h
    701 camera.o: ../include-GENERAL/jcdebug.h creadparam.h /usr/include/float.h
    702 camera.o: /usr/include/fp_class.h ../Reflector/atm.h
    703 camera.o: ../Reflector/reflector-v.h moments.h
    704 camera.o: ../include-MC/MCEventHeader.hxx ../include-GENERAL/Rtypes.h
    705 camera.o: /usr/include/cxx/iomanip.h ../include-CORSIKA/COREventHeader.hxx
    706 camera.o: ../include-MC/MCCphoton.hxx ../include-GENERAL/ranlib.h
     247camera.o: /usr/include/cxx/fstream.h /usr/include/cxx/fstream.hxx
     248camera.o: /usr/include/cxx/fstream_impl.hxx /usr/include/stdlib.h
     249camera.o: /usr/include/stdarg.h /usr/include/math.h /usr/include/dirent.h
     250camera.o: /usr/include/unistd.h /usr/include/sys/access.h
     251camera.o: /usr/include/libgen.h camera-v.h creadparam.h /usr/include/float.h
     252camera.o: /usr/include/fp_class.h moments.h /usr/include/ranlib.h
     253camera.o: /usr/include/ar.h
  • trunk/MagicSoft/Simulation/Detector/Camera/camera.cxx

    r408 r435  
    2121//
    2222// $RCSfile: camera.cxx,v $
    23 // $Revision: 1.10 $
    24 // $Author: MagicSol $
    25 // $Date: 2000-07-04 14:10:20 $
     23// $Revision: 1.11 $
     24// $Author: harald $
     25// $Date: 2000-09-21 11:47:33 $
    2626//
    2727////////////////////////////////////////////////////////////////////////
     
    6262#include "MMcEvt.h"
    6363#include "MMcTrig.hxx"
     64#include "MHeaderTrig.hxx"
    6465
    6566/*!@"
     
    437438
    438439  int ntrigger = 0;           //@< number of triggers in the whole file
     440  int btrigger = 0;           //@< trigger flag
    439441  int ithrescount;            //@< counter for loop over threshold trigger
    440442  int imulticount;            //@< counter for loop over multiplicity trigger
    441443  int itopocount;             //@< counter for loop over topology trigger
     444  int icontrigger;            //@< number of trigger conditions to be analised
     445  UShort_t numPix;            //@< number of sets of fadc written counts
     446
    442447  float fpixelthres[TRIGGER_PIXELS];
    443448
     
    533538  Trigger_Loop = get_Trigger_Loop(&Trigger_loop_lthres, &Trigger_loop_uthres, &Trigger_loop_lmult, &Trigger_loop_umult, &Trigger_loop_ltop, &Trigger_loop_utop);
    534539
     540  icontrigger =(Trigger_loop_uthres-Trigger_loop_lthres+1)*
     541    (Trigger_loop_umult-Trigger_loop_lmult+1)*
     542    (Trigger_loop_utop-Trigger_loop_ltop+1);
     543
    535544  if (!Trigger_Loop){
    536545    get_Trigger_Single (&Trigger_threshold, &Trigger_multiplicity, &Trigger_topology);
     546    icontrigger=1;
    537547  }
    538548
     
    675685  MTrigger  Trigger(Trigger_gate_length, Trigger_response_ampl, Trigger_response_fwhm);         //@< A instance of the Class MTrigger
    676686
    677   MMcTrig *McTrig   = new MMcTrig() ;
     687  //  Initialise McTrig information class if we want to save trigger informtion
     688
     689  MMcTrig **McTrig;
     690  MHeaderTrig **HeaderTrig;
     691
     692  if (Write_McTrig){
     693
     694    McTrig = new MMcTrig * [icontrigger];
     695 
     696    for (i=0;i<icontrigger;i++) {
     697      McTrig[i] = new MMcTrig();
     698    }
     699
     700    HeaderTrig = new MHeaderTrig * [icontrigger];
     701 
     702    for (i=0;i<icontrigger;i++) {
     703      HeaderTrig[i] = new MHeaderTrig();
     704    }
     705  }
    678706
    679707  MFadc fadc ;                //@< A instance of the Class MFadc
     
    682710  // Prepare the raw data output
    683711
    684   MRawEvt *Evt   = new MRawEvt() ;
     712  MRawEvt **Evt;
     713
     714  if (Write_RawEvt) {
     715    Evt = new MRawEvt * [icontrigger];
     716
     717    for (i=0;i<icontrigger;i++) {
     718      Evt[i] = new MRawEvt();
     719    }
     720  }
     721
    685722  MMcEvt  *McEvt = new MMcEvt ();
    686723
     
    691728  TFile outfile_temp ( rootname , "RECREATE" );
    692729
    693  
     730  Int_t bsize=128000; Int_t split=1;
     731
     732  //      create a Tree for the Header Event
     733  TTree HeaderTree("HeaderTree","Header of Run");
     734 
     735  //      define branches of Header Tree
     736
     737  char help[4]; 
     738
     739  if(!Trigger_Loop && Write_McTrig){
     740   
     741    HeaderTree.Branch("MHeaderTrig","MHeaderTrig",
     742                 &HeaderTrig[0], bsize, split);   
     743  }
     744  if (Trigger_Loop && Write_McTrig){
     745    for(char branchname[10],i=0;i<icontrigger;i++){
     746     
     747      sprintf(help,"%i",i+1);
     748      strcpy (branchname, "MHeaderTrig");
     749      strcat (branchname, & help[0]);
     750      strcat (branchname, ".");
     751      HeaderTree.Branch(branchname,"MHeaderTrig",
     752                     &HeaderTrig[i], bsize, split);
     753    }
     754  } 
     755
     756  //  Fill branches
     757 
     758  if(!Trigger_Loop && Write_McTrig){
     759
     760    HeaderTrig[0]->SetTopology((Short_t) Trigger_topology);
     761    HeaderTrig[0]->SetMultiplicity((Short_t) Trigger_multiplicity);
     762    for(i=0;i<TRIGGER_PIXELS;i++){
     763      fpixelthres[i]=(Float_t)Trigger_threshold;
     764    }
     765    HeaderTrig[0]->SetThreshold( fpixelthres);
     766
     767  }
     768  if(Trigger_Loop && Write_McTrig){
     769
     770    for (int iconcount=0,ithrescount=0;ithrescount<=Trigger_loop_uthres-Trigger_loop_lthres;ithrescount++){
     771      for (imulticount=0;imulticount<=Trigger_loop_umult-Trigger_loop_lmult;imulticount++){
     772        for(itopocount=0;itopocount<=Trigger_loop_utop-Trigger_loop_ltop;itopocount++){
     773          HeaderTrig[iconcount]->SetTopology((Short_t) itopocount+Trigger_loop_ltop);
     774          HeaderTrig[iconcount]->SetMultiplicity((Short_t) imulticount+Trigger_loop_lmult);
     775          for(i=0;i<TRIGGER_PIXELS;i++){
     776            fpixelthres[i]=(Float_t)(ithrescount+Trigger_loop_lthres);
     777          }
     778          HeaderTrig[iconcount]->SetThreshold( fpixelthres);
     779          iconcount++;
     780        }
     781      }   
     782    }
     783  }
     784
     785  //  Fill the Header Tree with the current leaves of each branch
     786  HeaderTree.Fill() ;
     787           
     788
    694789  //      create a Tree for the Event data stream
    695790  TTree EvtTree("EvtTree","Events of Run");
    696791
    697   Int_t bsize=128000; Int_t split=1;
     792  if (Write_McEvt){
     793
     794    EvtTree.Branch("MMcEvt","MMcEvt",
     795                   &McEvt, bsize, split); 
     796  }
    698797
    699798  if(!Trigger_Loop){
    700799   
    701     EvtTree.Branch("MRawEvt","MRawEvt",
    702                    &Evt, bsize, split);
    703   }
    704 
    705   EvtTree.Branch("MMcEvt","MMcEvt",
    706                  &McEvt, bsize, split);
    707  
    708   EvtTree.Branch("MMcTrig","MMcTrig",
    709                  &McTrig, bsize, split);
    710 
    711  
    712   //      create a Tree for the Event data stream
    713   TTree EvtTree_loop("EvtTree","Events of Run");
     800    if (Write_RawEvt){
     801      EvtTree.Branch("MRawEvt","MRawEvt",
     802                     &Evt[0], bsize, split);
     803    }
     804    if (Write_McTrig){
     805      EvtTree.Branch("MMcTrig","MMcTrig",
     806                     &McTrig[0], bsize, split);
     807    }   
     808  }
     809  else{
     810    if (Write_McTrig){
     811      for(char branchname[10],i=0;i<icontrigger;i++){
     812     
     813        sprintf(help,"%i",i+1);
     814        strcpy (branchname, "MMcTrig");
     815        strcat (branchname, & help[0]);
     816        strcat (branchname, ".");
     817        EvtTree.Branch(branchname,"MMcTrig",
     818                       &McTrig[i], bsize, split);
     819      }
     820    }
     821  } 
    714822
    715823  if (Trigger_Loop && Write_RawEvt){
    716    
    717     EvtTree_loop.Branch("MRawEvt","MRawEvt",
    718                         &Evt, bsize, split);
    719    
    720     EvtTree_loop.Branch("MMcEvt","MMcEvt",
    721                         &McEvt, bsize, split);
    722    
    723     EvtTree_loop.Branch("MMcTrig","MMcTrig",
    724                         &McTrig, bsize, split);
    725    
     824    for(char branchname[10],i=0;i<icontrigger;i++){
     825     
     826      sprintf(help,"%i",i+1);
     827      strcpy (branchname, "MRawEvt");
     828      strcat (branchname, & help[0]);
     829      strcat (branchname, ".");
     830      EvtTree.Branch(branchname,"MRawEvt",
     831                     &Evt[i], bsize, split);
     832    }
    726833  }
    727834
     
    853960    if(!isA( flag, FLAG_START_OF_RUN )){
    854961
    855       //We write some trigger information in data file before exit
    856 
    857       datafile<<ntshow<<" event(s), with a total of "<<ntcph<<" C.photons"<<endl;
    858       if (Trigger_Loop){
    859         datafile<<"Fraction of triggers: "<<endl;
    860         for (ithrescount=Trigger_loop_lthres;ithrescount<=Trigger_loop_uthres;ithrescount++){
    861           for (imulticount=Trigger_loop_lmult;imulticount<=Trigger_loop_umult;imulticount++){
    862             for(itopocount=Trigger_loop_ltop;itopocount<=Trigger_loop_utop;itopocount++){
    863               datafile<<"Thres "<<ithrescount<<", Multi "<<imulticount<<", Topo"<<itopocount<<": ";
    864               datafile<<((float)ntriggerloop[ithrescount-Trigger_loop_lthres][imulticount-Trigger_loop_lmult][itopocount-Trigger_loop_ltop] / ((float)ntshow) * 100.0)<<"% ("<<ntriggerloop[ithrescount-Trigger_loop_lthres][imulticount-Trigger_loop_lmult][itopocount-Trigger_loop_ltop]<<" out of "<<ntshow<<")"<<endl;
    865             }
    866           }   
    867         }
    868       }
    869       else{
    870         datafile<<"Fraction of triggers: "<<((float)ntrigger) / ((float)ntshow) * 100.0<<" ("<<ntrigger<<" out of "<<ntshow<<" )"<<endl;
    871       }
    872962      //  We exit
    873       error( SIGNATURE, "Expected start of run flag, but found: %s\n", flag );
     963      //error( SIGNATURE, "Expected start of run flag, but found: %s\n", flag );
     964      //  We break the main loop
     965      cout<<"Warning: Expected start of run flag, but found:"<<flag<<endl;
     966      cout<<"         We break the main loop"<<endl;
     967      break;     
    874968    }
    875969    else { // found start of run
     
    10641158       
    10651159        cout << "Total number of phes: " << inumphe <<endl;
     1160       
    10661161
    10671162        //++++++++++++++++++++++++++++++++++++++++++++++++++
     
    10841179        //   
    10851180        Trigger.ElecNoise() ;
     1181       
    10861182        fadc.ElecNoise() ;
    1087        
     1183
    10881184        //   We study several trigger conditons
    10891185        if(Trigger_Loop){
    10901186          //  Loop over trigger threshold
    1091           for (ithrescount=Trigger_loop_lthres;ithrescount<=Trigger_loop_uthres;ithrescount++){
     1187          for (int iconcount=0,ithrescount=Trigger_loop_lthres;ithrescount<=Trigger_loop_uthres;ithrescount++){
    10921188            for (i=0;i<TRIGGER_PIXELS;i++)
    10931189              fpixelthres[i]=(float) ithrescount;
     
    11031199            //   CHANNEL_THRESHOLD.
    11041200            //
     1201           
     1202            //  Set trigger flags to zero
     1203            Lev1=Lev2=0;
     1204            btrigger=0;
    11051205
    11061206            //  loop over multiplicity of trigger configuration
     
    11101210
    11111211              Lev0=(Short_t) Trigger.ZeroLevel();
    1112               if (Lev0>0 || Write_All_Images){
    1113                 Lev1=Lev2=0;
    1114 
     1212              if (Lev0>0 || Write_All_Images || btrigger){
     1213               
    11151214                //  loop over topologies
    11161215                for(itopocount=Trigger_loop_ltop;itopocount<=Trigger_loop_utop;itopocount++){
     1216                  Lev1=Lev2=0;
     1217               
    11171218                  if(itopocount==0 && imulticount>7) continue;
    11181219                  if(itopocount==2 && imulticount<3) continue;
    11191220                  Trigger.SetTopology(itopocount);
    11201221                  Trigger.ClearFirst();
    1121 
     1222                 
    11221223                  //
    11231224                  //   Start the First Level Trigger simulation
    11241225                  //
    1125                   McTrig->SetFirstLevel (Lev1=Trigger.FirstLevel());
     1226                  Lev1=Trigger.FirstLevel();
     1227                  if (Write_McTrig)
     1228                    McTrig[iconcount]->SetFirstLevel (Lev1);
    11261229                  if(Lev1>0) {
     1230                    btrigger= 1;
    11271231                    ntriggerloop[ithrescount-Trigger_loop_lthres][imulticount-Trigger_loop_lmult][itopocount-Trigger_loop_ltop]++;
    1128                     McTrig->SetTopology(itopocount);
    1129                     McTrig->SetMultiplicity(imulticount);
    1130                     McTrig->SetThreshold(fpixelthres);           
    11311232                  }
    1132                   if(Lev1==0 && Write_All_Images){
    1133                     McTrig->SetTopology(itopocount);
    1134                     McTrig->SetMultiplicity(imulticount);
    1135                     McTrig->SetThreshold(fpixelthres);
     1233                 
     1234                  if(Lev1==0 && (Write_All_Images || btrigger)){
     1235                    btrigger= 1;
    11361236                    Lev1=1;
    11371237                  }
     1238                  numPix=0;
    11381239                  for (Int_t ii=0;ii<Lev1;ii++){
    1139                     McTrig->SetTime(Trigger.GetFirstLevelTime(ii));
    1140                     McTrig->SetPixel(Trigger.GetFirstLevelPixel(ii));
     1240                    if (Write_McTrig)
     1241                      McTrig[iconcount]->SetTime(Trigger.GetFirstLevelTime(ii),ii+1);
     1242                    if (Write_McTrig)
     1243                      McTrig[iconcount]->SetPixel(Trigger.GetFirstLevelPixel(ii),ii+1);
     1244                   
     1245                    //
     1246                    //  fill inside the class fadc the member output
     1247                    //
     1248
    11411249                    fadc.TriggeredFadc(Trigger.GetFirstLevelTime(ii));
    1142 
    1143                     //   fill pixel information
    1144                    
    1145                     for(i=0;i<iMAXNUMPIX;i++){
    1146                       for (j=0;j<SLICES_MFADC;j++){
    1147                         fadcValues[j]=fadc.GetFadcSignal(i,j);
    1148                       }
    1149                     }
    1150 
     1250           
    11511251                    if( Write_RawEvt ){
    11521252                      //
     
    11541254                      //
    11551255                     
    1156                       Evt->FillHeader ( (UShort_t) (ntshow + nshow) ,  20 ) ;
    1157                      
     1256                      Evt[iconcount]->FillHeader ( (UInt_t) (ntshow + nshow),(Float_t) (nshow*10000+iconcount*100+ii),0 );
    11581257                      //   fill pixel information
    1159                      
    1160                       Evt->FillPixel(i,fadcValues);
    1161                    
    1162                       //
    1163                       //   fill the MMcEvt with all information 
    1164                       //
    1165                    
    1166                       McEvt->Fill( (UShort_t) mcevth.get_primary() ,
    1167                                    mcevth.get_energy(),
    1168                                    mcevth.get_theta(),
    1169                                    mcevth.get_phi(),
    1170                                    mcevth.get_core(),
    1171                                    mcevth.get_coreX(),
    1172                                    mcevth.get_coreY(),
    1173                                    impactD,
    1174                                    ulli, ulli,
    1175                                    (UShort_t) ncph,
    1176                                    ulli,
    1177                                    (UShort_t) ncph) ;
    1178                       //   We don not count phtons out of the camera.   
    1179                      
    1180                       //
    1181                       //    write it out to the file outfile
    1182                       //
    1183                    
    1184                       EvtTree_loop.Fill() ;
    1185 
    1186                       //    clear all
    1187                       Evt->Clear() ;
    1188                       McEvt->Clear() ; 
     1258                      for(i=0;i<ct_NPixels;i++){
     1259                        for (j=0;j<SLICES_MFADC;j++){
     1260                          fadcValues[j]=fadc.GetFadcSignal(i,j);
     1261                        }
     1262                        Evt[iconcount]->FillPixel(i+1000*ii,&numPix,fadcValues);
     1263                      }
    11891264                    }
    11901265                  }
    11911266                  //
    1192                   //   fill the MMcEvt with all information 
     1267                  // Increase counter of analised trigger conditions
    11931268                  //
    1194                  
    1195                   McEvt->Fill( (UShort_t) mcevth.get_primary() ,
    1196                                mcevth.get_energy(),
    1197                                mcevth.get_theta(),
    1198                                mcevth.get_phi(),
    1199                                mcevth.get_core(),
    1200                                mcevth.get_coreX(),
    1201                                mcevth.get_coreY(),
    1202                                impactD,
    1203                                ulli, ulli,
    1204                                (UShort_t) ncph,
    1205                                ulli,
    1206                                (UShort_t) ncph) ;
    1207 
    1208                   EvtTree.Fill() ;
    1209        
    1210                   McTrig->Clear() ;
     1269                  iconcount++;
    12111270                }
    12121271              }
    1213               else break;
     1272              else{
     1273                break;
     1274              }
    12141275            }
     1276            if (!btrigger) break;
     1277          }
     1278          if (btrigger){
     1279
     1280            //
     1281            //   fill the MMcEvt with all information 
     1282            //
     1283
     1284            if (Write_McEvt) {
     1285              McEvt->Fill( (UShort_t) mcevth.get_primary() ,
     1286                           mcevth.get_energy(),
     1287                           mcevth.get_theta(),
     1288                           mcevth.get_phi(),
     1289                           mcevth.get_core(),
     1290                           mcevth.get_coreX(),
     1291                           mcevth.get_coreY(),
     1292                           impactD,
     1293                           ulli, ulli,
     1294                           (UShort_t) ncph,
     1295                           ulli,
     1296                           (UShort_t) ncph) ;
     1297            }
     1298            //  Fill the Tree with the current leaves of each branch
     1299            i=EvtTree.Fill() ;
     1300   
     1301            //  Clear the branches
     1302            if(Write_McTrig){
     1303              for(i=0;i<icontrigger;i++){
     1304                McTrig[i]->Clear() ;
     1305              }
     1306            }
     1307            if( Write_RawEvt ){
     1308              for(i=0;i<icontrigger;i++){
     1309                Evt[i]->Clear() ;
     1310              }
     1311            }
     1312            if (Write_McEvt)
     1313              McEvt->Clear() ; 
    12151314          }
    12161315        }
     
    12451344         
    12461345          if ( Lev0 > 0 || Write_All_Images) {
    1247             McTrig->SetFirstLevel (Lev1= Trigger.FirstLevel());
     1346            Lev1= Trigger.FirstLevel();
     1347            if (Write_McTrig)
     1348              McTrig[0]->SetFirstLevel (Lev1);
    12481349          }
    12491350          if (Lev1>0){
     
    12531354            Lev1=1;
    12541355          }
    1255           McTrig->SetTopology(Trigger.GetTopology());
    1256           McTrig->SetMultiplicity(Trigger.GetMultiplicity());
    1257           for(i=0;i<TRIGGER_PIXELS;i++){
    1258             fpixelthres[i]=Trigger.GetThreshold(i);
    1259           }
    1260           McTrig->SetThreshold(fpixelthres);
    1261 
     1356
     1357          numPix=0;
    12621358          for(Int_t ii=0;ii<Lev1;ii++){
    12631359            //  Loop over different level one triggers
     1360
     1361            //
     1362            //   fill inside class fadc the member output
     1363            //
    12641364            fadc.TriggeredFadc(Trigger.GetFirstLevelTime(ii));
    1265             McTrig->SetTime(Trigger.GetFirstLevelTime(ii));
    1266             McTrig->SetPixel(Trigger.GetFirstLevelPixel(ii));
    1267            
    1268             //
    1269             //  Fill the header of this event
    1270             //
    1271            
    1272             Evt->FillHeader ( (UShort_t) (ntshow + nshow) ,  20 ) ;
    1273            
    1274             //   fill pixel information
    1275            
    1276             for(i=0;i<iMAXNUMPIX;i++){
    1277               for (j=0;j<SLICES_MFADC;j++){
    1278                 fadcValues[j]=fadc.GetFadcSignal(i,j);
     1365
     1366            if (Write_McTrig)
     1367              McTrig[0]->SetTime(Trigger.GetFirstLevelTime(ii),ii+1);
     1368
     1369            if (Write_McTrig)
     1370              McTrig[0]->SetPixel(Trigger.GetFirstLevelPixel(ii),ii+1);
     1371
     1372            //  Fill Evt information
     1373
     1374            if (Write_RawEvt){
     1375
     1376              //
     1377              //  Fill the header of this event
     1378              //
     1379             
     1380              Evt[0]->FillHeader ( (UShort_t) (ntshow + nshow) ,  20 ) ;
     1381             
     1382              //   fill pixel information
     1383             
     1384              for(i=0;i<ct_NPixels;i++){
     1385                for (j=0;j<SLICES_MFADC;j++){
     1386                  fadcValues[j]=fadc.GetFadcSignal(i,j);
     1387                }
     1388                Evt[0]->FillPixel(i,&numPix,fadcValues);
    12791389              }
    1280               Evt->FillPixel(i,fadcValues);
    1281             }
    1282            
     1390            }       
    12831391            //
    12841392            //   fill the MMcEvt with all information 
    12851393            //
    12861394           
    1287             McEvt->Fill( (UShort_t) mcevth.get_primary() ,
    1288                          mcevth.get_energy(),
    1289                          mcevth.get_theta(),
    1290                          mcevth.get_phi(),
    1291                          mcevth.get_core(),
    1292                          mcevth.get_coreX(),
    1293                          mcevth.get_coreY(),
    1294                          impactD,
    1295                          ulli, ulli,
    1296                          (UShort_t) ncph,
    1297                          ulli,
    1298                          (UShort_t) ncph) ;
    1299            
     1395            if (Write_McEvt){
     1396              McEvt->Fill( (UShort_t) mcevth.get_primary() ,
     1397                           mcevth.get_energy(),
     1398                           mcevth.get_theta(),
     1399                           mcevth.get_phi(),
     1400                           mcevth.get_core(),
     1401                           mcevth.get_coreX(),
     1402                           mcevth.get_coreY(),
     1403                           impactD,
     1404                           ulli, ulli,
     1405                           (UShort_t) ncph,
     1406                           ulli,
     1407                           (UShort_t) ncph) ;
     1408            }
    13001409            //   We don not count photons out of the camera.   
    13011410           
     
    13271436           
    13281437            //    clear all
    1329             Evt->Clear() ;
    1330             McEvt->Clear() ;
     1438            if (Write_RawEvt) Evt[0]->Clear() ;
     1439            if (Write_McEvt) McEvt->Clear() ;
    13311440          }
    1332           McTrig->Clear() ;
     1441          if (Write_McTrig) McTrig[0]->Clear() ;
    13331442        }
    13341443               
     
    13831492          log(SIGNATURE, "End of file . . .\n");
    13841493          still_in_loop  = FALSE;
    1385          
     1494 
    13861495          if ((! Data_From_STDIN) && ( !feof(inputfile) )){
    13871496           
     
    13941503           
    13951504          }
     1505         
     1506          fread( flag, SIZE_OF_FLAGS, 1, inputfile );
    13961507
    13971508        } // end if found end of file
    13981509      } // end if found end of run
    1399 
    1400       fread( flag, SIZE_OF_FLAGS, 1, inputfile );
    14011510
    14021511    } // end if else found start of run
     
    14071516  //--
    14081517
     1518  HeaderTree.Write() ;
    14091519  EvtTree.Write() ;
    14101520  outfile_temp.Write() ;
     
    14161526 
    14171527  TFile outfile ( rootname , "RECREATE" );
     1528  HeaderTree.Write() ;
    14181529  EvtTree.Write() ;
    14191530  outfile.Write() ;
    14201531  outfile.Close() ;
    14211532
    1422   if(Trigger_Loop && Write_RawEvt){
    1423     //++
    1424     // put the Event to the special root file
    1425     //--
    1426     TFile outfile_loop( rootname_loop , "RECREATE" );
    1427     EvtTree_loop.Write() ;
    1428     outfile_loop.Write() ;
    1429 
    1430     outfile_loop.Close() ;
    1431   }
    14321533  // close input file
    14331534 
     
    23522453  b = pcam->dpixdiameter_cm / 2. * pcam->dpixsizefactor[ipixnum];
    23532454  a = pcam->dpixdiameter_cm / sqrt(3.) * pcam->dpixsizefactor[ipixnum];
    2354   c = 1. - 1./sqrt(3.);
     2455  c = 1./sqrt(3.);
     2456
    23552457  if((ipixnum < 0)||(ipixnum >= pcam->inumpixels)){
    23562458    fprintf(stderr, "Error in bpoint_is_in_pix: invalid pixel number %d\n", ipixnum);
     
    25432645    cx = photon.get_x();
    25442646    cy = photon.get_y();
    2545          
     2647 
    25462648    // get wavelength
    25472649         
     
    25732675      }
    25742676    }
    2575            
     2677
    25762678    if(ipixnum==-1){// the photon is in none of the pixels
    25772679
     
    25852687      continue;
    25862688    }
    2587                  
     2689
     2690    if(ipixnum==0) {// the phton is in the central pixel, which is not used for trigger
     2691      // read next CPhoton
     2692
     2693      fread ( flag, SIZE_OF_FLAGS, 1, sp );
     2694     
     2695      // go to beginning of loop, the photon is lost
     2696      continue;
     2697    }
    25882698    //+++
    25892699    // QE simulation
     
    25962706    // check if wl is inside table; outside the table, QE is assumed to be zero
    25972707
     2708   
    25982709    if((wl < qept[0][0]) || (wl > qept[0][pointsQE-1])){
    25992710
     
    26192730
    26202731    qe = lin_interpol(qept[0][k-1], qept[1][k-1], qept[0][k], qept[1][k], wl) / 100.0;
    2621    
     2732
    26222733    // if random > quantum efficiency, reject it
    2623                
    2624     if ( RandomNumber > qe ) {
     2734
     2735    if ( (RandomNumber) > qe ) {
    26252736
    26262737      // cout << " lost\n";
    2627            
     2738
    26282739      // read next Photon
    26292740
     
    29553066//
    29563067// $Log: not supported by cvs2svn $
     3068// Revision 1.10  2000/07/04 14:10:20  MagicSol
     3069// Some changes have been done in the root output file. The RawEvt tree is only
     3070// stored in the single trigger mode.
     3071// The trigger input parameters are also given by the general input card.
     3072// The diffuse NSB and the star NSB have been decoupled. Now the contribution of
     3073// each one can be studied seperately.
     3074//
    29573075// Revision 1.9  2000/06/13 13:25:24  blanch
    29583076// The multiple arrays have been replaced, since they do not work
  • trunk/MagicSoft/Simulation/Detector/Camera/creadparam.cxx

    r409 r435  
    1919//=
    2020//= $RCSfile: creadparam.cxx,v $
    21 //= $Revision: 1.5 $
    22 //= $Author: MagicSol $
    23 //= $Date: 2000-07-04 14:13:02 $
     21//= $Revision: 1.6 $
     22//= $Author: harald $
     23//= $Date: 2000-09-21 11:47:33 $
    2424//=
    2525//=//////////////////////////////////////////////////////////////////////
     
    8989static int Write_All_Images = FALSE;
    9090static int Write_McEvt  = TRUE;
    91 static int Write_McTrig = TRUE;
     91static int Write_McTrig = FALSE;
    9292static int Write_RawEvt = FALSE;
    9393static int Write_All_Data = FALSE;
     
    245245      // get value of <NSB> (in photons)
    246246      sscanf(line, "%s %f", token, &meanNSB);
    247       simulateNSB = TRUE;
    248247
    249248      break;
     
    412411      // change boolean value
    413412      Trigger_Loop = TRUE;
     413      Write_RawEvt = FALSE;
    414414
    415415      break;
     
    422422      // change boolean value
    423423      Trigger_Loop = FALSE;
     424      Write_RawEvt = TRUE;
    424425
    425426      break;
     
    10581059//
    10591060// $Log: not supported by cvs2svn $
     1061// Revision 1.5  2000/07/04 14:13:02  MagicSol
     1062// It reads from the general input card the parameters for the
     1063// trigger analysi.
     1064//
    10601065// Revision 1.4  2000/05/11 14:22:33  blanch
    10611066// New input card option has been introduced:
  • trunk/MagicSoft/Simulation/Detector/Camera/input.card

    r411 r435  
    11camera 0.3
    22# Reflector file that the program reads
    3 input_file /hdb1/users/blanch/Ref_pro/prova.rfl
     3input_file /hd02/Maggi/RefData/prot_15.rfl
    44#
    55# Reflector format file that gives the NSB from the stars
    6 starfield_file    /hdb1/users/blanch/Starfield/Ref_stf1
     6#starfield_file    /hdb1/users/blanch/Starfield/Ref_stf1
    77#
    88# Output file with a brief summary about trigger
    9 data_file /hdb1/users/blanch/test.dat
     9data_file test.dat
    1010#
    1111# Root file with the output information
    12 root_file /hdb1/users/blanch/Cam_test.root
     12root_file Cam_test.root
    1313#
    1414# Information about the telescope
     
    1717# Diskriminator and response properties (gate_lentgh, amplitude and fwhm)
    1818# needed for the trigger studies
    19 trigger_prop 3.0 1.0 2.0
     19trigger_prop 6.0 1.0 2.0
    2020#
    2121# Trigger loop mode (theshold, multiplicity and topology)
    22 trigger_loop 0 2 4 4 1 1
     22trigger_loop 4 4 4 4 0 2
    2323#
    2424# Single trigger mode (theshold, multiplicity and topology)
     
    2828#write_all_images
    2929#
     30# Do not write Mc information
     31# nowrite_McEvt
     32#
     33# Write Mc trigger information
     34write_McTrig
     35#
    3036# Analised pixels
    31 ana_pixels 595
     37ana_pixels 577
    3238#
    3339# Switch on NSB
     
    3743nsb_off
    3844# Number of photon from the diffuse NSB
    39 nsb_mean 0.09
     45#nsb_mean 0.9
    4046#
    4147# Show signal of diskriminator on the screen
Note: See TracChangeset for help on using the changeset viewer.