Skip to content
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

Merging dictchanges_CMSSW94X branch into master #58

Open
wants to merge 371 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
371 commits
Select commit Hold shift + click to select a range
fe54fcb
Revert "Merge pull request #51 from KappaAnalysis/getByToken"
thomas-mueller Aug 4, 2017
3f3ad2b
KInfo.h: modify unreasonable assertion
thomas-mueller Aug 4, 2017
f6f6596
Merge remote-tracking branch 'origin/master' into dictchanges
thomas-mueller Aug 5, 2017
d2a7482
Revert "Revert "Merge pull request #51 from KappaAnalysis/getByToken""
thomas-mueller Aug 10, 2017
6f87217
Merge remote-tracking branch 'origin/master' into dictchanges
thomas-mueller Aug 15, 2017
bb89ad3
KInfo.h: remove check, whether weights are within certain/arbitrary r…
thomas-mueller Aug 15, 2017
193b49b
KInfo.h: getLheWeightNamesMap returns again the requested name (not t…
thomas-mueller Aug 15, 2017
2511b0c
Merge remote-tracking branch 'origin/dictchanges' into getByToken
thomas-mueller Aug 17, 2017
22d2843
LinkDef.h: remove file which is not needed any more
thomas-mueller Aug 17, 2017
d9ea375
KInfoProducer.h, KInfo.h: create/fill/save Runs tree based on the sam…
thomas-mueller Aug 17, 2017
34d95d9
KElectronProducer.h, KMuonProducer.h: minor changes (comments, indent…
thomas-mueller Aug 18, 2017
2b217b3
KLeptonPairProducer.h: change to getByToken
thomas-mueller Aug 18, 2017
c4634df
KExtendedTauProducer.h: change to getByToken
thomas-mueller Aug 18, 2017
3f56611
KPatTauProducer.h: change to getByToken
thomas-mueller Aug 18, 2017
ab061ac
KCaloJetProducer.h, KFilterSummaryProducer.h: added comments
thomas-mueller Aug 18, 2017
d1a83ab
Merge remote-tracking branch 'origin/master' into dictchanges
thomas-mueller Aug 19, 2017
b5504ca
Merge remote-tracking branch 'origin/dictchanges' into getByToken
thomas-mueller Aug 19, 2017
9929bfe
Last update of Kaon production, sync with getByToken
greyxray Aug 22, 2017
17c6046
Merge remote-tracking branch 'origin/dictchanges' into dictchanges
greyxray Aug 22, 2017
5ca0af5
removing log output (1)
greyxray Aug 22, 2017
9d35761
Test script is cleaned up
greyxray Aug 22, 2017
148f697
KPatTau: revert non-working getByToken
greyxray Aug 22, 2017
0896c9c
Merge pull request #53 from KappaAnalysis/getByToken
Aug 22, 2017
3aff377
Remove all Kaon information
greyxray Aug 22, 2017
894565a
TESTS: enable more output
greyxray Aug 22, 2017
8c79867
KGenInfoProducer.h: fix LHE weight regex, keyword in weightgroup can …
thomas-mueller Aug 22, 2017
2ca0640
kSkimming_run2_cfg.py: improve LHE settings
thomas-mueller Aug 22, 2017
3b77e9c
Merge remote-tracking branch 'origin/master' into dictchanges
thomas-mueller Aug 22, 2017
b535a55
checkout script 8: comment the dublicating package checkout
greyxray Aug 22, 2017
796cd26
Update test_build.sh
Aug 23, 2017
f0a7ca7
Merge remote-tracking branch 'origin/master' into dictchanges
thomas-mueller Aug 23, 2017
742c9b0
Merge remote-tracking branch 'origin/dictchanges' into dictchanges
thomas-mueller Aug 23, 2017
d4235c3
clean up
greyxray Aug 24, 2017
918fb0f
kSkimming_run2_cfg.py: store LHE weights and particles only for Z/H->…
thomas-mueller Aug 24, 2017
a9046d3
Merge remote-tracking branch 'origin/dictchanges' into dictchanges
thomas-mueller Aug 24, 2017
9d739d9
KPatTauProducer.h: fixed clean up commit
thomas-mueller Aug 24, 2017
8917810
fix the muon configuration
greyxray Aug 25, 2017
865d42b
fix config for electrons
greyxray Aug 28, 2017
8578c46
Add exceptions calls
greyxray Aug 30, 2017
1db7538
added missing parts for srcMuonIsolationPF pset and some more updates
hsert Aug 30, 2017
c89e369
Merge branch 'dictchanges' of https://github.com/KappaAnalysis/Kappa …
hsert Aug 30, 2017
369e947
Let git ignore vim swap files
stwunsch Sep 7, 2017
b7eebe1
Whitespace fixes on datasets.json
stwunsch Sep 7, 2017
e5c7b45
Remove 2017 datasets from database
stwunsch Sep 7, 2017
a0094b6
Readd 2017 datasets (data only) up to D v1
stwunsch Sep 7, 2017
2c0a160
Add missing global tags to 2017 data
stwunsch Sep 7, 2017
ba668ed
Merge remote-tracking branch 'origin/master' into dictchanges
thomas-mueller Sep 10, 2017
27f6fab
Merge remote-tracking branch 'origin/master' into dictchanges
thomas-mueller Sep 12, 2017
fd1e863
Add Summer17 MC samples: DYJetsToLL, WJetsTLNu, TT
stwunsch Sep 12, 2017
abd7fcc
Added EmbeddingRun2017B MuTau dataset
perahrens Sep 12, 2017
628d1fc
SkimManager.py: simplify calls of the crab_cmd function, version with…
thomas-mueller Sep 14, 2017
7927409
datasetsHelperTwopz.py: sort nick lists for a more deterministic beha…
thomas-mueller Sep 14, 2017
d657c1f
datasets.json: remove non-existing sample
thomas-mueller Sep 15, 2017
d9f2238
kSkimming_run2_cfg.py: minor change
thomas-mueller Sep 15, 2017
f27d66c
kSkimming_run2_cfg.py: put lines to selection few events on a safer p…
thomas-mueller Sep 15, 2017
0769eda
SkimManager.py: enabled forced submission of jobs in exception state
thomas-mueller Sep 15, 2017
9546e4f
Merge remote-tracking branch 'origin/master' into dictchanges
thomas-mueller Sep 23, 2017
89268f6
KPatTauProducer.h: fix indentation
thomas-mueller Sep 23, 2017
e59bfd6
KTau.h, KPatTauProducer.h: added refitted a1 properties
thomas-mueller Sep 23, 2017
1f428d3
KTau.h: added resonancePdgId function
thomas-mueller Sep 25, 2017
1894e48
Merge remote-tracking branch 'origin/master' into dictchanges
thomas-mueller Oct 6, 2017
0c530a1
Fix config file to process in 9XX
greyxray Oct 18, 2017
a8bf44e
add more comments to deep-debug - run with verbosity 3
greyxray Nov 13, 2017
e8ef1a9
update on configuretions
greyxray Nov 13, 2017
1512fa7
temp commit to make it run on 2017. This commit has to be reverted on…
greyxray Nov 13, 2017
9a00969
some of the missing MC 2017 samples are added
hsert Nov 13, 2017
3585227
missing 2017 data samples are added
hsert Nov 13, 2017
47cf822
updates in datasets and a copy of kSkimming_2016 is added for 2017 sa…
hsert Nov 24, 2017
2faff66
the modified one is copied from analysis environment
hsert Nov 27, 2017
3f1e754
Revert "the modified one is copied from analysis environment"
hsert Nov 27, 2017
7e1aa6d
missing tags are added for summer16 DY samples (moriond17)
hsert Nov 15, 2017
b50b214
KTuple_cff.py, kSkimming_run2_cfg.py: fix trigger objects src for Fal…
thomas-mueller Nov 21, 2017
6e8d3f0
kSkimming_run2_cfg.py: fix trigger objects src for Spring16/CMSSW8 sa…
thomas-mueller Nov 21, 2017
a06433f
update the recipe for the tau
Nov 24, 2017
3399073
fix checkout8
Nov 24, 2017
ef2004a
Some of the 2017 datasets are added
hsert Nov 24, 2017
00ec4a0
registerDatasetHelper.py, DatasetManager.py: fun with code duplication
thomas-mueller Nov 24, 2017
dacbec0
registerDatasetHelper.py, DatasetManager.py: adjustments for JHU samples
thomas-mueller Nov 24, 2017
0e71c62
registerDatasetHelper.py, DatasetManager.py: fun with code duplicatio…
thomas-mueller Nov 24, 2017
979fef1
datasets.json: only re-formatting; this file should be edited with Da…
thomas-mueller Nov 24, 2017
c8f626d
registerDatasetHelper.py, DatasetManager.py: minor change for JHU gen…
thomas-mueller Nov 24, 2017
b7566f5
datasets.json: add signal samples used in AN-2017/212 for CP analysis
thomas-mueller Nov 24, 2017
7dff7b3
datasets.json: remove old/superceeded JHU CPmixing samples
thomas-mueller Nov 24, 2017
b1ebbe5
fixing checkoutCmssw80xPackagesForSkimming.sh
Nov 24, 2017
02b1aca
Update checkoutCmssw80xPackagesForSkimming.sh
Nov 24, 2017
0aa2a1d
datasets.json: added missing JHU ggH samples
thomas-mueller Nov 25, 2017
cbf4a2a
datasets.json: added temporarily xsec=1.0 for new JHU CP signal samples
thomas-mueller Nov 25, 2017
e593d21
kSkimming_run2_cfg.py: save LHE particles also in JHU CP signal samples
thomas-mueller Nov 25, 2017
76d4cbe
dataset.json: added xsecs for JHU CP samples taken from https://twiki…
thomas-mueller Nov 27, 2017
25103e5
add the miissing 2017 MCv1
greyxray Nov 28, 2017
0755b41
add the missing tags
greyxray Nov 28, 2017
3a1d9b3
styling datasetsHelperTwopz.py
greyxray Nov 28, 2017
27cc1e2
remove the annoying trailing spaces from datasets.json and automatic …
greyxray Nov 28, 2017
10bf58d
basic setup. fix the compilation issue
greyxray Jan 22, 2018
784a281
17Nov Rereco data samples and some Fall17-MC samples are added
hsert Jan 22, 2018
e12954f
Fix to make skimming work for CMSSW>9_4
Jan 10, 2018
e4befb5
style:remove trailing spaces and add the tabs
greyxray Jan 23, 2018
5c93ae6
style: fix the tabs
greyxray Jan 23, 2018
7dd7e2a
make the TransientTracks compilable again
greyxray Jan 23, 2018
9468db1
minor cleanup
greyxray Jan 23, 2018
42ee382
NANOPROPOSAL
greyxray Jan 23, 2018
beabb43
style: switch to conventional modules inclusion
greyxray Jan 23, 2018
366f36e
enable the initial configure for thr VertexRefit module
greyxray Jan 23, 2018
70f25db
bringing back the basick TT builder...
greyxray Jan 23, 2018
33c649e
more 94X samples are added
hsert Jan 23, 2018
aed0c92
more 94X samples are added
hsert Jan 23, 2018
1a8e3f0
step to bring back the DV refits
greyxray Jan 24, 2018
521b907
very dirty version of refitter
greyxray Jan 24, 2018
ef7d7f5
style: clean up KElectronProducer.h
greyxray Jan 24, 2018
9321d21
make KMuonProducer.h standartised and working
greyxray Jan 24, 2018
36e84f1
bring back the standartised SV refit to the TAU-related producers
greyxray Jan 24, 2018
0d659ea
Merge remote-tracking branch 'origin/dictchanges_CMSSW94X' into dictc…
hsert Jan 25, 2018
98b6057
one MC94X dataset is added
hsert Jan 25, 2018
6f3069a
missing Xsections are added for Summer17
hsert Jan 25, 2018
3a8acd2
some new fall17 samples are added
hsert Feb 12, 2018
64fec18
Electron and Tau ID are updated for 94X samples
hsert Feb 12, 2018
99f52de
ttbar Fall17 datasets are added
hsert Feb 13, 2018
a601b89
Uncompleted Wjets Fall17 datasets are added manually
hsert Feb 16, 2018
7c4fc50
Fall17 datasets: some corrections
hsert Feb 18, 2018
89b0bb3
Fall17 dataset, correction on WJet dataset
hsert Feb 18, 2018
479f9e9
generatorWeights are added for MC samples
hsert Feb 28, 2018
dc6e7ca
add checkoutCmssw94xPackagesForSkimming.sh
greyxray Mar 27, 2018
504bff7
add the downloadting of the script used for accessing of tau MVA
greyxray Mar 27, 2018
41987c6
Update checkoutCmssw94xPackagesForSkimming.sh
greyxray Mar 27, 2018
507d25b
some cleanings and additions
hsert Mar 27, 2018
617cbdd
remove warnings during compilation
greyxray Mar 27, 2018
7b5c774
update checkoutCmssw94xPackagesForSkimming.sh
greyxray Mar 27, 2018
fcfe4de
Add DeepCSV b-tagging to A(4;8)PF(CHS;PUPPI) jets
greyxray Mar 29, 2018
6b54979
Jets: store PatJet hadron and parton flavours. HTT uses hadronFlavour
greyxray Mar 29, 2018
c2f07bd
checkout script update
greyxray Mar 29, 2018
59c6302
add the L1 taus to the Kappa format and skims
greyxray Mar 29, 2018
519f14c
EventWeightCountProducer: fix the indentation
greyxray Mar 29, 2018
9653065
add the missing producer to commit 59c6302d93ff961af4c7ec7777a952d827…
greyxray Mar 29, 2018
7bea5c8
update with new cutbase ID 2017 and remove IDs of 2015 where there ar…
greyxray Mar 29, 2018
b04c43e
Electrons: store cutbase ID 2017
greyxray Apr 2, 2018
8f3a32e
store PF met
greyxray Apr 2, 2018
7f9c538
add notes&comments
greyxray Apr 3, 2018
3e5396d
Update the PSet with new access to tau MVA
greyxray Apr 3, 2018
9f981ca
mark as obsolete KPatTaus_run2_cff.py before deletion
greyxray Apr 3, 2018
5e11e1c
KBaseMultiProducer.h: add more senseble warning
greyxray Apr 3, 2018
f6dd9bd
NonIso ElectronID is added
hsert Apr 8, 2018
db7a64b
upgraded to Cmssw_9_4_4 and option for the scaling and smearing for e…
hsert Apr 9, 2018
b76addd
Revert "upgraded to Cmssw_9_4_4 and option for the scaling and smeari…
hsert Apr 9, 2018
709ff63
Revert "Revert "upgraded to Cmssw_9_4_4 and option for the scaling an…
hsert Apr 9, 2018
3bf0ab3
DatasetManager::copy_xsec_from_campaign: copy cross-sections process…
greyxray Apr 4, 2018
fcff2ca
KEleProducer: increase readability
greyxray Apr 10, 2018
d018fa7
2016: don't include L1 taus to the skim
greyxray Apr 10, 2018
eb91797
a reference is added for new tauID implementation
hsert Apr 10, 2018
2ab4088
Add the preprocessing to support cmssw8 and cmssw9
greyxray Apr 10, 2018
8658150
Fix the processing of 2016 samples; for some reason the line creates…
greyxray Apr 10, 2018
c9b5f16
GT update, and 2 single top MC sample is added
hsert Apr 13, 2018
bdeed49
Merge remote-tracking branch 'origin/dictchanges_CMSSW94X' into dictc…
hsert Apr 13, 2018
51ea5e6
tags/tagvalues are added for new St samples
hsert Apr 13, 2018
8aa60ce
a few more changes on 2017_v2 datasets
hsert Apr 13, 2018
40d9032
final updates on dataset.json file before the new skim
hsert Apr 13, 2018
088e138
Make Skimmanager initialize without specifying a whitelist.
dwolfschlaeger Mar 17, 2018
726d8cc
update to make it run in the submission, otherwise it can not find th…
hsert Apr 14, 2018
4361022
updates to make SkimManager run with kSkimming_2017_cfg file
hsert Apr 14, 2018
3ea78e5
Merge branch 'dictchanges_CMSSW94X' of github.com:KappaAnalysis/Kappa…
hsert Apr 14, 2018
8dde733
GT for 2017 data is updated
hsert Apr 14, 2018
acc5765
for data 2017 <pat::met> is produced by RECO step
greyxray Apr 16, 2018
e86fe86
An option to run over an incomplete dataset is added
hsert Apr 16, 2018
77e5591
Add the Automatic file splitting. Handle unknown errors differently a…
greyxray Apr 16, 2018
35058a7
generator weights for 2017 MCs are updated
hsert Apr 17, 2018
7db0675
Merge remote-tracking branch 'origin/dictchanges_CMSSW94X' into dictc…
hsert Apr 17, 2018
af51b84
A correction to generator weights: change from string to float.
hsert Apr 17, 2018
dff9d3d
Eddit 2016 config to point that the tau id access is obsolete
greyxray Apr 18, 2018
4d3529e
Add the pprint import
greyxray Apr 18, 2018
12f9f67
Fix the list of wanted MVA for 2017 data
greyxray Apr 18, 2018
e34dc2c
TauID: stored names of the TauIDs are changed
hsert Apr 18, 2018
611ea2e
Fix the Automatick splitting for submition
greyxray Apr 19, 2018
dfbcac9
some PSet adjustments
greyxray Apr 19, 2018
76170a9
makes no sence to limit floatDiscriminatorNames by the same amount as…
greyxray Apr 19, 2018
079c3b6
keep the 0.3 cone in the 2017 skims
greyxray Apr 19, 2018
d414309
Add debug printout for Taus
greyxray Apr 19, 2018
2d93a3a
added gluonfusion powheg file to the dataset
jd550179 Apr 19, 2018
749903a
added tagvalues
jd550179 Apr 23, 2018
377aa03
added VBFHToTauTauM125_RunIIFall17MiniAODv2_PU2017_13TeV_MINIAOD_powh…
jd550179 Apr 24, 2018
0d00c2a
Merge remote-tracking branch 'origin/master' into dictchanges_CMSSW94X
greyxray Apr 26, 2018
edf52a4
Fix compilation error
greyxray Apr 26, 2018
a010455
automatic splitting caused missing files with n-x ids, should be adde…
jd550179 Apr 26, 2018
b1ceab6
now possible to have more then 10 resubmits
jd550179 Apr 26, 2018
f46ac1f
first look if 0-x is in jobids if not do check the old way
jd550179 Apr 27, 2018
fa2ce5e
generatorWeight: the negative events on LO sample are taken into acco…
hsert May 2, 2018
48a342f
generatorWeight: a fix to the previous commit
hsert May 2, 2018
5df9f4f
temporary changes to store 2016 training of tauID for 2017 samples
hsert Jun 2, 2018
e14225e
a fix for the file creation using automatic splitting
hsert Jun 4, 2018
7408a3a
more fixes to automatic splitting fil list creation
hsert Jun 4, 2018
70fbad1
dataset.json: Add missing 2017 saples
greyxray Jun 27, 2018
8668e60
added btag discriminator at the right place
jd550179 Jul 31, 2018
326c29b
added btag discriminator at the right place
jd550179 Jul 31, 2018
f209132
Merge remote-tracking branch 'origin/dictchanges_CMSSW94X' into dictc…
hsert Aug 6, 2018
18dcafc
Merge branch 'master' into dictchanges_CMSSW94X
hsert Aug 6, 2018
957fd9c
Revert "temporary changes to store 2016 training of tauID for 2017 sa…
hsert Aug 6, 2018
c6847ca
verbosity levels are changed to include higher levels as well
hsert Aug 7, 2018
93d1370
checkout script for CMSSW94X-949 and for SL7 is updated
hsert Aug 8, 2018
0c087e3
Âadded lhe info for 2017 in the same way as 2016
jd550179 Aug 8, 2018
1203253
Âmet and electron smearing as done by kit
jd550179 Aug 14, 2018
105422f
added mcv2 april files
jd550179 Aug 16, 2018
4377377
added signal jhu, check cros-sec. and data 31March2018
jd550179 Aug 17, 2018
4ff628e
Âsingle top + tag to data: skim_data31March
jd550179 Aug 17, 2018
627e9cf
ewkz samples added
jd550179 Aug 29, 2018
4c8706b
EENoisePatch implementation
jd550179 Sep 5, 2018
48cc117
added MuonEG 31march 2017 data
Vhajahmad Sep 13, 2018
b565ac7
mm jhu sample 2017
jd550179 Sep 14, 2018
dac76a4
updating run2 config to match electron id tag changes in 2017 config
azotz Sep 24, 2018
e335318
update recipe to the met corrections problems
jd550179 Sep 25, 2018
bdb414f
Merge remote-tracking branch 'origin/dictchanges_CMSSW94X' into dictc…
jd550179 Sep 25, 2018
10c1ee8
added the right globalTag for march31 data
jd550179 Sep 25, 2018
edb661b
changed global tag to v15
jd550179 Sep 25, 2018
588840f
removed stuff which is already in CMSSW94x and larger
jd550179 Sep 26, 2018
e445955
also commented out in a very similar framework
jd550179 Sep 26, 2018
f2b031c
above 94 not 949
jd550179 Sep 26, 2018
547673e
changed tag to 15 and added sm and cp odd vbf jhu samples, maxmix not…
jd550179 Oct 8, 2018
5c74cb3
added tagvalue to vbf jhu
jd550179 Oct 9, 2018
96585f2
changed global tag from 15 to 16 and added madgraph H+2jet files
jd550179 Oct 17, 2018
c18a6d3
saved npNLO, which is needed for stitching the madgraph h cp signal s…
jd550179 Oct 17, 2018
97e936c
updated to latest in htt/sync from artur
jd550179 Oct 17, 2018
79e357c
global tag 16 has jet problems according to IC, use 15
jd550179 Oct 19, 2018
4d1508e
changes as proposed on gitlab
jd550179 Oct 19, 2018
0e23548
added backgrounds and signals and used latest xsec
jd550179 Nov 8, 2018
6c05bf6
bugfix in kskimming + chechout cmssw9411_patch2
jd550179 Nov 8, 2018
dc81941
removed deep tau ids
jd550179 Nov 9, 2018
a3c2054
remove deeptau data from cmsssw, 150 mb to large for crab
jd550179 Nov 9, 2018
24206ab
additional files + dwinterb check to add RunIIFall17MiniAODv2_ to nic…
jd550179 Nov 12, 2018
e527a54
added minor missing things in skim
jd550179 Nov 20, 2018
d53834a
generatorweights
jd550179 Nov 21, 2018
b0da35d
generatorweights for all MC, gluglu sample had missing block, leading…
jd550179 Nov 22, 2018
c5947a9
fix in nicknaming of CP samples, generatorweights added for cp sample…
jd550179 Dec 7, 2018
39c8c6e
Merge branch 'master' into dictchanges_CMSSW94X
azotz Feb 11, 2019
616ad18
datasets.json: added file lists for embedding 2017
azotz Feb 14, 2019
e39d632
kSkimming_2017_cfg.py: changed config for embedding 2017
azotz Feb 14, 2019
1f8ffa1
kSkimming_2017_cfg.py: added something for l1taus for embedding 2017
azotz Feb 14, 2019
df499db
Added Daniel's samples for GluGluHToMaxMixTauTau and
azotz Apr 9, 2019
a4231ca
switched to official egamma repo
azotz Apr 9, 2019
893b32c
Fix a typo
lucaswiens Apr 30, 2019
97c4919
Enable refitted Vertex for CMSSW version 9
lucaswiens May 9, 2019
c06d175
Implement a workaround to make hashes compatible with Artus
lucaswiens May 14, 2019
2f1238a
updated global tags for data, embedding and MC
azotz May 15, 2019
94b2617
Fix a typo
lucaswiens May 15, 2019
8a887e8
Implement a function to call the dbs by nickname
lucaswiens May 23, 2019
580ce36
added Tau 2017 Data sets
azotz Jun 17, 2019
58b6d49
updated tags for tau 2017 data
azotz Jun 17, 2019
8c91601
Delete an unused variable
lucaswiens Jul 17, 2019
ed3bb77
DataFormats/interface/KTrack.h: added functions to get track parameters
azotz Aug 8, 2019
2680d9a
Merge branch 'dictchanges_CMSSW94X' of github.com:KappaAnalysis/Kappa…
azotz Aug 8, 2019
bd706fb
fix logic error
mbluj Oct 4, 2019
4743e9f
Merge pull request #59 from mbluj/dictchanges_CMSSW102X
azotz Oct 5, 2019
f0158fb
added new sync VBF sync sample for 2017
azotz Oct 22, 2019
b570535
LFVZ4JetsToLLM50_madgraph-pythia8_13TeV set added
Vhajahmad Dec 26, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion DataFormats/interface/KBasic.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ struct KRefitVertex : public KVertex
{
virtual ~KRefitVertex() {};

std::size_t leptonSelectionHash;
std::size_t leptonSelectionHash1;
std::size_t leptonSelectionHash2;

};
typedef std::vector<KRefitVertex> KRefitVertices;
Expand Down
1 change: 1 addition & 0 deletions DataFormats/interface/KDebug.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ std::ostream &operator<<(std::ostream &os, const KLepton &lep);
std::ostream &operator<<(std::ostream &os, const KLeptonPair &leptonPair);
std::ostream &operator<<(std::ostream &os, const KBasicTau &tau);
std::ostream &operator<<(std::ostream &os, const KTau &tau);
std::ostream &operator<<(std::ostream &os, const KL1Tau &tau);
std::ostream &operator<<(std::ostream &os, const KExtendedTau &tau);
std::ostream &operator<<(std::ostream &os, const KGenTau &tau);
std::ostream &operator<<(std::ostream &os, const KGenJet &jet);
Expand Down
3 changes: 2 additions & 1 deletion DataFormats/interface/KJetMET.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ struct KJet : public KBasicJet

std::vector<float> tags; //< float value tags (b-tag, etc.)
unsigned int binaryIds; //< binary value tags (PU jet ID, etc.)
int flavour;
int hadronFlavour;
int partonFlavour;
bool genMatch;

float getTag(const std::string& name, const KJetMetadata *jetmetadata, bool check = true) const
Expand Down
3 changes: 1 addition & 2 deletions DataFormats/interface/KLepton.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,8 @@ struct KLepton : public KLV
approximation: effective area as a circle area
rho is usually provided by a KPileupDensity object
*/
double pfIsoRho(const double rho = 0.0, const double radius = 0.4) const
double pfIsoRho(const double rho = 0.0, const double area = 0.5026544) const
{
double area = radius * radius * 3.14159;
return std::max(0.0, static_cast<double>(pfIso(0.0)) - std::max(rho * area, 0.0));
}

Expand Down
13 changes: 13 additions & 0 deletions DataFormats/interface/KTau.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,19 @@ struct KBasicTau : public KLepton
};
typedef std::vector<KBasicTau> KBasicTaus;

/// Kappa L1 Tau format for L1 Seeds of Taus
/* needed for matching Tau trigger objects to their L1 seeds & apply pt cuts,
as recommended by Tau Trigger group for 2017 to achieve trigger SF's near 1.
It could be easily/generalized to L1 Muons and Electrons, but for now, that's not needed.
CMSSW DataFormats reference:
https://github.com/cms-sw/cmssw/blob/CMSSW_9_4_X/DataFormats/L1Trigger/interface/L1Candidate.h
https://github.com/cms-sw/cmssw/blob/CMSSW_9_4_X/DataFormats/L1Trigger/interface/Tau.h*/
struct KL1Tau : public KLV
{
virtual ~KL1Tau() {};
bool hwIso; // hardware iso: stored as 'int' in MINIAOD; switch to bool since relevant check is hwIso() > 0 in analyses
};
typedef std::vector<KL1Tau> KL1Taus;

/// Kappa Tau data format
/** copy from DataFormats/TauReco/interface/PFTau.h */
Expand Down
27 changes: 27 additions & 0 deletions DataFormats/interface/KTrack.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,39 @@ struct KTrack : public KLV
};

