Ignore:
Timestamp:
06/17/05 13:33:56 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mjobs
Files:
2 edited

Legend:

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

    r7142 r7169  
    331331    write->AddContainer("MPointingPos",   "Events");
    332332    write->AddContainer("MHillasSrcAnti", "Events", kFALSE);
     333    write->AddContainer("MImagePar",      "Events", kFALSE);
    333334    write->AddContainer("MNewImagePar",   "Events", kFALSE);
    334335    write->AddContainer("MNewImagePar2",  "Events", kFALSE);
     
    338339    write->AddContainer("MMcEvt",         "Events", kFALSE);
    339340    write->AddContainer("DataType",       "Events");
    340 
    341     // Should not be the default: Either as option, or as
    342     // setup from resource file
    343     // write.AddContainer("MHillasExt",    "Events");
    344     // write.AddContainer("MImagePar",     "Events");
    345     // write.AddContainer("MNewImagePar",  "Events");
    346341}
    347342
     
    439434    // Possible source position (eg. Wobble Mode)
    440435    MPointingPos source("MSourcePos");
    441     if (set.GetSourcePos(source))
    442     {
     436    if (set.HasSource())
     437    {
     438        if (!set.GetSourcePos(source))
     439            return kFALSE;
    443440        plist.AddToList(&source);
    444441        *fLog << inf << "Using Source Position: " << source.GetTitle() << endl;
  • trunk/MagicSoft/Mars/mjobs/MJSpectrum.cc

    r7148 r7169  
    637637    TString str;
    638638    str += Form("(%.2f#pm%.2f)10^{%d}", p1/exp, e1/exp, np);
    639     str += Form("(\\frac{E}{TeV})^{-%.2f#pm%.2f}", p0, e0);
     639    str += Form("(\\frac{E}{TeV})^{%.2f#pm%.2f}", p0, e0);
    640640    str += "\\frac{ph}{TeVm^{2}s}";
    641641
     
    814814            TLatex tex;
    815815            tex.SetBit(TLatex::kTextNDC);
    816             tex.DrawLatex(0.7, 0.93, Form("P(\\chi^{2})=%.0f", p*100));
     816            tex.DrawLatex(0.75, 0.93, Form("P(\\chi^{2})=%.0f%%", p*100));
    817817        }
    818818    }
     
    10631063    }
    10641064
     1065    gLog.Separator("Energy Estimator");
     1066    if (plist.FindObject("EstimateEnergy"))
     1067        plist.FindObject("EstimateEnergy")->Print();
     1068
     1069    gLog.Separator("Spectrum");
     1070
    10651071    // -------------------------- Spectrum ----------------------------
    10661072
Note: See TracChangeset for help on using the changeset viewer.