Changeset 12134 for trunk/FACT++
- Timestamp:
- 09/17/11 15:09:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r12131 r12134 3402 3402 const PixelMapEntry &entry = fPixelMap.index(isw); 3403 3403 3404 const int ihw = entry.hw();3405 3406 const int idx = fPatchHW[isw];3407 int ii = 0;3408 for (; ii<160;ii++)3409 if (idx ==fPatchMapHW[ii])3410 break;3411 3412 const int patch = idx%4;3413 const int board = (idx/4)%10;3414 const int crate = (idx/4)/10;3415 3404 QString tipText; 3416 3405 tipText += fRatesCanv->GetName(); 3417 3406 ostringstream str; 3418 str << " || Pixel=" << isw << " (hw=" << ihw << ") || Patch=" << ii << " (hw=" << fPatchMapHW[idx] << "; Crate=" << crate << " Board=" << board << " Patch=" << patch << ")"; 3407 str << setfill('0') << 3408 " || HW: " << entry.crate() << "|" << entry.board() << "|" << entry.patch() << "|" << entry.pixel() << " (crate|board|patch|pixel)" << 3409 " || HV: " << entry.hv_board << "|" << setw(2) << entry.hv_channel << " (board|channel)" << 3410 " || ID: " << isw; 3411 3412 3419 3413 tipText += str.str().c_str(); 3420 3414 fStatusBar->showMessage(tipText, 3000); … … 4099 4093 fEventCanv4->setMouseTracking(true); 4100 4094 4095 fBiasCamV->setMouseTracking(true); 4096 fBiasCamA->setMouseTracking(true); 4097 4101 4098 fFeedbackDevCam->setMouseTracking(true); 4102 4099 fFeedbackCmdCam->setMouseTracking(true); … … 4129 4126 this, SLOT(slot_CameraMouseMove(int))); 4130 4127 4128 connect(fBiasCamV, SIGNAL(signalPixelMoveOver(int)), 4129 this, SLOT(slot_CameraMouseMove(int))); 4130 connect(fBiasCamA, SIGNAL(signalPixelMoveOver(int)), 4131 this, SLOT(slot_CameraMouseMove(int))); 4132 4131 4133 connect(fFeedbackDevCam, SIGNAL(signalPixelMoveOver(int)), 4132 4134 this, SLOT(slot_CameraMouseMove(int)));
Note:
See TracChangeset
for help on using the changeset viewer.