have the channelSetting UI, no functions, not tested
This commit is contained in:
parent
0be8c0dceb
commit
aac24ef5ef
|
@ -136,8 +136,8 @@ MainWindow::MainWindow(const TGWindow *p,UInt_t w,UInt_t h) {
|
||||||
|
|
||||||
//HandleMenu(M_DIGITIZER_SCAN);
|
//HandleMenu(M_DIGITIZER_SCAN);
|
||||||
//
|
//
|
||||||
HandleMenu(M_BOARD_SETTINGS);
|
//HandleMenu(M_BOARD_SETTINGS);
|
||||||
//HandleMenu(M_CH_SETTING);
|
HandleMenu(M_CH_SETTING);
|
||||||
|
|
||||||
}
|
}
|
||||||
MainWindow::~MainWindow() {
|
MainWindow::~MainWindow() {
|
||||||
|
|
|
@ -22,8 +22,8 @@ ChannelSetting::ChannelSetting(const TGWindow *p, UInt_t w, UInt_t h, Digitizer
|
||||||
fMain->SetWindowName("Channel Settings ");
|
fMain->SetWindowName("Channel Settings ");
|
||||||
fMain->Connect("CloseWindow()", "ChannelSetting", this, "CloseWindow()");
|
fMain->Connect("CloseWindow()", "ChannelSetting", this, "CloseWindow()");
|
||||||
|
|
||||||
TGLayoutHints * layoutHints = new TGLayoutHints(kLHintsCenterX | kLHintsCenterY, 5,5,3,3); /// left, right, top, bottom
|
TGLayoutHints * layoutHintsR = new TGLayoutHints(kLHintsRight, 5,5,3,2); /// left, right, top, bottom
|
||||||
TGLayoutHints * layoutHintsR = new TGLayoutHints(kLHintsRight, 5,5,6,5); /// left, right, top, bottom
|
TGLayoutHints * layoutHints = new TGLayoutHints(kLHintsCenterX | kLHintsCenterY, 5,5,0,0); /// left, right, top, bottom
|
||||||
|
|
||||||
TGVerticalFrame * vframe = new TGVerticalFrame(fMain);
|
TGVerticalFrame * vframe = new TGVerticalFrame(fMain);
|
||||||
fMain->AddFrame(vframe, new TGLayoutHints(kLHintsCenterX, 2,2,2,2));
|
fMain->AddFrame(vframe, new TGLayoutHints(kLHintsCenterX, 2,2,2,2));
|
||||||
|
@ -59,10 +59,9 @@ ChannelSetting::ChannelSetting(const TGWindow *p, UInt_t w, UInt_t h, Digitizer
|
||||||
int ch = chIDEntry->GetNumber();
|
int ch = chIDEntry->GetNumber();
|
||||||
int width = 80;
|
int width = 80;
|
||||||
|
|
||||||
|
|
||||||
TGHorizontalFrame *hframe1 = new TGHorizontalFrame(vframe, w, 50 ); vframe->AddFrame(hframe1, new TGLayoutHints(kLHintsCenterX, 2,2,2,2));
|
TGHorizontalFrame *hframe1 = new TGHorizontalFrame(vframe, w, 50 ); vframe->AddFrame(hframe1, new TGLayoutHints(kLHintsCenterX, 2,2,2,2));
|
||||||
|
|
||||||
///================== Input Setting
|
{///================== Input Setting
|
||||||
TGGroupFrame * gfInput = new TGGroupFrame(hframe1, "Input / Misc.", kHorizontalFrame); hframe1->AddFrame(gfInput, new TGLayoutHints(kLHintsExpandY));
|
TGGroupFrame * gfInput = new TGGroupFrame(hframe1, "Input / Misc.", kHorizontalFrame); hframe1->AddFrame(gfInput, new TGLayoutHints(kLHintsExpandY));
|
||||||
TGHorizontalFrame * hfInput = new TGHorizontalFrame(gfInput); gfInput->AddFrame(hfInput);
|
TGHorizontalFrame * hfInput = new TGHorizontalFrame(gfInput); gfInput->AddFrame(hfInput);
|
||||||
|
|
||||||
|
@ -111,8 +110,9 @@ ChannelSetting::ChannelSetting(const TGWindow *p, UInt_t w, UInt_t h, Digitizer
|
||||||
TGLabel * lbEventAgg = new TGLabel(vfInput1, "Events / Aggregate"); vfInput1->AddFrame(lbEventAgg, layoutHintsR);
|
TGLabel * lbEventAgg = new TGLabel(vfInput1, "Events / Aggregate"); vfInput1->AddFrame(lbEventAgg, layoutHintsR);
|
||||||
TGNumberEntry* numEventAgg = new TGNumberEntry(vfInput2, 512, 0, 0, TGNumberFormat::kNESInteger, TGNumberFormat::kNEANonNegative); vfInput2->AddFrame(numEventAgg, layoutHints);
|
TGNumberEntry* numEventAgg = new TGNumberEntry(vfInput2, 512, 0, 0, TGNumberFormat::kNESInteger, TGNumberFormat::kNEANonNegative); vfInput2->AddFrame(numEventAgg, layoutHints);
|
||||||
numEventAgg->Resize(width, 20);
|
numEventAgg->Resize(width, 20);
|
||||||
|
}
|
||||||
|
|
||||||
///================== Trigger Settings
|
{///================== Trigger Settings
|
||||||
TGGroupFrame * gfTrigger = new TGGroupFrame(hframe1, "Trigger", kHorizontalFrame); hframe1->AddFrame(gfTrigger, new TGLayoutHints(kLHintsExpandY));
|
TGGroupFrame * gfTrigger = new TGGroupFrame(hframe1, "Trigger", kHorizontalFrame); hframe1->AddFrame(gfTrigger, new TGLayoutHints(kLHintsExpandY));
|
||||||
TGHorizontalFrame * hfTrigger = new TGHorizontalFrame(gfTrigger); gfTrigger->AddFrame(hfTrigger);
|
TGHorizontalFrame * hfTrigger = new TGHorizontalFrame(gfTrigger); gfTrigger->AddFrame(hfTrigger);
|
||||||
|
|
||||||
|
@ -162,8 +162,18 @@ ChannelSetting::ChannelSetting(const TGWindow *p, UInt_t w, UInt_t h, Digitizer
|
||||||
///const uint32_t VetoWidth = 0x10D4; /// R/W
|
///const uint32_t VetoWidth = 0x10D4; /// R/W
|
||||||
///const uint32_t FineGain = 0x10C4; /// R/W OK
|
///const uint32_t FineGain = 0x10C4; /// R/W OK
|
||||||
|
|
||||||
|
/// DPP1 bit[19:18]
|
||||||
|
TGLabel * lbTriggerMode = new TGLabel(vfTrigger1, "Trig. Mode"); vfTrigger1->AddFrame(lbTriggerMode, layoutHintsR);
|
||||||
|
TGComboBox * cbTriggerMode = new TGComboBox(vfTrigger2); vfTrigger2->AddFrame(cbTriggerMode, layoutHints);
|
||||||
|
cbTriggerMode->AddEntry("Normal", 0);
|
||||||
|
cbTriggerMode->AddEntry("Coin.", 1);
|
||||||
|
cbTriggerMode->AddEntry("Anti-Coin.", 3);
|
||||||
|
cbTriggerMode->Resize(width, 20);
|
||||||
|
cbTriggerMode->Select(0);
|
||||||
|
|
||||||
///================== Trapezoid Settings
|
}
|
||||||
|
|
||||||
|
{///================== Trapezoid Settings
|
||||||
TGGroupFrame * gfTrap = new TGGroupFrame(hframe1, "Trapazoid", kHorizontalFrame); hframe1->AddFrame(gfTrap, new TGLayoutHints(kLHintsExpandY));
|
TGGroupFrame * gfTrap = new TGGroupFrame(hframe1, "Trapazoid", kHorizontalFrame); hframe1->AddFrame(gfTrap, new TGLayoutHints(kLHintsExpandY));
|
||||||
TGHorizontalFrame * hfTrap = new TGHorizontalFrame(gfTrap); gfTrap->AddFrame(hfTrap);
|
TGHorizontalFrame * hfTrap = new TGHorizontalFrame(gfTrap); gfTrap->AddFrame(hfTrap);
|
||||||
|
|
||||||
|
@ -196,17 +206,172 @@ ChannelSetting::ChannelSetting(const TGWindow *p, UInt_t w, UInt_t h, Digitizer
|
||||||
TGNumberEntry* numPeakHoldOff = new TGNumberEntry(vfTrap2, 96, 0, 0, TGNumberFormat::kNESInteger, TGNumberFormat::kNEANonNegative); vfTrap2->AddFrame(numPeakHoldOff, layoutHints);
|
TGNumberEntry* numPeakHoldOff = new TGNumberEntry(vfTrap2, 96, 0, 0, TGNumberFormat::kNESInteger, TGNumberFormat::kNEANonNegative); vfTrap2->AddFrame(numPeakHoldOff, layoutHints);
|
||||||
numPeakHoldOff->Resize(width, 20);
|
numPeakHoldOff->Resize(width, 20);
|
||||||
|
|
||||||
///================== const uint32_t DPPAlgorithmControl = 0x1080; /// R/W
|
/// DPP1 bit[13:12]
|
||||||
TGGroupFrame * gfDPPCtrl = new TGGroupFrame(vframe, "DPP Algorithm Control", kHorizontalFrame); vframe->AddFrame(gfDPPCtrl, new TGLayoutHints(kLHintsExpandX));
|
TGLabel * lbPeakMean = new TGLabel(vfTrap1, "Peak Mean"); vfTrap1->AddFrame(lbPeakMean, layoutHintsR);
|
||||||
TGVerticalFrame * vfDPPCtrl = new TGVerticalFrame(gfDPPCtrl); gfDPPCtrl->AddFrame(vfDPPCtrl);
|
TGComboBox * cbPeakMean = new TGComboBox(vfTrap2); vfTrap2->AddFrame(cbPeakMean, layoutHints);
|
||||||
TGHorizontalFrame * hfDPPCtrl1 = new TGHorizontalFrame(vfDPPCtrl); vfDPPCtrl->AddFrame(hfDPPCtrl1, layoutHints);
|
cbPeakMean->AddEntry("1 sample", 0);
|
||||||
|
cbPeakMean->AddEntry("4 samples", 1);
|
||||||
|
cbPeakMean->AddEntry("16 samples", 2);
|
||||||
|
cbPeakMean->AddEntry("64 samples", 3);
|
||||||
|
cbPeakMean->Resize(width, 20);
|
||||||
|
cbPeakMean->Select(0);
|
||||||
|
|
||||||
|
/// DPP1 bit[22:20]
|
||||||
|
TGLabel * lbBaseLineAvg = new TGLabel(vfTrap1, "Baseline avg."); vfTrap1->AddFrame(lbBaseLineAvg, layoutHintsR);
|
||||||
|
TGComboBox * cbBaseLineAvg = new TGComboBox(vfTrap2); vfTrap2->AddFrame(cbBaseLineAvg, layoutHints);
|
||||||
|
cbBaseLineAvg->AddEntry("no baseline", 0);
|
||||||
|
cbBaseLineAvg->AddEntry("16 sp.", 1);
|
||||||
|
cbBaseLineAvg->AddEntry("64 sp.", 2);
|
||||||
|
cbBaseLineAvg->AddEntry("256 sp.", 3);
|
||||||
|
cbBaseLineAvg->AddEntry("1024 sp.", 4);
|
||||||
|
cbBaseLineAvg->AddEntry("4096 sp.", 5);
|
||||||
|
cbBaseLineAvg->AddEntry("16384 sp.", 6);
|
||||||
|
cbBaseLineAvg->Resize(width, 20);
|
||||||
|
cbBaseLineAvg->Select(0);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
{///================== const uint32_t DPPAlgorithmControl = 0x1080; /// R/W
|
||||||
|
TGGroupFrame * gfDPPCtrl = new TGGroupFrame(vframe, "DPP Algorithm Control 1 & 2", kHorizontalFrame); vframe->AddFrame(gfDPPCtrl, new TGLayoutHints(kLHintsExpandX));
|
||||||
|
|
||||||
|
TGVerticalFrame * vfDPPCtrl = new TGVerticalFrame(gfDPPCtrl); gfDPPCtrl->AddFrame(vfDPPCtrl, new TGLayoutHints(kLHintsExpandX));
|
||||||
|
|
||||||
|
|
||||||
|
TGHorizontalFrame * hfDPPCtrl1 = new TGHorizontalFrame(vfDPPCtrl); vfDPPCtrl->AddFrame(hfDPPCtrl1, new TGLayoutHints(kLHintsExpandX, 5, 5, 10, 0));
|
||||||
|
|
||||||
|
TGVerticalFrame * vfDPPCtrl11 = new TGVerticalFrame(hfDPPCtrl1); hfDPPCtrl1->AddFrame(vfDPPCtrl11, new TGLayoutHints(kLHintsExpandX, 5, 5, 0, 0));
|
||||||
|
|
||||||
|
TGLayoutHints * haha = new TGLayoutHints(kLHintsRight, 5, 5, 3, 2);
|
||||||
|
|
||||||
|
TGLabel * lbTrapScale = new TGLabel(vfDPPCtrl11, "Trap. Scaling [bit] :"); vfDPPCtrl11->AddFrame(lbTrapScale, haha);
|
||||||
|
TGLabel * lbDecimation = new TGLabel(vfDPPCtrl11, "Decimation :"); vfDPPCtrl11->AddFrame(lbDecimation, haha);
|
||||||
|
TGLabel * lbDecimationGain = new TGLabel(vfDPPCtrl11, "Decimation Gain :"); vfDPPCtrl11->AddFrame(lbDecimationGain, haha);
|
||||||
|
TGLabel * lbRollOver = new TGLabel(vfDPPCtrl11, "Roll-Over Flag :"); vfDPPCtrl11->AddFrame(lbRollOver, haha);
|
||||||
|
TGLabel * lbPileUp = new TGLabel(vfDPPCtrl11, "Pile-Up Flag :"); vfDPPCtrl11->AddFrame(lbPileUp, haha);
|
||||||
|
|
||||||
|
TGVerticalFrame * vfDPPCtrl12 = new TGVerticalFrame(hfDPPCtrl1); hfDPPCtrl1->AddFrame(vfDPPCtrl12);
|
||||||
|
|
||||||
|
TGNumberEntry * numTrapScale = new TGNumberEntry(vfDPPCtrl12, 14, 0, 0, TGNumberFormat::kNESInteger, TGNumberFormat::kNEANonNegative );
|
||||||
|
vfDPPCtrl12->AddFrame(numTrapScale);
|
||||||
|
numTrapScale->Resize(width, 20);
|
||||||
|
|
||||||
|
TGComboBox * cbDecimation = new TGComboBox(vfDPPCtrl12); vfDPPCtrl12->AddFrame(cbDecimation);
|
||||||
|
cbDecimation->AddEntry("Disable", 0);
|
||||||
|
cbDecimation->AddEntry("2 samples", 1);
|
||||||
|
cbDecimation->AddEntry("4 samples", 2);
|
||||||
|
cbDecimation->AddEntry("8 samples", 3);
|
||||||
|
cbDecimation->Resize(width, 20);
|
||||||
|
cbDecimation->Select(0);
|
||||||
|
|
||||||
|
TGComboBox * cbDecimationGain = new TGComboBox(vfDPPCtrl12); vfDPPCtrl12->AddFrame(cbDecimationGain);
|
||||||
|
cbDecimationGain->AddEntry("x 1", 0);
|
||||||
|
cbDecimationGain->AddEntry("x 2", 1);
|
||||||
|
cbDecimationGain->AddEntry("x 4", 2);
|
||||||
|
cbDecimationGain->AddEntry("x 8", 3);
|
||||||
|
cbDecimationGain->Resize(width, 20);
|
||||||
|
cbDecimationGain->Select(0);
|
||||||
|
|
||||||
|
TGComboBox * cbRollOver = new TGComboBox(vfDPPCtrl12); vfDPPCtrl12->AddFrame(cbRollOver);
|
||||||
|
cbRollOver->AddEntry("Disabled", 0);
|
||||||
|
cbRollOver->AddEntry("Enabled", 1);
|
||||||
|
cbRollOver->Resize(width, 20);
|
||||||
|
cbRollOver->Select(0);
|
||||||
|
|
||||||
|
TGComboBox * cbPileUp = new TGComboBox(vfDPPCtrl12); vfDPPCtrl12->AddFrame(cbPileUp);
|
||||||
|
cbPileUp->AddEntry("Disabled", 0);
|
||||||
|
cbPileUp->AddEntry("Enabled", 1);
|
||||||
|
cbPileUp->Resize(width, 20);
|
||||||
|
cbPileUp->Select(0);
|
||||||
|
|
||||||
|
TGLabel * lbBaselineOptimize = new TGLabel(vfDPPCtrl11, "Baseline Optimaization :"); vfDPPCtrl11->AddFrame(lbBaselineOptimize, haha);
|
||||||
|
TGComboBox * cbLocalShapedTrigger = new TGComboBox(vfDPPCtrl12); vfDPPCtrl12->AddFrame(cbLocalShapedTrigger);
|
||||||
|
cbLocalShapedTrigger->AddEntry("Disabled", -1);
|
||||||
|
cbLocalShapedTrigger->AddEntry("AND", 0);
|
||||||
|
cbLocalShapedTrigger->AddEntry("Even Channel", 1);
|
||||||
|
cbLocalShapedTrigger->AddEntry("Odd Channel", 2);
|
||||||
|
cbLocalShapedTrigger->AddEntry("OR", 3);
|
||||||
|
cbLocalShapedTrigger->Resize(width, 20);
|
||||||
|
cbLocalShapedTrigger->Select(0);
|
||||||
|
|
||||||
|
TGVerticalFrame * vfDPPCtrl21 = new TGVerticalFrame(hfDPPCtrl1); hfDPPCtrl1->AddFrame(vfDPPCtrl21, new TGLayoutHints(kLHintsExpandX, 5, 5, 0, 0));
|
||||||
|
|
||||||
|
TGLabel * lbLocalShapedTrigger = new TGLabel(vfDPPCtrl21, "Local Shaped Trigger :"); vfDPPCtrl21->AddFrame(lbLocalShapedTrigger, haha);
|
||||||
|
TGLabel * lbLocalTriggerValid = new TGLabel(vfDPPCtrl21, "Local Trigger Valid. :"); vfDPPCtrl21->AddFrame(lbLocalTriggerValid, haha);
|
||||||
|
TGLabel * lbVetoSource = new TGLabel(vfDPPCtrl21, "Veto Source :"); vfDPPCtrl21->AddFrame(lbVetoSource, haha);
|
||||||
|
TGLabel * lbTriggerCounterRate = new TGLabel(vfDPPCtrl21, "Trigger Counter Rate :"); vfDPPCtrl21->AddFrame(lbTriggerCounterRate, haha);
|
||||||
|
TGLabel * lbBaselineCal = new TGLabel(vfDPPCtrl21, "Active Baseline Cal. :"); vfDPPCtrl21->AddFrame(lbBaselineCal, haha);
|
||||||
|
TGLabel * lbTagCorrelatedEvent = new TGLabel(vfDPPCtrl21, "Tag correlated events :"); vfDPPCtrl21->AddFrame(lbTagCorrelatedEvent, haha);
|
||||||
|
|
||||||
|
TGVerticalFrame * vfDPPCtrl22 = new TGVerticalFrame(hfDPPCtrl1); hfDPPCtrl1->AddFrame(vfDPPCtrl22, new TGLayoutHints(kLHintsExpandX, 5, 5, 0, 0));
|
||||||
|
|
||||||
|
TGComboBox * cbLocalTriggerValid = new TGComboBox(vfDPPCtrl22); vfDPPCtrl22->AddFrame(cbLocalTriggerValid);
|
||||||
|
cbLocalTriggerValid->AddEntry("Disabled", -1);
|
||||||
|
cbLocalTriggerValid->AddEntry("crossed", 0);
|
||||||
|
cbLocalTriggerValid->AddEntry("val0 = val1 from mother-board mask", 1);
|
||||||
|
cbLocalTriggerValid->AddEntry("AND", 3);
|
||||||
|
cbLocalTriggerValid->AddEntry("OR", 4);
|
||||||
|
cbLocalTriggerValid->Resize(width, 20);
|
||||||
|
cbLocalTriggerValid->Select(0);
|
||||||
|
|
||||||
|
TGComboBox * cbVetoSource = new TGComboBox(vfDPPCtrl22); vfDPPCtrl22->AddFrame(cbVetoSource);
|
||||||
|
cbVetoSource->AddEntry("Disabled", 0);
|
||||||
|
cbVetoSource->AddEntry("common to all channels", 1);
|
||||||
|
cbVetoSource->AddEntry("individually set for paired channel", 2);
|
||||||
|
cbVetoSource->AddEntry("negative saturation", 3);
|
||||||
|
cbVetoSource->Resize(width, 20);
|
||||||
|
cbVetoSource->Select(0);
|
||||||
|
|
||||||
|
TGComboBox * cbTriggerCounterRate = new TGComboBox(vfDPPCtrl22); vfDPPCtrl22->AddFrame(cbTriggerCounterRate);
|
||||||
|
cbTriggerCounterRate->AddEntry("1024", 0);
|
||||||
|
cbTriggerCounterRate->AddEntry(" 128", 1);
|
||||||
|
cbTriggerCounterRate->AddEntry("8192", 2);
|
||||||
|
cbTriggerCounterRate->Resize(width, 20);
|
||||||
|
cbTriggerCounterRate->Select(0);
|
||||||
|
|
||||||
|
TGComboBox * cbBaselineCal = new TGComboBox(vfDPPCtrl22); vfDPPCtrl22->AddFrame(cbBaselineCal);
|
||||||
|
cbBaselineCal->AddEntry("Enabled", 0);
|
||||||
|
cbBaselineCal->AddEntry("Disabled", 1);
|
||||||
|
cbBaselineCal->Resize(width, 20);
|
||||||
|
cbBaselineCal->Select(0);
|
||||||
|
|
||||||
|
TGComboBox * cbTagCorrelatedEvent = new TGComboBox(vfDPPCtrl22); vfDPPCtrl22->AddFrame(cbTagCorrelatedEvent);
|
||||||
|
cbTagCorrelatedEvent->AddEntry("Disabled", 0);
|
||||||
|
cbTagCorrelatedEvent->AddEntry("Enabled", 1);
|
||||||
|
cbTagCorrelatedEvent->Resize(width, 20);
|
||||||
|
cbTagCorrelatedEvent->Select(0);
|
||||||
|
|
||||||
|
TGComboBox * cbBaselineOptimize = new TGComboBox(vfDPPCtrl22); vfDPPCtrl22->AddFrame(cbBaselineOptimize);
|
||||||
|
cbBaselineOptimize->AddEntry("Disabled", 0);
|
||||||
|
cbBaselineOptimize->AddEntry("Enabled", 1);
|
||||||
|
cbBaselineOptimize->Resize(width, 20);
|
||||||
|
cbBaselineOptimize->Select(0);
|
||||||
|
|
||||||
|
|
||||||
|
TGHorizontalFrame * hfDPPCtrl2 = new TGHorizontalFrame(vfDPPCtrl); vfDPPCtrl->AddFrame(hfDPPCtrl2, new TGLayoutHints(kLHintsExpandX, 5, 5, 10, 0));
|
||||||
|
|
||||||
|
TGVerticalFrame * vfDPPCtrl_a = new TGVerticalFrame(hfDPPCtrl2); hfDPPCtrl2->AddFrame(vfDPPCtrl_a);
|
||||||
|
TGVerticalFrame * vfDPPCtrl_b = new TGVerticalFrame(hfDPPCtrl2); hfDPPCtrl2->AddFrame(vfDPPCtrl_b, new TGLayoutHints(kLHintsExpandX, 5, 5, 0, 0));
|
||||||
|
|
||||||
|
|
||||||
|
TGLabel * lbDisableSelfTrigger = new TGLabel(vfDPPCtrl_a, "Self Trigger :"); vfDPPCtrl_a->AddFrame(lbDisableSelfTrigger, haha);
|
||||||
|
TGComboBox * cbDisableSelfTrigger = new TGComboBox(vfDPPCtrl_b); vfDPPCtrl_b->AddFrame(cbDisableSelfTrigger);
|
||||||
|
cbDisableSelfTrigger->AddEntry("used to acquire and propagate to trigger logic", 0);
|
||||||
|
cbDisableSelfTrigger->AddEntry("only propagate to trigger logic", 1);
|
||||||
|
cbDisableSelfTrigger->Resize(300, 20);
|
||||||
|
cbDisableSelfTrigger->Select(0);
|
||||||
|
|
||||||
|
TGLabel * lbExtra2WordOption = new TGLabel(vfDPPCtrl_a, "Extras 2 Word Option :"); vfDPPCtrl_a->AddFrame(lbExtra2WordOption, haha);
|
||||||
|
TGComboBox * cbExtra2WordOption = new TGComboBox(vfDPPCtrl_b); vfDPPCtrl_b->AddFrame(cbExtra2WordOption);
|
||||||
|
cbExtra2WordOption->AddEntry("[31:16] Extended Time Stamp [15:0] Baseline * 4", 0);
|
||||||
|
cbExtra2WordOption->AddEntry("[31:16] Extended Time Stamp [15:0] Fine Time Stamp", 2);
|
||||||
|
cbExtra2WordOption->AddEntry("[31:16] Lost Trigger Counter [15:0] Total Trigger Counter", 4);
|
||||||
|
cbExtra2WordOption->AddEntry("[31:16] Event Before Zero Crossing [15:0] Event After Zero Crossing", 5);
|
||||||
|
cbExtra2WordOption->Resize(400, 20);
|
||||||
|
cbExtra2WordOption->Select(0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
///================== const uint32_t DPPAlgorithmControl2_G = 0x10A0; /// R/W OK
|
}
|
||||||
TGGroupFrame * gfDPPCtrl2 = new TGGroupFrame(vframe, "DPP Algorithm Control 2", kHorizontalFrame); vframe->AddFrame(gfDPPCtrl2, new TGLayoutHints(kLHintsExpandX));
|
|
||||||
TGVerticalFrame * vfDPPCtrl2 = new TGVerticalFrame(gfDPPCtrl2); gfDPPCtrl2->AddFrame(vfDPPCtrl2);
|
|
||||||
TGHorizontalFrame * hfDPPCtrl21 = new TGHorizontalFrame(vfDPPCtrl2); vfDPPCtrl2->AddFrame(hfDPPCtrl21, layoutHints);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
///----- all other
|
///----- all other
|
||||||
|
|
Loading…
Reference in New Issue
Block a user