Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 10:06:02

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.SiOuterTrackerV.SiOuterTrackerMCHarvesting_cff import *
0025 from Validation.SiTrackerPhase2V.Phase2TrackerMCHarvesting_cff import *
0026 
0027 postValidationTracking = cms.Sequence(
0028       postProcessorTrackSequence
0029     + postProcessorVertexSequence
0030 )
0031 postValidation = cms.Sequence(
0032       recoMuonPostProcessors
0033     + postValidationTracking
0034     + MuIsoValPostProcessor
0035     + calotowersPostProcessor
0036     + hcalSimHitsPostProcessor
0037     + hcaldigisPostProcessor
0038     + hcalrechitsPostProcessor
0039     + electronPostValidationSequence + photonPostProcessor
0040     + pfJetClient + pfMETClient + pfJetResClient + pfElectronClient
0041     + rpcRecHitPostValidation_step
0042     + runTauEff + makeBetterPlots
0043     + bTagCollectorSequenceMCbcl
0044     + METPostProcessor
0045     + L1GenPostProcessor
0046     + bdHadronTrackPostProcessor
0047     + MuonCSCDigisPostProcessors
0048 )
0049 
0050 effPlotting = cms.Sequence(runTauEff + makeBetterPlots) #test
0051 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
0052 
0053 postValidation_preprod = cms.Sequence(
0054     recoMuonPostProcessors
0055   + postProcessorTrackSequence
0056   + MuIsoValPostProcessor
0057 )
0058 
0059 
0060 postValidation_fastsim = cms.Sequence(
0061       recoMuonPostProcessors
0062     + postProcessorTrackSequence
0063     + MuIsoValPostProcessor
0064     + photonPostProcessor
0065     + bTagCollectorSequenceMC
0066     + runTauEff
0067 )
0068 
0069 from Validation.MuonGEMHits.PostProcessor_cff import *
0070 from Validation.MuonGEMDigis.PostProcessor_cff import *
0071 from Validation.MuonGEMRecHits.PostProcessor_cff import *
0072 from Validation.MuonME0Validation.PostProcessor_cff import *
0073 from Validation.HGCalValidation.HGCalPostProcessor_cff import *
0074 from Validation.MtdValidation.MtdPostProcessor_cff import *
0075 
0076 postValidation_common = cms.Sequence()
0077 
0078 postValidation_trackingOnly = cms.Sequence(
0079       postProcessorTrackSequenceTrackingOnly
0080     + postProcessorVertexSequence
0081 )
0082 
0083 postValidation_muons = cms.Sequence(
0084     recoMuonPostProcessors
0085     + MuonGEMHitsPostProcessors
0086     + MuonGEMDigisPostProcessors
0087     + MuonGEMRecHitsPostProcessors
0088     + MuonME0DigisPostProcessors
0089     + MuonME0SegPostProcessors
0090     + MuonCSCDigisPostProcessors
0091     + rpcRecHitPostValidation_step
0092 )
0093 
0094 postValidation_JetMET = cms.Sequence(
0095     METPostProcessor
0096 )
0097 
0098 postValidation_ECAL = cms.Sequence()
0099 
0100 postValidation_HCAL = cms.Sequence(
0101       hcalSimHitsPostProcessor
0102     + hcaldigisPostProcessor
0103     + hcalrechitsPostProcessor
0104     + calotowersPostProcessor
0105 )
0106 
0107 postValidation_gen = cms.Sequence(
0108     EventGeneratorPostProcessor
0109 )
0110 
0111 postValidationCosmics = cms.Sequence(
0112     postProcessorMuonTrack
0113 )
0114 
0115 postValidationMiniAOD = cms.Sequence(
0116     electronPostValidationSequenceMiniAOD
0117 )
0118 
0119 postValidationOuterTracker = cms.Sequence( OuterTracker_harvestingV )
0120 
0121 _phase1_postValidation = postValidation.copy()
0122 _phase1_postValidation += siPixelPhase1OfflineDQM_harvestingV
0123 
0124 _phase1_postValidation_trackingOnly = postValidation_trackingOnly.copy()
0125 _phase1_postValidation_trackingOnly += siPixelPhase1OfflineDQM_harvestingV
0126 
0127 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
0128 phase1Pixel.toReplaceWith( postValidation, _phase1_postValidation )
0129 phase1Pixel.toReplaceWith( postValidation_trackingOnly, _phase1_postValidation_trackingOnly)
0130 
0131 _run3_postValidation = postValidation.copy()
0132 _run3_postValidation += MuonGEMHitsPostProcessors
0133 _run3_postValidation += MuonGEMDigisPostProcessors
0134 _run3_postValidation += MuonGEMRecHitsPostProcessors
0135 
0136 _phase2_postValidation = _run3_postValidation.copy()
0137 _phase2_postValidation += hgcalPostProcessor
0138 _phase2_postValidation += MuonME0DigisPostProcessors
0139 _phase2_postValidation += MuonME0SegPostProcessors
0140 _phase2_postValidation += trackerphase2ValidationHarvesting
0141 
0142 _phase2_ge0_postValidation = _run3_postValidation.copy()
0143 _phase2_ge0_postValidation += hgcalPostProcessor
0144 _phase2_ge0_postValidation += trackerphase2ValidationHarvesting
0145 
0146 from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
0147 run2_GEM_2017.toReplaceWith( postValidation, _run3_postValidation )
0148 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
0149 run3_GEM.toReplaceWith( postValidation, _run3_postValidation )
0150 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
0151 phase2_hgcal.toReplaceWith( postValidation, _phase2_postValidation )
0152 from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0
0153 (phase2_GE0 & phase2_hgcal).toReplaceWith( postValidation, _phase2_ge0_postValidation )
0154 phase2_GE0.toReplaceWith( postValidation_muons, postValidation_muons.copyAndExclude([MuonME0DigisPostProcessors, MuonME0SegPostProcessors]) )