-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RF] RooStats tutorials translated into Python
* [RF] Translate RooStats tutorials to Python * [RF] Remove duplicate translations of RooStats tutorials * [RF] Correct filenames for RooStats tutorials * [RF] Code formatting of RooStats Python tutorials Apply `black --line-length *`, as for the other Python source files. * [RF] Fix typos is RooStats tutorials * [RF] Delete Python HLFactory tutorials because it will be deprecated See #17075. * [RF] Fixup tutorial group for rs301_splot.py * [RF] Mention authors of RooStats tutorial Python translations * [RF] Only import ROOT module in RooStats tutorials Don't create local variables for ever used class: this is not idiomatic PyROOT code, and the existing tutorials also don't do it like that. * [RF] Mention removal of Proof in the release notes * [RF] Don't use Proof in Python versions of RooStats tutorials * [RF] Veto ModelInspector.py tutorial as unit test This tutorial requires a GUI, and therefore it can't be run as a unit test. * [RF] Correctly close file in StandardHistFactoryPlotsWithCategories.py This fixes crashes at the end of the Python process * [RF] Avoid using TList in RooStats tutorials --------- Co-authored-by: Piter Amador Paye Mamani <[email protected], [email protected]> Co-authored-by: Jonas Rembser <[email protected]>
- Loading branch information
1 parent
a560ca0
commit 66157b9
Showing
37 changed files
with
5,301 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import ROOT | ||
|
||
gROOT = ROOT.gROOT | ||
|
||
|
||
def CreateExampleFile(): | ||
|
||
print("Preparing HistFactory ...") | ||
gROOT.ProcessLine(".! prepareHistFactory .") | ||
print("... done." "") | ||
|
||
print("Moving HistoryFactory to Working Space ...") | ||
gROOT.ProcessLine(".! hist2workspace config/example.xml") | ||
print("... done.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.