Пример #1
0
import FWCore.ParameterSet.Config as cms

from DQMOffline.JetMET.jetDQMConfig_cff import *  # parameters for all jet analyzers
from DQMOffline.JetMET.jetMETDQMCleanup_cff import *  # parameters for event cleanup

from JetMETCorrections.Configuration.JetCorrectionServices_cff import ak4CaloL2L3, ak4CaloL2Relative, ak4CaloL3Absolute
newAk4CaloL2L3 = ak4CaloL2L3.clone()

from JetMETCorrections.Configuration.JetCorrectionServicesAllAlgos_cff import ak7CaloL2L3, ak7CaloL2Relative, ak7CaloL3Absolute
newAk7CaloL2L3 = ak7CaloL2L3.clone()

from JetMETCorrections.Configuration.JetCorrectionServices_cff import ak4PFL1FastL2L3, ak4PFL1Fastjet, ak4PFL2Relative, ak4PFL3Absolute
newAk4PFL1FastL2L3 = ak4PFL1FastL2L3.clone()

#from JetMETCorrections.Configuration.JetCorrectionServices_cff import ak4JPTL1FastL2L3,ak4JPTL1Fastjet,ak4JPTL2Relative,ak4JPTL3Absolute
#newAk4JPTL1FastL2L3 = ak4JPTL1FastL2L3.clone()

jetDQMAnalyzerAk4CaloUncleaned = cms.EDAnalyzer(
    "JetAnalyzer",
    OutputMEsInRootFile=cms.bool(False),
    OutputFile=cms.string('jetMETMonitoring.root'),
    JetType=cms.string('calo'),  #pf, calo or jpt
    JetCorrections=cms.string("newAk4CaloL2L3"),
    jetsrc=cms.InputTag("ak4CaloJets"),
    filljetHighLevel=cms.bool(True),
    #
    #
    #
    highPtJetTrigger=cms.PSet(
        andOr=cms.bool(False),
        dbLabel=cms.string("JetMETDQMTrigger"),
Пример #2
0
import FWCore.ParameterSet.Config as cms

from DQMOffline.JetMET.jetMETDQMCleanup_cff import *

from JetMETCorrections.Configuration.JetCorrectionServices_cff import ak4CaloL2L3,ak4CaloL2Relative,ak4CaloL3Absolute
newAk4CaloL2L3 = ak4CaloL2L3.clone()

from JetMETCorrections.Configuration.JetCorrectionServicesAllAlgos_cff import ak7CaloL2L3,ak7CaloL2Relative,ak7CaloL3Absolute
newAk7CaloL2L3 = ak7CaloL2L3.clone()

from JetMETCorrections.Configuration.JetCorrectionServices_cff import ak4PFL1FastL2L3,ak4PFL1Fastjet,ak4PFL2Relative,ak4PFL3Absolute
newAk4PFL1FastL2L3 = ak4PFL1FastL2L3.clone()

#from JetMETCorrections.Configuration.JetCorrectionServices_cff import ak4JPTL1FastL2L3,ak4JPTL1Fastjet,ak4JPTL2Relative,ak4JPTL3Absolute
#newAk4JPTL1FastL2L3 = ak4JPTL1FastL2L3.clone()


caloMetDQMAnalyzer = cms.EDAnalyzer("METAnalyzer",
    OutputMEsInRootFile = cms.bool(False),
    OutputFile = cms.string('jetMETMonitoring.root'),

    METType=cms.untracked.string('calo'),
    METCollectionLabel     = cms.InputTag("caloMet"),
    JetCollectionLabel  = cms.InputTag("ak4CaloJets"),
    JetCorrections = cms.string("newAk4CaloL2L3"),

    InputJetIDValueMap         = cms.InputTag("ak4JetID"), 
    ptThreshold                =cms.double(30),
    
    FolderName = cms.untracked.string("JetMET/MET/"),