# Sequence TrackingDQMSourceTier0 = cms.Sequence() # dEdx monitoring TrackingDQMSourceTier0 += dedxHarmonicSequence * dEdxMonCommon * dEdxHitMonCommon # # temporary patch in order to have BXlumi # * lumiProducer # track collections for tracks in selectedTracks : if tracks != 'generalTracks': TrackingDQMSourceTier0 += sequenceName[tracks] label = 'TrackerCollisionSelectedTrackMonCommon' + str(tracks) TrackingDQMSourceTier0 += locals()[label] # seeding monitoring for era in _cfg.allEras(): postfix = _cfg.postfix(era) _seq = cms.Sequence() for step in locals()["selectedIterTrackingStep"+postfix]: _seq += locals()["TrackSeedMon"+step] if era == "": locals()["TrackSeedMonSequence"] = _seq else: getattr(eras, era).toReplaceWith(TrackSeedMonSequence, _seq) TrackingDQMSourceTier0 += TrackSeedMonSequence # MessageLog for module in selectedModules : label = str(module)+'LogMessageMonCommon' TrackingDQMSourceTier0 += locals()[label] TrackingDQMSourceTier0 += dqmInfoTracking
import cutsRecoTracks_cfi from SimTracker.TrackerHitAssociation.tpClusterProducer_cfi import * from SimTracker.VertexAssociation.VertexAssociatorByPositionAndTracks_cfi import * from CommonTools.RecoAlgos.trackingParticleRefSelector_cfi import trackingParticleRefSelector as _trackingParticleRefSelector from CommonTools.RecoAlgos.trackingParticleConversionRefSelector_cfi import trackingParticleConversionRefSelector as _trackingParticleConversionRefSelector from SimGeneral.TrackingAnalysis.trackingParticleNumberOfLayersProducer_cff import * from CommonTools.RecoAlgos.recoChargedRefCandidateToTrackRefProducer_cfi import recoChargedRefCandidateToTrackRefProducer as _recoChargedRefCandidateToTrackRefProducer from Configuration.StandardSequences.Eras import eras import RecoTracker.IterativeTracking.iterativeTkConfig as _cfg ### First define the stuff for the standard validation sequence ## Track selectors for era in _cfg.allEras(): pf = _cfg.postfix(era) _seedProd = ["initialStepSeedsPreSplitting"] _trackProd = ["initialStepTracksPreSplitting"] if era in ["trackingLowPU", "trackingPhase1PU70", "trackingPhase2PU140"]: # these don't have preSplitting _seedProd = [] _trackProd = [] locals()["_algos"+pf] = ["generalTracks"] + _cfg.iterationAlgos(era) + ["duplicateMerge"] locals()["_seedProducers"+pf] = _seedProd + _cfg.seedProducers(era) locals()["_trackProducers"+pf] = _trackProd + _cfg.trackProducers(era) #FIXME::ERICA : # for strict "no changes" in phase2 era migration, this line will be removed later _algos_trackingPhase2PU140.remove("duplicateMerge") _removeForFastSimSeedProducers =["initialStepSeedsPreSplitting", "jetCoreRegionalStepSeeds",