wmass / cmgtools-lite Goto Github PK
View Code? Open in Web Editor NEWThis project forked from cern-ph-cmg/cmgtools-lite
CMGTools as a subsystem, not as a CMSSW overlay
This project forked from cern-ph-cmg/cmgtools-lite
CMGTools as a subsystem, not as a CMSSW overlay
Since we are using free functions multiple times, especially the electron smearer which has a slo TRandom inside, implement as much as possible in friend trees. A possible list:
Features to be added from discussion with @cippy:
In case we keep using the json on electron dataset (30.9/fb instead of 35.9) to force L1 pt thresholds below or equal to the HLT ones, we should probably remake the PU reweighting
I would expect that data selected by the json has lower PU than the total dataset.
Skims based on already produced ntuples, with a reasonable compression, takes ~1day with full 2016 MC and SingleElectron dataset of 2016. Need to parallelize.
To be added:
(@mdunser just to remind me what is still needed to do...)
@crovelli can you look at it?In case we cannot use G-H the lepton SFs have to be reverted to ICHEP 2016 ones from this twiki
PDFs, qcd scales, etc.
Reporting Josh's suggestion:
What I described above is actually more or less equivalent to
"QED-jets", since additional leptons may be included together with
photons as part of the dressing.This may be more algorithmically convenient to implement as:
Sort all isPromptFinalState photons and charged leptons by pt.
Starting from the highest pt particle, form QED-jets in a cone
around the seeding particle, removing all included particles from the
list of seeds.Continue until there are no more particles left to seed QED-jets.
Something like this is also the least sensitive to the details of the
QED FSR, including pair production.For the neutrino one can just take the highest pt isPromptFinalState
neutrino as said.
do cleanly in CMSSW, but can also be tried on ntuples (in case we need to recompute it)
Hi,
I just noticed that in the new friend trees here [0] we have the puWeight variable for PU reweighting.
However, it is also in the big ntuples.
This could be a problem when reading the tree. Which variable is going to be actually read?
I will produce a plot of Nvertices after the reweighting, but this needs to be fixed. The simplest solution is to rename the variable in the friend trees.
For the moment I only have this [1] with the Z. The normalization is totally of because I changed manually the cross section to the one reported here [2] but I didn't multiply by 3.
Yet it is clear that after the reweighting the peak is different between data and MC.
Marco
[0] /eos/cms/store/group/dpg_ecal/comm_ecal/localreco/TREES_1LEP_80X_V3/
[1] http://mciprian.web.cern.ch/mciprian/wmass/13TeV/zeePlots/TREES_1LEP_80X_V3/HLT_SingleEl/withSF/EBEB_Zamc@NLO/nVert.pdf
[2] https://twiki.cern.ch/twiki/bin/viewauth/CMS/StandardModelCrossSectionsat13TeV
-> do this once the nominal templates are orthogonal
-> submit jobs before starting the weekend
-> did this test a while back. didn't change a thing.
-> fully floating we have already. add to slides?
-> for long fixed the datacards are now with josh
-> all three!
A reminder that the pt-dependent FR shape systematics have been removed and should be put back following the new parameterization. See #269 (comment)
Given the non trivial efficiency of single electron triggers as in Afiq's presentation as a function of eta:
we need to apply scale factors for L1 x HLT efficiency on top of the offline selection scale factors. This is also time dependent, since the menu and the isolation corrections changed.
To avoid steps in the final distribution
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.