Exemplo n.º 1
0
import FWCore.ParameterSet.Config as cms

from DQMOffline.JetMET.jetMETDQMCleanup_cff import *

from JetMETCorrections.Configuration.JetCorrectionServices_cff import ak5CaloL2L3, ak5CaloL2Relative, ak5CaloL3Absolute
newAk5CaloL2L3 = ak5CaloL2L3.clone()

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

from JetMETCorrections.Configuration.JetCorrectionServices_cff import ak5PFL1FastL2L3, ak5PFL1Fastjet, ak5PFL2Relative, ak5PFL3Absolute
newAk5PFL1FastL2L3 = ak5PFL1FastL2L3.clone()

from JetMETCorrections.Configuration.JetCorrectionServices_cff import ak5JPTL1FastL2L3, ak5JPTL1Fastjet, ak5JPTL2Relative, ak5JPTL3Absolute
newAk5JPTL1FastL2L3 = ak5JPTL1FastL2L3.clone()

tcMetDQMAnalyzer = cms.EDAnalyzer(
    "METAnalyzer",
    OutputMEsInRootFile=cms.bool(False),
    OutputFile=cms.string('jetMETMonitoring.root'),
    METType=cms.untracked.string('tc'),
    METCollectionLabel=cms.InputTag("tcMet"),
    JetCollectionLabel=cms.InputTag("JetPlusTrackZSPCorJetAntiKt5"),
    JetCorrections=cms.string("newAk5JPTL1FastL2L3"),
    InputJetIDValueMap=cms.InputTag("ak5JetID"),
    ptThreshold=cms.double(30),
    FolderName=cms.untracked.string("JetMET/MET/"),
    CleaningParameters=cleaningParameters.clone(),
    TriggerResultsLabel=cms.InputTag("TriggerResults::HLT"),
    runcosmics=cms.untracked.bool(False),
    LSBegin=cms.int32(0),
Exemplo n.º 2
0
import FWCore.ParameterSet.Config as cms

# File: JetValidation_cff.py
# Author : Chiyoung Jeong
# Date : Mar 17 2009
# Description : cff file for DQM offline vladation


from RecoJets.Configuration.RecoJetAssociations_cff import *

from Validation.RecoJets.JetValidation_cfi import *

from JetMETCorrections.Configuration.JetCorrectionServices_cff import ak5CaloL2L3,ak5CaloL2Relative,ak5CaloL3Absolute
newAk5CaloL2L3 = ak5CaloL2L3.clone()

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

from JetMETCorrections.Configuration.JetCorrectionServices_cff import ak5PFL1FastL2L3,ak5PFL1Fastjet,ak5PFL2Relative,ak5PFL3Absolute
newAk5PFL1FastL2L3 = ak5PFL1FastL2L3.clone()

from JetMETCorrections.Configuration.JetCorrectionServices_cff import ak5JPTL1FastL2L3,ak5JPTL1Fastjet,ak5JPTL2Relative,ak5JPTL3Absolute
newAk5JPTL1FastL2L3 = ak5JPTL1FastL2L3.clone()

from JetCorrectionServices_AK5CHS_cff import ak5PFchsL1FastL2L3,ak5PFchsL1Fastjet,ak5PFchsL2Relative,ak5PFchsL3Absolute
newAk5PFchsL1FastL2L3 = ak5PFchsL1FastL2L3.clone()

JetValidation = cms.Sequence(
#    JetAnalyzerKt6PF*
#    JetAnalyzerKt6Calo*
    JetAnalyzerAk5Calo*