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(
14 TPpfmu_seq = cms.Sequence( TPpfmu )
16 TPtrack = TPrefs.clone(
20 TPtrack_seq = cms.Sequence( TPtrack )
25 src = cms.InputTag(
"mix",
"MergedTrackTruth"),
26 pdgId = cms.vint32(13, -13),
27 tip = cms.double(3.5),
28 lip = cms.double(30.0),
29 minHit = cms.int32(0),
30 ptMin = cms.double(0.9),
31 ptMax = cms.double(1e100),
32 minRapidity = cms.double(-2.4),
33 maxRapidity = cms.double(2.4),
34 signalOnly = cms.bool(
True),
35 intimeOnly = cms.bool(
True),
36 stableOnly = cms.bool(
True),
37 chargedOnly = cms.bool(
True)
40 me0MuonTPSet = cms.PSet(
41 src = cms.InputTag(
"mix",
"MergedTrackTruth"),
42 pdgId = cms.vint32(13, -13),
43 tip = cms.double(3.5),
44 lip = cms.double(30.0),
45 minHit = cms.int32(0),
46 ptMin = cms.double(0.9),
47 ptMax = cms.double(1e100),
48 minRapidity = cms.double(-2.8),
49 maxRapidity = cms.double(2.8),
50 signalOnly = cms.bool(
True),
51 intimeOnly = cms.bool(
True),
52 stableOnly = cms.bool(
True),
53 chargedOnly = cms.bool(
True)
56 displacedMuonTPSet = cms.PSet(
57 src = cms.InputTag(
"mix",
"MergedTrackTruth"),
58 pdgId = cms.vint32(13, -13),
59 tip = cms.double(85.),
60 lip = cms.double(210.),
61 minHit = cms.int32(0),
62 ptMin = cms.double(0.9),
63 ptMax = cms.double(1e100),
64 minRapidity = cms.double(-2.4),
65 maxRapidity = cms.double(2.4),
66 signalOnly = cms.bool(
True),
67 intimeOnly = cms.bool(
True),
68 stableOnly = cms.bool(
True),
69 chargedOnly = cms.bool(
True)
72 cosmicMuonTPSet = cms.PSet(
73 src = cms.InputTag(
"mix",
"MergedTrackTruth"),
74 pdgId = cms.vint32(13, -13),
75 tip = cms.double(85.),
76 lip = cms.double(210.),
77 minHit = cms.int32(0),
78 ptMin = cms.double(0.9),
79 ptMax = cms.double(1e100),
80 minRapidity = cms.double(-2.4),
81 maxRapidity = cms.double(2.4),
82 signalOnly = cms.bool(
True),
83 stableOnly = cms.bool(
True),
84 chargedOnly = cms.bool(
True)
87 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
88 premix_stage2.toModify(muonTPSet, src =
"mixData:MergedTrackTruth")
89 premix_stage2.toModify(cosmicMuonTPSet, src =
"mixData:MergedTrackTruth")
90 premix_stage2.toModify(displacedMuonTPSet, src =
"mixData:MergedTrackTruth")
91 premix_stage2.toModify(me0MuonTPSet, src =
"mixData:MergedTrackTruth")