Skip to content

Issue when running DisTrk standard analysis over skim_*.root files #228

@borzari

Description

@borzari

Whenever trying to run some of the disappearing tracks standard analysis selection over some of the skim_*.root files, either by simply adding a file in DisappTrks/StandardAnalysis/python/protoConfig_cfg.py or when submitting jobs with osusub, it fails with the following:

ERROR:  The input file appears to be a skim file but no SkimInputTags.json file found in the skim directory.
Input file is /data/users/borzari/condor/BGMC/Run3/2022/WToLNu_2Jets_PostEE/WToLNu_2Jets_PostEE/BasicSelection/skim_0.root
Be sure that you have run mergeOut.py.
----- Begin Fatal Exception 24-Sep-2023 14:56:48 EDT-----------------------
An exception of category 'ConfigFileReadError' occurred while
   [0] Processing the python configuration file named config_2022_cfg.py
Exception Message:
 unknown python problem occurred.
SystemExit: 1

At:
  /share/scratch0/borzari/CMSSW_12_4_11_patch3/python/OSUT3Analysis/Configuration/processingUtilities.py(211): set_skim_tags
  /share/scratch0/borzari/CMSSW_12_4_11_patch3/python/OSUT3Analysis/Configuration/processingUtilities.py(335): add_channels
  /share/scratch0/borzari/CMSSW_12_4_11_patch3/python/DisappTrks/StandardAnalysis/config_cfg.py(22): <module>
  <frozen importlib._bootstrap>(228): _call_with_frames_removed
  <frozen importlib._bootstrap_external>(850): exec_module
  <frozen importlib._bootstrap>(695): _load_unlocked
  <frozen importlib._bootstrap>(986): _find_and_load_unlocked
  <frozen importlib._bootstrap>(1007): _find_and_load
  config_2022_cfg.py(1): <module>

----- End Fatal Exception -------------------------------------------------

This happens when file mergeOut.py was not used. However, this might not always be useful and should be addressed properly. Maybe it can be made that a selection can be applied regardless of mergeOut.py being executed or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions