Changeset 11108 for trunk/FACT++
- Timestamp:
- 06/22/11 15:48:42 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r11105 r11108 1171 1171 for (int i=0; i<160; i++) 1172 1172 fGraphPatchRate[i].SetPoint(fGraphPatchRate[i].GetN(), 1173 t0+sdata.fTimeStamp , float(sdata.fRatePatch[i])/fFtmStaticData.fPrescaling[i]/1000);1173 t0+sdata.fTimeStamp/1000000., float(sdata.fRatePatch[i])*2/fFtmStaticData.fPrescaling[i]); 1174 1174 for (int i=0; i<40; i++) 1175 1175 fGraphBoardRate[i].SetPoint(fGraphBoardRate[i].GetN(), 1176 t0+sdata.fTimeStamp , float(sdata.fRateBoard[i])/fFtmStaticData.fPrescaling[i]/1000);1176 t0+sdata.fTimeStamp/1000000., float(sdata.fRateBoard[i])*2/fFtmStaticData.fPrescaling[i]); 1177 1177 1178 1178 c->Modified(); 1179 1179 c->Update(); 1180 1181 //fGraphFtmRate.ComputeRange(x[0], x[1], x[2], x[3]); 1180 1182 1181 1183 // ---------------------------------------------- … … 1222 1224 c->GetListOfPrimitives()->Remove(c->FindObject("BoardRate")); 1223 1225 1226 c->cd(); 1227 1224 1228 if (fRatePatch1->value()>=0) 1229 { 1230 fGraphPatchRate[fRatePatch1->value()].SetLineColor(kRed); 1231 fGraphPatchRate[fRatePatch1->value()].SetMarkerColor(kRed); 1225 1232 fGraphPatchRate[fRatePatch1->value()].Draw("PL"); 1233 } 1226 1234 if (fRatePatch2->value()>=0) 1235 { 1236 fGraphPatchRate[fRatePatch2->value()].SetLineColor(kGreen); 1237 fGraphPatchRate[fRatePatch2->value()].SetMarkerColor(kGreen); 1227 1238 fGraphPatchRate[fRatePatch2->value()].Draw("PL"); 1239 } 1228 1240 if (fRateBoard1->value()>=0) 1241 { 1242 fGraphBoardRate[fRateBoard1->value()].SetLineColor(kMagenta); 1243 fGraphBoardRate[fRateBoard1->value()].SetMarkerColor(kMagenta); 1229 1244 fGraphBoardRate[fRateBoard1->value()].Draw("PL"); 1245 } 1230 1246 if (fRateBoard2->value()>=0) 1247 { 1248 fGraphBoardRate[fRateBoard2->value()].SetLineColor(kCyan); 1249 fGraphBoardRate[fRateBoard2->value()].SetMarkerColor(kCyan); 1231 1250 fGraphBoardRate[fRateBoard2->value()].Draw("PL"); 1251 } 1232 1252 #endif 1233 1253 } … … 2307 2327 { 2308 2328 fGraphPatchRate[i].SetName("PatchRate"); 2309 fGraphPatchRate[i].SetLineColor(kBlue);2310 fGraphPatchRate[i].SetMarkerColor(kBlue);2329 //fGraphPatchRate[i].SetLineColor(kBlue); 2330 //fGraphPatchRate[i].SetMarkerColor(kBlue); 2311 2331 fGraphPatchRate[i].SetMarkerStyle(kFullDotMedium); 2312 2332 } … … 2314 2334 { 2315 2335 fGraphBoardRate[i].SetName("BoardRate"); 2316 fGraphBoardRate[i].SetLineColor(kBlue);2317 fGraphBoardRate[i].SetMarkerColor(kBlue);2336 //fGraphBoardRate[i].SetLineColor(kBlue); 2337 //fGraphBoardRate[i].SetMarkerColor(kBlue); 2318 2338 fGraphBoardRate[i].SetMarkerStyle(kFullDotMedium); 2319 2339 } … … 2351 2371 2352 2372 TCanvas *c = fFtmRateCanv->GetCanvas(); 2353 c->SetBit(TCanvas::kNoContextMenu);2373 //c->SetBit(TCanvas::kNoContextMenu); 2354 2374 c->SetBorderMode(0); 2355 2375 c->SetFrameBorderMode(0); … … 2370 2390 2371 2391 c = fRatesCanv->GetCanvas(); 2372 c->SetBit(TCanvas::kNoContextMenu);2392 //c->SetBit(TCanvas::kNoContextMenu); 2373 2393 c->SetBorderMode(0); 2374 2394 c->SetFrameBorderMode(0);
Note:
See TracChangeset
for help on using the changeset viewer.