Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:33:08

0001 import FWCore.ParameterSet.Config as cms
0002 # File: METRelValForDQM.cff
0003 # Author:  R. Remington
0004 # Date: 03.01.09
0005 # Fill validation histograms for MET.
0006 from Validation.RecoMET.METValidation_cfi import *
0007 
0008 #Removed the MET collections that we no longer monitor
0009 #in an attempt to reduce the number of histograms produced
0010 # as requested by DQM group to reduce the load on server.
0011 # -Samantha Hewamanage (samantha@cern.ch) - 04-27-2012
0012 
0013 from JetMETCorrections.Type1MET.correctedMet_cff import pfMetT0pc,pfMetT0pcT1,pfMetT1
0014 from JetMETCorrections.Type1MET.correctionTermsPfMetType0PFCandidate_cff import *
0015 from JetMETCorrections.Type1MET.correctionTermsPfMetType1Type2_cff import corrPfMetType1
0016 
0017 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFCHSL1FastL2L3ResidualCorrectorChain,ak4PFCHSL1FastL2L3CorrectorChain,ak4PFCHSL1FastL2L3ResidualCorrector,ak4PFCHSResidualCorrector,ak4PFCHSL1FastL2L3Corrector,ak4PFCHSL3AbsoluteCorrector,ak4PFCHSL2RelativeCorrector,ak4PFCHSL1FastjetCorrector
0018 
0019 newAK4PFCHSL1FastL2L3Corrector = ak4PFCHSL1FastL2L3Corrector.clone()
0020 newAK4PFCHSL1FastL2L3CorrectorChain = cms.Sequence(
0021     #ak4PFCHSL1FastjetCorrector * ak4PFCHSL2RelativeCorrector * ak4PFCHSL3AbsoluteCorrector * 
0022     newAK4PFCHSL1FastL2L3Corrector
0023     )
0024 
0025 newAK4PFCHSL1FastL2L3ResidualCorrector = ak4PFCHSL1FastL2L3ResidualCorrector.clone()
0026 newAK4PFCHSL1FastL2L3ResidualCorrectorChain = cms.Sequence(
0027     #ak4PFCHSL1FastjetCorrector * ak4PFCHSL2RelativeCorrector * ak4PFCHSL3AbsoluteCorrector * 
0028     newAK4PFCHSL1FastL2L3ResidualCorrector
0029     )
0030 
0031 metPreValidSeqTask = cms.Task(ak4PFCHSL1FastjetCorrector,
0032                               ak4PFCHSL2RelativeCorrector,
0033                               ak4PFCHSL3AbsoluteCorrector,
0034                               ak4PFCHSResidualCorrector
0035 )
0036 metPreValidSeq = cms.Sequence(metPreValidSeqTask)
0037 
0038 valCorrPfMetType1=corrPfMetType1.clone(jetCorrLabel = 'newAK4PFCHSL1FastL2L3Corrector',
0039                                        jetCorrLabelRes = 'newAK4PFCHSL1FastL2L3ResidualCorrector'
0040                                       )
0041 
0042 PfMetT1=pfMetT1.clone(srcCorrections = cms.VInputTag(
0043         'valCorrPfMetType1:type1'
0044         ))
0045 
0046 PfMetT0pcT1=pfMetT0pcT1.clone(
0047     srcCorrections = cms.VInputTag(
0048         'corrPfMetType0PfCand',
0049         'valCorrPfMetType1:type1'
0050         )
0051     )
0052 
0053 METRelValSequence = cms.Sequence(
0054     metAnalyzer*
0055     pfMetAnalyzer*
0056     genMetTrueAnalyzer*
0057     correctionTermsPfMetType0PFCandidateForValidation*
0058     newAK4PFCHSL1FastL2L3CorrectorChain*
0059     newAK4PFCHSL1FastL2L3ResidualCorrectorChain*
0060     valCorrPfMetType1*
0061     pfMetT0pc*
0062     PfMetT1*
0063     PfMetT0pcT1*
0064     pfType0CorrectedMetAnalyzer*
0065     pfType1CorrectedMetAnalyzer*
0066     pfType01CorrectedMetAnalyzer
0067      )
0068 
0069 
0070 METValidation = cms.Sequence(
0071     metAnalyzer*
0072     pfMetAnalyzer*
0073     genMetTrueAnalyzer*
0074     correctionTermsPfMetType0PFCandidateForValidation*
0075     newAK4PFCHSL1FastL2L3CorrectorChain*
0076     newAK4PFCHSL1FastL2L3ResidualCorrectorChain*
0077     valCorrPfMetType1*
0078     pfMetT0pc*
0079     PfMetT1*
0080     PfMetT0pcT1*
0081     pfType0CorrectedMetAnalyzer*
0082     pfType1CorrectedMetAnalyzer*
0083     pfType01CorrectedMetAnalyzer
0084     )
0085 
0086 METValidationMiniAOD = cms.Sequence(pfType1CorrectedMetAnalyzerMiniAOD*pfPuppiMetAnalyzerMiniAOD)