Changeset 7566


Ignore:
Timestamp:
03/03/06 17:06:04 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7565 r7566  
    2626     - fixed the scaling. MSrcPosCam has to be in mm
    2727
     28   * ganymed.rc:
     29     - added line and comments with new resource
     30
    2831
    2932
  • trunk/MagicSoft/Mars/NEWS

    r7544 r7566  
    2626   - ganymed: now stops in requested source isn't found in catalog file
    2727
    28    - ganymed: fixed plot for Eý.dN/dE. The spectrum was multiplied with two
     28   - ganymed: fixed plot for E^2*dN/dE. The spectrum was multiplied with two
    2929     times the bin-width instead of the absolute energy
     30
     31   - ganymed: added a new option for on-/off-observations
     32       MJCut.RandomSourcePosition
     33     If switched on the distribution of observation time of the source
     34     position in the camera is calculated from the on-data and randomly
     35     applied with this distrbution to the off-data.
     36
    3037
    3138
  • trunk/MagicSoft/Mars/ganymed.rc

    r7413 r7566  
    8282MHDisp.Smearing: 0.03
    8383#MHDisp.Wobble:   Yes
     84
     85# -------------------------------------------------------------------------
     86# To get use a random source position in the off data with the distribution
     87# in the camera of the on-data
     88# -------------------------------------------------------------------------
     89#MJCut.RandomSourcePosition: Yes
    8490
    8591# -------------------------------------------------------------------------
  • trunk/MagicSoft/Mars/mjobs/MJCut.cc

    r7560 r7566  
    655655    taskenv3.SetDefault(fCalcDisp);
    656656
     657    //    MFillH fill0a("OnPos [MHSrcPosCam]", "MSrcPosCam", "FillSrcPosCam");
    657658    MFillH fill1a("MHHillasOffPre  [MHHillas]",      "MHillas",      "FillHillasPre");
    658659    MFillH fill2a("MHHillasOffPost [MHHillas]",      "MHillas",      "FillHillasPost");
     
    692693    tlist2.AddToList(&scor);
    693694    tlist2.AddToList(&srcrndm);
     695    //if (fRndmSrcPos && !fIsWobble)
     696    //   tlist2.AddToList(&fill0a);
    694697    tlist2.AddToList(&hcalc);
    695698    if (fIsWobble)
     
    863866
    864867    tlist.Replace(&readon);
     868    if (fRndmSrcPos && !fIsWobble)
     869    {
     870//        tlist2.RemoveFromList(&fill0a);
     871        tlist2.RemoveFromList(&srcrndm);
     872    }
    865873    if (!fWriteOnly)
    866874    {
  • trunk/MagicSoft/Mars/mpointing/MHSrcPosCam.cc

    r7558 r7566  
    137137    }
    138138
     139//    if (fName=="MHSrcPosCam")
     140//    {
    139141    fXY += cam->GetXY();
    140142    fNum++;
     
    149151
    150152    fHist.Fill(fXY.X(), fXY.Y(), fEffOnTime->GetVal());
     153//    }
     154//    else
     155//        fHist.Fill(cam->GetX()*fConvMm2Deg, cam->GetY()*fConvMm2Deg);
    151156
    152157    fXY            = TVector2();
     
    159164void MHSrcPosCam::Paint(Option_t *)
    160165{
    161     MH::SetPalette("glow1");
     166    MH::SetPalette("glow1", 99);
    162167}
    163168
Note: See TracChangeset for help on using the changeset viewer.