// https://github.com/cms-sw/cmssw/blob/09c3fce6626f70fd04223e7dacebf0b485f73f54/DataFormats/TrackReco/interface/TrackBase.h#L3-L49
template<class T>
std::vector<float> helixParameters(const T &vertex) const
{
std::vector<float> parameters = { qOverP(), lambda(), phi(), getDxy(vertex), getDsz(vertex) };
return parameters;
}

std::vector<float> helixParameters()
{
KVertex origin;
std::vector<float> parameters = { qOverP(), lambda(), phi(), getDxy(&origin), getDsz(&origin) };
return parameters;
}

template<class T>
float helixParameters(const T &vertex, int index) const
{
switch (index) {
case 0:
return qOverP();
case 1:
return lambda();
case 2:
return phi();
case 3:
return getDxy(vertex);
case 4:
return getDsz(vertex);
default:
return -999;
}
}

ROOT::Math::SMatrix<float, reco::Track::dimension, reco::Track::dimension, ROOT::Math::MatRepSym<float, reco::Track::dimension> > helixCovariance;

float qOverP() const
Expand Down
2 changes: 2 additions & 0 deletions DataFormats/interface/Kappa.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ REGISTER_NAME_OF_TYPE(KPhotons,std::vector<KPhoton>);
REGISTER_NAME_OF_TYPE(KPileupDensity,KPileupDensity);
REGISTER_NAME_OF_TYPE(KTau,KTau);
REGISTER_NAME_OF_TYPE(KTaus,std::vector<KTau>);
REGISTER_NAME_OF_TYPE(KL1Tau,KL1Tau);
REGISTER_NAME_OF_TYPE(KL1Taus,std::vector<KL1Tau>);
REGISTER_NAME_OF_TYPE(KExtendedTau,KExtendedTau);
REGISTER_NAME_OF_TYPE(KExtendedTaus,std::vector<KExtendedTau>);
REGISTER_NAME_OF_TYPE(KTaupairVerticesMap,KTaupairVerticesMap);
Expand Down
8 changes: 4 additions & 4 deletions DataFormats/src/KDebug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ std::ostream &operator<<(std::ostream &os, const KBasicJet &jet)
std::ostream &operator<<(std::ostream &os, const KJet &jet)
{
os << static_cast<const KBasicJet>(jet);
os << "\tflavour=" << jet.flavour;
os << "\thadronFlavour=" << jet.hadronFlavour;
os << "\tpartonFlavour=" << jet.partonFlavour;
os << "\tIDs=" << std::bitset<8>(jet.binaryIds);
if (jet.tags.size() > 0)
os << std::endl << "\ttags: ";
Expand Down Expand Up @@ -475,9 +476,8 @@ std::ostream &operator<<(std::ostream &os, const KGenEventInfo &i)
std::ostream &displayHLT(std::ostream &os, const KLumiInfo &metaLumi, const KEventInfo &metaEvent)
{
for (size_t hltIdx = 0; hltIdx < metaLumi.hltNames.size(); ++hltIdx)
if (metaEvent.bitsHLT[hltIdx])
os << hltIdx << ":" << metaLumi.hltNames[hltIdx] << "(" << metaLumi.hltPrescales[hltIdx] << ")" << " ";
os << std::endl;
if (metaEvent.bitsHLT[hltIdx]) os << hltIdx << ":" << metaLumi.hltNames[hltIdx] << "(" << metaLumi.hltPrescales[hltIdx] << ")" << " ";
os << std::endl;
return os;
}

Expand Down
2 changes: 2 additions & 0 deletions DataFormats/src/classes.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ namespace
KPileupDensity dict_KPileupDensity;
KTau dict_KTau;
KTaus dict_KTaus;
KL1Tau dict_KL1Tau;
KL1Taus dict_KL1Taus;
KExtendedTau dict_KExtendedTau;
KExtendedTaus dict_KExtendedTaus;
KTaupairVerticesMap dict_KTaupairVerticesMap;
Expand Down
2 changes: 2 additions & 0 deletions DataFormats/src/classes_def.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
<class name="KPileupDensity"/>
<class name="KTau"/>
<class name="KTaus"/>
<class name="KL1Tau"/>
<class name="KL1Taus"/>
<class name="KExtendedTau"/>
<class name="KExtendedTaus"/>
<class name="KTaupairVerticesMap"/>
Expand Down
1 change: 1 addition & 0 deletions DataFormats/test/testDebug.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ int main() {
cout << "* KPhoton: " << KPhoton() << endl << endl;
cout << "* KPileupDensity: " << KPileupDensity() << endl << endl;
cout << "* KTau: " << KTau() << endl << endl;
cout << "* KL1Tau: " << KL1Tau() << endl << endl;
cout << "* KExtendedTau: " << KExtendedTau() << endl << endl;
cout << "* KTaupairVerticesMap: " << KTaupairVerticesMap() << endl << endl;
cout << "* KTrack: " << KTrack() << endl << endl;
Expand Down
1 change: 1 addition & 0 deletions Producers/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<use name="RecoMuon/DetLayers"/>
<use name="RecoMuon/Records"/>
<use name="TrackingTools/KalmanUpdators"/>
<use name="TrackingTools/TransientTrack"/>
<use name="RecoEgamma/EgammaTools"/>
<use name="RecoVertex/AdaptiveVertexFit"/>
<use name="RecoVertex/LinearizationPointFinders"/>
Expand Down
8 changes: 4 additions & 4 deletions Producers/interface/KBaseMultiLVProducer.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class KBaseMultiVectorProducer : public KBaseMultiProducer<Tin, Tout>
typename KBaseMultiProducer<Tin, Tout>::OutputType &output,
const std::string &name, const edm::InputTag *tag, const edm::ParameterSet &pset)
{
if (KBaseProducer::verbosity > 0)
std::cout << input.size() << "KBaseMultiLVProducer::fillProduct : objects in collection " << name << std::endl;
if (KBaseProducer::verbosity >= 3)
std::cout << input.size() << " KBaseMultiLVProducer::fillProduct : objects in collection " << name << std::endl;
output.reserve(input.size());

// Cursor is necessary to get "Refs" later
Expand All @@ -59,7 +59,7 @@ class KBaseMultiVectorProducer : public KBaseMultiProducer<Tin, Tout>
if (maxN > 0)
output.erase(output.begin() + std::min(output.size(), (size_t)maxN), output.end());

if (KBaseProducer::verbosity > 1)
if (KBaseProducer::verbosity >= 3)
std::cout << "KBaseMultiLVProducer::fillProduct : \t" << "Number of accepted objects: " << output.size() << "\t";
}

Expand Down Expand Up @@ -106,7 +106,7 @@ class KBaseMultiLVProducer : public KBaseMultiVectorProducer<Tin, Tout>
const std::string &name, const edm::InputTag *tag, const edm::ParameterSet &pset)
{
KBaseMultiVectorProducer<Tin, Tout>::fillProduct(input, output, name, tag, pset);
if ((KBaseProducer::verbosity > 1) && (output.size() > 0))
if ((KBaseProducer::verbosity >= 3) && (output.size() > 0))
std::cout << "KBaseMultiLVProducer::fillProduct : First: " << output[0].p4 << "\tLast: " << output[output.size() - 1].p4 << std::endl;
}

