Ignore:
Timestamp:
06/08/04 11:32:57 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhist
Files:
2 edited

Legend:

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

    r4267 r4280  
    160160    fUsed.Set(geom.GetNumPixels());
    161161    for (Int_t i=0; i<fNcells-2; i++)
    162         ResetUsed(i);
     162      ResetUsed(i);
    163163}
    164164
     
    750750  for (Int_t idx=0; idx<fNcells-2; idx++)
    751751    {
    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));
    754755     
    755756    }
  • trunk/MagicSoft/Mars/mhist/MHCamera.h

    r4267 r4280  
    255255
    256256    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) const
     257    TProfile *AzimuthProfile(Int_t aidx, const char *name="_rad", const Int_t nbins=25) const
    258258      {
    259259        return AzimuthProfileA(TArrayI(1, &aidx), name, nbins);
    260260      }
    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;
    262262   
    263263    void CamDraw(TCanvas &c, const Int_t x, const Int_t y,
Note: See TracChangeset for help on using the changeset viewer.