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.
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 
28 valCorrPfMetType1=corrPfMetType1.clone(jetCorrLabel = cms.InputTag('newAK4PFL1FastL2L3Corrector'))
29 
30 PfMetT1=pfMetT1.clone(srcCorrections = cms.VInputTag(
31  cms.InputTag('valCorrPfMetType1', 'type1')
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  pfMetAnalyzer*
43  genMetTrueAnalyzer*
44  correctionTermsPfMetType0PFCandidateForValidation*
45  newAK4PFL1FastL2L3CorrectorChain*
46  valCorrPfMetType1*
47  pfMetT0pc*
48  PfMetT1*
49  PfMetT0pcT1*
50  pfType0CorrectedMetAnalyzer*
51  pfType1CorrectedMetAnalyzer*
52  pfType01CorrectedMetAnalyzer
53  )
54 
55 
56 METValidation = cms.Sequence(
57  metAnalyzer*
58  pfMetAnalyzer*
59  genMetTrueAnalyzer*
60  correctionTermsPfMetType0PFCandidateForValidation*
61  newAK4PFL1FastL2L3CorrectorChain*
62  valCorrPfMetType1*
63  pfMetT0pc*
64  PfMetT1*
65  PfMetT0pcT1*
66  pfType0CorrectedMetAnalyzer*
67  pfType1CorrectedMetAnalyzer*
68  pfType01CorrectedMetAnalyzer
69  )
70 
71 METValidationMiniAOD = cms.Sequence(pfType1CorrectedMetAnalyzerMiniAOD)