muonlocalreco + calolocalrecoNZS + castorreco) _run3_localreco = localreco.copyAndExclude([castorreco]) _run3_localreco_HcalNZS = localreco_HcalNZS.copyAndExclude([castorreco]) from Configuration.Eras.Modifier_run3_common_cff import run3_common run3_common.toReplaceWith(localreco, _run3_localreco) run3_common.toReplaceWith(localreco_HcalNZS, _run3_localreco_HcalNZS) from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer _phase2_timing_layer_localreco = _run3_localreco.copy() _phase2_timing_layer_localreco += fastTimingLocalReco _phase2_timing_layer_localreco_HcalNZS = _run3_localreco_HcalNZS.copy() _phase2_timing_layer_localreco_HcalNZS += fastTimingLocalReco phase2_timing_layer.toReplaceWith(localreco, _phase2_timing_layer_localreco) phase2_timing_layer.toReplaceWith(localreco_HcalNZS, _phase2_timing_layer_localreco_HcalNZS) _ctpps_2016_localreco = localreco.copy() _ctpps_2016_localreco += recoCTPPS from Configuration.Eras.Modifier_ctpps_2016_cff import ctpps_2016 ctpps_2016.toReplaceWith(localreco, _ctpps_2016_localreco) _ctpps_2016_localreco_HcalNZS = localreco_HcalNZS.copy() _ctpps_2016_localreco_HcalNZS += recoCTPPS ctpps_2016.toReplaceWith(localreco_HcalNZS, _ctpps_2016_localreco_HcalNZS) ########################################### # no castor, zdc, Totem/CTPPS RP in FastSim
_phase2_tktiming_layer_vertexrecoTask = cms.Task( _phase2_tktiming_vertexrecoTask.copy(), unsortedOfflinePrimaryVertices4DnoPID, trackWithVertexRefSelectorBeforeSorting4DnoPID, trackRefsForJetsBeforeSorting4DnoPID, offlinePrimaryVertices4DnoPID, offlinePrimaryVertices4DnoPIDWithBS, tofPID, tofPID4DnoPID, ) from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing phase2_timing.toReplaceWith(vertexrecoTask, _phase2_tktiming_vertexrecoTask) from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer phase2_timing_layer.toReplaceWith(vertexrecoTask, _phase2_tktiming_layer_vertexrecoTask) phase2_timing_layer.toReplaceWith( unsortedOfflinePrimaryVertices4D, unsortedOfflinePrimaryVertices4DwithPID.clone()) phase2_timing_layer.toReplaceWith(offlinePrimaryVertices4D, offlinePrimaryVertices4DwithPID.clone()) phase2_timing_layer.toReplaceWith( offlinePrimaryVertices4DWithBS, offlinePrimaryVertices4DwithPIDWithBS.clone()) phase2_timing_layer.toModify(offlinePrimaryVertices4D, vertices="unsortedOfflinePrimaryVertices4D", particles="trackRefsForJetsBeforeSorting4D") phase2_timing_layer.toModify( offlinePrimaryVertices4DWithBS, vertices="unsortedOfflinePrimaryVertices4D:WithBS", particles="trackRefsForJetsBeforeSorting4D")
_vertexAnalysisSequenceTrackingOnly_trackingLowPU += ( selectedPixelVertices + pixelVertexAnalysisTrackingOnly ) trackingLowPU.toReplaceWith(vertexAnalysisSequenceTrackingOnly, _vertexAnalysisSequenceTrackingOnly_trackingLowPU) vertexAnalysisSequencePixelTrackingOnly = cms.Sequence( selectedPixelVertices + pixelVertexAnalysisPixelTrackingOnly ) from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer _vertexRecoCollectionsTiming = cms.VInputTag("offlinePrimaryVertices", "offlinePrimaryVerticesWithBS", "selectedOfflinePrimaryVertices", "selectedOfflinePrimaryVerticesWithBS", "offlinePrimaryVertices4D", "selectedOfflinePrimaryVertices4D", ) selectedOfflinePrimaryVertices4D = selectedOfflinePrimaryVertices.clone(src = cms.InputTag("offlinePrimaryVertices4D")) _vertexAnalysisSelectionTiming = vertexAnalysisSelection.copy() _vertexAnalysisSelectionTiming += selectedOfflinePrimaryVertices4D phase2_timing_layer.toModify( vertexAnalysis, vertexRecoCollections = _vertexRecoCollectionsTiming ) phase2_timing_layer.toReplaceWith( vertexAnalysisSelection, _vertexAnalysisSelectionTiming )
castorreco) localreco_HcalNZS = cms.Sequence(localreco_HcalNZSTask) _run3_localrecoTask = localrecoTask.copyAndExclude([castorreco]) _run3_localreco_HcalNZSTask = localreco_HcalNZSTask.copyAndExclude( [castorreco]) from Configuration.Eras.Modifier_run3_common_cff import run3_common run3_common.toReplaceWith(localrecoTask, _run3_localrecoTask) run3_common.toReplaceWith(localreco_HcalNZSTask, _run3_localreco_HcalNZSTask) from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer _phase2_timing_layer_localrecoTask = _run3_localrecoTask.copy() _phase2_timing_layer_localrecoTask.add(fastTimingLocalRecoTask) _phase2_timing_layer_localreco_HcalNZSTask = _run3_localreco_HcalNZSTask.copy() _phase2_timing_layer_localreco_HcalNZSTask.add(fastTimingLocalRecoTask) phase2_timing_layer.toReplaceWith(localrecoTask, _phase2_timing_layer_localrecoTask) phase2_timing_layer.toReplaceWith(localreco_HcalNZSTask, _phase2_timing_layer_localreco_HcalNZSTask) _ctpps_2016_localrecoTask = localrecoTask.copy() _ctpps_2016_localrecoTask.add(recoCTPPSTask) from Configuration.Eras.Modifier_ctpps_2016_cff import ctpps_2016 ctpps_2016.toReplaceWith(localrecoTask, _ctpps_2016_localrecoTask) _ctpps_2016_localreco_HcalNZSTask = localreco_HcalNZSTask.copy() _ctpps_2016_localreco_HcalNZSTask.add(recoCTPPSTask) ctpps_2016.toReplaceWith(localreco_HcalNZSTask, _ctpps_2016_localreco_HcalNZSTask) ########################################### # no castor, zdc, Totem/CTPPS RP in FastSim
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel (phase1Pixel & ~fastSim).toReplaceWith( globalValidation, _phase_1_globalValidation ) #module siPixelPhase1OfflineDQM_sourceV can't run in FastSim since siPixelClusters of type edmNew::DetSetVector are not produced (phase1Pixel & ~fastSim).toReplaceWith( globalValidationPixelTrackingOnly, _phase_1_globalValidationPixelTrackingOnly ) #module siPixelPhase1OfflineDQM_sourceV can't run in FastSim since siPixelClusters of type edmNew::DetSetVector are not produced _run3_globalValidation = globalValidation.copy() _run3_globalValidation += gemSimValid _phase2_globalValidation = _run3_globalValidation.copy() _phase2_globalValidation += trackerphase2ValidationSource _phase2_globalValidation += me0SimValid from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017 run2_GEM_2017.toReplaceWith(globalValidation, _run3_globalValidation) from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM run3_GEM.toReplaceWith(globalValidation, _run3_globalValidation) from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon phase2_muon.toReplaceWith(globalValidation, _phase2_globalValidation) from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018 pp_on_AA_2018.toReplaceWith( globalValidation, globalValidation.copyAndExclude([pfTauRunDQMValidation])) from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer phase2_timing_layer.toReplaceWith( globalValidationMTD, cms.Sequence(mtdSimValid + mtdDigiValid + mtdRecoValid))
localreco = cms.Sequence(bunchSpacingProducer+trackerlocalreco+muonlocalreco+calolocalreco+castorreco) localreco_HcalNZS = cms.Sequence(bunchSpacingProducer+trackerlocalreco+muonlocalreco+calolocalrecoNZS+castorreco) _run3_localreco = localreco.copyAndExclude([castorreco]) _run3_localreco_HcalNZS = localreco_HcalNZS.copyAndExclude([castorreco]) from Configuration.Eras.Modifier_run3_common_cff import run3_common run3_common.toReplaceWith(localreco, _run3_localreco) run3_common.toReplaceWith(localreco_HcalNZS, _run3_localreco_HcalNZS) from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer _phase2_timing_layer_localreco = _run3_localreco.copy() _phase2_timing_layer_localreco += fastTimingLocalReco _phase2_timing_layer_localreco_HcalNZS = _run3_localreco_HcalNZS.copy() _phase2_timing_layer_localreco_HcalNZS += fastTimingLocalReco phase2_timing_layer.toReplaceWith(localreco,_phase2_timing_layer_localreco) phase2_timing_layer.toReplaceWith(localreco_HcalNZS,_phase2_timing_layer_localreco_HcalNZS) _ctpps_2016_localreco = localreco.copy() _ctpps_2016_localreco += recoCTPPS from Configuration.Eras.Modifier_ctpps_2016_cff import ctpps_2016 ctpps_2016.toReplaceWith(localreco, _ctpps_2016_localreco) _ctpps_2016_localreco_HcalNZS = localreco_HcalNZS.copy() _ctpps_2016_localreco_HcalNZS += recoCTPPS ctpps_2016.toReplaceWith(localreco_HcalNZS, _ctpps_2016_localreco_HcalNZS) # # temporarily switching off recoGenJets; since this are MC and wil be moved to a proper sequence #
trackWithVertexRefSelectorBeforeSorting4D , trackRefsForJetsBeforeSorting4D, offlinePrimaryVertices4D, offlinePrimaryVertices4DWithBS, ) _phase2_tktiming_layer_vertexrecoTask = cms.Task( _phase2_tktiming_vertexrecoTask.copy() , unsortedOfflinePrimaryVertices4DnoPID , trackWithVertexRefSelectorBeforeSorting4DnoPID , trackRefsForJetsBeforeSorting4DnoPID , offlinePrimaryVertices4DnoPID , offlinePrimaryVertices4DnoPIDWithBS, tofPID, unsortedOfflinePrimaryVertices4Dfastsim, trackWithVertexRefSelectorBeforeSorting4Dfastsim , trackRefsForJetsBeforeSorting4Dfastsim , offlinePrimaryVertices4Dfastsim, offlinePrimaryVertices4DfastsimWithBS, ) from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing phase2_timing.toReplaceWith(vertexrecoTask, _phase2_tktiming_vertexrecoTask) from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer phase2_timing_layer.toReplaceWith(vertexrecoTask, _phase2_tktiming_layer_vertexrecoTask) phase2_timing_layer.toReplaceWith(unsortedOfflinePrimaryVertices4D, unsortedOfflinePrimaryVertices4DwithPID.clone()) phase2_timing_layer.toReplaceWith(offlinePrimaryVertices4D, offlinePrimaryVertices4DwithPID.clone()) phase2_timing_layer.toReplaceWith(offlinePrimaryVertices4DWithBS, offlinePrimaryVertices4DwithPIDWithBS.clone()) phase2_timing_layer.toModify(offlinePrimaryVertices4D, vertices = "unsortedOfflinePrimaryVertices4D", particles = "trackRefsForJetsBeforeSorting4D") phase2_timing_layer.toModify(offlinePrimaryVertices4DWithBS, vertices = "unsortedOfflinePrimaryVertices4D:WithBS", particles = "trackRefsForJetsBeforeSorting4D")
import FWCore.ParameterSet.Config as cms from RecoLocalFastTime.FTLRecProducers.ftlUncalibratedRecHits_cfi import ftlUncalibratedRecHits from RecoLocalFastTime.FTLRecProducers.ftlRecHits_cfi import ftlRecHits fastTimingLocalReco = cms.Sequence(ftlUncalibratedRecHits * ftlRecHits) from RecoLocalFastTime.FTLRecProducers.mtdUncalibratedRecHits_cfi import mtdUncalibratedRecHits from RecoLocalFastTime.FTLRecProducers.mtdRecHits_cfi import mtdRecHits from RecoLocalFastTime.FTLRecProducers.mtdTrackingRecHits_cfi import mtdTrackingRecHits from RecoLocalFastTime.FTLClusterizer.mtdClusters_cfi import mtdClusters from RecoLocalFastTime.FTLClusterizer.MTDCPEESProducers_cff import * from RecoLocalFastTime.FTLRecProducers.MTDTimeCalibESProducers_cff import * _phase2_timing_layer_fastTimingLocalReco = cms.Sequence( mtdUncalibratedRecHits * mtdRecHits * mtdClusters * mtdTrackingRecHits) from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer phase2_timing_layer.toReplaceWith(fastTimingLocalReco, _phase2_timing_layer_fastTimingLocalReco) phase2_timing_layer.toModify( mtdRecHits, barrelUncalibratedRecHits='mtdUncalibratedRecHits:FTLBarrel', endcapUncalibratedRecHits='mtdUncalibratedRecHits:FTLEndcap')
muonlocalreco + calolocalreco + castorreco) localreco_HcalNZS = cms.Sequence(bunchSpacingProducer + trackerlocalreco + muonlocalreco + calolocalrecoNZS + castorreco) _run3_localreco = localreco.copyAndExclude([castorreco]) _run3_localreco_HcalNZS = localreco_HcalNZS.copyAndExclude([castorreco]) from Configuration.Eras.Modifier_run3_common_cff import run3_common run3_common.toReplaceWith(localreco, _run3_localreco) run3_common.toReplaceWith(localreco_HcalNZS, _run3_localreco_HcalNZS) from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer _phase2_timing_layer_localreco = _run3_localreco.copy() _phase2_timing_layer_localreco += fastTimingLocalReco _phase2_timing_layer_localreco_HcalNZS = _run3_localreco_HcalNZS.copy() _phase2_timing_layer_localreco_HcalNZS += fastTimingLocalReco phase2_timing_layer.toReplaceWith(localreco, _phase2_timing_layer_localreco) phase2_timing_layer.toReplaceWith(localreco_HcalNZS, _phase2_timing_layer_localreco_HcalNZS) _ctpps_2016_localreco = localreco.copy() _ctpps_2016_localreco += recoCTPPS from Configuration.Eras.Modifier_ctpps_2016_cff import ctpps_2016 ctpps_2016.toReplaceWith(localreco, _ctpps_2016_localreco) _ctpps_2016_localreco_HcalNZS = localreco_HcalNZS.copy() _ctpps_2016_localreco_HcalNZS += recoCTPPS ctpps_2016.toReplaceWith(localreco_HcalNZS, _ctpps_2016_localreco_HcalNZS) ########################################### # no castor, zdc, Totem/CTPPS RP in FastSim ###########################################