diff --git a/trimsp/TrimSPGUI/TrimSP.pl b/trimsp/TrimSPGUI/TrimSP.pl index 1219039..c61e79f 100644 --- a/trimsp/TrimSPGUI/TrimSP.pl +++ b/trimsp/TrimSPGUI/TrimSP.pl @@ -1,6 +1,6 @@ # Form implementation generated from reading ui file 'TrimSPGUI.ui' # -# Created: Fri Nov 20 14:18:57 2009 +# Created: Mon Nov 23 15:50:35 2009 # by: The PerlQt User Interface Compiler (puic) # # WARNING! All changes made in this file will be lost! @@ -1431,9 +1431,9 @@ sub NEW } setCentralWidget(Qt::Widget(this, "qt_central_widget")); + my $TrimSPGUILayout = Qt::GridLayout(centralWidget(), 1, 1, 11, 6, '$TrimSPGUILayout'); tabs = Qt::TabWidget(centralWidget(), "tabs"); - tabs->setGeometry( Qt::Rect(0, 5, 715, 525) ); LayersTab = Qt::Widget(tabs, "LayersTab"); @@ -1891,10 +1891,13 @@ sub NEW ScanListdz->setGeometry( Qt::Rect(11, 108, 290, 26) ); tabs->insertTab( ScansTab, "" ); + $TrimSPGUILayout->addWidget(tabs, 0, 0); + Progress = Qt::ProgressBar(centralWidget(), "Progress"); - Progress->setGeometry( Qt::Rect(0, 530, 715, 20) ); Progress->setFrameShape( &Qt::ProgressBar::WinPanel() ); + $TrimSPGUILayout->addWidget(Progress, 1, 0); + fileNewAction= Qt::Action(this, "fileNewAction"); fileNewAction->setIconSet( Qt::IconSet($image2) ); fileOpenAction= Qt::Action(this, "fileOpenAction"); @@ -1952,7 +1955,7 @@ sub NEW MenuBar->insertItem( "", helpMenu, 3 ); languageChange(); - my $resize = Qt::Size(719, 610); + my $resize = Qt::Size(736, 626); $resize = $resize->expandedTo(minimumSizeHint()); resize( $resize ); clearWState( &Qt::WState_Polished ); @@ -2763,8 +2766,18 @@ sub PlotProfiles my $filenames=join(",",@files); print "Selected file: $filenames\n"; + if ($filenames ne "" ) { # Now that we have the file list send it to root macro for plotting. - + my $cmd='root "plotRge.C(\"'.$filenames.'\")"'; +# my $pid = open(FTO,"$cmd"); + my $pid = open(FTO,"$cmd 2>&1 |"); + while () { +# FitTextOutput->append("$_"); + print "$_"; + } + close(FTO); +# system($cmd); + } } diff --git a/trimsp/TrimSPGUI/TrimSPGUI.ui b/trimsp/TrimSPGUI/TrimSPGUI.ui index 4fd9a90..40193fa 100644 --- a/trimsp/TrimSPGUI/TrimSPGUI.ui +++ b/trimsp/TrimSPGUI/TrimSPGUI.ui @@ -8,2093 +8,2082 @@ 0 0 - 719 - 610 + 736 + 626 TrimSP GUI - + - tabs + unnamed - - - 0 - 5 - 715 - 525 - - - + - LayersTab + tabs - - Layers - - + - groupBox1 + LayersTab - - - 5 - 0 - 445 - 485 - - - - GroupBoxPanel - - - Sunken - - + Layers - - + + - layout27 + groupBox1 5 - 20 - 435 - 460 + 0 + 445 + 485 + + + + GroupBoxPanel + + + Sunken + + + Layers + + + + layout27 + + + + 5 + 20 + 435 + 460 + + + + + unnamed + + + 3 + + + + layout19 + + + + unnamed + + + + textLabel1_4 + + + Number of Layers + + + + + NL + + + 7 + + + 1 + + + Select the number of the layers of your structure (maximum 7 layers). + + + + + spacer2 + + + Horizontal + + + Expanding + + + + 251 + 20 + + + + + + + + layout26 + + + + unnamed + + + + textLabel2_4 + + + + 0 + 1 + 0 + 0 + + + + Composition + + + Chemical formula + + + + + spacer1 + + + Horizontal + + + Fixed + + + + 101 + 20 + + + + + + textLabel3 + + + + 1 + 5 + 0 + 0 + + + + Density [g/cm<sup>3</sup>] + + + + + textLabel4 + + + Thickness [Å] + + + + + + + BoxL1 + + + 0 + + + Layer 1 + + + + L1Comp + + + + 10 + 20 + 180 + 25 + + + + SrTiO3 + + + Chemical formula of L1 + + + Insert the chemical formula here as you would write it. + + + + + L1rho + + + + 200 + 20 + 111 + 25 + + + + 5.12 + + + Insert the density of the layer here. + + + + + L1d + + + + 320 + 20 + 85 + 25 + + + + + 0 + 0 + 0 + 0 + + + + 200 + + + Insert the thickness of the layer here. + + + + + + BoxL2 + + + false + + + Layer 2 + + + + L2Comp + + + + 10 + 20 + 180 + 25 + + + + + + L2rho + + + + 200 + 20 + 111 + 25 + + + + + + L2d + + + + 320 + 20 + 85 + 25 + + + + + 0 + 0 + 0 + 0 + + + + + + + BoxL3 + + + false + + + Layer 3 + + + + L3Comp + + + + 10 + 20 + 180 + 25 + + + + + + L3rho + + + + 200 + 20 + 111 + 25 + + + + + + L3d + + + + 320 + 20 + 85 + 25 + + + + + 0 + 0 + 0 + 0 + + + + + + + BoxL4 + + + false + + + Layer 4 + + + + L4Comp + + + + 10 + 20 + 180 + 25 + + + + + + L4rho + + + + 200 + 20 + 111 + 25 + + + + + + L4d + + + + 320 + 20 + 85 + 25 + + + + + 0 + 0 + 0 + 0 + + + + + + + BoxL5 + + + false + + + Layer 5 + + + + L5Comp + + + + 10 + 20 + 180 + 25 + + + + + + L5rho + + + + 200 + 20 + 111 + 25 + + + + + + L5d + + + + 320 + 20 + 85 + 25 + + + + + 0 + 0 + 0 + 0 + + + + + + + BoxL6 + + + false + + + Layer 6 + + + + L6Comp + + + + 10 + 20 + 180 + 25 + + + + + + L6rho + + + + 200 + 20 + 111 + 25 + + + + + + L6d + + + + 320 + 20 + 85 + 25 + + + + + 0 + 0 + 0 + 0 + + + + + + + BoxL7 + + + false + + + Layer 7 + + + + L7Comp + + + + 10 + 20 + 180 + 25 + + + + + + L7rho + + + + 200 + 20 + 111 + 25 + + + + + + L7d + + + + 320 + 20 + 85 + 25 + + + + + 0 + 0 + 0 + 0 + + + + + + + + + + layout13 + + + + 455 + 0 + 250 + 480 unnamed - - 3 + + 0 - + + 0 + + - layout19 + ProjParam - + + Projectile parameters + + - unnamed + layout8 - + + + 5 + 25 + 240 + 260 + + + - textLabel1_4 + unnamed - - Number of Layers + + 0 - - + + 0 + + + + layout7 + + + + unnamed + + + + textLabel1 + + + Projectile + + + lineEdit3 + + + + + + Muon + + + + + Li8 + + + + + B12 + + + + + H + + + + ProjType + + + + 0 + 0 + 0 + 0 + + + + Choose the projectile type. + + + + + + + layout6 + + + + unnamed + + + + layout5 + + + + unnamed + + + 0 + + + 0 + + + + NLabel + + + + 5 + 5 + 0 + 0 + + + + Number of projectiles + + + lineEdit3_4 + + + + + z0Label + + + Starting depth [Å] + + + lineEdit3_5 + + + + + dzLabel + + + Depth increment [Å] + + + lineEdit3_5 + + + + + ELabel + + + Energy [eV] + + + lineEdit3_6 + + + + + SigELabel + + + Energy sigma [eV] + + + lineEdit3_7 + + + + + AlbleLabel + + + Angle [deg] + + + lineEdit3_8 + + + + + SigAngleLabel + + + Angle sigma [deg] + + + lineEdit3_9 + + + + + SeedLabel + + + Random seed + + + lineEdit3 + + + + + + + layout4 + + + + unnamed + + + 0 + + + + NProj + + + + 7 + 0 + 0 + 0 + + + + + 32767 + 32767 + + + + 10000 + + + The number of projectiles to be implanted in the sample. Larger number better statistics. + + + + + z0 + + + + 32767 + 32767 + + + + 0.0 + + + Consider implanted projectiles starting from this depth. + + + + + dz + + + 10.0 + + + The steps in implantation depth at which the number of stopped projectiles will be counted. Smaller number for finer implantation histogram. + + + + + E + + + 2000 + + + The average implantation energy of the projectile. + + + + + SigE + + + 450 + + + The spread in implantation energy. For muons this is typically 400-450 eV. For Li8 this is practically zero. + + + + + Angle + + + 0 + + + The average implantation angle. + + + + + SigAngle + + + 15 + + + The spread in implantation angles. + + + + + Seed + + + 78741 + + + The random number generator seed. + + + + + + + + + + + + groupBox15 + + + File Names + + + + layout14 + + + + 6 + 23 + 240 + 100 + + + - NL + unnamed - - 7 + + 0 - - 1 + + 0 - - Select the number of the layers of your structure (maximum 7 layers). - - - - - spacer2 - - - Horizontal - - - Expanding - - - - 251 - 20 - - - - + + + textLabelFN + + + File names prefix + + + + + FNPre + + + SrTiO3 + + + The names of the saved files will start with this prefix. + + + + + textLabelPath + + + Save in subdirectory + + + + + layout13_2 + + + + unnamed + + + + Path + + + ./ + + + This is the path were the input/output files will be stored. + + + + + Browse + + + + 7 + 0 + 0 + 0 + + + + Browse + + + + + + - layout26 + layout12 unnamed - + + 4 + + - textLabel2_4 + Start - 0 - 1 + 7 + 7 0 0 - Composition + + + + image0 - Chemical formula + Start - + - spacer1 - - - Horizontal - - - Fixed - - - - 101 - 20 - - - - - - textLabel3 + Quit - 1 - 5 + 7 + 7 0 0 - Density [g/cm<sup>3</sup>] + - - - - textLabel4 + + image1 - - Thickness [Å] + + Quit + + + Quit the application. - - - BoxL1 - - - 0 - - - Layer 1 - - - - L1Comp - - - - 10 - 20 - 180 - 25 - - - - SrTiO3 - - - Chemical formula of L1 - - - Insert the chemical formula here as you would write it. - - - - - L1rho - - - - 200 - 20 - 111 - 25 - - - - 5.12 - - - Insert the density of the layer here. - - - - - L1d - - - - 320 - 20 - 85 - 25 - - - - - 0 - 0 - 0 - 0 - - - - 200 - - - Insert the thickness of the layer here. - - - - - - BoxL2 - - - false - - - Layer 2 - - - - L2Comp - - - - 10 - 20 - 180 - 25 - - - - - - L2rho - - - - 200 - 20 - 111 - 25 - - - - - - L2d - - - - 320 - 20 - 85 - 25 - - - - - 0 - 0 - 0 - 0 - - - - - - - BoxL3 - - - false - - - Layer 3 - - - - L3Comp - - - - 10 - 20 - 180 - 25 - - - - - - L3rho - - - - 200 - 20 - 111 - 25 - - - - - - L3d - - - - 320 - 20 - 85 - 25 - - - - - 0 - 0 - 0 - 0 - - - - - - - BoxL4 - - - false - - - Layer 4 - - - - L4Comp - - - - 10 - 20 - 180 - 25 - - - - - - L4rho - - - - 200 - 20 - 111 - 25 - - - - - - L4d - - - - 320 - 20 - 85 - 25 - - - - - 0 - 0 - 0 - 0 - - - - - - - BoxL5 - - - false - - - Layer 5 - - - - L5Comp - - - - 10 - 20 - 180 - 25 - - - - - - L5rho - - - - 200 - 20 - 111 - 25 - - - - - - L5d - - - - 320 - 20 - 85 - 25 - - - - - 0 - 0 - 0 - 0 - - - - - - - BoxL6 - - - false - - - Layer 6 - - - - L6Comp - - - - 10 - 20 - 180 - 25 - - - - - - L6rho - - - - 200 - 20 - 111 - 25 - - - - - - L6d - - - - 320 - 20 - 85 - 25 - - - - - 0 - 0 - 0 - 0 - - - - - - - BoxL7 - - - false - - - Layer 7 - - - - L7Comp - - - - 10 - 20 - 180 - 25 - - - - - - L7rho - - - - 200 - 20 - 111 - 25 - - - - - - L7d - - - - 320 - 20 - 85 - 25 - - - - - 0 - 0 - 0 - 0 - - - - - + - layout13 + AddParTab - - - 455 - 0 - 250 - 480 - - - + + Additional Parameters + + - unnamed - - - 0 - - - 0 - - - - ProjParam - - - Projectile parameters - - - - layout8 - - - - 5 - 25 - 240 - 260 - - - - - unnamed - - - 0 - - - 0 - - - - layout7 - - - - unnamed - - - - textLabel1 - - - Projectile - - - lineEdit3 - - - - - - Muon - - - - - Li8 - - - - - B12 - - - - - H - - - - ProjType - - - - 0 - 0 - 0 - 0 - - - - Choose the projectile type. - - - - - - - layout6 - - - - unnamed - - - - layout5 - - - - unnamed - - - 0 - - - 0 - - - - NLabel - - - - 5 - 5 - 0 - 0 - - - - Number of projectiles - - - lineEdit3_4 - - - - - z0Label - - - Starting depth [Å] - - - lineEdit3_5 - - - - - dzLabel - - - Depth increment [Å] - - - lineEdit3_5 - - - - - ELabel - - - Energy [eV] - - - lineEdit3_6 - - - - - SigELabel - - - Energy sigma [eV] - - - lineEdit3_7 - - - - - AlbleLabel - - - Angle [deg] - - - lineEdit3_8 - - - - - SigAngleLabel - - - Angle sigma [deg] - - - lineEdit3_9 - - - - - SeedLabel - - - Random seed - - - lineEdit3 - - - - - - - layout4 - - - - unnamed - - - 0 - - - - NProj - - - - 7 - 0 - 0 - 0 - - - - - 32767 - 32767 - - - - 10000 - - - The number of projectiles to be implanted in the sample. Larger number better statistics. - - - - - z0 - - - - 32767 - 32767 - - - - 0.0 - - - Consider implanted projectiles starting from this depth. - - - - - dz - - - 10.0 - - - The steps in implantation depth at which the number of stopped projectiles will be counted. Smaller number for finer implantation histogram. - - - - - E - - - 2000 - - - The average implantation energy of the projectile. - - - - - SigE - - - 450 - - - The spread in implantation energy. For muons this is typically 400-450 eV. For Li8 this is practically zero. - - - - - Angle - - - 0 - - - The average implantation angle. - - - - - SigAngle - - - 15 - - - The spread in implantation angles. - - - - - Seed - - - 78741 - - - The random number generator seed. - - - - - - - - - - - - groupBox15 - - - File Names - - - - layout14 - - - - 6 - 23 - 240 - 100 - - - - - unnamed - - - 0 - - - 0 - - - - textLabelFN - - - File names prefix - - - - - FNPre - - - SrTiO3 - - - The names of the saved files will start with this prefix. - - - - - textLabelPath - - - Save in subdirectory - - - - - layout13_2 - - - - unnamed - - - - Path - - - ./ - - - This is the path were the input/output files will be stored. - - - - - Browse - - - - 7 - 0 - 0 - 0 - - - - Browse - - - - - - - - - - layout12 - - - - unnamed - - - 4 - - - - Start - - - - 7 - 7 - 0 - 0 - - - - - - - image0 - - - Start - - - - - Quit - - - - 7 - 7 - 0 - 0 - - - - - - - image1 - - - Quit - - - Quit the application. - - - - - - - - - - AddParTab - - - Additional Parameters - - - - AddParam - - - - 5 - 0 - 245 - 210 - - - - Additional parameters - - - - textLabelEF + AddParam - 12 - 26 - 63 - 25 - - - - EF - - - - - textLabelSHEATH - - - - 12 - 76 - 63 - 25 - - - - SHEATH - - - - - textLabelERC - - - - 12 - 101 - 63 - 26 - - - - ERC - - - - - textLabelRD - - - - 12 - 127 - 63 - 25 - - - - RD - - - - - KDEE2 - - - - 185 - 100 - 52 - 26 - - - - 3 - - - 1 - - - 3 - - - - - KDEE1 - - - - 185 - 75 - 52 - 26 - - - - 5 - - - 1 - - - 4 - - - - - textLabelIRL - - - - 131 - 177 - 53 - 25 - - - - IRL - - - - - textLabelIPOTR - - - - 131 - 152 - 53 - 25 - - - - IPOTR - - - - - textLabelIPOT - - - - 131 - 126 - 53 - 26 - - - - IPOT - - - - - textLabelKDEE2 - - - - 131 - 101 - 53 - 25 - - - - KDEE2 - - - - - textLabelKDEE1 - - - - 131 - 76 - 53 - 25 - - - - KDEE1 - - - - - textLabelKK0R - - - - 131 - 51 - 53 - 25 - - - - KK0R - - - - - textLabelCA - - - - 12 - 152 - 63 - 25 - - - - CA - - - - - textLabelEmpty - - - false - - - - 12 - 175 - 63 - 25 - - - - - - - - - lineEditEmpty - - - false - - - - 77 - 175 - 52 - 25 - - - - - 7 - 7 - 0 - 0 - - - - - - - - - KK0R - - - - 185 - 50 - 52 - 26 - - - - 4 - - - 0 - - - 2 - - - - - KK0 - - - - 185 - 25 - 52 - 26 - - - - 4 - - - 0 - - - 2 - - - - - textLabelKK0 - - - - 131 - 25 - 53 - 25 - - - - KK0 - - - - - EF - - - - 77 - 26 - 52 - 25 - - - - - 7 - 7 - 0 - 0 - - - - 0.5 - - - - - SHEATH - - - - 77 - 76 - 52 - 25 - - - - - 7 - 7 - 0 - 0 - - - - 0.0 - - - - - ERC - - - - 77 - 101 - 52 - 26 - - - - - 7 - 7 - 0 - 0 - - - - 0.0 - - - - - RD - - - - 77 - 127 - 52 - 25 - - - - - 7 - 7 - 0 - 0 - - - - 50.0 - - - - - CA - - - - 77 - 152 - 52 - 25 - - - - - 7 - 7 - 0 - 0 - - - - 1.0 - - - - - ESB - - - - 77 - 51 - 52 - 25 - - - - - 7 - 7 - 0 - 0 - - - - 0.0 - - - - - IPOT - - - - 185 - 125 - 52 - 26 - - - - 3 - - - 1 - - - 2 - - - - - IPOTR - - - - 185 - 150 - 52 - 26 - - - - 3 - - - 1 - - - - - IRL - - - - 186 - 176 - 52 - 26 - - - - 1 - - - - - textLabelESB - - - - 12 - 51 - 63 - 25 - - - - ESB - - - - - - - ScansTab - - - Scans (Disbaled) - - - - ScanSeq - - - - 5 - 0 - 550 - 250 - - - - Scan sequence - - - true - - - false - - - Select to scan a certain parameter in the simulation and produce multiple output files for each value of this parameter. - - - - buttonGroup2 - - - - 10 - 20 - 216 - 215 + 5 + 0 + 245 + 210 - Scan Parameter + Additional parameters - - true - - + - SigERadio + textLabelEF - 4 - 47 - 211 - 24 + 12 + 26 + 63 + 25 - Energy sigma - - - Scan spread in implantation energy. - - - - - NProjRadio - - - - 4 - 72 - 211 - 24 - - - - Projectile number - - - Scan the number of implanted projectiles. - - - - - dRadio - - - - 5 - 99 - 153 - 24 - - - - Thickness of Layer - - - Scan the thickness of the selected layer. - - - - - ScandL - - - - 158 - 98 - 56 - 26 - - - - 7 - - - 1 - - - This is the layer whose thickness will be scanned - - - - - ERadio - - - - 4 - 22 - 211 - 24 - - - - Energy - - - true - - - Scan implantation energy. - - - - - - ScanMode - - - - 230 - 20 - 310 - 215 - - - - Scan mode - - - false - - - false - - - true - - - true - - - - layout3 - - - - 11 - 178 - 290 - 27 - - - - - unnamed - - - 0 - - - 0 - - - - textLabel2 - - - From - - - - - SFrom - - - - 5 - 5 - 0 - 0 - - - - 1000 - - - - - textLabel2_2 - - - To - - - - - STo - - - - 5 - 5 - 0 - 0 - - - - 28000 - - - - - textLabel2_2_2_2 - - - Step - - - - - SStep - - - - 5 - 5 - 0 - 0 - - - - 1000 - - - - - - - ScanList - - - - 11 - 46 - 290 - 26 - - - - 1000,6000,10000 - - - A list of values to scan (separated by commas). + EF - dzListLabel + textLabelSHEATH - 13 - 79 - 295 - 19 + 12 + 76 + 63 + 25 - Corresponding depth increment (optional) + SHEATH - + - LoopRadio + textLabelERC - 10 - 150 - 240 - 22 + 12 + 101 + 63 + 26 - Loop - - - true - - - The values of the scanned parameter are evenly spaced. + ERC - + - ListRadio + textLabelRD - 10 - 20 - 240 - 22 + 12 + 127 + 63 + 25 - List of values - - - The values of the scanned parameter are from a list. + RD - + - ScanListdz + KDEE2 + + + + 185 + 100 + 52 + 26 + + + + 3 + + + 1 + + + 3 + + + + + KDEE1 + + + + 185 + 75 + 52 + 26 + + + + 5 + + + 1 + + + 4 + + + + + textLabelIRL + + + + 131 + 177 + 53 + 25 + + + + IRL + + + + + textLabelIPOTR + + + + 131 + 152 + 53 + 25 + + + + IPOTR + + + + + textLabelIPOT + + + + 131 + 126 + 53 + 26 + + + + IPOT + + + + + textLabelKDEE2 + + + + 131 + 101 + 53 + 25 + + + + KDEE2 + + + + + textLabelKDEE1 + + + + 131 + 76 + 53 + 25 + + + + KDEE1 + + + + + textLabelKK0R + + + + 131 + 51 + 53 + 25 + + + + KK0R + + + + + textLabelCA + + + + 12 + 152 + 63 + 25 + + + + CA + + + + + textLabelEmpty false - 11 - 108 - 290 - 26 + 12 + 175 + 63 + 25 - - A list of values to scan (separated by commas). + + + + lineEditEmpty + + + false + + + + 77 + 175 + 52 + 25 + + + + + 7 + 7 + 0 + 0 + + + + + + + + + KK0R + + + + 185 + 50 + 52 + 26 + + + + 4 + + + 0 + + + 2 + + + + + KK0 + + + + 185 + 25 + 52 + 26 + + + + 4 + + + 0 + + + 2 + + + + + textLabelKK0 + + + + 131 + 25 + 53 + 25 + + + + KK0 + + + + + EF + + + + 77 + 26 + 52 + 25 + + + + + 7 + 7 + 0 + 0 + + + + 0.5 + + + + + SHEATH + + + + 77 + 76 + 52 + 25 + + + + + 7 + 7 + 0 + 0 + + + + 0.0 + + + + + ERC + + + + 77 + 101 + 52 + 26 + + + + + 7 + 7 + 0 + 0 + + + + 0.0 + + + + + RD + + + + 77 + 127 + 52 + 25 + + + + + 7 + 7 + 0 + 0 + + + + 50.0 + + + + + CA + + + + 77 + 152 + 52 + 25 + + + + + 7 + 7 + 0 + 0 + + + + 1.0 + + + + + ESB + + + + 77 + 51 + 52 + 25 + + + + + 7 + 7 + 0 + 0 + + + + 0.0 + + + + + IPOT + + + + 185 + 125 + 52 + 26 + + + + 3 + + + 1 + + + 2 + + + + + IPOTR + + + + 185 + 150 + 52 + 26 + + + + 3 + + + 1 + + + + + IRL + + + + 186 + 176 + 52 + 26 + + + + 1 + + + + + textLabelESB + + + + 12 + 51 + 63 + 25 + + + + ESB + + + ScansTab + + + Scans (Disbaled) + + + + ScanSeq + + + + 5 + 0 + 550 + 250 + + + + Scan sequence + + + true + + + false + + + Select to scan a certain parameter in the simulation and produce multiple output files for each value of this parameter. + + + + buttonGroup2 + + + + 10 + 20 + 216 + 215 + + + + Scan Parameter + + + true + + + + SigERadio + + + + 4 + 47 + 211 + 24 + + + + Energy sigma + + + Scan spread in implantation energy. + + + + + NProjRadio + + + + 4 + 72 + 211 + 24 + + + + Projectile number + + + Scan the number of implanted projectiles. + + + + + dRadio + + + + 5 + 99 + 153 + 24 + + + + Thickness of Layer + + + Scan the thickness of the selected layer. + + + + + ScandL + + + + 158 + 98 + 56 + 26 + + + + 7 + + + 1 + + + This is the layer whose thickness will be scanned + + + + + ERadio + + + + 4 + 22 + 211 + 24 + + + + Energy + + + true + + + Scan implantation energy. + + + + + + ScanMode + + + + 230 + 20 + 310 + 215 + + + + Scan mode + + + false + + + false + + + true + + + true + + + + layout3 + + + + 11 + 178 + 290 + 27 + + + + + unnamed + + + 0 + + + 0 + + + + textLabel2 + + + From + + + + + SFrom + + + + 5 + 5 + 0 + 0 + + + + 1000 + + + + + textLabel2_2 + + + To + + + + + STo + + + + 5 + 5 + 0 + 0 + + + + 28000 + + + + + textLabel2_2_2_2 + + + Step + + + + + SStep + + + + 5 + 5 + 0 + 0 + + + + 1000 + + + + + + + ScanList + + + + 11 + 46 + 290 + 26 + + + + 1000,6000,10000 + + + A list of values to scan (separated by commas). + + + + + dzListLabel + + + + 13 + 79 + 295 + 19 + + + + Corresponding depth increment (optional) + + + + + LoopRadio + + + + 10 + 150 + 240 + 22 + + + + Loop + + + true + + + The values of the scanned parameter are evenly spaced. + + + + + ListRadio + + + + 10 + 20 + 240 + 22 + + + + List of values + + + The values of the scanned parameter are from a list. + + + + + ScanListdz + + + false + + + + 11 + 108 + 290 + 26 + + + + + + + A list of values to scan (separated by commas). + + + + + - - - - Progress - - - - 0 - 530 - 715 - 20 - - - - WinPanel - - + + + Progress + + + WinPanel + + + diff --git a/trimsp/TrimSPGUI/TrimSPGUI.ui.h b/trimsp/TrimSPGUI/TrimSPGUI.ui.h index ddbdf85..68c48d4 100644 --- a/trimsp/TrimSPGUI/TrimSPGUI.ui.h +++ b/trimsp/TrimSPGUI/TrimSPGUI.ui.h @@ -622,8 +622,18 @@ void TrimSPGUI::PlotProfiles() my $filenames=join(",",@files); print "Selected file: $filenames\n"; + if ($filenames ne "" ) { # Now that we have the file list send it to root macro for plotting. - + my $cmd='root "plotRge.C(\"'.$filenames.'\")"'; +# my $pid = open(FTO,"$cmd"); + my $pid = open(FTO,"$cmd 2>&1 |"); + while () { +# FitTextOutput->append("$_"); + print "$_"; + } + close(FTO); +# system($cmd); + } } diff --git a/trimsp/TrimSPGUI/plotRge.C b/trimsp/TrimSPGUI/plotRge.C index 3dc150c..df869ed 100644 --- a/trimsp/TrimSPGUI/plotRge.C +++ b/trimsp/TrimSPGUI/plotRge.C @@ -1,9 +1,8 @@ // File: plotRge.C -// Author: Andreas Suter +// Author: Zaher Salman, originally by Andreas Suter // Date: 03/06/2009 // Purpose: ROOT macro to read and plot Range data from trimsp calculation // Assume following file Format: -// Very simple at the moment... // // $Id$ // @@ -146,3 +145,4 @@ void plotRge(TString &names) delete tokens; } +