Expand Down
12 changes: 7 additions & 5 deletions Producers/interface/KBaseMultiProducer.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ class KBaseMultiProducer : public KBaseMatchingProducer<Tout>
this->cEvent = &event;
this->cSetup = &setup;

for (typename std::map<Tout*, TargetSetupMapContent >::iterator
it = targetSetupMap.begin(); it != targetSetupMap.end(); ++it)
for(typename std::map<Tout*, TargetSetupMapContent >::iterator it = targetSetupMap.begin(); it != targetSetupMap.end(); ++it)
{
const edm::ParameterSet &pset = std::get<0>(it->second);
const edm::InputTag &src = std::get<1>(it->second);
Expand All @@ -45,13 +44,16 @@ class KBaseMultiProducer : public KBaseMatchingProducer<Tout>
// Try to get product via id
if (!event.getByToken(std::get<2>(it->second), this->handle))
{
std::cout << "Could not get main product! " << desc.second << ".src = " << src.encode() << std::endl;
std::cout << "Could not get main product! " << desc.second << ".src = " << src.encode()
<< " desc.first=" << desc.first
<< " pset=" << pset
<< " this->handle=" << this->handle
<< std::endl;
continue;
}

std::string name = desc.first;
if ((desc.first != desc.second) && !justOutputName)
name += " (" + desc.second + ")";
if ((desc.first != desc.second) && !justOutputName) name += " (" + desc.second + ")";
fillProduct(*(this->handle), ref, name, &src, pset);
}

Expand Down
1 change: 1 addition & 0 deletions Producers/interface/KBasicTauProducer.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ class KBasicTauProducer : public KBaseMultiLVProducer<std::vector<TTau>, TProduc

virtual bool onRun(edm::Run const &run, edm::EventSetup const &setup)
{
//edm::ESHandle<TransientTrackBuilder> trackBuilder = edm::ESHandle<TransientTrackBuilder>();
setup.get<TransientTrackRecord>().get("TransientTrackBuilder", trackBuilder);
return true;
}
Expand Down
Loading