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