Finished implelementing Andreas Suter root plotting, but still a bit buggy.
This commit is contained in:
@ -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 (<FTO>) {
|
||||
# FitTextOutput->append("$_");
|
||||
print "$_";
|
||||
}
|
||||
close(FTO);
|
||||
# system($cmd);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user