Changeset 7169 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 06/17/05 13:33:56 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHCamera.cc
r7001 r7169 717 717 } 718 718 719 const Double_t m2d = fGeomCam->GetConvMm2Deg(); 720 719 721 Double_t min = 0.; 720 Double_t max = fGeomCam->GetMaxRadius() ;722 Double_t max = fGeomCam->GetMaxRadius()*m2d; 721 723 722 724 Int_t newbins=0; … … 730 732 for (Int_t idx=0; idx<fNcells-2; idx++) 731 733 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, 733 735 GetBinContent(idx+1)); 734 736 return h1; … … 910 912 911 913 Float_t x = pix.GetX()*conv/(fAbberation+1); 914 912 915 Float_t y = pix.GetY()*conv/(fAbberation+1); 913 916 Float_t d = pix.GetD()*conv;
Note:
See TracChangeset
for help on using the changeset viewer.