Ignore:
Timestamp:
07/15/07 19:25:45 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhflux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhflux/MHAlpha.cc

    r8601 r8636  
    885885}
    886886
    887 void MHAlpha::DrawNicePlot(Bool_t newc, const char *title)
     887void MHAlpha::DrawNicePlot(Bool_t newc, const char *title, const char *watermark)
    888888{
    889889    if (!newc && !fDisplay)
     
    972972    text.SetTextSize(0.07);
    973973    text.SetTextAngle(2.5);
    974     text.DrawLatex(0.45, 0.2, "preliminary");
     974    if (watermark)
     975        text.DrawLatex(0.45, 0.2, watermark);
    975976    //enum { kTextNDC = BIT(14) };
    976977
  • trunk/MagicSoft/Mars/mhflux/MHAlpha.h

    r8136 r8636  
    132132    void ForceUsingSize(Bool_t b=kTRUE) { fForceUsingSize=b; }
    133133
    134     void DrawNicePlot(const char *title="MAGIC Telescope observation") { DrawNicePlot(kTRUE, title); } //*MENU*
    135     void DrawNicePlot(Bool_t newc, const char *title=0);
     134    void DrawNicePlot(const char *title="MAGIC Telescope observation", const char *watermark="preliminary") { DrawNicePlot(kTRUE, title, watermark); } //*MENU*
     135    void DrawNicePlot(Bool_t newc, const char *title=0, const char *watermark=0);
    136136    void DrawAll() { DrawAll(kTRUE); } //*MENU*
    137137    void DrawAll(Bool_t newc);
Note: See TracChangeset for help on using the changeset viewer.