1 import FWCore.ParameterSet.Config
as cms
10 TkAlGoodIdMuonSelector = cms.EDFilter(
"MuonSelector",
11 src = cms.InputTag(
'muons'),
12 cut = cms.string(
'isGlobalMuon &'
14 'numberOfMatches > 1 &'
15 'globalTrack.hitPattern.numberOfValidMuonHits > 0 &'
17 'globalTrack.normalizedChi2 < 20.'),
18 filter = cms.bool(
True)
20 TkAlRelCombIsoMuonSelector = cms.EDFilter(
"MuonSelector",
21 src = cms.InputTag(
''),
22 cut = cms.string(
'(isolationR03().sumPt + isolationR03().emEt + isolationR03().hadEt)/pt < 0.15'),
23 filter = cms.bool(
True)
25 ALCARECOTkAlMuonIsolatedGoodMuons = TkAlGoodIdMuonSelector.clone()
26 ALCARECOTkAlMuonIsolatedRelCombIsoMuons = TkAlRelCombIsoMuonSelector.clone(src =
'ALCARECOTkAlMuonIsolatedGoodMuons')
30 ALCARECOTkAlMuonIsolated = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
32 applyBasicCuts =
True,
38 ALCARECOTkAlMuonIsolated.GlobalSelector.muonSource =
'ALCARECOTkAlMuonIsolatedRelCombIsoMuons'
40 ALCARECOTkAlMuonIsolated.GlobalSelector.applyIsolationtest =
False
41 ALCARECOTkAlMuonIsolated.GlobalSelector.applyGlobalMuonFilter =
True
42 ALCARECOTkAlMuonIsolated.TwoBodyDecaySelector.applyMassrangeFilter =
False
43 ALCARECOTkAlMuonIsolated.TwoBodyDecaySelector.applyChargeFilter =
False
44 ALCARECOTkAlMuonIsolated.TwoBodyDecaySelector.applyAcoplanarityFilter =
False
47 mySeqALCARECOTkAlMuonIsolated = cms.Sequence(ALCARECOTkAlMuonIsolatedGoodMuons*ALCARECOTkAlMuonIsolatedRelCombIsoMuons*ALCARECOTkAlMuonIsolated)
54 goodPVs = cms.EDFilter(
"VertexSelector",
55 src = cms.InputTag(
'offlinePrimaryVertices'),
56 cut = cms.string(
'ndof>4 &'
62 oneGoodPVSelection = cms.EDFilter(
"VertexCountFilter",
63 src = cms.InputTag(
'goodPVs'),
64 minNumber = cms.uint32(1),
65 maxNumber = cms.uint32(99999),
68 seqVertexSelection = cms.Sequence(goodPVs*oneGoodPVSelection)
dont throw on unknown path names