Changeset 6855 for trunk/MagicSoft/Mars/mhist/MHCamera.h
- Timestamp:
- 03/18/05 17:21:58 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHCamera.h
r6276 r6855 10 10 #ifndef ROOT_TArrayI 11 11 #include <TArrayI.h> 12 #endif13 #ifndef ROOT_TArrayD14 #include <TArrayD.h>15 12 #endif 16 13 #ifndef ROOT_MArrayD … … 40 37 public: 41 38 enum { 42 kProfile = BIT(18), // FIXME: When changing change max/min! 43 kFreezed = BIT(19), 44 kNoLegend = BIT(20), 45 kSqrtVariance = BIT(21) 39 kProfile = BIT(18), // FIXME: When changing change max/min! 40 kFreezed = BIT(19), 41 kNoLegend = BIT(20)/*, 42 kSqrtVariance = BIT(21), 43 kSinglePixelProfile = BIT(22)*/ 46 44 }; 47 45 private: 48 46 MGeomCam *fGeomCam; // pointer to camera geometry (y-axis) 49 47 TArrayC fUsed; // array containing flags 48 TArrayI fBinEntries; // number of entries per bin 50 49 51 50 TArrayI fColors; //! Color conversion table … … 59 58 60 59 void Init(); 61 60 /* 62 61 Stat_t Profile(Stat_t val) const 63 62 { … … 68 67 return n>0 ? val/n : val; 69 68 } 70 69 */ 71 70 Int_t GetColor(Float_t val, Float_t min, Float_t max, Bool_t islog); 72 71 … … 162 161 virtual void CntCamContent(const MCamEvent &evt, TArrayD threshold, Int_t type=0, Bool_t isabove=kTRUE); 163 162 virtual void CntCamContent(const TArrayD &evt, Double_t threshold, Bool_t ispos=kTRUE); 164 165 Stat_t GetBinContent(Int_t bin) const { return Profile(TH1D::GetBinContent(bin)); } 163 virtual void CntCamContent(const MCamEvent &event, Int_t type1, const MCamEvent &thresevt, Int_t type2, Double_t threshold, Bool_t isabove); 164 165 Stat_t GetBinContent(Int_t bin) const; 166 166 Stat_t GetBinContent(Int_t binx, Int_t biny) const { return GetBinContent(binx); } 167 167 Stat_t GetBinContent(Int_t binx, Int_t biny, Int_t binz) const { return GetBinContent(binx); }
Note:
See TracChangeset
for help on using the changeset viewer.