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
Drop type specs for JetMET #36651
Drop type specs for JetMET #36651
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36651/27676
|
A new Pull Request was created by @NiharSaha (Nihar Ranjan Saha) for master. It involves the following packages:
@emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
JetCorrections = "dqmAk4PFCHSL1FastL2L3ResidualCorrector", | ||
jetsrc = "ak4PFJetsCHS", | ||
METCollectionLabel = "pfMETT1", | ||
InputMVAPUIDDiscriminant = "pileupJetIdEvaluatorCHSDQM : fullDiscriminant", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure about the spaces before and after the :
You'd better remove them
jetDQMAnalyzerAkCs4PF=jetDQMAnalyzerAkCs3PF.clone(src = cms.InputTag("akCs4PFJets"), | ||
CScands = cms.InputTag("akCs4PFJets","pfParticlesCs") | ||
jetDQMAnalyzerAkCs4PF=jetDQMAnalyzerAkCs3PF.clone(src = "akCs4PFJets", | ||
CScands = "akCs4PFJets : pfParticlesCs" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment
@@ -1,6 +1,6 @@ | |||
import FWCore.ParameterSet.Config as cms | |||
|
|||
from DQMOffline.JetMET.jptDQMConfig_cff import * # parameters for jpt analyzer | |||
#from DQMOffline.JetMET.jptDQMConfig_cff import * # parameters for jpt analyzer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a comment saying that this line is commented since the config file does not exist
caloMETAnalysis = metDQMParameters.clone( | ||
allHist = cms.bool(True) | ||
), | ||
# caloMETAnalysis = metDQMParameters.clone( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a comment saying these lines are commented since metDQMParameters does not exist
JetCorrections = cms.InputTag("dqmAk4PFL1FastL2L3ResidualCorrector"), | ||
METType = 'pf', | ||
METCollectionLabel = "pfMet", | ||
srcPFlow = 'particleFlow : ', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just srcPFlow = 'particleFlow',
JetCorrections = cms.InputTag("dqmAk4PFCHSL1FastL2L3ResidualCorrector"), | ||
METType = 'pf', | ||
METCollectionLabel = "pfMETT1", | ||
srcPFlow = 'particleFlow: ', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just srcPFlow = 'particleFlow',
srcPFlow = cms.InputTag('packedPFCandidates', ''), | ||
fillMetHighLevel = True,#fills only lumisec plots | ||
fillCandidateMaps = False, | ||
srcPFlow = 'packedPFCandidates: ', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just srcPFlow = 'packedPFCandidates',
CandType=cms.untracked.string('Packed'), | ||
PFCandidateLabel = cms.InputTag('packedPFCandidates', ''), | ||
CandType = 'Packed', | ||
PFCandidateLabel = 'packedPFCandidates: ', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just PFCandidateLabel = 'packedPFCandidates',
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36651/27686
|
Pull request #36651 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please check and sign again. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36651/27689
|
Pull request #36651 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @pbo0, @rvenditti can you please check and sign again. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-0f7376/21577/summary.html Comparison SummarySummary:
|
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Drop type specs in DQMOffline/JetMET python configuration files.
Central DQM migration campaign for drop type spces following
https://cms-sw.github.io/cms_coding_rules.html#6--packaging-rules-1
and update the safer syntax for existing parameters like: (1) drop type specifications where the original parameter exists. (2) using "clone" instead of "deepcopy" (3) move all parameters inside the clone
PR validation:
runTheMatrix.py -l limited -i all --ibeos