File indexing completed on 2024-06-14 02:53:49
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from Validation.RecoMuon.PostProcessor_cff import *
0004 from Validation.RecoTrack.PostProcessorTracker_cfi import *
0005 from Validation.MuonIsolation.PostProcessor_cff import *
0006 from Validation.MuonCSCDigis.PostProcessor_cff import *
0007 from Validation.CaloTowers.CaloTowersPostProcessor_cff import *
0008 from Validation.HcalHits.SimHitsPostProcessor_cff import *
0009 from Validation.HcalDigis.HcalDigisPostProcessor_cff import *
0010 from Validation.HcalRecHits.hcalRecHitsPostProcessor_cff import *
0011 from Validation.EventGenerator.PostProcessor_cff import *
0012 from Validation.RecoEgamma.photonPostProcessor_cff import *
0013 from Validation.RecoEgamma.electronPostValidationSequence_cff import *
0014 from Validation.RecoEgamma.electronPostValidationSequenceMiniAOD_cff import *
0015 from Validation.RecoB.BDHadronTrackValidation_cff import *
0016 from Validation.RecoParticleFlow.PFValidationClient_cff import *
0017 from Validation.RPCRecHits.postValidation_cfi import *
0018 from Validation.RecoTau.DQMMCValidation_cfi import *
0019 from Validation.RecoVertex.PostProcessorVertex_cff import *
0020 from Validation.RecoMET.METPostProcessor_cff import *
0021 from Validation.L1T.postProcessorL1Gen_cff import *
0022 from Validation.SiPixelPhase1ConfigV.SiPixelPhase1OfflineDQM_harvestingV_cff import *
0023 from DQMOffline.RecoB.dqmCollector_cff import *
0024 from Validation.SiTrackerPhase2V.Phase2TrackerMCHarvesting_cff import *
0025
0026 postValidationTracking = cms.Sequence(
0027 postProcessorTrackSequence
0028 + postProcessorVertexSequence
0029 )
0030 postValidation = cms.Sequence(
0031 recoMuonPostProcessors
0032 + postValidationTracking
0033 + MuIsoValPostProcessor
0034 + calotowersPostProcessor
0035 + hcalSimHitsPostProcessor
0036 + hcaldigisPostProcessor
0037 + hcalrechitsPostProcessor
0038 + electronPostValidationSequence + photonPostProcessor
0039 + pfJetClient + pfMETClient + pfJetResClient + pfElectronClient
0040 + rpcRecHitPostValidation_step
0041 + runTauEff + makeBetterPlots
0042 + bTagCollectorSequenceMCbcl
0043 + METPostProcessor
0044 + L1GenPostProcessor
0045 + bdHadronTrackPostProcessor
0046 + MuonCSCDigisPostProcessors
0047 )
0048
0049 effPlotting = cms.Sequence(runTauEff + makeBetterPlots)
0050 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
0051
0052 postValidation_preprod = cms.Sequence(
0053 recoMuonPostProcessors
0054 + postProcessorTrackSequence
0055 + MuIsoValPostProcessor
0056 )
0057
0058
0059 postValidation_fastsim = cms.Sequence(
0060 recoMuonPostProcessors
0061 + postProcessorTrackSequence
0062 + MuIsoValPostProcessor
0063 + photonPostProcessor
0064 + bTagCollectorSequenceMC
0065 + runTauEff
0066 )
0067
0068 from Validation.MuonGEMHits.PostProcessor_cff import *
0069 from Validation.MuonGEMDigis.PostProcessor_cff import *
0070 from Validation.MuonGEMRecHits.PostProcessor_cff import *
0071 from Validation.MuonME0Validation.PostProcessor_cff import *
0072 from Validation.HGCalValidation.HGCalPostProcessor_cff import *
0073 from Validation.MtdValidation.MtdPostProcessor_cff import *
0074
0075 postValidation_common = cms.Sequence()
0076
0077 postValidation_trackingOnly = cms.Sequence(
0078 postProcessorTrackSequenceTrackingOnly
0079 + postProcessorVertexSequence
0080 )
0081
0082 postValidation_muons = cms.Sequence(
0083 recoMuonPostProcessors
0084 + MuonGEMHitsPostProcessors
0085 + MuonGEMDigisPostProcessors
0086 + MuonGEMRecHitsPostProcessors
0087 + MuonME0DigisPostProcessors
0088 + MuonME0SegPostProcessors
0089 + MuonCSCDigisPostProcessors
0090 + rpcRecHitPostValidation_step
0091 )
0092
0093 postValidation_JetMET = cms.Sequence(
0094 METPostProcessor
0095 )
0096
0097 postValidation_ECAL = cms.Sequence()
0098
0099 postValidation_HCAL = cms.Sequence(
0100 hcalSimHitsPostProcessor
0101 + hcaldigisPostProcessor
0102 + hcalrechitsPostProcessor
0103 + calotowersPostProcessor
0104 )
0105
0106 postValidation_gen = cms.Sequence(
0107 EventGeneratorPostProcessor
0108 )
0109
0110 postValidationCosmics = cms.Sequence(
0111 postProcessorMuonTrack
0112 )
0113
0114 postValidationMiniAOD = cms.Sequence(
0115 electronPostValidationSequenceMiniAOD
0116 )
0117
0118 _phase1_postValidation = postValidation.copy()
0119 _phase1_postValidation += siPixelPhase1OfflineDQM_harvestingV
0120
0121 _phase1_postValidation_trackingOnly = postValidation_trackingOnly.copy()
0122 _phase1_postValidation_trackingOnly += siPixelPhase1OfflineDQM_harvestingV
0123
0124 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
0125 phase1Pixel.toReplaceWith( postValidation, _phase1_postValidation )
0126 phase1Pixel.toReplaceWith( postValidation_trackingOnly, _phase1_postValidation_trackingOnly)
0127
0128 _run3_postValidation = postValidation.copy()
0129 _run3_postValidation += MuonGEMHitsPostProcessors
0130 _run3_postValidation += MuonGEMDigisPostProcessors
0131 _run3_postValidation += MuonGEMRecHitsPostProcessors
0132
0133 _phase2_postValidation = _run3_postValidation.copy()
0134 _phase2_postValidation += hgcalPostProcessor
0135 _phase2_postValidation += MuonME0DigisPostProcessors
0136 _phase2_postValidation += MuonME0SegPostProcessors
0137 _phase2_postValidation += trackerphase2ValidationHarvesting
0138
0139 _phase2_ge0_postValidation = _run3_postValidation.copy()
0140 _phase2_ge0_postValidation += hgcalPostProcessor
0141 _phase2_ge0_postValidation += trackerphase2ValidationHarvesting
0142
0143 from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
0144 run2_GEM_2017.toReplaceWith( postValidation, _run3_postValidation )
0145 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
0146 run3_GEM.toReplaceWith( postValidation, _run3_postValidation )
0147 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
0148 phase2_hgcal.toReplaceWith( postValidation, _phase2_postValidation )
0149 from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0
0150 (phase2_GE0 & phase2_hgcal).toReplaceWith( postValidation, _phase2_ge0_postValidation )
0151 phase2_GE0.toReplaceWith( postValidation_muons, postValidation_muons.copyAndExclude([MuonME0DigisPostProcessors, MuonME0SegPostProcessors]) )