Ignore:
Timestamp:
02/13/09 17:46:02 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mjobs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJSimulation.cc

    r9328 r9332  
    184184    hist.SetLog(kTRUE, kTRUE, kFALSE);
    185185
    186     hist.AddHist("MCorsikaEvtHeader.fX/100","MCorsikaEvtHeader.fY/100");
     186    hist.AddHist("-MCorsikaEvtHeader.fX/100","-MCorsikaEvtHeader.fY/100");
    187187    hist.SetDrawOption("colz");
    188188    hist.InitName("Impact;Impact;Impact");
     
    361361    mhew.SetTitle("Time between first and last photon hitting a detector");
    362362
    363     MFillH fillh1(&mhn1, "", "FillH1");
     363    MFillH fillh1(&mhn1, "", "FillCorsika");
    364364    MFillH fillh2(&mhn2, "", "FillH2");
    365365    MFillH fillh3(&mhn3, "", "FillH3");
    366366    MFillH filltp(&mhtp, "", "FillTriggerPos");
    367367    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");
    373373
    374374    MHPhotonEvent planeG(1);     // Get from MaxImpact
     
    457457    write3a.AddContainer("MMcRunHeader",        "RunHeaders");
    458458    write3a.AddContainer("MMcCorsikaRunHeader", "RunHeaders", kFALSE);
     459    write3a.AddContainer("ElectronicNoise",     "RunHeaders", kFALSE);
    459460    write3a.AddContainer("MMcEvt",              "Events",     kFALSE);
    460461
     
    511512    // -------------------------------------------------------------------
    512513
     514    // FIXME: Remove isolated pixels
    513515    MImgCleanStd clean(7, 4.5);
    514516    clean.SetMethod(MImgCleanStd::kAbsolute);
     
    613615    if (fCamera)
    614616    {
     617        // FIXME: MHCollectionArea Trigger Area!
    615618        if (header.IsDataRun())
    616619            tasks.AddToList(&fillh3);
  • trunk/MagicSoft/Mars/mjobs/MJStar.cc

    r9292 r9332  
    300300    // Effective on-time need its own not to be skipped by (eg) image cleaning
    301301    // 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()));
    303303    MWriteRootFile write( 2, rule, fOverwrite?"RECREATE":"NEW", "Image parameters");
    304304    MWriteRootFile writet(2, rule, fOverwrite?"RECREATE":"NEW", "Image parameters"); // EffectiveOnTime
     
    333333        // Monte Carlo Data
    334334        write.AddContainer("MMcEvt",                "Events");
    335         write.AddContainer("MMcTrig",               "Events");
     335        write.AddContainer("MMcTrig",               "Events", kFALSE);
    336336        // Monte Carlo Run Headers
    337337        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);
    341341        write.AddContainer("MMcCorsikaRunHeader",   "RunHeaders");
    342342    }
     
    368368        // Monte Carlo Data
    369369        writem.AddContainer("MMcEvt",               "Muons");
    370         writem.AddContainer("MMcTrig",              "Muons");
     370        writem.AddContainer("MMcTrig",              "Muons", kFALSE);
    371371    }
    372372
Note: See TracChangeset for help on using the changeset viewer.