1 import FWCore.ParameterSet.Config
as cms
4 cosmicsVetoSeeds = cms.EDProducer(
"TrajectorySeedFromMuonProducer"
5 ,muonCollectionTag = cms.InputTag(
"muons1stStep")
6 ,trackCollectionTag = cms.InputTag(
"generalTracks")
8 ,skipMatchedMuons = cms.bool(
False)
12 cosmicsVetoTrackCandidates = copy.deepcopy(ckfTrackCandidatesP5)
13 cosmicsVetoTrackCandidates.src = cms.InputTag(
"cosmicsVetoSeeds")
14 cosmicsVetoTrackCandidates.doSeedingRegionRebuilding =
False
15 cosmicsVetoTrackCandidates.RedundantSeedCleaner =
"none"
18 cosmicsVetoTracksRaw = copy.deepcopy(ctfWithMaterialTracksCosmics)
19 cosmicsVetoTracksRaw.src = cms.InputTag(
"cosmicsVetoTrackCandidates")
24 cosmicsVetoTracks = cosmictrackSelector.clone(
25 src = cms.InputTag(
"cosmicsVetoTracksRaw")
30 cosmicsVeto = cms.EDProducer(
"CosmicsMuonIdProducer"
31 ,MuonCosmicCompatibilityParameters
32 ,muonCollection = cms.InputTag(
"muons1stStep")
33 ,trackCollections = cms.VInputTag(cms.InputTag(
"generalTracks"), cms.InputTag(
"cosmicsVetoTracks"))
37 cosmicsMuonIdSequence = cms.Sequence(cosmicsVetoSeeds*cosmicsVetoTrackCandidates*cosmicsVetoTracksRaw*cosmicsVetoTracks*cosmicsVeto)