Skip to content

Commit

Permalink
Deployed 31c4cfa with MkDocs version: 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kandrosov committed May 23, 2024
1 parent 2753e1e commit 3d08140
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -467,10 +467,12 @@ <h1 id="flaf">FLAF<a class="headerlink" href="#flaf" title="Permanent link">&par
Task workflow managed is done via <a href="https://github.com/riga/law">LAW</a> (Luigi Analysis Framework).</p>
<h2 id="how-to-install">How to install<a class="headerlink" href="#how-to-install" title="Permanent link">&para;</a></h2>
<ol>
<li>Setup ssh keys:</li>
<li>On GitHub <a href="https://github.com/settings/keys">settings/keys</a></li>
<li>
<p>On CERN GitLab <a href="https://gitlab.cern.ch/-/profile/keys">profile/keys</a></p>
<p>Setup ssh keys:</p>
<ul>
<li>On GitHub <a href="https://github.com/settings/keys">settings/keys</a></li>
<li>On CERN GitLab <a href="https://gitlab.cern.ch/-/profile/keys">profile/keys</a></li>
</ul>
</li>
<li>
<p>Clone the repository:
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json
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-&gt;HH&gt;bbtautau Run 2: StatInference/config/x_hh_bbtautau_run2.yaml</li> <li>For X-&gt;HH-&gt;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-&gt;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 &gt;&amp; 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-&gt;HH&gt;bbtautau Run 2: StatInference/config/x_hh_bbtautau_run2.yaml</li> <li>For X-&gt;HH-&gt;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-&gt;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 &gt;&amp; 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>"}]}

0 comments on commit 3d08140

Please sign in to comment.