Changeset 1965 for trunk/MagicSoft/Mars/meventdisp/MGCamDisplay.cc
- Timestamp:
- 04/19/03 18:39:05 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/meventdisp/MGCamDisplay.cc
r1668 r1965 162 162 AddSetupElements(); 163 163 164 TCanvas *canv2 = AddTab("Errors");165 TCanvas *canv3 = AddTab("Phot/Err");166 TCanvas *canv4 = AddTab("Levels");167 TCanvas *canv5 = AddTab("Pedestals");164 fCanvas2 = AddTab("Errors"); 165 fCanvas3 = AddTab("Phot/Err"); 166 fCanvas4 = AddTab("Levels"); 167 fCanvas5 = AddTab("Pedestals"); 168 168 169 169 // … … 184 184 fCanvas->cd(); 185 185 fDisplay->Draw(); 186 canv2->cd();186 fCanvas2->cd(); 187 187 fDisplay2->Draw(); 188 canv3->cd();188 fCanvas3->cd(); 189 189 fDisplay3->Draw(); 190 canv4->cd();190 fCanvas4->cd(); 191 191 fDisplay4->Draw(); 192 canv5->cd();192 fCanvas5->cd(); 193 193 fDisplay5->Draw(); 194 194 … … 239 239 // Display the requested event. This does a Canvas update, too. 240 240 // 241 MCerPhotEvt 241 MCerPhotEvt *evt = NULL; 242 242 if (fDisplayRaw) 243 243 { … … 259 259 const MPedestalCam *ped = (MPedestalCam*)plist->FindObject("MPedestalCam"); 260 260 261 fDisplay->DrawPhotNum(evt); 262 fDisplay2->DrawErrorPhot(evt); 263 fDisplay3->DrawRatio(evt); 264 fDisplay4->DrawLevels(evt, *clean); 265 fDisplay5->DrawPedestals(ped); 261 fDisplay->FillPhotNum(*evt); 262 fCanvas->Modified(); 263 fCanvas->Update(); 264 fDisplay2->FillErrorPhot(*evt); 265 fCanvas2->Modified(); 266 fCanvas2->Update(); 267 fDisplay3->FillRatio(*evt); 268 fCanvas3->Modified(); 269 fCanvas3->Update(); 270 fDisplay4->FillLevels(*evt, *clean); 271 fCanvas4->Modified(); 272 fCanvas4->Update(); 273 fDisplay5->FillPedestals(*ped); 274 fCanvas5->Modified(); 275 fCanvas5->Update(); 266 276 } 267 277
Note:
See TracChangeset
for help on using the changeset viewer.