Changeset 9332 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 02/13/09 17:46:02 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJSimulation.cc
r9328 r9332 184 184 hist.SetLog(kTRUE, kTRUE, kFALSE); 185 185 186 hist.AddHist(" MCorsikaEvtHeader.fX/100","MCorsikaEvtHeader.fY/100");186 hist.AddHist("-MCorsikaEvtHeader.fX/100","-MCorsikaEvtHeader.fY/100"); 187 187 hist.SetDrawOption("colz"); 188 188 hist.InitName("Impact;Impact;Impact"); … … 361 361 mhew.SetTitle("Time between first and last photon hitting a detector"); 362 362 363 MFillH fillh1(&mhn1, "", "Fill H1");363 MFillH fillh1(&mhn1, "", "FillCorsika"); 364 364 MFillH fillh2(&mhn2, "", "FillH2"); 365 365 MFillH fillh3(&mhn3, "", "FillH3"); 366 366 MFillH filltp(&mhtp, "", "FillTriggerPos"); 367 367 MFillH fillew(&mhew, "", "FillEvtWidth"); 368 fillh1.SetNameTab(" H1", "Distribution of Muons as simulated");369 fillh2.SetNameTab(" H2", "Distribution of Muons as available after all");370 fillh3.SetNameTab(" H3", "Distribution after trigger");371 filltp.SetNameTab("TrigPos", "TriggerPosition w.r.t the first photon");372 fillew.SetNameTab("EvtWidth", "Time between first and last photon hitting a detector");368 fillh1.SetNameTab("Corsika", "Distribution as simulated by Corsika"); 369 fillh2.SetNameTab("Detectable", "Distribution of events hit the detector"); 370 fillh3.SetNameTab("Triggered", "Distribution of triggered events"); 371 filltp.SetNameTab("TrigPos", "TriggerPosition w.r.t the first photon"); 372 fillew.SetNameTab("EvtWidth", "Time between first and last photon hitting a detector"); 373 373 374 374 MHPhotonEvent planeG(1); // Get from MaxImpact … … 457 457 write3a.AddContainer("MMcRunHeader", "RunHeaders"); 458 458 write3a.AddContainer("MMcCorsikaRunHeader", "RunHeaders", kFALSE); 459 write3a.AddContainer("ElectronicNoise", "RunHeaders", kFALSE); 459 460 write3a.AddContainer("MMcEvt", "Events", kFALSE); 460 461 … … 511 512 // ------------------------------------------------------------------- 512 513 514 // FIXME: Remove isolated pixels 513 515 MImgCleanStd clean(7, 4.5); 514 516 clean.SetMethod(MImgCleanStd::kAbsolute); … … 613 615 if (fCamera) 614 616 { 617 // FIXME: MHCollectionArea Trigger Area! 615 618 if (header.IsDataRun()) 616 619 tasks.AddToList(&fillh3); -
trunk/MagicSoft/Mars/mjobs/MJStar.cc
r9292 r9332 300 300 // Effective on-time need its own not to be skipped by (eg) image cleaning 301 301 // Muons needs its own to have a unique SetReadyToSave 302 const TString rule(Form("s/( [0-9]+(_M[12])?_[0-9.]+)_Y_(.*[.]root)$/%s\\/$1_I_$3/", Esc(fPathOut).Data()));302 const TString rule(Form("s/(([0-9]+_)?(M[12]_)?[0-9.]+)_Y_(.*[.]root)$/%s\\/$1_I_$4/", Esc(fPathOut).Data())); 303 303 MWriteRootFile write( 2, rule, fOverwrite?"RECREATE":"NEW", "Image parameters"); 304 304 MWriteRootFile writet(2, rule, fOverwrite?"RECREATE":"NEW", "Image parameters"); // EffectiveOnTime … … 333 333 // Monte Carlo Data 334 334 write.AddContainer("MMcEvt", "Events"); 335 write.AddContainer("MMcTrig", "Events" );335 write.AddContainer("MMcTrig", "Events", kFALSE); 336 336 // Monte Carlo Run Headers 337 337 write.AddContainer("MMcRunHeader", "RunHeaders"); 338 write.AddContainer("MMcTrigHeader", "RunHeaders" );339 write.AddContainer("MMcFadcHeader", "RunHeaders" );340 write.AddContainer("MMcConfigRunHeader", "RunHeaders" );338 write.AddContainer("MMcTrigHeader", "RunHeaders", kFALSE); 339 write.AddContainer("MMcFadcHeader", "RunHeaders", kFALSE); 340 write.AddContainer("MMcConfigRunHeader", "RunHeaders", kFALSE); 341 341 write.AddContainer("MMcCorsikaRunHeader", "RunHeaders"); 342 342 } … … 368 368 // Monte Carlo Data 369 369 writem.AddContainer("MMcEvt", "Muons"); 370 writem.AddContainer("MMcTrig", "Muons" );370 writem.AddContainer("MMcTrig", "Muons", kFALSE); 371 371 } 372 372
Note:
See TracChangeset
for help on using the changeset viewer.