Skip to content

Commit

Permalink
rm file stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
admorris committed Mar 15, 2017
1 parent 69957f1 commit 245c74a
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/StandardHypoTestInverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,7 @@ void StandardHypoTestInverter(std::string infile, std::string wsName, std::strin
}
else
{
// If workspace is not present, look for the inverter result
Info("StandardHypoTestInverter", "Reading an HypoTestInverterResult with name %s from file %s", wsName.c_str(), infile.c_str());
r = dynamic_cast<RooStats::HypoTestInverterResult*>(file->Get(wsName.c_str()));
if(!r)
{
Error("StandardHypoTestInverter", "File %s does not contain a workspace or an HypoTestInverterResult", infile.c_str());
file->ls();
return;
}
calc.AnalyzeResult( *r, "Saved_HypoTestInverterResult" );
}
calc.AnalyzeResult( *r, infile );
return;
}

0 comments on commit 245c74a

Please sign in to comment.