Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JetCorrectorParameters: No definitions found!!! with 2016 FastSim nanoaod samples. #264

Open
cghuh opened this issue Nov 16, 2020 · 4 comments

Comments

@cghuh
Copy link

cghuh commented Nov 16, 2020

Dear all,

I have issues when I use nanoaod tools with CMSSW_10_2_16_UL. This is the script that I use: https://github.com/ssekmen/BoostAnalyzer17/blob/master/scripts/postproc.py
and the run command is "python scripts/postproc.py test.root root://cms-xrd-global.cern.ch//store/mc/RunIISummer16NanoAODv6/SMS-T2bt_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/NANOAODSIM/PUSummer16v3Fast_Nano25Oct2019_102X_mcRun2_asymptotic_v7-v1/270000/53C78EE0-2E9D-C74D-8368-C955BADDC540.root ".

When I did, I have a segmentation fault. This is the log message that I gave.
nanoaodtoolerr.log
It occurs only in 2016 fastsim samples.

Can you give me some comments about this issue?

Cheers,
Changgi

@cghuh
Copy link
Author

cghuh commented Nov 19, 2020

I checked again very carefully, I found that segmentation fault coming from AK8PFPuppi case of this line : https://github.com/ssekmen/BoostAnalyzer17/blob/619ae8367f01c7bd05f459dc236b5d6cfb2f5804/scripts/postproc.py#L63

It use JEC : Spring16_25nsFastSimV1_MC, But I found there are latest one(Summer16_FastSimV1_MC).

@cghuh
Copy link
Author

cghuh commented Nov 19, 2020

I fix the issue. I suggest to fix

'2016': 'Spring16_25nsFastSimV1_MC',

Spring16_25nsFastSimV1_MC to Summer16_FastSimV1_MC.

@mariadalfonso
Copy link
Contributor

Would be good if @kirschen @juska confirm there Fast Sim Tag.

Then please make a PR

@juska
Copy link

juska commented Nov 19, 2020

I can confirm that Summer16_FastSim_V1_MC is the latest FastSim MC JEC for the Summer16 MC campaign: https://twiki.cern.ch/twiki/bin/viewauth/CMS/JECDataMC#Recommended_for_MC

This version includes JEC for all four supported algorithms, so it should fix the "No definitions found" error. In Spring16_25nsFastSimV1_MC there's no PUPPI JEC at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants