JetMET Corrections #29
Replies: 3 comments 10 replies
-
Hi @lcorcodilos @mroguljic here's my implementation of JEC, JEC uncertainties, and JER. The main CMSSW classes are: At the moment, I suggested that Matej implements the JEC uncertainties and the JER smearing and uncertainties. With nanoAODv7, we do not need to update the JEC itself. The key parts of the JEC uncertainty implementation are:
As for the JER, the values are here, taken from the JER TWiki: There's a lot going on in the above codes besides this and I can walk you through the main parts if needed. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, I started writing a class to handle JES shifts, following Devdatta's examples. The first goal was to get an object which can read uncertainties, given a jet, and to use this object to see if it returns sensible numbers. A very simple class is defined here:
Constructor takes the payload name and creates an object to read it and there is a method which uses this object and returns the uncertainty for a given pt and eta. I tried using this class with a simple TIMBER script
When running [3], warning messages appear, indicating that jet eta wasn't set (but it was on L13 of [1]), thus giving an invalid uncertainty value of -999
Furthermore, there is also this error, which I guess is causing the problem: Since I'm working on lxplus, I'm using CMSSW_11_1_5 per these instructions https://github.com/lcorcodilos/TIMBER/blob/master/doxysetup/Python3.md with the virtualenv. In order to use CMSSW software with TIMBER when doing JEC magic, from the CMSSW area, I did this:
Perhaps there is something wrong with my virtualenv and/or the CMSSW setup, maybe someone else could try running this? |
Beta Was this translation helpful? Give feedback.
-
I'd like to just summarize the to-do list of what is needed and where to find the info on it since I've been digging around for a bit now. I can edit these if something looks incorrect (or more needs to be added).
|
Beta Was this translation helpful? Give feedback.
-
This thread is meant to start organizing the JME correction implementation as discussed at the meeting today (Jan 7th, 2021). We agreed to prioritize implementing whatever we can from CMSSW so that we can limit our work to "building the payload" in an RDataFrame friendly way.
@dmajumder please feel free to drop links to your old code here. Even just some include lines and a few lines that call methods from those headers would be useful in pointing us in the right direction.
Beta Was this translation helpful? Give feedback.
All reactions