Changeset 8281 for trunk/MagicSoft/Mars/mhist/MHCamera.h
- Timestamp:
- 02/01/07 11:24:19 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHCamera.h
r8280 r8281 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MHCamera.h,v 1.6 1 2007-01-30 14:16:45tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MHCamera.h,v 1.62 2007-02-01 11:24:18 tbretz Exp $ 3 3 \* ======================================================================== */ 4 4 #ifndef MARS_MHCamera … … 156 156 virtual void AddCamContent(const TArrayD &arr, const TArrayC *used=NULL); 157 157 virtual void AddCamContent(const MArrayD &arr, const TArrayC *used=NULL); 158 virtual void SetCamContent(const MCamEvent &evt, Int_t type=0) { Reset(); AddCamContent(evt, type); }159 virtual void SetCamContent(const MHCamera & d, Int_t type=0) { Reset(); AddCamContent(d, type); fEntries=d.fEntries; }158 virtual void SetCamContent(const MCamEvent &evt, Int_t type=0) { Reset(); AddCamContent(evt, type); } 159 virtual void SetCamContent(const MHCamera &cam, Int_t type=0) { Reset(); AddCamContent(cam, type); } 160 160 virtual void SetCamContent(const TArrayD &evt, const TArrayC *used=NULL) { Reset(); AddCamContent(evt, used); } 161 161 virtual void SetCamContent(const MArrayD &evt, const TArrayC *used=NULL) { Reset(); AddCamContent(evt, used); } … … 243 243 void AddNotify(TObject *event); 244 244 245 Stat_t GetMean(Bool_t ball) const { return GetMeanSectors(TArrayI(), TArrayI(), ball); } 246 Stat_t GetRMS(Bool_t ball) const { return GetRmsSectors(TArrayI(), TArrayI(), ball); } 247 248 Stat_t GetMean(Int_t=0) const { return GetMeanSectors(TArrayI(), TArrayI(), kFALSE); } 249 Stat_t GetRMS(Int_t=0) const { return GetRmsSectors(TArrayI(), TArrayI(), kFALSE); } 250 251 Stat_t GetMedian() const; 252 Stat_t GetMedianDev() const; 245 Stat_t GetMean(Bool_t ball) const { return GetMeanSectors(TArrayI(), TArrayI(), ball); } 246 Stat_t GetMedian(Bool_t ball) const { return GetMedianSectors(TArrayI(), TArrayI(), ball); } 247 Stat_t GetRMS(Bool_t ball) const { return GetRmsSectors(TArrayI(), TArrayI(), ball); } 248 Stat_t GetDev(Bool_t ball) const { return GetDevSectors(TArrayI(), TArrayI(), ball); } 249 250 Stat_t GetMean(Int_t=0) const { return GetMeanSectors(TArrayI(), TArrayI(), kFALSE); } 251 Stat_t GetMedian(Int_t=0) const { return GetMedianSectors(TArrayI(), TArrayI(), kFALSE); } 252 Stat_t GetRMS(Int_t=0) const { return GetRmsSectors(TArrayI(), TArrayI(), kFALSE); } 253 Stat_t GetDev(Int_t=0) const { return GetRmsSectors(TArrayI(), TArrayI(), kFALSE); } 253 254 254 255 Stat_t GetMeanSector(Int_t sector, Int_t aidx, Bool_t ball=kFALSE) const … … 256 257 return GetMeanSectors(TArrayI(1, §or), TArrayI(1, &aidx), ball); 257 258 } 259 Stat_t GetMedianSector(Int_t sector, Int_t aidx, Bool_t ball=kFALSE) const 260 { 261 return GetMedianSectors(TArrayI(1, §or), TArrayI(1, &aidx), ball); 262 } 258 263 Stat_t GetRmsSector(Int_t sector, Int_t aidx, Bool_t ball=kFALSE) const 259 264 { 260 265 return GetRmsSectors(TArrayI(1, §or), TArrayI(1, &aidx), ball); 261 266 } 267 Stat_t GetDevSector(Int_t sector, Int_t aidx, Bool_t ball=kFALSE) const 268 { 269 return GetDevSectors(TArrayI(1, §or), TArrayI(1, &aidx), ball); 270 } 262 271 263 272 Stat_t GetMeanSectors(const TArrayI §or, const TArrayI &aidx, Bool_t all=kFALSE) const; 273 Stat_t GetMedianSectors(const TArrayI §or, const TArrayI &aidx, Bool_t all=kFALSE) const; 264 274 Stat_t GetRmsSectors(const TArrayI §or, const TArrayI &aidx, Bool_t all=kFALSE) const; 275 Stat_t GetDevSectors(const TArrayI §or, const TArrayI &aidx, Bool_t all=kFALSE) const; 265 276 266 277 UInt_t GetNumPixels() const;
Note:
See TracChangeset
for help on using the changeset viewer.