CMS 3D CMS Logo

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