CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  ComponentName = cms.string('stdPhotonAnalysis'),
18  analyzerName = cms.string('stdPhotonAnalyzer'),
19  phoProducer = cms.InputTag('photons'),
20  OutputMEsInRootFile = cms.bool(False),
21  Verbosity = cms.untracked.int32(0),
22  standAlone = cms.bool(False),
23 )
24 
25 piZeroAnalysis.OutputMEsInRootFile = cms.bool(False)
26 piZeroAnalysis.Verbosity = cms.untracked.int32(0)
27 piZeroAnalysis.standAlone = cms.bool(False)
28 
29 
30 zmumugammaOldAnalysis = DQMOffline.EGamma.zmumugammaAnalyzer_cfi.zmumugammaAnalysis.clone()
31 zmumugammaOldAnalysis.ComponentName = cms.string('zmumugammaOldAnalysis')
32 zmumugammaOldAnalysis.analyzerName = cms.string('zmumugammaOldValidation')
33 zmumugammaOldAnalysis.phoProducer = cms.InputTag('photons')
34 
35 # HGCal customizations
36 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
37 stdPhotonAnalysisHGCal = stdPhotonAnalysis.clone(
38  ComponentName = 'stdPhotonAnalyzerHGCal',
39  analyzerName = 'stdPhotonAnalyzerHGCal',
40  phoProducer = 'photonsHGC',
41  isolationStrength = 2,
42  etaMin = -3.0,
43  etaMax = 3.0,
44  maxPhoEta = 3.0,
45 )
46 
47 egammaDQMOffline = cms.Sequence(photonAnalysis*stdPhotonAnalysis*zmumugammaOldAnalysis*zmumugammaAnalysis*piZeroAnalysis*electronAnalyzerSequence)
48 _egammaDQMOfflineHGCal = egammaDQMOffline.copy()
49 _egammaDQMOfflineHGCal += stdPhotonAnalysisHGCal
50 
51 phase2_hgcal.toReplaceWith(
52  egammaDQMOffline, _egammaDQMOfflineHGCal
53 )
54 
55 from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
56 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
57 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
58 for e in [peripheralPbPb, pp_on_AA, pp_on_XeXe_2017]:
59  e.toModify(stdPhotonAnalysis, phoProducer = cms.InputTag('islandPhotons'))