-
Notifications
You must be signed in to change notification settings - Fork 1
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
WIP: Improved parsing... more improved! #13
WIP: Improved parsing... more improved! #13
Conversation
those files being "DrellYan_LO_MGMLMv233_2016_weightInfo.txt" and "DrellYan_NLO_MGFXFXv242_2017_weightInfo.txt",
Very good! I will look at this a bit this afternoon. A few quick comments:
|
May put flags needed for the splitting. Only impliemented in LHEWeightHelper
I will try to address point 1. and 2. in future commits, and for 3., i'll just keep the code as is with the removing things after the period I refactored the code some to streamline things so that the PDFweights are always split. I have it working and it's shrunk the code some, but it'll probably be useful to have helper functions to assist with the automatic splitting, especially if the PDFweights are going going be used outside the LHEWeightHelper file... I'm also thinking of adding in more consistency checking. PdfWeights now can be added, but sometimes the number of members doesn't match up with the expect number for a given PDFSet. Most of the cases are just one entry in the PDFSet (which I assume is ok since it's the central value, or?), but this might be good practice anyway to have this check being done |
Very good. Can you give some examples of the set numbers not matching? I've started testing samples from DAS and cateloguing the results here: https://docs.google.com/spreadsheets/d/1Qlg1c6qrMGY0q111Va2Vl0fJQUz15ZTjKEvRaV8rHaQ/edit?usp=sharing I'm generate the config with the cmsDriver command in this script: https://github.com/kdlong/WMassNanoGen/blob/master/runCmsDriverGenericMiniToNanoGen.sh Then testing the info that gets written to Nano with this: https://github.com/kdlong/cmssw/blob/ImprovedParsing/PhysicsTools/NanoAOD/test/testNanoWeights.py You can also get the MadGraph version from Nano (or Mini) with this script: https://github.com/kdlong/TheoreticalUncertainties/blob/master/getGridpackFromProv.sh I sent an email to the gen conveners about having some help testing this, hopefully there's a student who can help. |
not my finest work. Definitely could have improvements, but technically works
This is a pain for me to keep monitoring while adding my own changes, so I'm going to merge. You can create an issue with the description if you'd like |
…ms (L1Trigger/TrackFindingTMTT) (cms-sw#29381) * create separate PRs for the two L1TK packages * Improved KF efficiency at high eta * Moved MC data files to cms-data * Removed old file * Removed KF HLS to put instead in external library * Ran scram b code-format * Delete KF4ParamsComb.h.bak * Delete KF4ParamsCombIV.bak * Delete KF4ParamsCombV2.bak * Delete KF5ParamsComb.h.bak * Delete KF4ParamsComb.cc.bak * Delete KF4ParamsCombIV.bak * Delete KF4ParamsCombV2.bak * Delete KF5ParamsComb.cc.bak * L1 tk integration tmtt pre5 (#7) * Added CMS code style fixes * Removed old file * Reapplied stub b code-format * All code review changes (#13) * Fix clang errors (#14) * fixed clang error * directory for MC txt files * Fixed clang warnings + minor simplifications (#15) * tweak * tweak * Fixed clang warnings and small simplifications * Fixed clang warnings and small simplifications * All remaining review comments addressed (#16) * Replaced vector size with empty function * Simplified DegradeBend and StubWindowSuggest * Fixed more review comments * More review comments * code reformat * Ran exhaustive clang tidy * Added library to BuildFile.xml (#17) * Deleted TrackFindingTMT/data/README (#18) * Added library to BuildFile.xml (This was already done yesterday. Not sure why it appears again) * README file in data directory deleted * Fix review comments (#20) Co-authored-by: Louise Skinnari <louise.skinnari@cern.ch>
Modifying pepr PF candidate producer to use new Triton client in CMSSW
Copy in all the recent nano weights stuff
PR description:
Fixing final issues with the parsing code. Here is a checklist of what this PR will hope to do:
Limitations:
There are some noticed problems.
kUnknownUnc
..LHgrid
appended to the pdfset name, soMMHT2014lo68cl.LHgrid
is the seen pdf weight which can't be found by the pdfsetinfo. The current fix is to remove the substring after the.
, but that could cause errors for groupnames that are supposed to have a.
in them