Exemplo n.º 1
0
pileupJetIdEvaluatorCHSDQM = pileupJetIdEvaluator.clone(
    jetids=cms.InputTag("pileupJetIdCalculatorCHSDQM"),
    applyJec=cms.bool(True),
    inputIsCorrected=cms.bool(False))

from JetMETCorrections.Configuration.JetCorrectors_cff import ak4CaloL2L3CorrectorChain, ak4CaloResidualCorrector, ak4CaloL2L3Corrector, ak4CaloL3AbsoluteCorrector, ak4CaloL2RelativeCorrector

dqmAk4CaloL2L3Corrector = ak4CaloL2L3Corrector.clone()
dqmAk4CaloL2L3CorrectorChain = cms.Sequence(
    #ak4CaloL2RelativeCorrector*ak4CaloL3AbsoluteCorrector*
    dqmAk4CaloL2L3Corrector)

from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFL1FastL2L3CorrectorChain, ak4PFL1FastL2L3Corrector, ak4PFL3AbsoluteCorrector, ak4PFL2RelativeCorrector, ak4PFL1FastjetCorrector

dqmAk4PFL1FastL2L3Corrector = ak4PFL1FastL2L3Corrector.clone()
dqmAk4PFL1FastL2L3CorrectorChain = cms.Sequence(
    #ak4PFL1FastjetCorrector*ak4PFL2RelativeCorrector*ak4PFL3AbsoluteCorrector*
    dqmAk4PFL1FastL2L3Corrector)

from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFCHSL1FastL2L3CorrectorChain, ak4PFCHSL1FastL2L3Corrector, ak4PFCHSL3AbsoluteCorrector, ak4PFCHSL2RelativeCorrector, ak4PFCHSL1FastjetCorrector

dqmAk4PFCHSL1FastL2L3Corrector = ak4PFCHSL1FastL2L3Corrector.clone()
dqmAk4PFCHSL1FastL2L3CorrectorChain = cms.Sequence(
    #ak4PFCHSL1FastjetCorrector*ak4PFCHSL2RelativeCorrector*ak4PFCHSL3AbsoluteCorrector
    dqmAk4PFCHSL1FastL2L3Corrector)

