CMS 3D CMS Logo

AlcaRecoSelection_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 
6 
9 
10 
11 ALCARECOTkAlMuonIsolatedGoodMuons = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.TkAlGoodIdMuonSelector.clone()
12 ALCARECOTkAlMuonIsolatedRelCombIsoMuons = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.TkAlRelCombIsoMuonSelector.clone(
13  src = 'ALCARECOTkAlMuonIsolatedGoodMuons'
14 )
15 
16 
17 ALCARECOTkAlMuonIsolated = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
18  filter = True,
19  applyBasicCuts = True,
20  ptMin = 2.0,
21  etaMin = -3.5,
22  etaMax = 3.5,
23  nHitMin = 0
24 )
25 ALCARECOTkAlMuonIsolated.GlobalSelector.muonSource = 'ALCARECOTkAlMuonIsolatedRelCombIsoMuons'
26 # Isolation is shifted to the muon preselection, and then applied intrinsically if applyGlobalMuonFilter = True
27 ALCARECOTkAlMuonIsolated.GlobalSelector.applyIsolationtest = False
28 ALCARECOTkAlMuonIsolated.GlobalSelector.applyGlobalMuonFilter = True
29 ALCARECOTkAlMuonIsolated.TwoBodyDecaySelector.applyMassrangeFilter = False
30 ALCARECOTkAlMuonIsolated.TwoBodyDecaySelector.applyChargeFilter = False
31 ALCARECOTkAlMuonIsolated.TwoBodyDecaySelector.applyAcoplanarityFilter = False
32 
33 
34 mySeqALCARECOTkAlMuonIsolated = cms.Sequence(ALCARECOTkAlMuonIsolatedGoodMuons*ALCARECOTkAlMuonIsolatedRelCombIsoMuons*ALCARECOTkAlMuonIsolated)
35 
36 
37 
38 
41 goodPVs = cms.EDFilter("VertexSelector",
42  src = cms.InputTag('offlinePrimaryVertices'),
43  cut = cms.string('ndof>4 &'
44  'abs(z)<24 &'
45  '!isFake &'
46  'position.Rho<2'
47  ),
48 )
49 oneGoodPVSelection = cms.EDFilter("VertexCountFilter",
50  src = cms.InputTag('goodPVs'),
51  minNumber = cms.uint32(1),
52  maxNumber = cms.uint32(99999),
53 
54 )
55 seqVertexSelection = cms.Sequence(goodPVs*oneGoodPVSelection)
56 
57 
58 
59 
60 
61 
62 
dont throw on unknown path names