CMS 3D CMS Logo

JetValidation_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # File: JetValidation_cff.py
4 # Author : Chiyoung Jeong
5 # Date : Mar 17 2009
6 # Description : cff file for DQM offline vladation
7 
8 
10 
12 
13 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4CaloL2L3CorrectorChain,ak4CaloL2L3Corrector,ak4CaloL3AbsoluteCorrector,ak4CaloL2RelativeCorrector
14 
15 newAk4CaloL2L3Corrector = ak4CaloL2L3Corrector.clone()
16 newAk4CaloL2L3CorrectorChain = cms.Sequence(
17  #ak4CaloL2RelativeCorrector * ak4CaloL3AbsoluteCorrector *
18  newAk4CaloL2L3Corrector
19 )
20 
21 #from JetMETCorrections.Configuration.JetCorrectionServicesAllAlgos_cff import ak7CaloL2L3,ak7CaloL2Relative,ak7CaloL3Absolute
22 #newAk7CaloL2L3 = ak7CaloL2L3.clone()
23 
24 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFL1FastL2L3CorrectorChain,ak4PFL1FastL2L3Corrector,ak4PFL3AbsoluteCorrector,ak4PFL2RelativeCorrector,ak4PFL1FastjetCorrector
25 
26 newAk4PFL1FastL2L3Corrector = ak4PFL1FastL2L3Corrector.clone()
27 newAk4PFL1FastL2L3CorrectorChain = cms.Sequence(
28  #ak4PFL1FastjetCorrector * ak4PFL2RelativeCorrector * ak4PFL3AbsoluteCorrector *
29  newAk4PFL1FastL2L3Corrector
30 )
31 
32 #from JetMETCorrections.Configuration.JetCorrectionServices_cff import ak4JPTL1FastL2L3,ak4JPTL1Fastjet,ak4JPTL2Relative,ak4JPTL3Absolute
33 #newAk4JPTL1FastL2L3 = ak4JPTL1FastL2L3.clone()
34 
35 from JetMETCorrections.Configuration.JetCorrectors_cff import ak4PFCHSL1FastL2L3CorrectorChain,ak4PFCHSL1FastL2L3Corrector,ak4PFCHSL3AbsoluteCorrector,ak4PFCHSL2RelativeCorrector,ak4PFCHSL1FastjetCorrector
36 
37 newAk4PFCHSL1FastL2L3Corrector = ak4PFCHSL1FastL2L3Corrector.clone()
38 newAk4PFCHSL1FastL2L3CorrectorChain = cms.Sequence(
39  #ak4PFCHSL1FastjetCorrector * ak4PFCHSL2RelativeCorrector * ak4PFCHSL3AbsoluteCorrector *
40  newAk4PFCHSL1FastL2L3Corrector
41 )
42 
43 jetPreValidSeqTask = cms.Task(ak4CaloL2RelativeCorrector,
44  ak4CaloL3AbsoluteCorrector,
45  ak4PFL1FastjetCorrector,
46  ak4PFL2RelativeCorrector,
47  ak4PFL3AbsoluteCorrector,
48  ak4PFCHSL1FastjetCorrector,
49  ak4PFCHSL2RelativeCorrector,
50  ak4PFCHSL3AbsoluteCorrector
51 )
52 jetPreValidSeq=cms.Sequence(jetPreValidSeqTask)
53 
54 JetValidation = cms.Sequence(
55 # JetAnalyzerKt6PF*
56 # JetAnalyzerKt6Calo*
57  newAk4CaloL2L3CorrectorChain*
58  JetAnalyzerAk4Calo*
59 # JetAnalyzerAk7Calo*
60  newAk4PFL1FastL2L3CorrectorChain*
61  JetAnalyzerAk4PF*
62 # JetAnalyzerAk4JPT*
63  newAk4PFCHSL1FastL2L3CorrectorChain*
64  JetAnalyzerAk4PFCHS
65 # JetAnalyzerAk8PF*
66 # JetAnalyzerAk8PFCHS*
67 # *JetAnalyzerCA8PFCHS
68  )
69 
70 
71 JetValidationMiniAOD=cms.Sequence(JetAnalyzerAk4PFCHSMiniAOD*JetAnalyzerAk4PFPUPPIMiniAOD*JetAnalyzerAk8PFPUPPIMiniAOD)