Changeset 9414 for trunk/MagicSoft
- Timestamp:
- 03/30/09 09:07:40 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9413 r9414 30 30 - added an additional sanity check 31 31 32 * mhbase/MH.cc: 33 - added "temp" to palette 32 34 33 35 -
trunk/MagicSoft/Mars/NEWS
r9413 r9414 2 2 3 3 == <cvs> == 4 5 ;general: 6 7 * Added a new palette "temp" to MH::SetPalette which should resample 8 a temperature 4 9 5 10 ;showplot: -
trunk/MagicSoft/Mars/manalysis/MMcCalibrationUpdate.cc
r9337 r9414 135 135 if (!run) 136 136 { 137 *fLog << warn << dbginf << "W arning- cannot check file type, MRawRunHeader not found." << endl;137 *fLog << warn << dbginf << "WARNING - cannot check file type, MRawRunHeader not found." << endl; 138 138 return kTRUE; 139 139 } … … 143 143 // 144 144 fGeom = 0; 145 if ( run->IsMonteCarloRun())145 if (!run->IsMonteCarloRun()) 146 146 { 147 147 *fLog << inf << "This is no MC file... skipping." << endl; -
trunk/MagicSoft/Mars/mgeom/MGeomCamSquare.cc
r9385 r9414 89 89 for (Short_t x=0; x<nx; x++) 90 90 for (Short_t y=0; y<ny; y++) 91 SetAt(x*ny+y, MGeomRectangle((0.5*nx-x )*diameter, (0.5*ny-y)*diameter, diameter));91 SetAt(x*ny+y, MGeomRectangle((0.5*nx-x-0.5)*diameter, (0.5*ny-y-0.5)*diameter, diameter)); 92 92 } -
trunk/MagicSoft/Mars/mhbase/MH.cc
r9410 r9414 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MH.cc,v 1.4 8 2009-03-23 13:13:42tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MH.cc,v 1.49 2009-03-30 08:06:41 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 1700 1700 double b[5] = {0.2, 0.7, 0.0, 0.3, 0.9 }; 1701 1701 CreateGradientColorTable(5, s, r, g, b, ncol); 1702 found=kTRUE; 1703 } 1704 if (paletteName.Contains("temp")) 1705 { 1706 Double_t s[7] = { 0.00, 0.30, 0.45, 0.75, 0.88, 0.95, 1.00 }; 1707 Double_t r[7] = { 0.00, 0.00, 0.30, 0.60, 1.00, 1.00, 1.00 }; 1708 Double_t g[7] = { 0.00, 0.00, 0.00, 0.00, 0.20, 1.00, 1.00 }; 1709 Double_t b[7] = { 0.10, 0.60, 0.30, 0.00, 0.20, 0.00, 1.00 }; 1710 CreateGradientColorTable(7, s, r, g, b, ncol); 1702 1711 found=kTRUE; 1703 1712 }
Note:
See TracChangeset
for help on using the changeset viewer.