Changeset 9362 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 02/22/09 23:36:01 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJSimulation.cc
r9359 r9362 215 215 { 216 216 // Common run headers 217 write.AddContainer("MMcCorsikaRunHeader", "RunHeaders", kFALSE); 217 218 write.AddContainer("MCorsikaRunHeader", "RunHeaders", kFALSE); 218 219 write.AddContainer("MRawRunHeader", "RunHeaders"); … … 346 347 // ------------------------------------------------------------------- 347 348 348 MBinning binse( 100, 1, 100000, "BinningEnergy", "log"); 349 MBinning binss( 100, 1, 10000000, "BinningSize", "log"); 349 MBinning binse( 100, 1, 100000, "BinningEnergy", "log"); 350 MBinning binsth( 35, 0.9, 900000, "BinningThreshold", "log"); 351 MBinning binsee( 35, 0.9, 900000, "BinningEnergyEst", "log"); 352 MBinning binss( 100, 1, 10000000, "BinningSize", "log"); 350 353 MBinning binsi( 100, -500, 500, "BinningImpact"); 351 354 MBinning binsh( 150, 0, 50, "BinningHeight"); … … 353 356 MBinning binszd( 70, 0, 70, "BinningZd"); 354 357 MBinning binsvc( 45, 0, 9, "BinningViewCone"); 355 MBinning binsew(150, 0, 50, "BinningEvtWidth"); 358 MBinning binsel(150, 0, 50, "BinningTotLength"); 359 MBinning binsew(150, 0, 15, "BinningMedLength"); 356 360 MBinning binsd("BinningDistC"); 357 361 MBinning binsd0("BinningDist"); 358 362 MBinning binstr("BinningTrigPos"); 359 363 364 plist.AddToList(&binsee); 360 365 plist.AddToList(&binse); 366 plist.AddToList(&binsth); 361 367 plist.AddToList(&binss); 362 368 plist.AddToList(&binsi); … … 365 371 plist.AddToList(&binsaz); 366 372 plist.AddToList(&binsvc); 373 plist.AddToList(&binsel); 367 374 plist.AddToList(&binsew); 368 375 plist.AddToList(&binstr); … … 380 387 381 388 MH3 mhew("MPhotonStatistics.fLength"); 382 mhew.SetName(" EvtWidth");383 mhew.SetTitle("Time between first and last photon hitting a detector ");389 mhew.SetName("TotLength"); 390 mhew.SetTitle("Time between first and last photon hitting a detector;L [ns]"); 384 391 385 392 MH3 mhed("MPhotonStatistics.fTimeMedDev"); 386 mhed.SetName("EvtMedDev;EvtWidth"); 393 mhed.SetName("MedLength"); 394 mhed.SetTitle("Median deviation (1\\sigma);L [ns]"); 387 395 388 396 MFillH fillh1(&mhn1, "", "FillCorsika"); … … 488 496 // NSB = 0.2*6e-3 489 497 498 // FIXME: Simulate photons before QE! 499 490 500 MSimRandomPhotons simnsb; 491 501 // simnsb.SetFreq(0.005, 0.004); // 5MHz/cm^2, 4MHz … … 530 540 hcalc.Disable(MHillasCalc::kCalcConc); 531 541 532 MHCamEvent evt0a(/*10*/ 0, "Signal", "Average signal;;S [ph]");533 MHCamEvent evt0c(/*10*/ 0, "MaxSignal", "Maximum signal;;S [ph]");542 MHCamEvent evt0a(/*10*/3, "Signal", "Average signal (absolute);;S [ph]"); 543 MHCamEvent evt0c(/*10*/3, "MaxSignal", "Maximum signal (absolute);;S [ph]"); 534 544 MHCamEvent evt0d(/*11*/8, "ArrTm", "Time after first photon;;T [ns]"); 535 545 evt0a.SetErrorSpread(kFALSE); … … 653 663 //tasks.AddToList(&fillx2); 654 664 tasks.AddToList(&fillx3); 665 //tasks.AddToList(&fillx4); 666 //tasks.AddToList(&fillx5); 667 } 668 if (header.IsDataRun()) 669 { 655 670 tasks.AddToList(&fillth); 656 671 tasks.AddToList(&fillca); 657 //tasks.AddToList(&fillx4);658 //tasks.AddToList(&fillx5);659 672 } 660 673 //-------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.