Skip to content

Commit

Permalink
Play (#7)
Browse files Browse the repository at this point in the history
* Fix: remove prints, failed tt_semilep+c

* Playaround wfs
  • Loading branch information
ValVau authored Oct 23, 2024
1 parent cdb64f9 commit 43f8c6e
Show file tree
Hide file tree
Showing 11 changed files with 60 additions and 6,234 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/BTA_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Merge PR locally
if: github.event_name == 'pull_request_target'
run: |
git fetch origin ${{ github.event.pull_request.base.ref }}:refs/remotes/origin/${{ github.event.pull_request.base.ref }}
git checkout ${{ github.event.pull_request.base.ref }}
git merge --no-ff ${{ github.event.pull_request.head.sha }}
- uses: cvmfs-contrib/github-action-cvmfs@v4
with:
cvmfs_repositories: 'grid.cern.ch'
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/QCD_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Merge PR locally
if: github.event_name == 'pull_request_target'
run: |
git fetch origin ${{ github.event.pull_request.base.ref }}:refs/remotes/origin/${{ github.event.pull_request.base.ref }}
git checkout ${{ github.event.pull_request.base.ref }}
git merge --no-ff ${{ github.event.pull_request.head.sha }}
- uses: cvmfs-contrib/github-action-cvmfs@v4
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/ctag_DY_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Merge PR locally
if: github.event_name == 'pull_request_target'
run: |
git fetch origin ${{ github.event.pull_request.base.ref }}:refs/remotes/origin/${{ github.event.pull_request.base.ref }}
git checkout ${{ github.event.pull_request.base.ref }}
git merge --no-ff ${{ github.event.pull_request.head.sha }}
- uses: cvmfs-contrib/github-action-cvmfs@v4
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/ctag_Wc_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Merge PR locally
if: github.event_name == 'pull_request_target'
run: |
git fetch origin ${{ github.event.pull_request.base.ref }}:refs/remotes/origin/${{ github.event.pull_request.base.ref }}
git checkout ${{ github.event.pull_request.base.ref }}
git merge --no-ff ${{ github.event.pull_request.head.sha }}
- uses: cvmfs-contrib/github-action-cvmfs@v4
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/ctag_ttbar_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Merge PR locally
if: github.event_name == 'pull_request_target'
run: |
git fetch origin ${{ github.event.pull_request.base.ref }}:refs/remotes/origin/${{ github.event.pull_request.base.ref }}
git checkout ${{ github.event.pull_request.base.ref }}
git merge --no-ff ${{ github.event.pull_request.head.sha }}
- uses: cvmfs-contrib/github-action-cvmfs@v4
with:
cvmfs_repositories: 'grid.cern.ch'
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/ttbar_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Merge PR locally
if: github.event_name == 'pull_request_target'
run: |
git fetch origin ${{ github.event.pull_request.base.ref }}:refs/remotes/origin/${{ github.event.pull_request.base.ref }}
git checkout ${{ github.event.pull_request.base.ref }}
git merge --no-ff ${{ github.event.pull_request.head.sha }}
- uses: cvmfs-contrib/github-action-cvmfs@v4
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Merge PR locally
if: github.event_name == 'pull_request_target'
run: |
git fetch origin ${{ github.event.pull_request.base.ref }}:refs/remotes/origin/${{ github.event.pull_request.base.ref }}
git checkout ${{ github.event.pull_request.base.ref }}
git merge --no-ff ${{ github.event.pull_request.head.sha }}
- uses: cvmfs-contrib/github-action-cvmfs@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ python scripts/validation_plot.py -i $INPUT_COFFEA -v $VERSION
### Correlation plots study
You can perform a study of linear correlations of b-tagging input variables. Additionally, soft muon variables may be added into the study by requesting `--SMu` argument. If you wan to limit the outputs only to DeepFlavB, PNetB and RobustParTAK4B, you can use the `--limit_outputs` option. If you want to use only the set of variables used for tagger training, not just all the input variables, then use the option `--limit_inputs`. To limit number of files read, make use of option `--max_files`. In case your study requires splitting samples by flavour, use `--flavour_split`. `--split_region_b` performs a sample splitting based on the DeepFlavB >/< 0.5
You can perform a study of linear correlations of b-tagging input variables. Additionally, soft muon variables may be added into the study by requesting `--SMu` argument. If you wan to limit the outputs only to DeepFlavB, PNetB and RobustParTAK4B, you can use the `--limit_outputs` option. If you want to use only the set of variables used for tagger training, not just all the input variables, then use the option `--limit_inputs`. To limit number of files read, make use of option `--max_files`. In case your study requires splitting samples by flavour, use `--flavour_split`. `--split_region_b` performs a sample splitting based on the DeepFlavB >/< 0.5. For Data/MC comparison purpose pay attention - change ranking factors (xs/sumw) in L420!
```python
python correlation_plots.py $input_folder [--max_files $nmax_files --SMu --limit_inputs --limit_outputs --specify_MC --flavour_split --split_region_b]
Expand Down
Loading

0 comments on commit 43f8c6e

Please sign in to comment.