00001 import FWCore.ParameterSet.Config as cms 00002 00003 # TrackingParticle (MC truth) selectors 00004 muonTPSet = cms.PSet( 00005 src = cms.InputTag("mergedtruth", "MergedTrackTruth"), 00006 pdgId = cms.vint32(13, -13), 00007 tip = cms.double(3.5), 00008 lip = cms.double(30.0), 00009 minHit = cms.int32(0), 00010 ptMin = cms.double(0.9), 00011 minRapidity = cms.double(-2.4), 00012 maxRapidity = cms.double(2.4), 00013 signalOnly = cms.bool(True), 00014 stableOnly = cms.bool(False), 00015 chargedOnly = cms.bool(True) 00016 ) 00017 00018 #muonTP = cms.EDFilter("TrackingParticleSelector", 00019 # muonTPSet 00020 #) 00021 00022 # RecoTrack selectors 00023 #muonGlb = cms.EDFilter("RecoTrackSelector", 00024 # src = cms.InputTag("globalMuons"), 00025 # tip = cms.double(3.5), 00026 # lip = cms.double(30.0), 00027 # minHit = cms.int32(8), 00028 # maxChi2 = cms.double(999), 00029 # ptMin = cms.double(0.8), 00030 # quality = cms.string("Chi2"), 00031 # minRapidity = cms.double(-2.5), 00032 # maxRapidity = cms.double(2.5) 00033 #) 00034 # 00035 #muonSta = cms.EDFilter("RecoTrackSelector", 00036 # src = cms.InputTag("standAloneMuons","UpdatedAtVtx"), 00037 # tip = cms.double(999.0), 00038 # lip = cms.double(999.0), 00039 # minHit = cms.int32(1), 00040 # maxChi2 = cms.double(999), 00041 # ptMin = cms.double(0.8), 00042 # quality = cms.string("Chi2"), 00043 # minRapidity = cms.double(-2.5), 00044 # maxRapidity = cms.double(2.5) 00045 #) 00046 00047 #muonSelector_step = cms.Sequence(muonTP+muonGlb+muonSta) 00048 00049 #muonSelector_seq = cms.Sequence(muonTP)