Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 268 → Rev 269

/belle2/masterclass/th1fit.php
64,7 → 64,7
if (isset($_POST["prm"])){
$prm = $_POST["prm"];
} else {
$prm = "0;1;2";
$prm = "9,11,,99,3,,7";
}
 
if (isset($_POST["name"])){
102,7 → 102,7
 
$cmd0 = ".L th1fit.cc+". PHP_EOL;
$cmd0 .= "double data[]={". $hdata . "};" .PHP_EOL;
$cmd0 .= "th1fit(data, \"$hname\",\"$htitle;$xtitle;$ytitle\", $xbins , $xmin, $xmax, $min ,$max ,\"$fitfun\");". PHP_EOL;
$cmd0 .= "th1fit(data, \"$hname\",\"$htitle;$xtitle;$ytitle\", $xbins , $xmin, $xmax, $min ,$max ,\"$fitfun\",\"$prm\");". PHP_EOL;
 
if (file_exists('/opt/root/bin/thisroot.sh')){
$profile ='/opt/root/bin/thisroot.sh';