Skip to content

Commit

Permalink
Drop type specs for JetMET
Browse files Browse the repository at this point in the history
  • Loading branch information
NiharSaha committed Jan 8, 2022
1 parent e5882fe commit 650cfbe
Show file tree
Hide file tree
Showing 9 changed files with 244 additions and 259 deletions.
4 changes: 2 additions & 2 deletions DQMOffline/JetMET/python/dataCertificationJetMET_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@
)

dataCertificationJetMETHI = dataCertificationJetMET.clone(
isHI = cms.untracked.bool(True),
jetAlgo = cms.untracked.string("ak"),
isHI = True,
jetAlgo = "ak"
)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import FWCore.ParameterSet.Config as cms
from CommonTools.ParticleFlow.goodOfflinePrimaryVertices_cfi import goodOfflinePrimaryVertices
goodOfflinePrimaryVerticesDQM = goodOfflinePrimaryVertices.clone()
goodOfflinePrimaryVerticesDQMforMiniAOD = goodOfflinePrimaryVertices.clone(src = cms.InputTag("offlineSlimmedPrimaryVertices"))
goodOfflinePrimaryVerticesDQMforMiniAOD = goodOfflinePrimaryVertices.clone(src = "offlineSlimmedPrimaryVertices")
136 changes: 68 additions & 68 deletions DQMOffline/JetMET/python/jetAnalyzer_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

#Cleanup parameters
CleaningParameters = cleaningParameters.clone(
bypassAllPVChecks = cms.bool(True),
bypassAllPVChecks = True
),

#for JPT and CaloJetID
Expand Down Expand Up @@ -87,114 +87,114 @@
)

jetDQMAnalyzerAk4CaloCleaned=jetDQMAnalyzerAk4CaloUncleaned.clone(
JetCleaningFlag = cms.untracked.bool(True),
filljetHighLevel = cms.bool(False),
JetCleaningFlag = True,
filljetHighLevel = False,
CleaningParameters = cleaningParameters.clone(
bypassAllPVChecks = cms.bool(True),
bypassAllPVChecks = True
),
jetAnalysis=jetDQMParameters.clone(
ptThreshold = cms.double(20.),
asymmetryThirdJetCut = cms.double(30),
balanceThirdJetCut = cms.double(0.2),
ptThreshold = 20.,
asymmetryThirdJetCut = 30,
balanceThirdJetCut = 0.2
)
)

