CMS 3D CMS Logo

METRelValForDQM_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 # File: METRelValForDQM.cff
3 # Author: R. Remington
4 # Date: 03.01.09
5 # Fill validation histograms for MET.
7 
8 #Removed the MET collections that we no longer monitor
9 #in an attempt to reduce the number of histograms produced
10 # as requested by DQM group to reduce the load on server.
11 # -Samantha Hewamanage (samantha@cern.ch) - 04-27-2012
12 
13 from JetMETCorrections.Type1MET.correctedMet_cff import pfMetT0pc,pfMetT0pcT1,pfMetT1
16 
17 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFCHSL1FastL2L3ResidualCorrectorChain,ak4PFCHSL1FastL2L3CorrectorChain,ak4PFCHSL1FastL2L3ResidualCorrector,ak4PFCHSResidualCorrector,ak4PFCHSL1FastL2L3Corrector,ak4PFCHSL3AbsoluteCorrector,ak4PFCHSL2RelativeCorrector,ak4PFCHSL1FastjetCorrector
18 
19 newAK4PFCHSL1FastL2L3Corrector = ak4PFCHSL1FastL2L3Corrector.clone()
20 newAK4PFCHSL1FastL2L3CorrectorChain = cms.Sequence(
21  #ak4PFCHSL1FastjetCorrector * ak4PFCHSL2RelativeCorrector * ak4PFCHSL3AbsoluteCorrector *
22  newAK4PFCHSL1FastL2L3Corrector
23  )
24 
25 newAK4PFCHSL1FastL2L3ResidualCorrector = ak4PFCHSL1FastL2L3ResidualCorrector.clone()
26 newAK4PFCHSL1FastL2L3ResidualCorrectorChain = cms.Sequence(
27  #ak4PFCHSL1FastjetCorrector * ak4PFCHSL2RelativeCorrector * ak4PFCHSL3AbsoluteCorrector *
28  newAK4PFCHSL1FastL2L3ResidualCorrector
29  )
30 
31 metPreValidSeqTask = cms.Task(ak4PFCHSL1FastjetCorrector,
32  ak4PFCHSL2RelativeCorrector,
33  ak4PFCHSL3AbsoluteCorrector,
34  ak4PFCHSResidualCorrector
35 )
36 metPreValidSeq = cms.Sequence(metPreValidSeqTask)
37 
38 valCorrPfMetType1=corrPfMetType1.clone(jetCorrLabel = cms.InputTag('newAK4PFCHSL1FastL2L3Corrector'),
39  jetCorrLabelRes = cms.InputTag('newAK4PFCHSL1FastL2L3ResidualCorrector')
40  )
41 
42 PfMetT1=pfMetT1.clone(srcCorrections = cms.VInputTag(
43  cms.InputTag('valCorrPfMetType1', 'type1')
44  ))
45 
46 PfMetT0pcT1=pfMetT0pcT1.clone(
47  srcCorrections = cms.VInputTag(
48  cms.InputTag('corrPfMetType0PfCand'),
49  cms.InputTag('valCorrPfMetType1', 'type1')
50  )
51  )
52 
53 METRelValSequence = cms.Sequence(
54  metAnalyzer*
55  pfMetAnalyzer*
56  genMetTrueAnalyzer*
57  correctionTermsPfMetType0PFCandidateForValidation*
58  newAK4PFCHSL1FastL2L3CorrectorChain*
59  newAK4PFCHSL1FastL2L3ResidualCorrectorChain*
60  valCorrPfMetType1*
61  pfMetT0pc*
62  PfMetT1*
63  PfMetT0pcT1*
64  pfType0CorrectedMetAnalyzer*
65  pfType1CorrectedMetAnalyzer*
66  pfType01CorrectedMetAnalyzer
67  )
68 
69 
70 METValidation = cms.Sequence(
71  metAnalyzer*
72  pfMetAnalyzer*
73  genMetTrueAnalyzer*
74  correctionTermsPfMetType0PFCandidateForValidation*
75  newAK4PFCHSL1FastL2L3CorrectorChain*
76  newAK4PFCHSL1FastL2L3ResidualCorrectorChain*
77  valCorrPfMetType1*
78  pfMetT0pc*
79  PfMetT1*
80  PfMetT0pcT1*
81  pfType0CorrectedMetAnalyzer*
82  pfType1CorrectedMetAnalyzer*
83  pfType01CorrectedMetAnalyzer
84  )
85 
86 METValidationMiniAOD = cms.Sequence(pfType1CorrectedMetAnalyzerMiniAOD*pfPuppiMetAnalyzerMiniAOD)