Changeset 2230
- Timestamp:
- 06/24/03 16:19:04 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2229 r2230 46 46 * mreflector/MRflEvtData.[h,cc]: 47 47 - implemented Paint function 48 49 * meventdisp/MGCamDisplay.cc: 50 - Set Name and title of MHCamera instances 51 52 * mraw/MRawEvtData.cc: 53 - fixed a degug level problem 48 54 49 55 -
trunk/MagicSoft/Mars/meventdisp/MGCamDisplay.cc
r2228 r2230 184 184 } 185 185 186 fDisplay[0]->SetNameTitle("photons", "Number of Photons"); 187 fDisplay[1]->SetNameTitle("errors", "Error of Photons"); 188 fDisplay[2]->SetNameTitle("photerr", "Number of Photons / Error"); 189 fDisplay[3]->SetNameTitle("levels", "Cleaning Levels"); 190 fDisplay[4]->SetNameTitle("pedestals", "Pedestals"); 191 186 192 ReadFirstEvent(); 187 193 … … 205 211 // together with the hillas ellipse or not. 206 212 // 207 #include <iostream>208 213 void MGCamDisplay::UpdateDisplay() 209 214 { … … 253 258 fCanvas2[i]->cd(); 254 259 hillas->Draw(); 260 fCanvas2[i]->Modified(); 255 261 fCanvas2[i]->Update(); 256 262 } -
trunk/MagicSoft/Mars/mgui/MHexagon.cc
r2229 r2230 64 64 // normal constructor for MHexagon 65 65 // 66 MHexagon::MHexagon( MGeomPix &pix)66 MHexagon::MHexagon(const MGeomPix &pix) 67 67 : TAttLine(1, 1, 1), TAttFill(0, 1001) 68 68 { … … 76 76 // copy constructor for MHexagon 77 77 // 78 MHexagon::MHexagon(const MHexagon &hexagon) 79 { 80 ((MHexagon&) hexagon).Copy(*this); 78 MHexagon::MHexagon(const MHexagon &hexagon) : TObject(hexagon), TAttLine(hexagon), TAttFill(hexagon) 79 { 80 fX = hexagon.fX; 81 fY = hexagon.fY; 82 fD = hexagon.fD; 81 83 } 82 84 … … 89 91 const 90 92 #endif 91 92 93 { 93 94 MHexagon &hex = (MHexagon&) obj; … … 245 246 const Float_t dy[np+1] = { .2886, .5772, .2886, -.2886, -.5772, -.2886, .2886 }; 246 247 247 TAttLine::Modify(); // Change line attributes only if neccessary248 TAttFill::Modify(); // Change fill attributes only if neccessary249 250 248 // 251 249 // calculate the positions of the pixel corners … … 257 255 y[i] = inY + dy[i]*inD; 258 256 } 257 258 TAttLine::Modify(); // Change line attributes only if neccessary 259 TAttFill::Modify(); // Change fill attributes only if neccessary 259 260 260 261 // -
trunk/MagicSoft/Mars/mraw/MRawEvtData.cc
r2229 r2230 279 279 { 280 280 // FIXME: Add Legend 281 *fLog << "Drawing Histogram of Pixel with Idx #" << pix.GetPixelId() << endl;281 *fLog << inf << "Drawing Histogram of Pixel with Idx #" << pix.GetPixelId() << endl; 282 282 283 283 TH1F *histh = new TH1F(name, "FADC Samples", nh, -0.5, nh-.5);
Note:
See TracChangeset
for help on using the changeset viewer.