1 import FWCore.ParameterSet.Config
as cms
5 import SimMuon.MCTruth.trackingParticleMuon_cfi
6 TPrefs = SimMuon.MCTruth.trackingParticleMuon_cfi.trackingParticleMuon.clone()
9 TPmu_seq = cms.Sequence( TPmu )
11 TPpfmu = TPrefs.clone()
13 TPpfmu_seq = cms.Sequence( TPpfmu )
15 TPtrack = TPrefs.clone()
16 TPtrack.skim =
'track'
18 TPtrack_seq = cms.Sequence( TPtrack )
23 src = cms.InputTag(
"mix",
"MergedTrackTruth"),
24 pdgId = cms.vint32(13, -13),
25 tip = cms.double(3.5),
26 lip = cms.double(30.0),
27 minHit = cms.int32(0),
28 ptMin = cms.double(0.9),
29 ptMax = cms.double(1e100),
30 minRapidity = cms.double(-2.4),
31 maxRapidity = cms.double(2.4),
32 signalOnly = cms.bool(
True),
33 intimeOnly = cms.bool(
True),
34 stableOnly = cms.bool(
True),
35 chargedOnly = cms.bool(
True)
38 me0MuonTPSet = cms.PSet(
39 src = cms.InputTag(
"mix",
"MergedTrackTruth"),
40 pdgId = cms.vint32(13, -13),
41 tip = cms.double(3.5),
42 lip = cms.double(30.0),
43 minHit = cms.int32(0),
44 ptMin = cms.double(0.9),
45 ptMax = cms.double(1e100),
46 minRapidity = cms.double(-2.8),
47 maxRapidity = cms.double(2.8),
48 signalOnly = cms.bool(
True),
49 intimeOnly = cms.bool(
True),
50 stableOnly = cms.bool(
True),
51 chargedOnly = cms.bool(
True)
54 displacedMuonTPSet = cms.PSet(
55 src = cms.InputTag(
"mix",
"MergedTrackTruth"),
56 pdgId = cms.vint32(13, -13),
57 tip = cms.double(85.),
58 lip = cms.double(210.),
59 minHit = cms.int32(0),
60 ptMin = cms.double(0.9),
61 ptMax = cms.double(1e100),
62 minRapidity = cms.double(-2.4),
63 maxRapidity = cms.double(2.4),
64 signalOnly = cms.bool(
True),
65 intimeOnly = cms.bool(
True),
66 stableOnly = cms.bool(
True),
67 chargedOnly = cms.bool(
True)
70 cosmicMuonTPSet = cms.PSet(
71 src = cms.InputTag(
"mix",
"MergedTrackTruth"),
72 pdgId = cms.vint32(13, -13),
73 tip = cms.double(85.),
74 lip = cms.double(210.),
75 minHit = cms.int32(0),
76 ptMin = cms.double(0.9),
77 ptMax = cms.double(1e100),
78 minRapidity = cms.double(-2.4),
79 maxRapidity = cms.double(2.4),
80 signalOnly = cms.bool(
True),
81 stableOnly = cms.bool(
True),
82 chargedOnly = cms.bool(
True)
85 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
86 premix_stage2.toModify(muonTPSet, src =
"mixData:MergedTrackTruth")
87 premix_stage2.toModify(cosmicMuonTPSet, src =
"mixData:MergedTrackTruth")
88 premix_stage2.toModify(displacedMuonTPSet, src =
"mixData:MergedTrackTruth")
89 premix_stage2.toModify(me0MuonTPSet, src =
"mixData:MergedTrackTruth")