Ignore:
Timestamp:
06/17/05 13:33:56 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MHCamera.cc

    r7001 r7169  
    717717    }
    718718
     719    const Double_t m2d = fGeomCam->GetConvMm2Deg();
     720
    719721    Double_t min = 0.;
    720     Double_t max = fGeomCam->GetMaxRadius();
     722    Double_t max = fGeomCam->GetMaxRadius()*m2d;
    721723
    722724    Int_t newbins=0;
     
    730732    for (Int_t idx=0; idx<fNcells-2; idx++)
    731733        if (IsUsed(idx) && MatchSector(idx, sector, aidx))
    732             h1->Fill(TMath::Hypot((*fGeomCam)[idx].GetX(),(*fGeomCam)[idx].GetY()),
     734            h1->Fill(TMath::Hypot((*fGeomCam)[idx].GetX(),(*fGeomCam)[idx].GetY())*m2d,
    733735                     GetBinContent(idx+1));
    734736    return h1;
     
    910912
    911913        Float_t x = pix.GetX()*conv/(fAbberation+1);
     914
    912915        Float_t y = pix.GetY()*conv/(fAbberation+1);
    913916        Float_t d = pix.GetD()*conv;
Note: See TracChangeset for help on using the changeset viewer.