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 ak4PFL1FastL2L3CorrectorChain,ak4PFL1FastL2L3Corrector,ak4PFL3AbsoluteCorrector,ak4PFL2RelativeCorrector,ak4PFL1FastjetCorrector
18 
19 newAK4PFL1FastL2L3Corrector = ak4PFL1FastL2L3Corrector.clone()
20 newAK4PFL1FastL2L3CorrectorChain = cms.Sequence(
21  #ak4PFL1FastjetCorrector * ak4PFL2RelativeCorrector * ak4PFL3AbsoluteCorrector *
22  newAK4PFL1FastL2L3Corrector
23  )
24 
25 metPreValidSeq=cms.Sequence(ak4PFL1FastjetCorrector * ak4PFL2RelativeCorrector * ak4PFL3AbsoluteCorrector)
26 
27 valCorrPfMetType1=corrPfMetType1.clone(jetCorrLabel = cms.InputTag('newAK4PFL1FastL2L3Corrector'))
28 
29 PfMetT1=pfMetT1.clone(srcCorrections = cms.VInputTag(
30  cms.InputTag('valCorrPfMetType1', 'type1')
31  ))
32 
33 PfMetT0pcT1=pfMetT0pcT1.clone(
34  srcCorrections = cms.VInputTag(
35  cms.InputTag('corrPfMetType0PfCand'),
36  cms.InputTag('valCorrPfMetType1', 'type1')
37  )
38  )
39 
40 METRelValSequence = cms.Sequence(
41  metAnalyzer*
42  #metHOAnalyzer*
43  #metNoHFAnalyzer*
44  #metNoHFHOAnalyzer*
45  #metOptAnalyzer*
46  #metOptHOAnalyzer*
47  #metOptNoHFAnalyzer*
48  #metOptNoHFHOAnalyzer
49  pfMetAnalyzer*
50  #tcMetAnalyzer*
51  #corMetGlobalMuonsAnalyzer*
52  genMetTrueAnalyzer*
53  #genMetCaloAnalyzer*
54  #genMetCaloAndNonPromptAnalyzer
55  correctionTermsPfMetType0PFCandidateForValidation*
56  newAK4PFL1FastL2L3CorrectorChain*
57  valCorrPfMetType1*
58  #pfchsMETcorr*
59  pfMetT0pc*
60  PfMetT1*
61  PfMetT0pcT1*
62  pfType0CorrectedMetAnalyzer*
63  pfType1CorrectedMetAnalyzer*
64  pfType01CorrectedMetAnalyzer
65  )
66 
67 
68 METValidation = cms.Sequence(
69  metAnalyzer*
70  #metHOAnalyzer*
71  #metNoHFAnalyzer*
72  #metNoHFHOAnalyzer*
73  #metOptAnalyzer*
74  #metOptHOAnalyzer*
75  #metOptNoHFAnalyzer*
76  #metOptNoHFHOAnalyzer*
77  pfMetAnalyzer*
78  #tcMetAnalyzer*
79  #corMetGlobalMuonsAnalyzer*
80  genMetTrueAnalyzer*#*
81  #genMetCaloAnalyzer*
82  #genMetCaloAndNonPromptAnalyzer
83  correctionTermsPfMetType0PFCandidateForValidation*
84  newAK4PFL1FastL2L3CorrectorChain*
85  valCorrPfMetType1*
86  #pfchsMETcorr*
87  pfMetT0pc*
88  PfMetT1*
89  PfMetT0pcT1*
90  pfType0CorrectedMetAnalyzer*
91  pfType1CorrectedMetAnalyzer*
92  pfType01CorrectedMetAnalyzer
93  )
94 
95 METValidationMiniAOD = cms.Sequence(pfType1CorrectedMetAnalyzerMiniAOD)