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 SimTracker.TrackHistory.trackingParticleBHadronRefSelector_cfi import trackingParticleBHadronRefSelector as _trackingParticleBHadronRefSelector from SimGeneral.TrackingAnalysis.trackingParticleNumberOfLayersProducer_cff import * from CommonTools.RecoAlgos.recoChargedRefCandidateToTrackRefProducer_cfi import recoChargedRefCandidateToTrackRefProducer as _recoChargedRefCandidateToTrackRefProducer import RecoTracker.IterativeTracking.iterativeTkConfig as _cfg import RecoTracker.IterativeTracking.iterativeTkUtils as _utils from Configuration.Eras.Modifier_fastSim_cff import fastSim ### First define the stuff for the standard validation sequence ## Track selectors for _eraName, _postfix, _era in _cfg.allEras(): _seedProd = ["initialStepSeedsPreSplitting"] _trackProd = ["initialStepTracksPreSplitting"] if _eraName in ["trackingLowPU", "trackingPhase2PU140"]: # these don't have preSplitting _seedProd = [] _trackProd = [] locals()["_algos"+_postfix] = ["generalTracks"] + _cfg.iterationAlgos(_postfix) + ["duplicateMerge"] locals()["_seedProducers"+_postfix] = _seedProd + _cfg.seedProducers(_postfix) locals()["_trackProducers"+_postfix] = _trackProd + _cfg.trackProducers(_postfix) if _eraName != "trackingPhase2PU140": locals()["_electronSeedProducers"+_postfix] = ["tripletElectronSeeds", "pixelPairElectronSeeds", "stripPairElectronSeeds"] else: locals()["_electronSeedProducers"+_postfix] = ["tripletElectronSeeds"]
trackingDQMgoodOfflinePrimaryVertices.filter = cms.bool(False) # 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 _eraName, _postfix, _era in _cfg.allEras(): _seq = cms.Sequence() for step in locals()["selectedIterTrackingStep" + _postfix]: _seq += locals()["TrackSeedMon" + step] if _eraName == "": locals()["TrackSeedMonSequence"] = _seq else: _era.toReplaceWith(TrackSeedMonSequence, _seq) TrackingDQMSourceTier0 += TrackSeedMonSequence # MessageLog for module in selectedModules: label = str(module) + 'LogMessageMonCommon' TrackingDQMSourceTier0 += locals()[label] TrackingDQMSourceTier0 += voMonitoringSequence TrackingDQMSourceTier0 += voWcutMonitoringSequence TrackingDQMSourceTier0 += dqmInfoTracking
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 SimTracker.TrackHistory.trackingParticleBHadronRefSelector_cfi import trackingParticleBHadronRefSelector as _trackingParticleBHadronRefSelector from SimGeneral.TrackingAnalysis.trackingParticleNumberOfLayersProducer_cff import * from CommonTools.RecoAlgos.recoChargedRefCandidateToTrackRefProducer_cfi import recoChargedRefCandidateToTrackRefProducer as _recoChargedRefCandidateToTrackRefProducer import RecoTracker.IterativeTracking.iterativeTkConfig as _cfg import RecoTracker.IterativeTracking.iterativeTkUtils as _utils from Configuration.Eras.Modifier_fastSim_cff import fastSim import six ### First define the stuff for the standard validation sequence ## Track selectors for _eraName, _postfix, _era in _cfg.allEras(): _seedProd = ["initialStepSeedsPreSplitting"] _trackProd = ["initialStepTracksPreSplitting"] if _eraName in ["trackingLowPU", "trackingPhase2PU140"]: # these don't have preSplitting _seedProd = [] _trackProd = [] locals()["_algos" + _postfix] = [ "generalTracks" ] + _cfg.iterationAlgos(_postfix) + ["duplicateMerge"] locals()["_seedProducersPreSplitting" + _postfix] = _seedProd locals()["_trackProducersPreSplitting" + _postfix] = _trackProd locals()["_seedProducers" + _postfix] = _cfg.seedProducers(_postfix) locals()["_trackProducers" + _postfix] = _cfg.trackProducers(_postfix)
trackingDQMgoodOfflinePrimaryVertices.filter = cms.bool(False) # 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 PV resolution from DQM.TrackingMonitor.primaryVertexResolution_cfi import * # Sequence TrackingDQMSourceTier0 = cms.Sequence(cms.ignore(trackingDQMgoodOfflinePrimaryVertices)) # dEdx monitoring TrackingDQMSourceTier0 += dedxHarmonicSequence * dEdxMonCommon * dEdxHitMonCommon # # temporary patch in order to have BXlumi # * lumiProducer # track collections for tracks in selectedTracks : if tracks != 'generalTracks': TrackingDQMSourceTier0 += cms.ignore(sequenceName[tracks]) label = 'TrackerCollisionSelectedTrackMonCommon' + str(tracks) TrackingDQMSourceTier0 += cms.ignore(locals()[label]) # seeding monitoring for _eraName, _postfix, _era in _cfg.allEras(): mvaSel = _utils.getMVASelectors(_postfix) _seq = cms.Sequence() for step in locals()["selectedIterTrackingStep"+_postfix]: if step in mvaSel: locals()["TrackSeedMon"+step].doMVAPlots = True locals()["TrackSeedMon"+step].TrackProducerForMVA = mvaSel[step][0] locals()["TrackSeedMon"+step].MVAProducers = mvaSel[step][1] _seq += locals()["TrackSeedMon"+step] if _eraName == "": locals()["TrackSeedMonSequence"] = _seq else: _era.toReplaceWith(TrackSeedMonSequence, _seq) TrackingDQMSourceTier0 += TrackSeedMonSequence # MessageLog
from Validation.RecoTrack.PostProcessorTracker_cfi import * 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",
from DQM.TrackingMonitor.V0Monitor_cff import * # 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() + ["trackingPhase2PU140"]: # FIXME:: allEras() extension should be removed when phase2 tracking is migrated to eras 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 += voMonitoringSequence TrackingDQMSourceTier0 += dqmInfoTracking