jetDQMAnalyzerAk4PFUncleaned=jetDQMAnalyzerAk4CaloUncleaned.clone(
CleaningParameters = cleaningParameters.clone(
bypassAllPVChecks = cms.bool(False),
bypassAllPVChecks = False
),
#for PFJets: LOOSE,TIGHT
JetIDQuality = cms.string("TIGHT"),
JetIDQuality = "TIGHT",
#options for Calo and JPT: PURE09,DQM09,CRAFT08
#for PFJets: RUN2ULCHS for 11_1_X onwards
JetIDVersion = cms.string("RUN2ULCHS"),
JetType = cms.string('pf'),#pf, calo or jpt
JetCorrections = cms.InputTag("dqmAk4PFL1FastL2L3ResidualCorrector"),
jetsrc = cms.InputTag("ak4PFJets"),
METCollectionLabel = cms.InputTag("pfMet"),
filljetHighLevel = cms.bool(False),
DCSFilterForJetMonitoring = cms.PSet(
DetectorTypes = cms.untracked.string("ecal:hbhe:hf:pixel:sistrip:es:muon"),
#DebugOn = cms.untracked.bool(True),
alwaysPass = cms.untracked.bool(False)
JetIDVersion = "RUN2ULCHS",
JetType = 'pf',#pf, calo or jpt
JetCorrections = "dqmAk4PFL1FastL2L3ResidualCorrector",
jetsrc = "ak4PFJets",
METCollectionLabel = "pfMet",
filljetHighLevel = False,
DCSFilterForJetMonitoring = dict(
DetectorTypes = "ecal:hbhe:hf:pixel:sistrip:es:muon",
#DebugOn = True,
alwaysPass = False
)
)


jetDQMAnalyzerAk4PFCleaned=jetDQMAnalyzerAk4PFUncleaned.clone(
JetCleaningFlag = cms.untracked.bool(True),
filljetHighLevel = cms.bool(False),
JetCleaningFlag = True,
filljetHighLevel = False,
jetAnalysis=jetDQMParameters.clone(
ptThreshold = cms.double(20.),
asymmetryThirdJetCut = cms.double(30),
balanceThirdJetCut = cms.double(0.2),
ptThreshold = 20.,
asymmetryThirdJetCut = 30,
balanceThirdJetCut = 0.2,
),
METCollectionLabel = cms.InputTag("pfMet"),
METCollectionLabel = "pfMet",
)

jetDQMAnalyzerAk4PFCHSCleaned=jetDQMAnalyzerAk4PFCleaned.clone(
filljetHighLevel =cms.bool(True),
JetCorrections = cms.InputTag("dqmAk4PFCHSL1FastL2L3ResidualCorrector"),
jetsrc = cms.InputTag("ak4PFJetsCHS"),
METCollectionLabel = cms.InputTag("pfMETT1"),
InputMVAPUIDDiscriminant = cms.InputTag("pileupJetIdEvaluatorCHSDQM","fullDiscriminant"),
InputCutPUIDDiscriminant = cms.InputTag("pileupJetIdEvaluatorCHSDQM","cutbasedDiscriminant"),
InputMVAPUIDValue = cms.InputTag("pileupJetIdEvaluatorCHSDQM","fullId"),
InputCutPUIDValue = cms.InputTag("pileupJetIdEvaluatorCHSDQM","cutbasedId"),
fillCHShistos =cms.bool(True),
filljetHighLevel = True,
JetCorrections = "dqmAk4PFCHSL1FastL2L3ResidualCorrector",
jetsrc = "ak4PFJetsCHS",
METCollectionLabel = "pfMETT1",
InputMVAPUIDDiscriminant = "pileupJetIdEvaluatorCHSDQM : fullDiscriminant",
InputCutPUIDDiscriminant = "pileupJetIdEvaluatorCHSDQM : cutbasedDiscriminant",
InputMVAPUIDValue = "pileupJetIdEvaluatorCHSDQM : fullId",
InputCutPUIDValue = "pileupJetIdEvaluatorCHSDQM : cutbasedId",
fillCHShistos = True,
)

jetDQMAnalyzerAk4PFCHSUncleanedMiniAOD=jetDQMAnalyzerAk4PFUncleaned.clone(
filljetHighLevel =cms.bool(True),
filljetHighLevel = True,
CleaningParameters = cleaningParameters.clone(
vertexCollection = cms.InputTag( "goodOfflinePrimaryVerticesDQMforMiniAOD" ),
vertexCollection = "goodOfflinePrimaryVerticesDQMforMiniAOD",
),
JetType = cms.string('miniaod'),#pf, calo or jpt
jetsrc = cms.InputTag("slimmedJets"),
METCollectionLabel = cms.InputTag("slimmedMETs"),
JetType = 'miniaod',#pf, calo or jpt
jetsrc = "slimmedJets",
METCollectionLabel = "slimmedMETs",
)

jetDQMAnalyzerAk4PFCHSCleanedMiniAOD=jetDQMAnalyzerAk4PFCleaned.clone(
CleaningParameters = cleaningParameters.clone(
vertexCollection = cms.InputTag( "goodOfflinePrimaryVerticesDQMforMiniAOD" ),
vertexCollection = "goodOfflinePrimaryVerticesDQMforMiniAOD",
),
JetType = cms.string('miniaod'),#pf, calo or jpt
jetsrc = cms.InputTag("slimmedJets"),
JetType = 'miniaod',#pf, calo or jpt
jetsrc = "slimmedJets"
)

jetDQMAnalyzerAk8PFPUPPICleanedMiniAOD=jetDQMAnalyzerAk4PFCHSCleanedMiniAOD.clone(
jetsrc = cms.InputTag("slimmedJetsAK8"),
jetsrc = "slimmedJetsAK8",
#for PUPPI jets: TIGHT
JetIDQuality = cms.string("TIGHT"),
JetIDQuality = "TIGHT",
#for PUPPI jets: RUN2ULPUPPI from 11_1_X onwards
JetIDVersion = cms.string("RUN2ULPUPPI"),
fillsubstructure =cms.bool(True),
JetIDVersion = "RUN2ULPUPPI",
fillsubstructure = True
)

jetDQMAnalyzerAk4PFCHSPuppiCleanedMiniAOD=jetDQMAnalyzerAk4PFCHSCleanedMiniAOD.clone(
JetType = cms.string('miniaod'),#pf, calo or jpt
jetsrc = cms.InputTag("slimmedJetsPuppi"),
JetType = 'miniaod',#pf, calo or jpt
jetsrc = "slimmedJetsPuppi",
#for PUPPI jets: TIGHT
JetIDQuality = cms.string("TIGHT"),
JetIDQuality = "TIGHT",
#for PUPPI jets: RUN2ULPUPPI from 11_1_X onwards
JetIDVersion = cms.string("RUN2ULPUPPI"),
JetIDVersion = "RUN2ULPUPPI"
)

jetDQMAnalyzerIC5CaloHIUncleaned=jetDQMAnalyzerAk4CaloUncleaned.clone(
filljetHighLevel =cms.bool(True),
filljetHighLevel = True,
CleaningParameters = cleaningParameters.clone(
bypassAllPVChecks = cms.bool(False),
vertexCollection = cms.InputTag( "hiSelectedVertex" ),
bypassAllPVChecks = False,
vertexCollection = "hiSelectedVertex",
),
JetType = cms.string('calo'),#pf, calo or jpt
JetCorrections = cms.InputTag(""),# no jet correction available yet?
jetsrc = cms.InputTag("iterativeConePu5CaloJets"),
JetCleaningFlag = cms.untracked.bool(False),
runcosmics = cms.untracked.bool(True),
DCSFilterForJetMonitoring = cms.PSet(
DetectorTypes = cms.untracked.string("ecal:hbhe:hf:pixel:sistrip:es:muon"),
#DebugOn = cms.untracked.bool(True),
alwaysPass = cms.untracked.bool(False)
JetType = 'calo',#pf, calo or jpt
JetCorrections = "",# no jet correction available yet?
jetsrc = "iterativeConePu5CaloJets",
JetCleaningFlag = False,
runcosmics = True,
DCSFilterForJetMonitoring = dict(
DetectorTypes = "ecal:hbhe:hf:pixel:sistrip:es:muon",
#DebugOn = True,
alwaysPass = False
)
)

Expand All @@ -213,8 +213,8 @@
RThreshold = cms.double(0.3),
reverseEnergyFractionThreshold = cms.double(0.5)
)
jetDQMAnalyzerAkPU4Calo = jetDQMAnalyzerAkPU3Calo.clone(src = cms.InputTag("akPu4CaloJets"))
jetDQMAnalyzerAkPU5Calo = jetDQMAnalyzerAkPU3Calo.clone(src = cms.InputTag("akPu5CaloJets"))
jetDQMAnalyzerAkPU4Calo = jetDQMAnalyzerAkPU3Calo.clone(src = "akPu4CaloJets")
jetDQMAnalyzerAkPU5Calo = jetDQMAnalyzerAkPU3Calo.clone(src = "akPu5CaloJets")

jetDQMAnalyzerAkPU3PF = DQMEDAnalyzer('JetAnalyzer_HeavyIons',
JetType = cms.untracked.string('pf'),
Expand All @@ -230,8 +230,8 @@
RThreshold = cms.double(0.3),
reverseEnergyFractionThreshold = cms.double(0.5)
)
jetDQMAnalyzerAkPU4PF = jetDQMAnalyzerAkPU3PF.clone(src = cms.InputTag("akPu4PFJets"))
jetDQMAnalyzerAkPU5PF = jetDQMAnalyzerAkPU3PF.clone(src = cms.InputTag("akPu5PFJets"))
jetDQMAnalyzerAkPU4PF = jetDQMAnalyzerAkPU3PF.clone(src = "akPu4PFJets")
jetDQMAnalyzerAkPU5PF = jetDQMAnalyzerAkPU3PF.clone(src = "akPu5PFJets")

jetDQMAnalyzerAkCs3PF = DQMEDAnalyzer('JetAnalyzer_HeavyIons',
JetType = cms.untracked.string('pf'),
Expand All @@ -251,8 +251,8 @@
rhom = cms.InputTag('hiFJRhoProducer','mapToRhoM')
)

jetDQMAnalyzerAkCs4PF=jetDQMAnalyzerAkCs3PF.clone(src = cms.InputTag("akCs4PFJets"),
CScands = cms.InputTag("akCs4PFJets","pfParticlesCs")
jetDQMAnalyzerAkCs4PF=jetDQMAnalyzerAkCs3PF.clone(src = "akCs4PFJets",
CScands = "akCs4PFJets : pfParticlesCs"
)


Expand Down
Loading

0 comments on commit 650cfbe

Please sign in to comment.