Changeset 3237 for trunk/MagicSoft/Mars/mhist/MHCamera.h
- Timestamp:
- 02/19/04 10:30:23 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHCamera.h
r3142 r3237 78 78 void ResetUsed(Int_t idx) { CLRBIT(fUsed[idx], kIsUsed); } 79 79 80 Bool_t MatchSector(Int_t idx, Int_t sector) const; 81 80 82 // This is a trick to remove TH1 entries from the context menu 81 83 TH1 *Rebin(Int_t ngroup=2, const char*newname="") { return this; } … … 138 140 Stat_t GetBinError(Int_t binx, Int_t biny, Int_t binz) const { return GetBinError(binx); } 139 141 140 Double_t GetMinimum(Bool_t all) const; 141 Double_t GetMaximum(Bool_t all) const; 142 143 Double_t GetMinimum() const { return GetMinimum(0/*kTRUE*/); } 144 Double_t GetMaximum() const { return GetMaximum(0/*kTRUE*/); } 142 Double_t GetMinimum(Bool_t all) const { return GetMinimumSector(-1, all); } 143 Double_t GetMaximum(Bool_t all) const { return GetMaximumSector(-1, all); } 144 145 Double_t GetMinimum() const { return GetMinimumSector(-1, kFALSE); } 146 Double_t GetMaximum() const { return GetMaximumSector(-1, kFALSE); } 147 148 Double_t GetMinimumSector(Int_t sector, Bool_t all=kFALSE) const; 149 Double_t GetMaximumSector(Int_t sector, Bool_t all=kFALSE) const; 145 150 146 151 void SetLevels(const TArrayF &arr); … … 181 186 void AddNotify(TObject *event); 182 187 183 Stat_t GetMean(Int_t axis=-1) const; 184 Stat_t GetRMS(Int_t axis=-1) const; 188 Stat_t GetMean(Bool_t all) const { return GetMeanSector(-1, all); } 189 Stat_t GetRMS(Bool_t all) const { return GetRmsSector(-1, all); } 190 191 Stat_t GetMean(Int_t sector=-1) const { return GetMeanSector(-1, kFALSE); } 192 Stat_t GetRMS(Int_t sector=-1) const { return GetRmsSector(-1, kFALSE); } 193 194 Stat_t GetMeanSector(Int_t sector, Bool_t all=kFALSE) const; 195 Stat_t GetRmsSector(Int_t sector, Bool_t all=kFALSE) const; 185 196 186 197 UInt_t GetNumPixels() const; 187 198 188 TH1D *Projection(const char *name="_py") const; 199 TH1D *Projection(const char *name="_py") const { return ProjectionS(-1, name); } 200 TH1D *ProjectionS(Int_t sector, const char *name="_py") const; 189 201 190 202 const MGeomCam &GetGeomCam() const { return *fGeomCam; }
Note:
See TracChangeset
for help on using the changeset viewer.