Changeset 15258 for trunk/Mars/mhist


Ignore:
Timestamp:
04/04/13 14:24:20 (12 years ago)
Author:
tbretz
Message:
Removed some unsused parameters from the header to avoid compiler warnings.
File:
1 edited

Legend:

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

    r14449 r15258  
    110110
    111111    // This is a trick to remove TH1 entries from the context menu
    112     TH1 *Rebin(Int_t ngroup=2, const char *newname="", const Double_t *bin=0) { return this; }
    113     TH1 *Rebin(Int_t ngroup=2, const char *newname="") { return this; }
     112    TH1 *Rebin(Int_t =2, const char * ="", const Double_t * =0) { return this; }
     113    TH1 *Rebin(Int_t =2, const char * ="") { return this; }
    114114    void DrawPanel() {}
    115115
    116116    Int_t Fill(Axis_t x);
    117     Int_t Fill(const char *name, Stat_t w) { return -1; }
    118     void  FillN(Int_t ntimes, const Axis_t *x, const Double_t *w, Int_t stride=1) {}
    119     void  FillN(Int_t, const Axis_t *, const Axis_t *, const Double_t *, Int_t) {}
     117    Int_t Fill(const char *, Stat_t) { return -1; }
     118    void  FillN(Int_t, const Axis_t *, const Double_t *, Int_t =1) {}
     119    void  FillN(Int_t, const Axis_t *, const Axis_t *,   const Double_t *, Int_t) {}
    120120
    121121public:
     
    189189
    190190    Stat_t   GetBinContent(Int_t bin) const;
    191     Stat_t   GetBinContent(Int_t binx, Int_t biny) const { return GetBinContent(binx); }
    192     Stat_t   GetBinContent(Int_t binx, Int_t biny, Int_t binz) const { return GetBinContent(binx); }
     191    Stat_t   GetBinContent(Int_t binx, Int_t) const { return GetBinContent(binx); }
     192    Stat_t   GetBinContent(Int_t binx, Int_t, Int_t) const { return GetBinContent(binx); }
    193193    Stat_t   GetBinError(Int_t bin) const;
    194     Stat_t   GetBinError(Int_t binx, Int_t biny) const { return GetBinError(binx); }
    195     Stat_t   GetBinError(Int_t binx, Int_t biny, Int_t binz) const { return GetBinError(binx); }
     194    Stat_t   GetBinError(Int_t binx, Int_t) const { return GetBinError(binx); }
     195    Stat_t   GetBinError(Int_t binx, Int_t, Int_t) const { return GetBinError(binx); }
    196196
    197197    Double_t GetMinimum(Bool_t ball) const { return GetMinimumSectors(TArrayI(), TArrayI(), ball); }
    198198    Double_t GetMaximum(Bool_t ball) const { return GetMaximumSectors(TArrayI(), TArrayI(), ball); }
    199199
    200     Double_t GetMinimum(Double_t gt) const { return GetMinimumSectors(TArrayI(), TArrayI(), kFALSE); } // FIXME: To be done: Minimum greater than
    201     Double_t GetMaximum(Double_t lt) const { return GetMaximumSectors(TArrayI(), TArrayI(), kFALSE); } // FIXME: To be done: Maximum lower than
     200    Double_t GetMinimum(Double_t /*gt*/) const { return GetMinimumSectors(TArrayI(), TArrayI(), kFALSE); } // FIXME: To be done: Minimum greater than
     201    Double_t GetMaximum(Double_t /*lt*/) const { return GetMaximumSectors(TArrayI(), TArrayI(), kFALSE); } // FIXME: To be done: Maximum lower than
    202202
    203203    Double_t GetMinimum() const { return GetMinimum(0.0); } // FIXME: To be done: Minimum greater than
Note: See TracChangeset for help on using the changeset viewer.