Changeset 8700


Ignore:
Timestamp:
08/23/07 15:35:21 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhbase/MHn.h

    r8697 r8700  
    3636    // Setter
    3737    void SetLayout(Layout_t t) { fLayout = t; }
     38    void SetDrawOption(const char *opt) { SetDrawOption(fNum-1, opt); }
    3839
    3940    Bool_t AddHist(const char *memberx);
    4041    Bool_t AddHist(const char *memberx, const char *membery);
    4142    Bool_t AddHist(const char *memberx, const char *membery, const char *memberz);
    42 
    43     void SetDrawOption(const char *opt) { SetDrawOption(fNum-1, opt); }
    4443
    4544    void InitName(const char *n)
     
    5352    }
    5453
    55     /*
    56     void SetScaleX(Double_t scale) { fScale[0] = scale; }
    57     void SetScaleY(Double_t scale) { fScale[1] = scale; }
    58     void SetScaleZ(Double_t scale) { fScale[2] = scale; }
    59 
    60     void SetLogx(Bool_t b=kTRUE) { b ? fHist->SetBit(kIsLogx) : fHist->ResetBit(kIsLogx); }
    61     void SetLogy(Bool_t b=kTRUE) { b ? fHist->SetBit(kIsLogy) : fHist->ResetBit(kIsLogy); }
    62     void SetLogz(Bool_t b=kTRUE) { b ? fHist->SetBit(kIsLogz) : fHist->ResetBit(kIsLogz); }
    63 
    64     void Sumw2() const { if (fHist) fHist->Sumw2(); }
    65     */
     54    // Interfact to MH3
     55    void SetScale(Double_t x, Double_t y=1, Double_t z=2) const;
     56    void SetLog(Bool_t x=kTRUE, Bool_t y=kTRUE, Bool_t z=kTRUE) const;
     57    void SetAutoRange(Bool_t x=kTRUE, Bool_t y=kTRUE, Bool_t z=kTRUE) const;
     58    void SetBinnings(MBinning *x=0, MBinning *y=0, MBinning *z=0) const;
     59    void Sumw2() const;
    6660
    6761    // MH
Note: See TracChangeset for help on using the changeset viewer.