Changeset 2772
- Timestamp:
- 01/12/04 17:46:01 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2770 r2772 4 4 5 5 -*-*- 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 6 28 2004/01/12: Abelardo Moralejo 7 29 … … 11 33 Bug had no effect unless scale1 != scale2 (-> telescopes of 12 34 different size). 35 36 13 37 14 38 2004/01/12: Markus Gaug -
trunk/MagicSoft/Mars/macros/rootlogon.C
r2744 r2772 100 100 gInterpreter->AddIncludePath(dir+"manalysis"); 101 101 gInterpreter->AddIncludePath(dir+"mbase"); 102 gInterpreter->AddIncludePath(dir+"mcamera"); 102 103 gInterpreter->AddIncludePath(dir+"mcalib"); 103 104 gInterpreter->AddIncludePath(dir+"mdata"); … … 113 114 gInterpreter->AddIncludePath(dir+"mmc"); 114 115 gInterpreter->AddIncludePath(dir+"mmontecarlo"); 116 gInterpreter->AddIncludePath(dir+"mpointing"); 115 117 gInterpreter->AddIncludePath(dir+"mranforest"); 116 118 gInterpreter->AddIncludePath(dir+"mraw"); 117 119 gInterpreter->AddIncludePath(dir+"mreflector"); 120 gInterpreter->AddIncludePath(dir+"mreport"); 118 121 gInterpreter->AddIncludePath(dir+"mtools"); 119 122 -
trunk/MagicSoft/Mars/mbase/MLog.cc
r2519 r2772 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@uni-sw.gwdg.de>19 ! 20 ! Copyright: MAGIC Software Development, 2000-200 118 ! Author(s): Thomas Bretz, 12/2000 <mailto:tbretz@astro.uni-wuerzburg.de> 19 ! 20 ! Copyright: MAGIC Software Development, 2000-2004 21 21 ! 22 22 ! -
trunk/MagicSoft/Mars/mbase/MParContainer.h
r2744 r2772 110 110 virtual Bool_t AsciiWrite(ostream &out) const; 111 111 112 Int_t Read(const char *name=NULL) { return TObject::Read(name?name:(const char*)fName); } 113 112 114 virtual void GetNames(TObjArray &arr) const; 113 115 virtual void SetNames(TObjArray &arr); -
trunk/MagicSoft/Mars/mbase/MStatusDisplay.cc
r2578 r2772 1763 1763 // To write all tabs you can also use SaveAsPS(name) 1764 1764 // 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 // 1768 Int_t MStatusDisplay::SaveAsPS(Int_t num, TString name, const TString addon) 1766 1769 { 1767 1770 SetStatusLine1("Writing Postscript file..."); … … 1830 1833 1831 1834 // 1832 // 2 6 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, 1833 1836 // such that the page title can be set above the canvas... 1834 1837 // 1835 Float_t psw = 2 6; //29.7; // A4 - width1836 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) 1837 1840 1838 1841 const Float_t cw = c->GetWw(); … … 1853 1856 CanvasSetFillColor(*n, kWhite); 1854 1857 l.Add(n); 1858 1855 1859 // 1856 1860 // Paint canvas into root file … … 1878 1882 ps.SetTextFont(22); 1879 1883 ps.SetTextAlign(11); // left top 1880 ps.TextNDC(0, 1.0 2, TString(" ")+n->GetName());1884 ps.TextNDC(0, 1.015, TString(" ")+n->GetName()); 1881 1885 ps.SetTextAlign(21); // cent top 1882 ps.TextNDC(0.5, 1.0 2, 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()); 1883 1887 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 } 1886 1897 1887 1898 // -
trunk/MagicSoft/Mars/mbase/MStatusDisplay.h
r2563 r2772 162 162 void SetNoContextMenu(Bool_t flag=kTRUE); 163 163 164 Int_t SaveAsPS(TString name="" ) { return SaveAsPS(-1, name); }164 Int_t SaveAsPS(TString name="", const TString addon="") { return SaveAsPS(-1, name, addon); } 165 165 Bool_t SaveAsGIF(TString name="") { return SaveAsGIF(-1, name); } 166 166 Bool_t SaveAsC(TString name="") { return SaveAsC(-1, name); } … … 168 168 Int_t PrintToLpr() { return PrintToLpr(-1); } 169 169 170 Int_t SaveAsPS(Int_t num, TString name="" );170 Int_t SaveAsPS(Int_t num, TString name="", const TString addon=""); 171 171 Bool_t SaveAsGIF(Int_t num, TString name=""); 172 172 Bool_t SaveAsC(Int_t num, TString name=""); -
trunk/MagicSoft/Mars/mraw/MRawRunHeader.cc
r2728 r2772 243 243 // -------------------------------------------------------------------------- 244 244 // 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! 246 253 // 247 254 UShort_t MRawRunHeader::GetNumPixel() const
Note:
See TracChangeset
for help on using the changeset viewer.