cms-analysis / flashgg

20 stars 158 forks source link

Deal with special PDF formats #1287

Closed youyingli closed 1 year ago

youyingli commented 2 years ago

The PR deals with special PDF formats and is compatible with common ones. (On top of PR #1285 )

simonepigazzini commented 2 years ago

nice! I think this issue has been bugging us for a long time.

youyingli commented 2 years ago

Some MC samples have no alpha_a variation as /VBFHHTo2G2Qlnu_CV_0_5_C2V_1_C3_1_dipoleRecoilOff-TuneCP5_PSweights_13TeV-madgraph-pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v2/MINIAODSIM /VBFHHTo2G2Qlnu_CV_0_5_C2V_1_C3_1_dipoleRecoilOff-TuneCP5_PSweights_13TeV-madgraph-pythia8/RunIIAutumn18MiniAOD-102X_upgrade2018_realistic_v15-v1/MINIAODSIM with PDFset id = 325500 (NNPDF31_nnlo_as_0118_nf_4_mc_hessian).

To avoid "assert" called for this case, change the syntax to let users choose if alpha_s variation needs to be stored.