Changeset 6941


Ignore:
Timestamp:
04/14/05 10:30:20 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6938 r6941  
    2121
    2222                                                 -*-*- END OF LINE -*-*-
     23
     24 2005/04/14 Thomas Bretz
     25
     26   * mjobs/MJCut.cc:
     27     - added MPointingPos to output
     28
     29
    2330
    2431 2005/04/13 Thomas Bretz
  • trunk/MagicSoft/Mars/mjobs/MJCut.cc

    r6917 r6941  
    7474MJCut::MJCut(const char *name, const char *title)
    7575    : fStoreSummary(kFALSE), fStoreResult(kFALSE), fWriteOnly(kFALSE),
    76     fIsWobble(kFALSE), fFullDisplay(kFALSE), fEstimateEnergy(0),
    77     fCalcHadronness(0)
     76    fIsWobble(kFALSE), fFullDisplay(kFALSE), /*fSubstraction(kFALSE),*/
     77    fEstimateEnergy(0), fCalcHadronness(0)
    7878{
    7979    fName  = name  ? name  : "MJCut";
     
    253253    EnableStorageOfResult(GetEnv("ResultFile", fStoreResult));
    254254    EnableWobbleMode(GetEnv("WobbleMode", fIsWobble));
     255    EnableFullDisplay(GetEnv("FullDisplay", fFullDisplay));
     256    //EnableSubstraction(GetEnv("HistogramSubstraction", fSubstraction));
    255257
    256258    return kTRUE;
     
    276278    write->AddContainer("MHillas",        "Events");
    277279    write->AddContainer("MHillasSrc",     "Events");
     280    write->AddContainer("MPointingPos",   "Events");
    278281    write->AddContainer("MHillasSrcAnti", "Events", kFALSE);
    279282    write->AddContainer("MNewImagePar",   "Events", kFALSE);
     
    542545    fillvs.SetNameTab("OnTime");
    543546
    544 /*
    545     MWeight weight;
    546     weight.SetWeight(-1);
     547    /*
     548    MParameterD weight;
     549    weight.SetVal(-1);
    547550    fill2a.SetWeight(&weight);
    548551    fill3a.SetWeight(&weight);
    549   */
     552    fill4a.SetWeight(&weight);
     553    fill5a.SetWeight(&weight);
     554    fill6a.SetWeight(&weight);
     555    fill7a.SetWeight(&weight);
     556    if (fSubstraction)
     557    {
     558        fill2a.SetNameTab("PostCut-");
     559        fill3a.SetNameTab("VsSize-");
     560        fill4a.SetNameTab("HilExt-");
     561        fill5a.SetNameTab("HilSrc-");
     562        fill6a.SetNameTab("ImgPar-");
     563        fill7a.SetNameTab("NewPar-");
     564    }
     565    */
    550566    MFillH falpha2("MHAlpha", "MHillasSrc", "FillAlpha");
    551567    MFillH ffs2("MHFalseSource", "MHillas", "FillFS");
Note: See TracChangeset for help on using the changeset viewer.