Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-01-10 06:13:52

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMOffline.EGamma.photonAnalyzer_cfi import *
0004 from DQMOffline.EGamma.zmumugammaAnalyzer_cfi import *
0005 from DQMOffline.EGamma.piZeroAnalyzer_cfi import *
0006 from DQMOffline.EGamma.electronAnalyzerSequence_cff import *
0007 
0008 import DQMOffline.EGamma.zmumugammaAnalyzer_cfi
0009 import DQMOffline.EGamma.photonAnalyzer_cfi
0010 
0011 photonAnalysis.OutputMEsInRootFile = cms.bool(False)
0012 photonAnalysis.Verbosity = cms.untracked.int32(0)
0013 photonAnalysis.standAlone = cms.bool(False)
0014 
0015 
0016 stdPhotonAnalysis = DQMOffline.EGamma.photonAnalyzer_cfi.photonAnalysis.clone(
0017   ComponentName = 'stdPhotonAnalysis',
0018   analyzerName = 'stdPhotonAnalyzer',
0019   phoProducer = 'photons',
0020   OutputMEsInRootFile = False,
0021   Verbosity = 0,
0022   standAlone = False
0023 )
0024 
0025 piZeroAnalysis.OutputMEsInRootFile = cms.bool(False)
0026 piZeroAnalysis.Verbosity = cms.untracked.int32(0)
0027 piZeroAnalysis.standAlone = cms.bool(False)
0028 
0029 
0030 zmumugammaOldAnalysis = DQMOffline.EGamma.zmumugammaAnalyzer_cfi.zmumugammaAnalysis.clone(
0031     ComponentName = 'zmumugammaOldAnalysis',
0032     analyzerName = 'zmumugammaOldValidation',
0033     phoProducer = 'photons'
0034 )
0035 # HGCal customizations
0036 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
0037 stdPhotonAnalysisHGCal = stdPhotonAnalysis.clone(
0038   ComponentName = 'stdPhotonAnalyzerHGCal',
0039   analyzerName = 'stdPhotonAnalyzerHGCal',
0040   phoProducer = 'photonsHGC',
0041   isolationStrength = 2,
0042   etaMin = -3.0,
0043   etaMax = 3.0,
0044   maxPhoEta = 3.0,
0045 )
0046 
0047 egammaDQMOffline = cms.Sequence(photonAnalysis*stdPhotonAnalysis*zmumugammaOldAnalysis*zmumugammaAnalysis*piZeroAnalysis*electronAnalyzerSequence)
0048 _egammaDQMOfflineHGCal = egammaDQMOffline.copy()
0049 _egammaDQMOfflineHGCal += stdPhotonAnalysisHGCal
0050 
0051 phase2_hgcal.toReplaceWith(
0052   egammaDQMOffline, _egammaDQMOfflineHGCal
0053 )
0054 
0055 from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
0056 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0057 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
0058 for e in [peripheralPbPb, pp_on_AA, pp_on_XeXe_2017]:
0059     e.toModify(stdPhotonAnalysis, phoProducer = cms.InputTag('islandPhotons'))