jetPreDQMTask = cms.Task(ak4CaloL2RelativeCorrector,
                         ak4CaloL3AbsoluteCorrector, ak4PFL1FastjetCorrector,
                         ak4PFL2RelativeCorrector, ak4PFL3AbsoluteCorrector,
                         ak4PFCHSL1FastjetCorrector,
Exemplo n.º 2
0
# as requested by DQM group to reduce the load on server.
# -Samantha Hewamanage ([email protected]) - 04-27-2012

from JetMETCorrections.Type1MET.correctedMet_cff import pfMetT0pc, pfMetT0pcT1, pfMetT1
from JetMETCorrections.Type1MET.correctionTermsPfMetType0PFCandidate_cff import *
from JetMETCorrections.Type1MET.correctionTermsPfMetType1Type2_cff import corrPfMetType1


from JetMETCorrections.Configuration.JetCorrectors_cff import (
    ak4PFL1FastL2L3Corrector,
    ak4PFL1FastjetCorrector,
    ak4PFL2RelativeCorrector,
    ak4PFL3AbsoluteCorrector,
)

newAK4PFL1FastL2L3Corrector = ak4PFL1FastL2L3Corrector.clone()
newAK4PFL1FastL2L3CorrectorChain = cms.Sequence(
    # ak4PFL1FastjetCorrector * ak4PFL2RelativeCorrector * ak4PFL3AbsoluteCorrector *
    newAK4PFL1FastL2L3Corrector
)

metPreValidSeq = cms.Sequence(ak4PFL1FastjetCorrector * ak4PFL2RelativeCorrector * ak4PFL3AbsoluteCorrector)


corrPfMetType1.jetCorrLabel = cms.InputTag("newAK4PFL1FastL2L3Corrector")

METRelValSequence = cms.Sequence(
    metAnalyzer
    *
    # metHOAnalyzer*
    # metNoHFAnalyzer*
Exemplo n.º 3
0
    jetids = cms.InputTag("pileupJetIdCalculatorCHSDQM"),
    applyJec = cms.bool(True),
    inputIsCorrected = cms.bool(False)
    )

from JetMETCorrections.Configuration.JetCorrectors_cff import ak4CaloL2L3CorrectorChain,ak4CaloResidualCorrector,ak4CaloL2L3Corrector,ak4CaloL3AbsoluteCorrector,ak4CaloL2RelativeCorrector

dqmAk4CaloL2L3Corrector = ak4CaloL2L3Corrector.clone()
dqmAk4CaloL2L3CorrectorChain = cms.Sequence(
    #ak4CaloL2RelativeCorrector*ak4CaloL3AbsoluteCorrector*
    dqmAk4CaloL2L3Corrector
)

from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFL1FastL2L3CorrectorChain,ak4PFL1FastL2L3Corrector,ak4PFL3AbsoluteCorrector,ak4PFL2RelativeCorrector,ak4PFL1FastjetCorrector

dqmAk4PFL1FastL2L3Corrector = ak4PFL1FastL2L3Corrector.clone()
dqmAk4PFL1FastL2L3CorrectorChain = cms.Sequence(
    #ak4PFL1FastjetCorrector*ak4PFL2RelativeCorrector*ak4PFL3AbsoluteCorrector*
    dqmAk4PFL1FastL2L3Corrector
)

from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFCHSL1FastL2L3CorrectorChain,ak4PFCHSL1FastL2L3Corrector,ak4PFCHSL3AbsoluteCorrector,ak4PFCHSL2RelativeCorrector,ak4PFCHSL1FastjetCorrector

dqmAk4PFCHSL1FastL2L3Corrector = ak4PFCHSL1FastL2L3Corrector.clone()
dqmAk4PFCHSL1FastL2L3CorrectorChain = cms.Sequence(
    #ak4PFCHSL1FastjetCorrector*ak4PFCHSL2RelativeCorrector*ak4PFCHSL3AbsoluteCorrector
    dqmAk4PFCHSL1FastL2L3Corrector
)

jetPreDQMSeq=cms.Sequence(ak4CaloL2RelativeCorrector*ak4CaloL3AbsoluteCorrector*
                          ak4PFL1FastjetCorrector*ak4PFL2RelativeCorrector*ak4PFL3AbsoluteCorrector*
Exemplo n.º 4
0
# Author:  R. Remington
# Date: 03.01.09
# Fill validation histograms for MET.
from Validation.RecoMET.METValidation_cfi import *

#Removed the MET collections that we no longer monitor
#in an attempt to reduce the number of histograms produced
# as requested by DQM group to reduce the load on server.
# -Samantha Hewamanage ([email protected]) - 04-27-2012

from JetMETCorrections.Type1MET.correctedMet_cff import pfMetT0pc, pfMetT0pcT1, pfMetT1
from JetMETCorrections.Type1MET.correctionTermsPfMetType0PFCandidate_cff import *
from JetMETCorrections.Type1MET.correctionTermsPfMetType1Type2_cff import corrPfMetType1

from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFL1FastL2L3Corrector, ak4PFL1FastjetCorrector, ak4PFL2RelativeCorrector, ak4PFL3AbsoluteCorrector
newAK4PFL1FastL2L3Corrector = ak4PFL1FastL2L3Corrector.clone()
newAK4PFL1FastL2L3CorrectorChain = cms.Sequence(
    #ak4PFL1FastjetCorrector * ak4PFL2RelativeCorrector * ak4PFL3AbsoluteCorrector *
    newAK4PFL1FastL2L3Corrector)

metPreValidSeq = cms.Sequence(ak4PFL1FastjetCorrector *
                              ak4PFL2RelativeCorrector *
                              ak4PFL3AbsoluteCorrector)

corrPfMetType1.jetCorrLabel = cms.InputTag('newAK4PFL1FastL2L3Corrector')

METRelValSequence = cms.Sequence(
    metAnalyzer *
    #metHOAnalyzer*
    #metNoHFAnalyzer*
    #metNoHFHOAnalyzer*