Changeset 2550 for trunk/MagicSoft/Mars/mmain
- Timestamp:
- 11/21/03 17:01:15 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmain/MEventDisplay.cc
r2521 r2550 470 470 471 471 // 472 // Set name for 'FADC canvas'. The name is the anchor for MHCamera.473 // and clear the canvas474 //475 MHEvent *o = (MHEvent*)plist->FindObject("Signal");476 fCanvas->SetName(Form("%p;%p;PixelContent", o->GetHist(),477 GetCanvas(1)->GetPad(1)));478 479 //480 472 // Draw ellipse on top of all pads 481 473 // … … 520 512 // The other two are parm1 and parm2. 521 513 // 522 Bool_t MEventDisplay::ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)514 Bool_t MEventDisplay::ProcessMessage(Long_t msg, Long_t mp1, Long_t mp2) 523 515 { 524 516 switch (GET_MSG(msg)) … … 545 537 switch (GET_SUBMSG(msg)) 546 538 { 539 case kCM_TAB: 540 { 541 // 542 // Set name for 'FADC canvas'. The name is the anchor for MHCamera. 543 // and clear the canvas 544 // 545 MHEvent *o = (MHEvent*)fEvtLoop->GetParList()->FindObject(GetCanvas(mp1)->GetName()); 546 if (o) 547 fCanvas->SetName(Form("%p;%p;PixelContent", o->GetHist(), 548 GetCanvas(mp1)->GetPad(1))); 549 } 550 break; 551 547 552 case kCM_BUTTON: 548 switch ( parm1)553 switch (mp1) 549 554 { 550 555 case kEvtPrev: … … 560 565 break; 561 566 } 562 return MStatusDisplay::ProcessMessage(msg, parm1, parm2); 563 } 567 568 return MStatusDisplay::ProcessMessage(msg, mp1, mp2); 569 }
Note:
See TracChangeset
for help on using the changeset viewer.