-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deployed 31c4cfa with MkDocs version: 1.6.0
- Loading branch information
Showing
2 changed files
with
6 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"FLAF","text":"<p>FLAF - Flexible LAW-based Analysis Framework. Task workflow managed is done via LAW (Luigi Analysis Framework).</p>"},{"location":"#how-to-install","title":"How to install","text":"<ol> <li>Setup ssh keys:</li> <li>On GitHub settings/keys</li> <li> <p>On CERN GitLab profile/keys</p> </li> <li> <p>Clone the repository: <pre><code>git clone --recursive git@github.com:cms-flaf/Framework.git FLAF\n</code></pre></p> </li> </ol>"},{"location":"#how-to-load-environment","title":"How to load environment","text":"<p>Following command activates the framework environment: <pre><code>source env.sh\n</code></pre></p>"},{"location":"#how-to-run-limits","title":"How to run limits","text":"<ol> <li> <p>As a temporary workaround, if you want to run multiplie commands, to avoid delays to load environment each time run: <pre><code>cmbEnv /bin/zsh # or /bin/bash\n</code></pre> Alternatively add <code>cmbEnv</code> in front of each command. E.g. <pre><code>cmbEnv python3 -c 'print(\"hello\")'\n</code></pre></p> </li> <li> <p>Create datacards. <pre><code>python3 StatInference/dc_make/create_datacards.py --input PATH_TO_SHAPES --output PATH_TO_CARDS --config PATH_TO_CONFIG\n</code></pre> Available configurations:</p> <ul> <li>For X->HH>bbtautau Run 2: StatInference/config/x_hh_bbtautau_run2.yaml</li> <li>For X->HH->bbWW Run 3: StatInference/config/x_hh_bbww_run3.yaml</li> </ul> </li> <li> <p>Run limits. <pre><code>law run PlotResonantLimits --version dev --datacards 'PATH_TO_CARDS/*.txt' --xsec fb --y-log\n</code></pre> Hints:</p> <ul> <li>use <code>--workflow htcondor</code> to submit on HTCondor (by default it runs locally)</li> <li>add <code>--remove-output 4,a,y</code> to remove previous output files</li> <li>add <code>--print-status 0</code> to get status of the workflow (where <code>0</code> is a depth). Useful to get the output file name.</li> <li>for more details see cms-hh inference documentation</li> </ul> </li> </ol>"},{"location":"#how-to-run-nanoaod-nanoaod-skims-production","title":"How to run nanoAOD->nanoAOD skims production","text":"<pre><code>law run CreateNanoSkims --version prod_v1 --periods 2016,2016APV,2017,2018 --ignore-missing-samples True\n</code></pre>"},{"location":"#how-to-run-hhbtag-training-skim-ntuple-production","title":"How to run HHbtag training skim ntuple production","text":"<pre><code>python Studies/HHBTag/CreateTrainingSkim.py --inFile $CENTRAL_STORAGE/prod_v1/nanoAOD/2018/GluGluToBulkGravitonToHHTo2B2Tau_M-350.root --outFile output/skim.root --mass 350 --sample GluGluToBulkGraviton --year 2018 >& EventInfo.txt\npython Common/SaveHisto.txt --inFile $CENTRAL_STORAGE/prod_v1/nanoAOD/2018/GluGluToBulkGravitonToHHTo2B2Tau_M-350.root --outFile output/skim.root\n</code></pre>"},{"location":"#how-to-run-histogram-production","title":"How to run Histogram production","text":"<p>Please, see the file all_commands.txt (to be updated)</p>"}]} | ||
{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"FLAF","text":"<p>FLAF - Flexible LAW-based Analysis Framework. Task workflow managed is done via LAW (Luigi Analysis Framework).</p>"},{"location":"#how-to-install","title":"How to install","text":"<ol> <li> <p>Setup ssh keys:</p> <ul> <li>On GitHub settings/keys</li> <li>On CERN GitLab profile/keys</li> </ul> </li> <li> <p>Clone the repository: <pre><code>git clone --recursive git@github.com:cms-flaf/Framework.git FLAF\n</code></pre></p> </li> </ol>"},{"location":"#how-to-load-environment","title":"How to load environment","text":"<p>Following command activates the framework environment: <pre><code>source env.sh\n</code></pre></p>"},{"location":"#how-to-run-limits","title":"How to run limits","text":"<ol> <li> <p>As a temporary workaround, if you want to run multiplie commands, to avoid delays to load environment each time run: <pre><code>cmbEnv /bin/zsh # or /bin/bash\n</code></pre> Alternatively add <code>cmbEnv</code> in front of each command. E.g. <pre><code>cmbEnv python3 -c 'print(\"hello\")'\n</code></pre></p> </li> <li> <p>Create datacards. <pre><code>python3 StatInference/dc_make/create_datacards.py --input PATH_TO_SHAPES --output PATH_TO_CARDS --config PATH_TO_CONFIG\n</code></pre> Available configurations:</p> <ul> <li>For X->HH>bbtautau Run 2: StatInference/config/x_hh_bbtautau_run2.yaml</li> <li>For X->HH->bbWW Run 3: StatInference/config/x_hh_bbww_run3.yaml</li> </ul> </li> <li> <p>Run limits. <pre><code>law run PlotResonantLimits --version dev --datacards 'PATH_TO_CARDS/*.txt' --xsec fb --y-log\n</code></pre> Hints:</p> <ul> <li>use <code>--workflow htcondor</code> to submit on HTCondor (by default it runs locally)</li> <li>add <code>--remove-output 4,a,y</code> to remove previous output files</li> <li>add <code>--print-status 0</code> to get status of the workflow (where <code>0</code> is a depth). Useful to get the output file name.</li> <li>for more details see cms-hh inference documentation</li> </ul> </li> </ol>"},{"location":"#how-to-run-nanoaod-nanoaod-skims-production","title":"How to run nanoAOD->nanoAOD skims production","text":"<pre><code>law run CreateNanoSkims --version prod_v1 --periods 2016,2016APV,2017,2018 --ignore-missing-samples True\n</code></pre>"},{"location":"#how-to-run-hhbtag-training-skim-ntuple-production","title":"How to run HHbtag training skim ntuple production","text":"<pre><code>python Studies/HHBTag/CreateTrainingSkim.py --inFile $CENTRAL_STORAGE/prod_v1/nanoAOD/2018/GluGluToBulkGravitonToHHTo2B2Tau_M-350.root --outFile output/skim.root --mass 350 --sample GluGluToBulkGraviton --year 2018 >& EventInfo.txt\npython Common/SaveHisto.txt --inFile $CENTRAL_STORAGE/prod_v1/nanoAOD/2018/GluGluToBulkGravitonToHHTo2B2Tau_M-350.root --outFile output/skim.root\n</code></pre>"},{"location":"#how-to-run-histogram-production","title":"How to run Histogram production","text":"<p>Please, see the file all_commands.txt (to be updated)</p>"}]} |