Skip to content

Commit

Permalink
clean up CMS_Z0J_8TEV filter files
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyStegeman committed Dec 25, 2024
1 parent 3a2e213 commit 936fdaf
Show file tree
Hide file tree
Showing 2 changed files with 120 additions and 153 deletions.
7 changes: 4 additions & 3 deletions nnpdf_data/nnpdf_data/commondata/CMS_Z0J_8TEV/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
'''

import logging
import os

from filter_utils import Extractor
import numpy as np
import yaml

logging.basicConfig(level=logging.INFO, format='[%(levelname)s] %(message)s')

current_dir = os.path.dirname(os.path.abspath(__file__))

if __name__ == "__main__":
CMS_Z0J_8TEV = Extractor("./metadata.yaml", "PT-Y", mult_factor=1000)
CMS_Z0J_8TEV = Extractor(f"{current_dir}/metadata.yaml", "PT-Y", mult_factor=1000)
CMS_Z0J_8TEV.generate_data(variant='default')
CMS_Z0J_8TEV.generate_data(variant='sys_10')
Loading

0 comments on commit 936fdaf

Please sign in to comment.