Changeset 11223
- Timestamp:
- 06/30/11 20:18:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r11207 r11223 994 994 int16_t StartTM; // First Channel for TimeMark (sorted Hardware ID) ; -1 if not filled 995 995 996 uint16_t Adc_Data[]; // final length defined by malloc ....996 int16_t Adc_Data[]; // final length defined by malloc .... 997 997 998 998 } __attribute__((__packed__));; … … 1035 1035 //hist->SetBit(TH1::kNoTitle); 1036 1036 hist.SetMarkerStyle(kFullDotMedium); 1037 hist.SetMarkerColor(kBlue); 1037 1038 hist.SetYTitle("Voltage [mV]"); 1038 1039 hist.GetXaxis()->CenterTitle(); … … 1040 1041 hist.SetMinimum(-1026); 1041 1042 hist.SetMaximum(1025); 1042 h = hist.DrawCopy("P ");1043 h = hist.DrawCopy("PL"); 1043 1044 h->SetDirectory(0); 1044 1045 } 1045 1046 1046 1047 ostringstream str; 1047 str << "ADC Pipeline (start=" << dat.Start TM << ")";1048 str << "ADC Pipeline (start=" << dat.StartPix << ") " << dat.EventNum; 1048 1049 h->SetXTitle(str.str().c_str()); 1049 1050 … … 1053 1054 1054 1055 for (int i=0; i<dat.Roi; i++) 1055 h->SetBinContent(i+1, dat.Adc_Data[i]*0.5 -1024);1056 h->SetBinContent(i+1, dat.Adc_Data[i]*0.5); 1056 1057 1057 1058 c->Modified(); … … 1205 1206 tip << "<th>" << b << "</th>"; 1206 1207 tip << "</tr>"; 1208 1209 /* 1210 tip << "<tr>" << hex; 1211 tip << "<th>" << d.ptr<uint16_t>()[0] << " " << (d.ptr<uint16_t>()[0]&bitmask) << "</th>"; 1212 tip << "<th>" << d.ptr<uint16_t>()[1] << " " << (d.ptr<uint16_t>()[1]&bitmask) << "</th>"; 1213 tip << "</tr>"; 1214 */ 1207 1215 1208 1216 for (int c=0; c<4; c++)
Note:
See TracChangeset
for help on using the changeset viewer.