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 displacedMuonTPSet = cms.PSet(
19  src = cms.InputTag("mix", "MergedTrackTruth"),
20  pdgId = cms.vint32(13, -13),
21  tip = cms.double(85.), # radius to have at least the 3 outermost TOB layers
22  lip = cms.double(210.), # z to have at least the 3 outermost TEC layers
23  minHit = cms.int32(0),
24  ptMin = cms.double(0.9),
25  minRapidity = cms.double(-2.4),
26  maxRapidity = cms.double(2.4),
27  signalOnly = cms.bool(True),
28  stableOnly = cms.bool(False),
29  chargedOnly = cms.bool(True)
30 )
31 
32 #muonTP = cms.EDFilter("TrackingParticleSelector",
33 # muonTPSet
34 #)
35 
36 # RecoTrack selectors
37 #muonGlb = cms.EDFilter("RecoTrackSelector",
38 # src = cms.InputTag("globalMuons"),
39 # tip = cms.double(3.5),
40 # lip = cms.double(30.0),
41 # minHit = cms.int32(8),
42 # maxChi2 = cms.double(999),
43 # ptMin = cms.double(0.8),
44 # quality = cms.string("Chi2"),
45 # minRapidity = cms.double(-2.5),
46 # maxRapidity = cms.double(2.5)
47 #)
48 #
49 #muonSta = cms.EDFilter("RecoTrackSelector",
50 # src = cms.InputTag("standAloneMuons","UpdatedAtVtx"),
51 # tip = cms.double(999.0),
52 # lip = cms.double(999.0),
53 # minHit = cms.int32(1),
54 # maxChi2 = cms.double(999),
55 # ptMin = cms.double(0.8),
56 # quality = cms.string("Chi2"),
57 # minRapidity = cms.double(-2.5),
58 # maxRapidity = cms.double(2.5)
59 #)
60 
61 #muonSelector_step = cms.Sequence(muonTP+muonGlb+muonSta)
62 
63 #muonSelector_seq = cms.Sequence(muonTP)