CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
selectors_cff.py
Go to the documentation of this file.
2 
3 # TrackingParticle (MC truth) selectors
4 muonTPSet = cms.PSet(
5  src = cms.InputTag("mix", "MergedTrackTruth"),
6  pdgId = cms.vint32(13, -13),
7  tip = cms.double(3.5),
8  lip = cms.double(30.0),
9  minHit = cms.int32(0),
10  ptMin = cms.double(0.9),
11  minRapidity = cms.double(-2.4),
12  maxRapidity = cms.double(2.4),
13  signalOnly = cms.bool(True),
14  stableOnly = cms.bool(False),
15  chargedOnly = cms.bool(True)
16 )
17 
18 #muonTP = cms.EDFilter("TrackingParticleSelector",
19 # muonTPSet
20 #)
21 
22 # RecoTrack selectors
23 #muonGlb = cms.EDFilter("RecoTrackSelector",
24 # src = cms.InputTag("globalMuons"),
25 # tip = cms.double(3.5),
26 # lip = cms.double(30.0),
27 # minHit = cms.int32(8),
28 # maxChi2 = cms.double(999),
29 # ptMin = cms.double(0.8),
30 # quality = cms.string("Chi2"),
31 # minRapidity = cms.double(-2.5),
32 # maxRapidity = cms.double(2.5)
33 #)
34 #
35 #muonSta = cms.EDFilter("RecoTrackSelector",
36 # src = cms.InputTag("standAloneMuons","UpdatedAtVtx"),
37 # tip = cms.double(999.0),
38 # lip = cms.double(999.0),
39 # minHit = cms.int32(1),
40 # maxChi2 = cms.double(999),
41 # ptMin = cms.double(0.8),
42 # quality = cms.string("Chi2"),
43 # minRapidity = cms.double(-2.5),
44 # maxRapidity = cms.double(2.5)
45 #)
46 
47 #muonSelector_step = cms.Sequence(muonTP+muonGlb+muonSta)
48 
49 #muonSelector_seq = cms.Sequence(muonTP)