import FWCore.ParameterSet.Config as cms from Configuration.StandardSequences.SimL1Emulator_cff import * for _entry in [SimL1TechnicalTriggers]: SimL1Emulator.remove(_entry) import FastSimulation.Configuration.DigiAndMixAliasInfo_cff as _aliasInfo gtDigis = _aliasInfo.infoToAlias(_aliasInfo.gtDigisAliasInfo) gmtDigis = _aliasInfo.infoToAlias(_aliasInfo.gmtDigisAliasInfo)
import FWCore.ParameterSet.Config as cms from Configuration.StandardSequences.DataMixerPreMix_cff import * # from signal: mix tracks not strip or pixels # does this take care of pileup as well? mixData.TrackerMergeType = "tracks" import FastSimulation.Tracking.recoTrackAccumulator_cfi mixData.tracker = FastSimulation.Tracking.recoTrackAccumulator_cfi.recoTrackAccumulator.clone() mixData.tracker.pileUpTracks = cms.InputTag("mix","generalTracks") mixData.tracker.pileUpMVAValues = cms.InputTag("mix","generalTracksMVAVals") mixData.hitsProducer = "famosSimHits" # give digi collections the names expected by RECO and HLT import FastSimulation.Configuration.DigiAndMixAliasInfo_cff as _aliasInfo _aliasInfo.convertAliasInfoForDataMixer() generalTracks = _aliasInfo.infoToAlias(_aliasInfo.generalTracksAliasInfo) ecalPreshowerDigis = _aliasInfo.infoToAlias(_aliasInfo.ecalPreShowerDigisAliasInfo) ecalDigis = _aliasInfo.infoToAlias(_aliasInfo.ecalDigisAliasInfo) hcalDigis = _aliasInfo.infoToAlias(_aliasInfo.hcalDigisAliasInfo) muonDTDigis = _aliasInfo.infoToAlias(_aliasInfo.muonDTDigisAliasInfo) muonCSCDigis = _aliasInfo.infoToAlias(_aliasInfo.muonCSCDigisAliasInfo) muonRPCDigis = _aliasInfo.infoToAlias(_aliasInfo.muonRPCDigisAliasInfo)
import FWCore.ParameterSet.Config as cms from Configuration.StandardSequences.DataMixerPreMix_cff import * # from signal: mix tracks not strip or pixels # does this take care of pileup as well? mixData.TrackerMergeType = "tracks" import FastSimulation.Tracking.recoTrackAccumulator_cfi mixData.tracker = FastSimulation.Tracking.recoTrackAccumulator_cfi.recoTrackAccumulator.clone( ) mixData.tracker.pileUpTracks = cms.InputTag("mix", "generalTracks") mixData.tracker.pileUpMVAValues = cms.InputTag("mix", "generalTracksMVAVals") mixData.hitsProducer = "famosSimHits" # give digi collections the names expected by RECO and HLT import FastSimulation.Configuration.DigiAndMixAliasInfo_cff as _aliasInfo _aliasInfo.convertAliasInfoForDataMixer() generalTracks = _aliasInfo.infoToAlias(_aliasInfo.generalTracksAliasInfo) ecalPreshowerDigis = _aliasInfo.infoToAlias( _aliasInfo.ecalPreShowerDigisAliasInfo) ecalDigis = _aliasInfo.infoToAlias(_aliasInfo.ecalDigisAliasInfo) hcalDigis = _aliasInfo.infoToAlias(_aliasInfo.hcalDigisAliasInfo) muonDTDigis = _aliasInfo.infoToAlias(_aliasInfo.muonDTDigisAliasInfo) muonCSCDigis = _aliasInfo.infoToAlias(_aliasInfo.muonCSCDigisAliasInfo) muonRPCDigis = _aliasInfo.infoToAlias(_aliasInfo.muonRPCDigisAliasInfo)
import FWCore.ParameterSet.Config as cms # the actual digi sequence from Configuration.StandardSequences.Digi_cff import * simMuonCSCDigis.InputCollection = 'MuonSimHitsMuonCSCHits' simMuonDTDigis.InputCollection = 'MuonSimHitsMuonDTHits' simMuonRPCDigis.InputCollection = 'MuonSimHitsMuonRPCHits' calDigi.remove(castorDigiSequence) # give digi collections the names expected by RECO and HLT import FastSimulation.Configuration.DigiAndMixAliasInfo_cff as _aliasInfo generalTracks = _aliasInfo.infoToAlias(_aliasInfo.generalTracksAliasInfo) ecalPreshowerDigis = _aliasInfo.infoToAlias(_aliasInfo.ecalPreShowerDigisAliasInfo) ecalDigis = _aliasInfo.infoToAlias(_aliasInfo.ecalDigisAliasInfo) hcalDigis = _aliasInfo.infoToAlias(_aliasInfo.hcalDigisAliasInfo) muonDTDigis = _aliasInfo.infoToAlias(_aliasInfo.muonDTDigisAliasInfo) muonCSCDigis = _aliasInfo.infoToAlias(_aliasInfo.muonCSCDigisAliasInfo) muonRPCDigis = _aliasInfo.infoToAlias(_aliasInfo.muonRPCDigisAliasInfo)
import FWCore.ParameterSet.Config as cms from Configuration.StandardSequences.SimL1Emulator_cff import * for _entry in [SimL1TechnicalTriggers]: SimL1Emulator.remove(_entry) import FastSimulation.Configuration.DigiAndMixAliasInfo_cff as _aliasInfo gtDigis = _aliasInfo.infoToAlias(_aliasInfo.gtDigisAliasInfo)
import FWCore.ParameterSet.Config as cms # watch out here, we assume that # - loading FastSimulation.Configuration.Digi_cff.py causes generalTracksAliasInfo.key.value() to return "mix" # - loading FastSimulation.Configuration.DataMixerPreMix_cff.py causes generalTracksAliasInfo.key.value() to return "dataMix" # such that the HLT reads the tracks from the right MixingModule import FastSimulation.Configuration.DigiAndMixAliasInfo_cff as _aliasInfo hltIter4Merged = _aliasInfo.infoToAlias(_aliasInfo.generalTracksAliasInfo) hltIter2Merged = _aliasInfo.infoToAlias(_aliasInfo.generalTracksAliasInfo) hltIter4Tau3MuMerged = _aliasInfo.infoToAlias( _aliasInfo.generalTracksAliasInfo) hltIter4MergedReg = _aliasInfo.infoToAlias(_aliasInfo.generalTracksAliasInfo) hltIter2MergedForElectrons = _aliasInfo.infoToAlias( _aliasInfo.generalTracksAliasInfo) hltIter2MergedForPhotons = _aliasInfo.infoToAlias( _aliasInfo.generalTracksAliasInfo) hltIter2L3MuonMerged = _aliasInfo.infoToAlias( _aliasInfo.generalTracksAliasInfo) hltIter2L3MuonMergedReg = _aliasInfo.infoToAlias( _aliasInfo.generalTracksAliasInfo) hltIter2MergedForBTag = _aliasInfo.infoToAlias( _aliasInfo.generalTracksAliasInfo) hltIter2MergedForTau = _aliasInfo.infoToAlias( _aliasInfo.generalTracksAliasInfo) hltIter4MergedForTau = _aliasInfo.infoToAlias( _aliasInfo.generalTracksAliasInfo) hltIter2GlbTrkMuonMerged = _aliasInfo.infoToAlias( _aliasInfo.generalTracksAliasInfo) hltIter2HighPtTkMuMerged = _aliasInfo.infoToAlias(
import FWCore.ParameterSet.Config as cms # the actual digi sequence from Configuration.StandardSequences.Digi_cff import * simMuonCSCDigis.InputCollection = 'MuonSimHitsMuonCSCHits' simMuonDTDigis.InputCollection = 'MuonSimHitsMuonDTHits' simMuonRPCDigis.InputCollection = 'MuonSimHitsMuonRPCHits' calDigi.remove(castorDigiSequence) # give digi collections the names expected by RECO and HLT import FastSimulation.Configuration.DigiAndMixAliasInfo_cff as _aliasInfo generalTracks = _aliasInfo.infoToAlias(_aliasInfo.generalTracksAliasInfo) ecalPreshowerDigis = _aliasInfo.infoToAlias( _aliasInfo.ecalPreShowerDigisAliasInfo) ecalDigis = _aliasInfo.infoToAlias(_aliasInfo.ecalDigisAliasInfo) hcalDigis = _aliasInfo.infoToAlias(_aliasInfo.hcalDigisAliasInfo) muonDTDigis = _aliasInfo.infoToAlias(_aliasInfo.muonDTDigisAliasInfo) muonCSCDigis = _aliasInfo.infoToAlias(_aliasInfo.muonCSCDigisAliasInfo) muonRPCDigis = _aliasInfo.infoToAlias(_aliasInfo.muonRPCDigisAliasInfo)