Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-09-05 22:26:29

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