CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 metPreValidSeq=cms.Sequence(ak4PFCHSL1FastjetCorrector * ak4PFCHSL2RelativeCorrector * ak4PFCHSL3AbsoluteCorrector * ak4PFCHSResidualCorrector)
32 
33 valCorrPfMetType1=corrPfMetType1.clone(jetCorrLabel = cms.InputTag('newAK4PFCHSL1FastL2L3Corrector'),
34  jetCorrLabelRes = cms.InputTag('newAK4PFCHSL1FastL2L3ResidualCorrector')
35  )
36 
37 PfMetT1=pfMetT1.clone(srcCorrections = cms.VInputTag(
38  cms.InputTag('valCorrPfMetType1', 'type1')
39  ))
40 
41 PfMetT0pcT1=pfMetT0pcT1.clone(
42  srcCorrections = cms.VInputTag(
43  cms.InputTag('corrPfMetType0PfCand'),
44  cms.InputTag('valCorrPfMetType1', 'type1')
45  )
46  )
47 
48 METRelValSequence = cms.Sequence(
49  metAnalyzer*
50  pfMetAnalyzer*
51  genMetTrueAnalyzer*
52  correctionTermsPfMetType0PFCandidateForValidation*
53  newAK4PFCHSL1FastL2L3CorrectorChain*
54  newAK4PFCHSL1FastL2L3ResidualCorrectorChain*
55  valCorrPfMetType1*
56  pfMetT0pc*
57  PfMetT1*
58  PfMetT0pcT1*
59  pfType0CorrectedMetAnalyzer*
60  pfType1CorrectedMetAnalyzer*
61  pfType01CorrectedMetAnalyzer
62  )
63 
64 
65 METValidation = cms.Sequence(
66  metAnalyzer*
67  pfMetAnalyzer*
68  genMetTrueAnalyzer*
69  correctionTermsPfMetType0PFCandidateForValidation*
70  newAK4PFCHSL1FastL2L3CorrectorChain*
71  newAK4PFCHSL1FastL2L3ResidualCorrectorChain*
72  valCorrPfMetType1*
73  pfMetT0pc*
74  PfMetT1*
75  PfMetT0pcT1*
76  pfType0CorrectedMetAnalyzer*
77  pfType1CorrectedMetAnalyzer*
78  pfType01CorrectedMetAnalyzer
79  )
80 
81 METValidationMiniAOD = cms.Sequence(pfType1CorrectedMetAnalyzerMiniAOD*pfPuppiMetAnalyzerMiniAOD)