Changeset 2772 for trunk/MagicSoft


Ignore:
Timestamp:
01/12/04 17:46:01 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2770 r2772  
    44
    55                                                 -*-*- END OF LINE -*-*-
     6 2004/01/12: Thomas Bretz
     7
     8   * macros/rootlogon.C:
     9     - added mcamera to include path
     10     - added mpointing to include path
     11     - added mreport to include path
     12     
     13   * mbase/MLog.cc:
     14     - updated my eMail address
     15     
     16   * mbase/MParContainer.h:
     17     - added Read member function
     18     
     19   * mbase/MStatusDisplay.[h,cc]:
     20     - changed size of ps-paper
     21     - added a user defined bottom line to the ps-files
     22     
     23   * mraw/MRawRunHeader.cc:
     24     - added some comments
     25
     26
     27
    628 2004/01/12: Abelardo Moralejo
    729
     
    1133      Bug had no effect unless scale1 != scale2 (-> telescopes of
    1234      different size).
     35
     36
    1337
    1438 2004/01/12: Markus Gaug
  • trunk/MagicSoft/Mars/macros/rootlogon.C

    r2744 r2772  
    100100    gInterpreter->AddIncludePath(dir+"manalysis");
    101101    gInterpreter->AddIncludePath(dir+"mbase");
     102    gInterpreter->AddIncludePath(dir+"mcamera");
    102103    gInterpreter->AddIncludePath(dir+"mcalib");
    103104    gInterpreter->AddIncludePath(dir+"mdata");
     
    113114    gInterpreter->AddIncludePath(dir+"mmc");
    114115    gInterpreter->AddIncludePath(dir+"mmontecarlo");
     116    gInterpreter->AddIncludePath(dir+"mpointing");
    115117    gInterpreter->AddIncludePath(dir+"mranforest");
    116118    gInterpreter->AddIncludePath(dir+"mraw");
    117119    gInterpreter->AddIncludePath(dir+"mreflector");
     120    gInterpreter->AddIncludePath(dir+"mreport");
    118121    gInterpreter->AddIncludePath(dir+"mtools");
    119122
  • trunk/MagicSoft/Mars/mbase/MLog.cc

    r2519 r2772  
    1616!
    1717!
    18 !   Author(s): Thomas Bretz  12/2000 <mailto:tbretz@uni-sw.gwdg.de>
    19 !
    20 !   Copyright: MAGIC Software Development, 2000-2001
     18!   Author(s): Thomas Bretz, 12/2000 <mailto:tbretz@astro.uni-wuerzburg.de>
     19!
     20!   Copyright: MAGIC Software Development, 2000-2004
    2121!
    2222!
  • trunk/MagicSoft/Mars/mbase/MParContainer.h

    r2744 r2772  
    110110    virtual Bool_t AsciiWrite(ostream &out) const;
    111111
     112    Int_t Read(const char *name=NULL) { return TObject::Read(name?name:(const char*)fName); }
     113
    112114    virtual void GetNames(TObjArray &arr) const;
    113115    virtual void SetNames(TObjArray &arr);
  • trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc

    r2578 r2772  
    17631763// To write all tabs you can also use SaveAsPS(name)
    17641764//
    1765 Int_t MStatusDisplay::SaveAsPS(Int_t num, TString name)
     1765// If the third argument is given a bottom line is drawn with the text
     1766// under it.
     1767//
     1768Int_t MStatusDisplay::SaveAsPS(Int_t num, TString name, const TString addon)
    17661769{
    17671770    SetStatusLine1("Writing Postscript file...");
     
    18301833
    18311834        //
    1832         // 26 is used here to scale the canvas into a height of 26,
     1835        // 28 is used here to scale the canvas into a height of 28,
    18331836        // such that the page title can be set above the canvas...
    18341837        //
    1835         Float_t psw = 26; //29.7; // A4 - width
    1836         Float_t psh = 21.0; // A4 - height
     1838        Float_t psw = 28.0; // A4 - width (29.7)
     1839        Float_t psh = 21.0; // A4 - height (21.0)
    18371840
    18381841        const Float_t cw = c->GetWw();
     
    18531856        CanvasSetFillColor(*n, kWhite);
    18541857        l.Add(n);
     1858
    18551859        //
    18561860        // Paint canvas into root file
     
    18781882        ps.SetTextFont(22);
    18791883        ps.SetTextAlign(11); // left top
    1880         ps.TextNDC(0, 1.02, TString("  ")+n->GetName());
     1884        ps.TextNDC(0, 1.015, TString("  ")+n->GetName());
    18811885        ps.SetTextAlign(21); // cent top
    1882         ps.TextNDC(0.5, 1.02, TString("MARS - Magic Analysis and Reconstruction Software - ")+d.AsString());
     1886        ps.TextNDC(0.5, 1.015, TString("MARS - Magic Analysis and Reconstruction Software - ")+d.AsString());
    18831887        ps.SetTextAlign(31); // right top
    1884         ps.TextNDC(1, 1.02, Form("Page No.%i (%i)  ", page++, i));
    1885         line.PaintLineNDC(0, 1.015, 1, 1.015);
     1888        ps.TextNDC(1, 1.015, Form("Page No.%i (%i)  ", page++, i));
     1889        line.PaintLineNDC(0, 1.01, 1, 1.01);
     1890
     1891        if (!addon.IsNull())
     1892        {
     1893            line.PaintLineNDC(0, -0.00, 1, -0.00);
     1894            ps.SetTextAlign(23); // cent bottom
     1895            ps.TextNDC(0.5, -0.005, addon);
     1896        }
    18861897
    18871898        //
  • trunk/MagicSoft/Mars/mbase/MStatusDisplay.h

    r2563 r2772  
    162162     void SetNoContextMenu(Bool_t flag=kTRUE);
    163163
    164      Int_t  SaveAsPS(TString name="") { return SaveAsPS(-1, name); }
     164     Int_t  SaveAsPS(TString name="", const TString addon="") { return SaveAsPS(-1, name, addon); }
    165165     Bool_t SaveAsGIF(TString name="") { return SaveAsGIF(-1, name); }
    166166     Bool_t SaveAsC(TString name="") { return SaveAsC(-1, name); }
     
    168168     Int_t  PrintToLpr() { return PrintToLpr(-1); }
    169169
    170      Int_t  SaveAsPS(Int_t num, TString name="");
     170     Int_t  SaveAsPS(Int_t num, TString name="", const TString addon="");
    171171     Bool_t SaveAsGIF(Int_t num, TString name="");
    172172     Bool_t SaveAsC(Int_t num, TString name="");
  • trunk/MagicSoft/Mars/mraw/MRawRunHeader.cc

    r2728 r2772  
    243243// --------------------------------------------------------------------------
    244244//
    245 // return the number of pixel in this event.
     245// Return the number of pixel in this event.
     246//
     247// WARNING: This is the number of pixels stored in this file which is
     248//          a multiple of the number of pixels per crate and in general
     249//          a number which is larger than the camera size!
     250//
     251//          To know the range of the pixel indices please use the geometry
     252//          container!
    246253//
    247254UShort_t MRawRunHeader::GetNumPixel() const
Note: See TracChangeset for help on using the changeset viewer.