Changeset 4280 for trunk/MagicSoft
- Timestamp:
- 06/08/04 11:32:57 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4279 r4280 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 22 2004/06/08: Markus Gaug 23 24 * mhist/MHCamera.cc 25 - reduce number of default bins in AzimuthProfile 26 - use MatchSector in AzimuthProfile, like in RadialProfile 20 27 21 28 -
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 } -
trunk/MagicSoft/Mars/mhist/MHCamera.h
r4267 r4280 255 255 256 256 TProfile *AzimuthProfile(const char *name="_azi") const { return AzimuthProfileA(TArrayI(), name); } 257 TProfile *AzimuthProfile(Int_t aidx, const char *name="_rad", const Int_t nbins= 60) const257 TProfile *AzimuthProfile(Int_t aidx, const char *name="_rad", const Int_t nbins=25) const 258 258 { 259 259 return AzimuthProfileA(TArrayI(1, &aidx), name, nbins); 260 260 } 261 TProfile *AzimuthProfileA(const TArrayI &aidx, const char *name="_rad", const Int_t nbins= 60) const;261 TProfile *AzimuthProfileA(const TArrayI &aidx, const char *name="_rad", const Int_t nbins=25) const; 262 262 263 263 void CamDraw(TCanvas &c, const Int_t x, const Int_t y,
Note:
See TracChangeset
for help on using the changeset viewer.