CMS 3D CMS Logo

jetAnalyzer_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 #jet correctors defined in JetMETDQMOfflineSource python file
6 
7 jetDQMAnalyzerSequence = cms.Sequence(jetDQMAnalyzerAk4CaloCleaned
8  *jetDQMAnalyzerAk4PFUncleaned*jetDQMAnalyzerAk4PFCleaned
9  *jetDQMAnalyzerAk4PFCHSCleaned
10  )
11 
12 _jetDQMAnalyzerSequenceWithPUPPI = cms.Sequence(jetDQMAnalyzerAk4CaloCleaned
13  *jetDQMAnalyzerAk4PFUncleaned*jetDQMAnalyzerAk4PFCleaned
14  *jetDQMAnalyzerAk4PFCHSCleaned*jetDQMAnalizerAk4PUPPICleaned
15  )
16 
17 jetDQMAnalyzerSequenceCosmics = cms.Sequence(jetDQMAnalyzerAk4CaloUncleaned)
18 
19 jetDQMAnalyzerSequenceMiniAOD = cms.Sequence(jetDQMAnalyzerAk4PFCHSUncleanedMiniAOD*jetDQMAnalyzerAk4PFCHSCleanedMiniAOD*jetDQMAnalyzerAk8PFPUPPICleanedMiniAOD*jetDQMAnalyzerAk4PFCHSPuppiCleanedMiniAOD)
20 
21 jetDQMAnalyzerSequenceHI = cms.Sequence(jetDQMAnalyzerIC5CaloHIUncleaned
22  * jetDQMMatchAkPu3CaloAkPu3PF
23  * jetDQMMatchAkPu4CaloAkPu4PF
24  * jetDQMMatchAkPu5CaloAkPu5PF
25 
26  * jetDQMAnalyzerAkPU3Calo
27  * jetDQMAnalyzerAkPU4Calo
28  * jetDQMAnalyzerAkPU5Calo
29 
30  * jetDQMAnalyzerAkPU3PF
31  * jetDQMAnalyzerAkPU4PF
32  * jetDQMAnalyzerAkPU5PF
33 
34  * jetDQMAnalyzerAkCs3PF
35  * jetDQMAnalyzerAkCs4PF
36 )
37 
38 _jetDQMAnalyzerSequenceHI = cms.Sequence(jetDQMMatchAkPu4CaloAkPu4PF
39  * jetDQMAnalyzerAkPU4Calo
40  * jetDQMAnalyzerAkPU3PF
41  * jetDQMAnalyzerAkPU4PF
42  * jetDQMAnalyzerAkCs4PF
43 )
44 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
45 (~pp_on_AA).toReplaceWith(jetDQMAnalyzerSequence, _jetDQMAnalyzerSequenceWithPUPPI)
46 pp_on_AA.toReplaceWith( jetDQMAnalyzerSequence, _jetDQMAnalyzerSequenceHI )
47 pp_on_AA.toModify( jetDQMAnalyzerAkPU4Calo, srcVtx = cms.untracked.InputTag("offlinePrimaryVertices") )
48 pp_on_AA.toModify( jetDQMAnalyzerAkPU3PF, srcVtx = cms.untracked.InputTag("offlinePrimaryVertices") )
49 pp_on_AA.toModify( jetDQMAnalyzerAkPU4PF, srcVtx = cms.untracked.InputTag("offlinePrimaryVertices") )
50 pp_on_AA.toModify( jetDQMAnalyzerAkCs4PF, srcVtx = cms.untracked.InputTag("offlinePrimaryVertices") )
51