Changeset 1330 for trunk/MagicSoft
- Timestamp:
- 05/03/02 09:33:44 (23 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1327 r1330 1 1 -*-*- END -*-*- 2 2002/05/03: Thomas Bretz 3 4 * mars.cc: 5 - changed version to 0.8 6 - added logo stuff 7 8 * merpp.cc: 9 - changed usage-output 10 11 * mgui/MCamDisplay.cc, mgui/MGeomCam.cc, mgui/MGeomCamCT1.cc, 12 mgui/MGeomCamMagic.cc, mgui/MHexagon.cc, mhist/MBinning.cc, 13 mhist/MFillH.cc, mhist/MH.cc, mhist/MHAlphaEnergyTheta.cc, 14 mhist/MHAlphaEnergyTime.cc, mhist/MHEffOnTimeTheta.cc, 15 mhist/MHEffOnTimeTime.cc, mhist/MHEnergyTheta.cc, MHEnergyTime.cc, 16 mhist/MHMcCollectionArea.cc, mhist/MHStarMap.cc, mmain/MMars.cc, 17 mmontecarlo/MMcCollectionAreaCalc.cc 18 - changed mail address 19 - added missing copyright notices 20 - added missing class description 21 22 23 2 24 2002/04/30: Thomas Bretz 3 25 -
trunk/MagicSoft/Mars/mars.cc
r1185 r1330 10 10 #include "MArray.h" 11 11 #include "MParContainer.h" 12 13 //#define HAVE_LOGO 1 14 #ifdef HAVE_LOGO 15 #include "MLogo.h" 16 #endif 12 17 13 18 // ********************************************************************** … … 30 35 } 31 36 32 int main(int argc, char **argv 37 int main(int argc, char **argv) 33 38 { 39 #ifdef HAVE_LOGO 40 MLogo logo; 41 logo.Popup(); 42 #endif 43 34 44 gLog << all << endl; 35 45 … … 37 47 // 12345678901234567890123456789012345678901234567890 38 48 gLog << "==================================================" << endl; 39 gLog << " MARS V0. 7" << endl;49 gLog << " MARS V0.8 " << endl; 40 50 gLog << " Magic Analysis and Reconstruction Software " << endl; 41 51 gLog << " Compiled on <" << __DATE__ << ">" << endl; … … 96 106 TApplication app("MarsApp", &argc, argv); 97 107 108 #ifdef HAVE_LOGO 109 logo.Popdown(); 110 #endif 111 98 112 // 99 113 // start the main window -
trunk/MagicSoft/Mars/merpp.cc
r1082 r1330 51 51 gLog << " input file: Magic DAQ binary file." << endl; 52 52 gLog << " ouput file: Merpped root file." << endl; 53 gLog << " compr. level: 1..9 [ 9]" << endl << endl;53 gLog << " compr. level: 1..9 [default=9]" << endl << endl; 54 54 return -1; 55 55 } -
trunk/MagicSoft/Mars/mgui/MCamDisplay.cc
r1325 r1330 1 /* ======================================================================== *\ 2 ! 3 ! * 4 ! * This file is part of MARS, the MAGIC Analysis and Reconstruction 5 ! * Software. It is distributed to you in the hope that it can be a useful 6 ! * and timesaving tool in analysing Data of imaging Cerenkov telescopes. 7 ! * It is distributed WITHOUT ANY WARRANTY. 8 ! * 9 ! * Permission to use, copy, modify and distribute this software and its 10 ! * documentation for any purpose is hereby granted without fee, 11 ! * provided that the above copyright notice appear in all copies and 12 ! * that both that copyright notice and this permission notice appear 13 ! * in supporting documentation. It is provided "as is" without express 14 ! * or implied warranty. 15 ! * 16 ! 17 ! 18 ! Author(s): Thomas Bretz 05/2002 <mailto:tbretz@astro.uni-wuerzburg.de> 19 ! Author(s): Harald Kornmayer 1/2001 20 ! 21 ! Copyright: MAGIC Software Development, 2000-2002 22 ! 23 ! 24 \* ======================================================================== */ 25 26 ///////////////////////////////////////////////////////////////////////////// 27 // 28 // MCamDisplay 29 // 30 // Camera Display 31 // 32 //////////////////////////////////////////////////////////////////////////// 1 33 #include "MCamDisplay.h" 2 34 -
trunk/MagicSoft/Mars/mgui/MGeomCam.cc
r1276 r1330 19 19 ! Author(s): Harald Kornmayer 1/2001 20 20 ! 21 ! Copyright: MAGIC Software Development, 2000-200 121 ! Copyright: MAGIC Software Development, 2000-2002 22 22 ! 23 23 ! -
trunk/MagicSoft/Mars/mgui/MGeomCamCT1.cc
r1216 r1330 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@ uni-sw.gwdg.de>18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! Author(s): Harald Kornmayer 1/2001 20 20 ! 21 ! Copyright: MAGIC Software Development, 2000-200 121 ! Copyright: MAGIC Software Development, 2000-2002 22 22 ! 23 23 ! 24 24 \* ======================================================================== */ 25 25 26 /////////////////////////////////////////////////////////////////////// 26 ///////////////////////////////////////////////////////////////////////////// 27 27 // 28 28 // MGeomCamCT1 … … 32 32 // is calculated (for Algorithm see CreateCam 33 33 // 34 /////////////////////////////////////////////////////////////////////// 34 //////////////////////////////////////////////////////////////////////////// 35 35 36 36 #include "MGeomCamCT1.h" -
trunk/MagicSoft/Mars/mgui/MGeomCamMagic.cc
r1216 r1330 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@ uni-sw.gwdg.de>18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! Author(s): Harald Kornmayer 1/2001 20 20 ! 21 ! Copyright: MAGIC Software Development, 2000-200 121 ! Copyright: MAGIC Software Development, 2000-2002 22 22 ! 23 23 ! 24 24 \* ======================================================================== */ 25 25 26 /////////////////////////////////////////////////////////////////////// 26 ///////////////////////////////////////////////////////////////////////////// 27 27 // 28 28 // MGeomCamMagic … … 31 31 // All information are copied from tables, see source code. 32 32 // 33 /////////////////////////////////////////////////////////////////////// 33 //////////////////////////////////////////////////////////////////////////// 34 34 35 35 #include "MGeomCamMagic.h" -
trunk/MagicSoft/Mars/mgui/MGeomPix.cc
r1271 r1330 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@ uni-sw.gwdg.de>18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! Author(s): Harald Kornmayer 1/2001 20 20 ! … … 31 31 // a single pixel together with the information about next neighbors. 32 32 // 33 //////////////////////////////////////////////////////////////////////////// //33 //////////////////////////////////////////////////////////////////////////// 34 34 35 35 #include "MGeomPix.h" -
trunk/MagicSoft/Mars/mgui/MHexagon.cc
r1082 r1330 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@ uni-sw.gwdg.de>18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! Author(s): Harald Kornmayer 1/2001 20 20 ! 21 ! Copyright: MAGIC Software Development, 2000-200 121 ! Copyright: MAGIC Software Development, 2000-2002 22 22 ! 23 23 ! 24 24 \* ======================================================================== */ 25 25 26 // 27 // The class MHexagon is needed for the Event Display of 28 // MAGIC. 29 // 26 ////////////////////////////////////////////////////////////////////////////// 27 // // 28 // MHexagon // 29 // // 30 ////////////////////////////////////////////////////////////////////////////// 31 30 32 #include "MHexagon.h" 31 33 -
trunk/MagicSoft/Mars/mhist/MBinning.cc
r1188 r1330 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 01/2002 <mailto:tbretz@ uni-sw.gwdg.de>18 ! Author(s): Thomas Bretz 01/2002 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! 20 20 ! Copyright: MAGIC Software Development, 2000-2002 -
trunk/MagicSoft/Mars/mhist/MFillH.cc
r1283 r1330 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 07/2001 <mailto:tbretz@ uni-sw.gwdg.de>18 ! Author(s): Thomas Bretz 07/2001 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! 20 20 ! Copyright: MAGIC Software Development, 2000-2002 -
trunk/MagicSoft/Mars/mhist/MH.cc
r1300 r1330 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 07/2001 <mailto:tbretz@ uni-sw.gwdg.de>18 ! Author(s): Thomas Bretz 07/2001 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! 20 20 ! Copyright: MAGIC Software Development, 2000-2002 -
trunk/MagicSoft/Mars/mhist/MHAlphaEnergyTheta.cc
r1292 r1330 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 1/2002 <mailto:tbretz@ uni-sw.gwdg.de>18 ! Author(s): Thomas Bretz 1/2002 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! Author(s): Wolfgang Wittek 1/2002 <mailto:wittek@mppmu.mpg.de> 20 20 ! … … 66 66 fHist.SetTitle("3D-plot of alpha, E-est, Theta"); 67 67 fHist.SetXTitle("\\alpha [\\circ]"); 68 fHist.SetYTitle("E -est [GeV]");68 fHist.SetYTitle("E_{est} [GeV]"); 69 69 fHist.SetZTitle("\\Theta [\\circ]"); 70 70 } … … 146 146 147 147 h->SetTitle("Distribution of E-est [GeV]"); 148 h->SetXTitle("E -est [GeV]");148 h->SetXTitle("E_{est} [GeV]"); 149 149 h->SetYTitle("Counts"); 150 150 -
trunk/MagicSoft/Mars/mhist/MHAlphaEnergyTime.cc
r1292 r1330 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 1/2002 <mailto:tbretz@ uni-sw.gwdg.de>18 ! Author(s): Thomas Bretz 1/2002 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! Author(s): Wolfgang Wittek 1/2002 <mailto:wittek@mppmu.mpg.de> 20 20 ! … … 68 68 fHist.SetTitle("3D-plot of alpha, E-est, time"); 69 69 fHist.SetXTitle("\\alpha [\\circ]"); 70 fHist.SetYTitle("E -est [GeV]");70 fHist.SetYTitle("E_{est} [GeV]"); 71 71 fHist.SetZTitle("time [s]"); 72 72 } … … 147 147 148 148 h->SetTitle("Distribution of E-est [GeV]"); 149 h->SetXTitle("E -est [GeV]");149 h->SetXTitle("E_{est} [GeV]"); 150 150 h->SetYTitle("Counts"); 151 151 -
trunk/MagicSoft/Mars/mhist/MHEffOnTimeTheta.cc
r1293 r1330 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 1/2002 <mailto:tbretz@ uni-sw.gwdg.de>18 ! Author(s): Thomas Bretz 1/2002 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! Author(s): Wolfgang Wittek 1/2002 <mailto:wittek@mppmu.mpg.de> 20 20 ! … … 70 70 71 71 fHEffOn.SetXTitle("\\Theta [\\circ]"); 72 fHEffOn.SetYTitle("t -eff[s]");72 fHEffOn.SetYTitle("t_{eff} [s]"); 73 73 74 74 // chi2/NDF versus theta … … 79 79 80 80 fHChi2.SetXTitle("\\Theta [\\circ]"); 81 fHChi2.SetYTitle("chi 2/NDF");81 fHChi2.SetYTitle("chi^{2}/NDF"); 82 82 83 83 // lambda versus theta … … 322 322 gPad->Update(); 323 323 } 324 325 326 327 328 329 330 331 332 333 334 335 336 -
trunk/MagicSoft/Mars/mhist/MHEffOnTimeTime.cc
r1295 r1330 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 1/2002 <mailto:tbretz@ uni-sw.gwdg.de>18 ! Author(s): Thomas Bretz 1/2002 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! Author(s): Wolfgang Wittek 1/2002 <mailto:wittek@mppmu.mpg.de> 20 20 ! … … 71 71 72 72 fHEffOn.SetXTitle("time [s]"); 73 fHEffOn.SetYTitle("t -eff[s]");73 fHEffOn.SetYTitle("t_{eff} [s]"); 74 74 75 75 // chi2/NDF versus time … … 80 80 81 81 fHChi2.SetXTitle("time [s]"); 82 fHChi2.SetYTitle("chi 2/NDF");82 fHChi2.SetYTitle("chi^{2}/NDF"); 83 83 84 84 // lambda versus time -
trunk/MagicSoft/Mars/mhist/MHEnergyTheta.cc
r1227 r1330 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 1/2002 <mailto:tbretz@ uni-sw.gwdg.de>18 ! Author(s): Thomas Bretz 1/2002 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! 20 20 ! Copyright: MAGIC Software Development, 2000-2002 … … 23 23 \* ======================================================================== */ 24 24 25 #include "MHEnergyTheta.h" 25 ////////////////////////////////////////////////////////////////////////////// 26 // // 27 // MHEnergyTheta // 28 // // 29 ////////////////////////////////////////////////////////////////////////////// 30 31 #include "MHEnergyTheta.h" 26 32 27 33 #include <TCanvas.h> -
trunk/MagicSoft/Mars/mhist/MHEnergyTime.cc
r1227 r1330 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 1/2002 <mailto:tbretz@ uni-sw.gwdg.de>18 ! Author(s): Thomas Bretz 1/2002 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! 20 20 ! Copyright: MAGIC Software Development, 2000-2002 … … 22 22 ! 23 23 \* ======================================================================== */ 24 25 ////////////////////////////////////////////////////////////////////////////// 26 // // 27 // MHEnergyTime // 28 // // 29 ////////////////////////////////////////////////////////////////////////////// 24 30 25 31 #include "MHEnergyTime.h" -
trunk/MagicSoft/Mars/mhist/MHMcCollectionArea.cc
r1300 r1330 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@ uni-sw.gwdg.de>18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! Author(s): Harald Kornmayer 1/2001 20 20 ! 21 ! Copyright: MAGIC Software Development, 2000-200 121 ! Copyright: MAGIC Software Development, 2000-2002 22 22 ! 23 23 ! 24 24 \* ======================================================================== */ 25 26 ////////////////////////////////////////////////////////////////////////////// 27 // // 28 // MHMcCollectionArea // 29 // // 30 ////////////////////////////////////////////////////////////////////////////// 25 31 26 32 #include "MHMcCollectionArea.h" -
trunk/MagicSoft/Mars/mhist/MHMcEnergyMigration.cc
r1322 r1330 65 65 66 66 fHist.SetTitle("3D-plot E-true E-est Theta"); 67 fHist.SetXTitle("E -true [GeV]");68 fHist.SetYTitle("E -est [GeV]");67 fHist.SetXTitle("E_{true} [GeV]"); 68 fHist.SetYTitle("E_{est} [GeV]"); 69 69 fHist.SetZTitle("\\Theta [\\circ]"); 70 70 } … … 123 123 124 124 h->SetTitle("Distribution of E-true"); 125 h->SetXTitle("E -true [GeV]");125 h->SetXTitle("E_{true} [GeV]"); 126 126 h->SetYTitle("Counts"); 127 127 … … 135 135 136 136 h->SetTitle("Distribution of E-est"); 137 h->SetXTitle("E -est [GeV]");137 h->SetXTitle("E_{est} [GeV]"); 138 138 h->SetYTitle("Counts"); 139 139 … … 179 179 180 180 h->SetTitle("Distribution of E-true"); 181 h->SetXTitle("E -true [GeV]");181 h->SetXTitle("E_{true} [GeV]"); 182 182 183 183 h->Draw(opt); … … 190 190 191 191 h->SetTitle("Distribution of E-est"); 192 h->SetXTitle("E -est [GeV]");192 h->SetXTitle("E_{est} [GeV]"); 193 193 h->Draw(opt); 194 194 h->SetBit(kCanDelete); -
trunk/MagicSoft/Mars/mhist/MHStarMap.cc
r1283 r1330 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@ uni-sw.gwdg.de>18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! 20 20 ! Copyright: MAGIC Software Development, 2000-2002 … … 23 23 \* ======================================================================== */ 24 24 25 /////////////////////////////////////////////////////////////////////// 25 ///////////////////////////////////////////////////////////////////////////// 26 26 // 27 27 // MHStarMap … … 31 31 // from the Hillas parameters (Fill) can be enhanced. 32 32 // 33 /////////////////////////////////////////////////////////////////////// 33 ///////////////////////////////////////////////////////////////////////////// 34 34 35 35 #include "MHStarMap.h" -
trunk/MagicSoft/Mars/mmain/MMars.cc
r1108 r1330 19 19 ! Author(s): Harald Kornmayer 1/2001 20 20 ! 21 ! Copyright: MAGIC Software Development, 2000-200 121 ! Copyright: MAGIC Software Development, 2000-2002 22 22 ! 23 23 ! … … 292 292 293 293 case kPicMagic: 294 cout << "Trying to start 'netscape http://hegra1.mppmu.mpg.de/MAGICWeb/'..." << endl; 294 295 gSystem->Exec("netscape http://hegra1.mppmu.mpg.de/MAGICWeb/ &"); 295 296 return kTRUE; 296 297 297 298 case kPicMars: 298 gSystem->Exec("netscape http://magic.uni-sw.gwdg.de/mars/ &"); 299 cout << "Trying to start 'netscape http://magic.astro.uni-wuerzburg.de/mars/'..." << endl; 300 gSystem->Exec("netscape http://magic.astro.uni-wuerzburg.de/mars/ &"); 299 301 return kTRUE; 300 302 } -
trunk/MagicSoft/Mars/mmontecarlo/MMcCollectionAreaCalc.cc
r1300 r1330 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@ uni-sw.gwdg.de>18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@astro.uni-wuerzburg.de> 19 19 ! Author(s): Harald Kornmayer 1/2001 20 20 ! 21 ! Copyright: MAGIC Software Development, 2000-200 121 ! Copyright: MAGIC Software Development, 2000-2002 22 22 ! 23 23 ! 24 24 \* ======================================================================== */ 25 26 ////////////////////////////////////////////////////////////////////////////// 27 // // 28 // MHMcCollectionAreaCalc // 29 // // 30 ////////////////////////////////////////////////////////////////////////////// 25 31 26 32 #include "MMcCollectionAreaCalc.h"
Note:
See TracChangeset
for help on using the changeset viewer.