CMS 3D CMS Logo

egammaDQMOffline_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
7 
10 
11 photonAnalysis.OutputMEsInRootFile = cms.bool(False)
12 photonAnalysis.Verbosity = cms.untracked.int32(0)
13 photonAnalysis.standAlone = cms.bool(False)
14 
15 
16 stdPhotonAnalysis = DQMOffline.EGamma.photonAnalyzer_cfi.photonAnalysis.clone()
17 stdPhotonAnalysis.ComponentName = cms.string('stdPhotonAnalysis')
18 stdPhotonAnalysis.analyzerName = cms.string('stdPhotonAnalyzer')
19 stdPhotonAnalysis.phoProducer = cms.InputTag('photons')
20 stdPhotonAnalysis.OutputMEsInRootFile = cms.bool(False)
21 stdPhotonAnalysis.Verbosity = cms.untracked.int32(0)
22 stdPhotonAnalysis.standAlone = cms.bool(False)
23 
24 piZeroAnalysis.OutputMEsInRootFile = cms.bool(False)
25 piZeroAnalysis.Verbosity = cms.untracked.int32(0)
26 piZeroAnalysis.standAlone = cms.bool(False)
27 
28 
29 zmumugammaOldAnalysis = DQMOffline.EGamma.zmumugammaAnalyzer_cfi.zmumugammaAnalysis.clone()
30 zmumugammaOldAnalysis.ComponentName = cms.string('zmumugammaOldAnalysis')
31 zmumugammaOldAnalysis.analyzerName = cms.string('zmumugammaOldValidation')
32 zmumugammaOldAnalysis.phoProducer = cms.InputTag('photons')
33 
34 # HGCal customizations
35 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
36 stdPhotonAnalysisHGCal = stdPhotonAnalysis.clone()
37 stdPhotonAnalysisHGCal.ComponentName = 'stdPhotonAnalyzerHGCalFromMultiCl'
38 stdPhotonAnalysisHGCal.analyzerName = 'stdPhotonAnalyzerHGCalFromMultiCl'
39 stdPhotonAnalysisHGCal.phoProducer = 'photonsFromMultiCl'
40 stdPhotonAnalysisHGCal.isolationStrength = 2
41 stdPhotonAnalysisHGCal.etaMin = -3.0
42 stdPhotonAnalysisHGCal.etaMax = 3.0
43 stdPhotonAnalysisHGCal.maxPhoEta = 3.0
44 
45 egammaDQMOffline = cms.Sequence(photonAnalysis*stdPhotonAnalysis*zmumugammaOldAnalysis*zmumugammaAnalysis*piZeroAnalysis*electronAnalyzerSequence)
46 _egammaDQMOfflineHGCal = egammaDQMOffline.copy()
47 _egammaDQMOfflineHGCal += stdPhotonAnalysisHGCal
48 
49 phase2_hgcal.toReplaceWith(
50  egammaDQMOffline, _egammaDQMOfflineHGCal
51 )
52 
53 from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
54 from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018
55 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
56 for e in [peripheralPbPb, pp_on_AA_2018, pp_on_XeXe_2017]:
57  e.toModify(stdPhotonAnalysis, phoProducer = cms.InputTag('islandPhotons'))
piZeroAnalyzer_cfi
photonAnalyzer_cfi
electronAnalyzerSequence_cff
zmumugammaAnalyzer_cfi