Changeset 4280 for trunk/MagicSoft/Mars/mhist/MHCamera.cc
- Timestamp:
- 06/08/04 11:32:57 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHCamera.cc
r4267 r4280 160 160 fUsed.Set(geom.GetNumPixels()); 161 161 for (Int_t i=0; i<fNcells-2; i++) 162 162 ResetUsed(i); 163 163 } 164 164 … … 750 750 for (Int_t idx=0; idx<fNcells-2; idx++) 751 751 { 752 h1->Fill(TMath::ATan2((*fGeomCam)[idx].GetY(),(*fGeomCam)[idx].GetX())*180./TMath::Pi()+180., 753 GetBinContent(idx+1)); 752 if (IsUsed(idx) && MatchSector(idx, TArrayI(), aidx)) 753 h1->Fill(TMath::ATan2((*fGeomCam)[idx].GetY(),(*fGeomCam)[idx].GetX())*180./TMath::Pi()+180., 754 GetPixContent(idx)); 754 755 755 756 }
Note:
See TracChangeset
for help on using the changeset viewer.