1 import FWCore.ParameterSet.Config
as cms
3 cosmicsVetoSeeds = cms.EDProducer(
"TrajectorySeedFromMuonProducer",
4 muonCollectionTag = cms.InputTag(
"muons1stStep"),
5 trackCollectionTag = cms.InputTag(
"generalTracks"),
6 skipMatchedMuons = cms.bool(
False)
10 cosmicsVetoTrackCandidates = ckfTrackCandidatesP5.clone(
11 src =
"cosmicsVetoSeeds",
12 doSeedingRegionRebuilding =
False,
13 RedundantSeedCleaner =
"none" 16 cosmicsVetoTracksRaw = ctfWithMaterialTracksCosmics.clone(
17 src =
"cosmicsVetoTrackCandidates" 23 cosmicsVetoTracks = cosmictrackSelector.clone(
24 src =
"cosmicsVetoTracksRaw" 29 cosmicsVeto = cms.EDProducer(
"CosmicsMuonIdProducer",
30 MuonCosmicCompatibilityParameters,
31 muonCollection = cms.InputTag(
"muons1stStep"),
32 trackCollections = cms.VInputTag(cms.InputTag(
"generalTracks"), cms.InputTag(
"cosmicsVetoTracks"))
35 cosmicsMuonIdTask = cms.Task(cosmicsVetoSeeds,cosmicsVetoTrackCandidates,cosmicsVetoTracksRaw,cosmicsVetoTracks,cosmicsVeto)
36 cosmicsMuonIdSequence = cms.Sequence(cosmicsMuonIdTask)