Finished implelementing Andreas Suter root plotting, but still a bit buggy.

This commit is contained in:
2009-11-23 14:52:12 +00:00
parent 17b4ebbc2f
commit b02bad6b88
4 changed files with 1969 additions and 1957 deletions

View File

@ -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);
}
}