Ignore:
Timestamp:
03/18/05 17:21:58 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r6276 r6855  
    1010#ifndef ROOT_TArrayI
    1111#include <TArrayI.h>
    12 #endif
    13 #ifndef ROOT_TArrayD
    14 #include <TArrayD.h>
    1512#endif
    1613#ifndef ROOT_MArrayD
     
    4037public:
    4138    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)*/
    4644    };
    4745private:
    4846    MGeomCam      *fGeomCam;     // pointer to camera geometry (y-axis)
    4947    TArrayC        fUsed;        // array containing flags
     48    TArrayI        fBinEntries;  // number of entries per bin
    5049
    5150    TArrayI        fColors;      //! Color conversion table
     
    5958
    6059    void Init();
    61 
     60/*
    6261    Stat_t Profile(Stat_t val) const
    6362    {
     
    6867        return n>0 ? val/n : val;
    6968    }
    70 
     69  */
    7170    Int_t GetColor(Float_t val, Float_t min, Float_t max, Bool_t islog);
    7271
     
    162161    virtual void     CntCamContent(const MCamEvent &evt, TArrayD threshold, Int_t type=0, Bool_t isabove=kTRUE);
    163162    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;
    166166    Stat_t   GetBinContent(Int_t binx, Int_t biny) const { return GetBinContent(binx); }
    167167    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.