CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
cosmics_id.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 cosmicsVetoSeeds = cms.EDProducer("TrajectorySeedFromMuonProducer",
4  muonCollectionTag = cms.InputTag("muons1stStep"),
5  trackCollectionTag = cms.InputTag("generalTracks"),
6  skipMatchedMuons = cms.bool(False)
7  )
8 
10 cosmicsVetoTrackCandidates = ckfTrackCandidatesP5.clone(
11  src = "cosmicsVetoSeeds",
12  doSeedingRegionRebuilding = False,
13  RedundantSeedCleaner = "none"
14 )
16 cosmicsVetoTracksRaw = ctfWithMaterialTracksCosmics.clone(
17  src = "cosmicsVetoTrackCandidates"
18 )
19 # need to clone FittingSmootherRKP5 if I want to change its parameters
20 # process.FittingSmootherRKP5.EstimateCut = cms.double(-1.0) # turn off the OutlierRejection
21 
23 cosmicsVetoTracks = cosmictrackSelector.clone(
24  src = "cosmicsVetoTracksRaw"
25 )
26 
28 
29 cosmicsVeto = cms.EDProducer("CosmicsMuonIdProducer",
30  MuonCosmicCompatibilityParameters,
31  muonCollection = cms.InputTag("muons1stStep"),
32  trackCollections = cms.VInputTag(cms.InputTag("generalTracks"), cms.InputTag("cosmicsVetoTracks"))
33 )
34 
35 cosmicsMuonIdTask = cms.Task(cosmicsVetoSeeds,cosmicsVetoTrackCandidates,cosmicsVetoTracksRaw,cosmicsVetoTracks,cosmicsVeto)
36 cosmicsMuonIdSequence = cms.Sequence(cosmicsMuonIdTask)
muonCosmicCompatibility_cfi
CkfTrackCandidatesP5_cff
CTFFinalFitWithMaterialP5_cff
cosmictrackSelector_cfi