Changeset 8988 for trunk/MagicSoft/Mars/mhist/MHCamera.h
- Timestamp:
- 06/30/08 10:37:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHCamera.h
r8484 r8988 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MHCamera.h,v 1.6 4 2007-05-10 12:14:54tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MHCamera.h,v 1.65 2008-06-30 09:36:38 tbretz Exp $ 3 3 \* ======================================================================== */ 4 4 #ifndef MARS_MHCamera … … 284 284 UInt_t GetNumPixels() const; 285 285 286 TH1D *Projection(const char *name="_p y", const Int_t nbins=50) const287 286 TH1D *Projection(const char *name="_proj", const Int_t nbins=50) const 287 { 288 288 return ProjectionS(TArrayI(), TArrayI(), name,nbins); 289 290 TH1D *ProjectionS(Int_t sector, Int_t aidx, const char *name="_p y", const Int_t nbins=50) const289 } 290 TH1D *ProjectionS(Int_t sector, Int_t aidx, const char *name="_proj", const Int_t nbins=50) const 291 291 { 292 292 return ProjectionS(TArrayI(1, §or), TArrayI(1, &aidx), name, nbins); 293 293 } 294 TH1D *ProjectionS(const TArrayI §or, const TArrayI &aidx, const char *name="_p y", const Int_t nbins=50) const;294 TH1D *ProjectionS(const TArrayI §or, const TArrayI &aidx, const char *name="_proj", const Int_t nbins=50) const; 295 295 296 296 TProfile *RadialProfile(const char *name="_rad", Int_t nbins=25) const { return RadialProfileS(TArrayI(), TArrayI(), name, nbins);} … … 301 301 TProfile *RadialProfileS(const TArrayI §or, const TArrayI &aidx, const char *name="_rad", const Int_t nbins=25) const; 302 302 303 TProfile *AzimuthProfile(const char *name="_az i", Int_t nbins=25) const { return AzimuthProfileA(TArrayI(), name, nbins); }304 TProfile *AzimuthProfile(Int_t aidx, const char *name="_ rad", const Int_t nbins=25) const305 303 TProfile *AzimuthProfile(const char *name="_az", Int_t nbins=25) const { return AzimuthProfileA(TArrayI(), name, nbins); } 304 TProfile *AzimuthProfile(Int_t aidx, const char *name="_az", const Int_t nbins=25) const 305 { 306 306 return AzimuthProfileA(TArrayI(1, &aidx), name, nbins); 307 308 TProfile *AzimuthProfileA(const TArrayI &aidx, const char *name="_ rad", const Int_t nbins=25) const;307 } 308 TProfile *AzimuthProfileA(const TArrayI &aidx, const char *name="_az", const Int_t nbins=25) const; 309 309 310 310 void CamDraw(TCanvas &c, const Int_t x, const Int_t y,
Note:
See TracChangeset
for help on using the changeset viewer.