Changeset 9824 for trunk/Mars


Ignore:
Timestamp:
08/10/10 12:54:07 (14 years ago)
Author:
tbretz
Message:
Replaced build in number by MGeomCam.fConvMm2Deg
Location:
trunk/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/Changelog

    r9823 r9824  
    4040     - replaced cvs by svn in diff
    4141
     42   * mjtrain/MJTrainDisp.cc:
     43     - don't use build in conversion from mm to degree but
     44       MGeomCam.fConvMm2Deg instead.
     45
    4246
    4347
  • trunk/Mars/mjtrain/MJTrainDisp.cc

    r9552 r9824  
    385385
    386386    // To speed it up we could precalculate it.
    387     const char *res = "Disp.fVal-MHillasSrc.fDist*3.37e-3";
     387    const char *res = "Disp.fVal-MHillasSrc.fDist*MGeomCam.fConvMm2Deg";
    388388
    389389    MHn hres1("Disp1", "Xi Residual (Dist/Disp)");
     
    392392    hres1.InitTitle(";S [phe];Disp-Dist [\\circ];");
    393393    hres1.SetDrawOption("colz profx");
    394     hres1.AddHist("MHillasExt.fSlopeLong*sign(MHillasSrc.fCosDeltaAlpha)/3.37e-3", res);
     394    hres1.AddHist("MHillasExt.fSlopeLong*sign(MHillasSrc.fCosDeltaAlpha)/MGeomCam.fConvMm2Deg", res);
    395395    hres1.InitName("ResSlope;Slope;ResidualDist");
    396396    hres1.InitTitle(";Slope;Disp-Dist [\\circ];");
     
    406406
    407407    MHn hres2("Disp2", "Dist Residual (Disp-Dist)");
    408     hres2.AddHist("MHillas.fLength*3.37e-3", res);
     408    hres2.AddHist("MHillas.fLength*MGeomCam.fConvMm2Deg", res);
    409409    hres2.InitName("ResLength;Length;ResidualDist");
    410410    hres2.InitTitle(";L [\\circ];Disp-Dist [\\circ];");
     
    414414    hres2.InitTitle(";C;Disp-Dist [\\circ];");
    415415    hres2.SetDrawOption("colz profx");
    416     hres2.AddHist("MHillas.fWidth*3.37e-3", res);
     416    hres2.AddHist("MHillas.fWidth*MGeomCam.fConvMm2Deg", res);
    417417    hres2.InitName("ResWidth;Width;ResidualDist");
    418418    hres2.InitTitle(";W [\\circ];Disp-Dist [\\circ];");
Note: See TracChangeset for help on using the changeset viewer.