Changeset 15278 for trunk/FACT++/gui
- Timestamp:
- 04/08/13 13:07:15 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc
r15241 r15278 260 260 void RawDataViewer::drawPixelCurve() 261 261 { 262 float xZoom, yZoom;263 xZoom = yZoom = 1.0f;264 262 float xRange = bboxMax[0] - bboxMin[0]; 265 263 float yRange = bboxMax[1] - bboxMin[1]; … … 377 375 fIsDrsCalibration = false; 378 376 SetAutoRefresh(true); 379 377 runType = "unkown"; 380 378 PixelMap mypMap; 381 379 if (!mypMap.Read("/swdev_nfs/FACT++/FACTmap111030.txt")) … … 597 595 runNumber = inputFile->HasKey("RUNID") ? inputFile->GetInt("RUNID") : -1; 598 596 nTM = inputFile->HasKey("NTMARK") ? inputFile->GetInt("NTMARK") : 0; 599 runType = inputFile->HasKey("RUNTYPE") ? inputFile->GetInt("RUNTYPE") : -1; 597 598 runType = "unkown"; 599 if (inputFile->HasKey("RUNTYPE")) 600 { 601 runType = inputFile->GetStr("RUNTYPE"); 602 if (runType == "") 603 runType = "unkown"; 604 } 600 605 firstDataTime = inputFile->HasKey("TSTART") ? inputFile->GetInt("TSTART") : -1; 601 606 lastDataTime = inputFile->HasKey("TSTOP") ? inputFile->GetInt("TSTOP"): -1; … … 751 756 catch (const runtime_error &e) 752 757 { 753 msg = e.what(); 754 } 755 758 msg = string("Something went wrong while loading Drs Calib: ") + e.what() + string(".. Aborting file loading"); 759 } 756 760 cerr << msg << endl; 757 761 fDrsCalib.Clear();
Note:
See TracChangeset
for help on using the changeset viewer.