ttbbRun2Bamboo merge requestshttps://gitlab.cern.ch/swertz/ttbbRun2Bamboo/-/merge_requests2022-05-16T15:20:59+02:00https://gitlab.cern.ch/swertz/ttbbRun2Bamboo/-/merge_requests/70manageRucio script: check presence of all files in container2022-05-16T15:20:59+02:00Sebastien WertzmanageRucio script: check presence of all files in containerhttps://gitlab.cern.ch/swertz/ttbbRun2Bamboo/-/merge_requests/69unfoldingPlotter: fix interplay between signal phase space and ttbar category2022-05-13T16:34:32+02:00Sebastien WertzunfoldingPlotter: fix interplay between signal phase space and ttbar categoryThis required to add a flag to `baseTtbbPlotter.prepareTree()` to avoid adding the ttbar category cut at the root selection node, and then to modify the logic for the selections in the unfoldingPlotter:
- for ttX=ttjj/ttC: reco-level sel...This required to add a flag to `baseTtbbPlotter.prepareTree()` to avoid adding the ttbar category cut at the root selection node, and then to modify the logic for the selections in the unfoldingPlotter:
- for ttX=ttjj/ttC: reco-level selection = (reco cuts) && (ttX category) && !(signal gen-level phase space cuts)
- for ttB:
- gen-level selection = (signal gen-level phase space cuts)
- reco-level selection = (reco cuts) && ((ttB category) || (signal gen-level phase space cuts))
- reco level for migration matrices: (reco cuts) && (signal gen-level phase space cuts)
This means that the signal gen-level cuts have to be declared even for the ttjj and ttC backgrounds.https://gitlab.cern.ch/swertz/ttbbRun2Bamboo/-/merge_requests/68Fix typo in ttH sample name2022-05-05T15:16:22+02:00Sebastien WertzFix typo in ttH sample name(this has no effect downstream, just fixing for consistency)(this has no effect downstream, just fixing for consistency)https://gitlab.cern.ch/swertz/ttbbRun2Bamboo/-/merge_requests/67One more adjustment to bJet HT binning2022-05-04T10:22:17+02:00Sebastien WertzOne more adjustment to bJet HT binninghttps://gitlab.cern.ch/swertz/ttbbRun2Bamboo/-/merge_requests/66Some more adjustments to binnings2022-05-02T15:42:50+02:00Sebastien WertzSome more adjustments to binningsMostly to fix the bJet HT. Now a different binning is used for 5j3b and 6j4b, since it didn't look possible to find one that accomodates them both.
Also a slight change to abs(eta) to get a reasonable number of decimals in the bin edges.Mostly to fix the bJet HT. Now a different binning is used for 5j3b and 6j4b, since it didn't look possible to find one that accomodates them both.
Also a slight change to abs(eta) to get a reasonable number of decimals in the bin edges.https://gitlab.cern.ch/swertz/ttbbRun2Bamboo/-/merge_requests/65Changes to unfoldingPlotter for alternate samples2022-05-04T11:37:38+02:00Umberto MolinattiChanges to unfoldingPlotter for alternate sampleshttps://gitlab.cern.ch/swertz/ttbbRun2Bamboo/-/merge_requests/64Add n bjet observable2022-04-26T20:12:35+02:00Sebastien WertzAdd n bjet observableCloses #4
Only caveat: we get `pretty_name: '$N_{\mathrm{b}}^{M}$` in the config whereas we would just like `pretty_name: '$N_{\mathrm{b}}$` for the unfolded observable. But let's just move on, worst case we fix it by hand in the confi...Closes #4
Only caveat: we get `pretty_name: '$N_{\mathrm{b}}^{M}$` in the config whereas we would just like `pretty_name: '$N_{\mathrm{b}}$` for the unfolded observable. But let's just move on, worst case we fix it by hand in the config (unless you see an easy way of getting that right from the config writer)...https://gitlab.cern.ch/swertz/ttbbRun2Bamboo/-/merge_requests/63new Skimmer variables2022-04-28T15:21:07+02:00Umberto Molinattinew Skimmer variablesAdded the new skimmer variables to keep. Everything seems to run properly but I wanted confirmation that these are the variables we want to keep.
`get_bTagSF_itFit` changed in definitions because the original version didn't work with the...Added the new skimmer variables to keep. Everything seems to run properly but I wanted confirmation that these are the variables we want to keep.
`get_bTagSF_itFit` changed in definitions because the original version didn't work with the current setup. I don't think the removed elements are necessary elsewhere but they can be put back if necessaryhttps://gitlab.cern.ch/swertz/ttbbRun2Bamboo/-/merge_requests/62Update 2016 HIPM Data samples to NanoAODv9-v22022-04-25T09:44:25+02:00Kyle CormierUpdate 2016 HIPM Data samples to NanoAODv9-v2see: slide 10 of this presentation
https://indico.cern.ch/event/1123508/contributions/4716343/attachments/2405598/4115096/22-03-10_News_PPD.pdf
and links therein, it seems in v1 of these samples some smearing/scale corrections
were not ...see: slide 10 of this presentation
https://indico.cern.ch/event/1123508/contributions/4716343/attachments/2405598/4115096/22-03-10_News_PPD.pdf
and links therein, it seems in v1 of these samples some smearing/scale corrections
were not correctly applied; the NanoAODv9-v1 samples have been invalidated.https://gitlab.cern.ch/swertz/ttbbRun2Bamboo/-/merge_requests/61Adjust binning for unfolding2022-04-25T10:39:34+02:00Sebastien WertzAdjust binning for unfolding- Coarser ancillary binning (3 bins for 5j3b/6j3b and 2 bins for 6j4b/7j4b)
- For some variables, use 5 or 6 gen-level bins instead of 7
Note: based on !58 and !59 (to be merged first)- Coarser ancillary binning (3 bins for 5j3b/6j3b and 2 bins for 6j4b/7j4b)
- For some variables, use 5 or 6 gen-level bins instead of 7
Note: based on !58 and !59 (to be merged first)https://gitlab.cern.ch/swertz/ttbbRun2Bamboo/-/merge_requests/60Uncomment final samples2022-04-21T10:46:49+02:00Sebastien WertzUncomment final samplesLooks like we have them all! :) @kcormier FYILooks like we have them all! :) @kcormier FYIhttps://gitlab.cern.ch/swertz/ttbbRun2Bamboo/-/merge_requests/59Fixes for observable unit and latex string2022-04-21T10:33:47+02:00Sebastien WertzFixes for observable unit and latex stringThe unit was sometimes not present (max mbb), and the `|...|` were missing for abs(eta). Note: based on top of !58 (to be merged first), this PR is only commit fc76140ff1d1414b44a752df973e47e231c7491dThe unit was sometimes not present (max mbb), and the `|...|` were missing for abs(eta). Note: based on top of !58 (to be merged first), this PR is only commit fc76140ff1d1414b44a752df973e47e231c7491dhttps://gitlab.cern.ch/swertz/ttbbRun2Bamboo/-/merge_requests/58Collection of small fixes2022-04-25T09:45:25+02:00Sebastien WertzCollection of small fixes- Unfolding config files:
- Dump latex strings as raw strings in YAML
- Fix latex format for MPL (no `ensuremath`), add explicit `$$` environment (Note: this change will have to be propagated to the unfolding code!)
- Add nic...- Unfolding config files:
- Dump latex strings as raw strings in YAML
- Fix latex format for MPL (no `ensuremath`), add explicit `$$` environment (Note: this change will have to be propagated to the unfolding code!)
- Add nice latex strings for phase spaces (Note: this change will have to be propagated to the unfolding code!)
- Make sure delta phi variable is in [0,pi]
- Unfolding observables on collections of objects: introduce starting index in collection, and only produce templates for final list of observables (e.g. bjet_pt[3] only in 5j3b instead of bjet_pt[1], bjet_pt[2] and bjet_pt[3]). (+ remove jet_pt/eta[1..6], which are not unfolded)
- Analysis config file:
- Merge back ttV=ttW+ttZ and VJets=WJets+ZJets for stat. analysis
- Add MPL-friendly latex process legends (Note: this change will have to be propagated to the unfolding code!)https://gitlab.cern.ch/swertz/ttbbRun2Bamboo/-/merge_requests/57Improvements to unfolding processing and extra config information2022-03-28T14:51:30+02:00Umberto MolinattiImprovements to unfolding processing and extra config informationI've fixed the issue with variable naming and added a few elements to what is printed in the `unfolding_config.yml` and `unfolding_plots.yml` files.
Let me know if there are any extra changes to be madeI've fixed the issue with variable naming and added a few elements to what is printed in the `unfolding_config.yml` and `unfolding_plots.yml` files.
Let me know if there are any extra changes to be madehttps://gitlab.cern.ch/swertz/ttbbRun2Bamboo/-/merge_requests/56Add missing ttbb hdamp samples; tweaks to plotSystematicsFromOutput.py2022-01-27T23:06:10+01:00Sebastien WertzAdd missing ttbb hdamp samples; tweaks to plotSystematicsFromOutput.pyhttps://gitlab.cern.ch/swertz/ttbbRun2Bamboo/-/merge_requests/55Added new UL binning setup and variables for unfolding2022-03-01T18:59:21+01:00Umberto MolinattiAdded new UL binning setup and variables for unfoldingHere's the current setup for the new UL binning to work with the unfolding. I've run a few tests and it seems to run properly but let me know if there are any changes that need to be madeHere's the current setup for the new UL binning to work with the unfolding. I've run a few tests and it seems to run properly but let me know if there are any changes that need to be madehttps://gitlab.cern.ch/swertz/ttbbRun2Bamboo/-/merge_requests/54Small adjustments to control plots2022-01-19T12:15:31+01:00Sebastien WertzSmall adjustments to control plots- Fixes to make style more consistent with KIT plots
- Add plots: nBtag in 4j2b and nBTight in 4j2b, 5j3b, 6j4b- Fixes to make style more consistent with KIT plots
- Add plots: nBtag in 4j2b and nBTight in 4j2b, 5j3b, 6j4bhttps://gitlab.cern.ch/swertz/ttbbRun2Bamboo/-/merge_requests/53Fix ttX/ttV group for plotIt2022-01-18T19:24:00+01:00Sebastien WertzFix ttX/ttV group for plotIthttps://gitlab.cern.ch/swertz/ttbbRun2Bamboo/-/merge_requests/52Binning optimization2021-12-07T21:20:48+01:00Umberto MolinattiBinning optimizationHere there is the new binning optimization code with the option to either choose a number of bins or maximum uncertainty.
Also added are some recently produced samples in the templateHere there is the new binning optimization code with the option to either choose a number of bins or maximum uncertainty.
Also added are some recently produced samples in the templatehttps://gitlab.cern.ch/swertz/ttbbRun2Bamboo/-/merge_requests/51include l1prefire weight for all eras2021-12-07T11:34:24+01:00Kyle Cormierinclude l1prefire weight for all erasPreviously there was no l1 prefiring correction for 2018. However, there are still some muon prefiring issues in 2018 (see here: https://twiki.cern.ch/twiki/bin/viewauth/CMS/L1PrefiringWeightRecipe) and the corrections (including systema...Previously there was no l1 prefiring correction for 2018. However, there are still some muon prefiring issues in 2018 (see here: https://twiki.cern.ch/twiki/bin/viewauth/CMS/L1PrefiringWeightRecipe) and the corrections (including systematic uncertainties) are in nanoV9.
This just makes sure we access those for 2018 as we do for other eras.