Small adjustment to skip BTV info for open data #46
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch allows to use the customize commands
which skip trying to add BTV info, and hence skips jet updating. This allows us to run on 2015 OpenData MiniAOD files which have AK8CHS jets instead of AK8Puppi jets, messing up any attempts to access subjet collections.
I'm going to dump here (for lack of a better place at the moment) an example recipe for setting up an opendata area:
Here are some examples of setting up configurations for processing DoubleMuon or DY records:
Lastly, they can be run with
Both run at about 10 events/s from local files, and produce output about 40% the size of the input. Skims could be implemented by using various EDFilters in front of the nano step, e.g. HLTFilter.
A few comments:
--eventcontent NANOAODSIM --datatier NANOAODSIM
for data, rather than--eventcontent NANOAOD --datatier NANOAOD
. This seems to not matter but it does mess up thefakeNameForCrab
modifier. I think a better solution here would be to remove allfakeNameForCrab
modifiers frompfnano_cff.py
and instead use a cmsDriver flag:--customize_commands 'process.NANOAODSIMoutput.fakeNameForCrab = cms.untracked.bool(True)'
.run2_nanoAOD_106X2015
implemented in Introduced new era for 2015 opendata nanoaod processing cms-sw/cmssw#39040 is not completely validated, see the PR for more detail.