File indexing completed on 2024-04-06 12:33:09
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004
0005 import SimMuon.MCTruth.trackingParticleMuon_cfi
0006 TPrefs = SimMuon.MCTruth.trackingParticleMuon_cfi.trackingParticleMuon.clone()
0007
0008 TPmu = TPrefs.clone()
0009 TPmu_seq = cms.Sequence( TPmu )
0010
0011 TPpfmu = TPrefs.clone(
0012 skim = 'pf'
0013 )
0014 TPpfmu_seq = cms.Sequence( TPpfmu )
0015
0016 TPtrack = TPrefs.clone(
0017 skim = 'track',
0018 ptmin = 2.
0019 )
0020 TPtrack_seq = cms.Sequence( TPtrack )
0021
0022
0023
0024 muonTPSet = cms.PSet(
0025 src = cms.InputTag("mix", "MergedTrackTruth"),
0026 pdgId = cms.vint32(13, -13),
0027 tip = cms.double(3.5),
0028 lip = cms.double(30.0),
0029 minHit = cms.int32(0),
0030 ptMin = cms.double(0.9),
0031 ptMax = cms.double(1e100),
0032 minRapidity = cms.double(-2.4),
0033 maxRapidity = cms.double(2.4),
0034 signalOnly = cms.bool(True),
0035 intimeOnly = cms.bool(True),
0036 stableOnly = cms.bool(True),
0037 chargedOnly = cms.bool(True)
0038 )
0039
0040 me0MuonTPSet = cms.PSet(
0041 src = cms.InputTag("mix", "MergedTrackTruth"),
0042 pdgId = cms.vint32(13, -13),
0043 tip = cms.double(3.5),
0044 lip = cms.double(30.0),
0045 minHit = cms.int32(0),
0046 ptMin = cms.double(0.9),
0047 ptMax = cms.double(1e100),
0048 minRapidity = cms.double(-2.8),
0049 maxRapidity = cms.double(2.8),
0050 signalOnly = cms.bool(True),
0051 intimeOnly = cms.bool(True),
0052 stableOnly = cms.bool(True),
0053 chargedOnly = cms.bool(True)
0054 )
0055
0056 displacedMuonTPSet = cms.PSet(
0057 src = cms.InputTag("mix", "MergedTrackTruth"),
0058 pdgId = cms.vint32(13, -13),
0059 tip = cms.double(85.),
0060 lip = cms.double(210.),
0061 minHit = cms.int32(0),
0062 ptMin = cms.double(0.9),
0063 ptMax = cms.double(1e100),
0064 minRapidity = cms.double(-2.4),
0065 maxRapidity = cms.double(2.4),
0066 signalOnly = cms.bool(True),
0067 intimeOnly = cms.bool(True),
0068 stableOnly = cms.bool(True),
0069 chargedOnly = cms.bool(True)
0070 )
0071
0072 cosmicMuonTPSet = cms.PSet(
0073 src = cms.InputTag("mix", "MergedTrackTruth"),
0074 pdgId = cms.vint32(13, -13),
0075 tip = cms.double(85.),
0076 lip = cms.double(210.),
0077 minHit = cms.int32(0),
0078 ptMin = cms.double(0.9),
0079 ptMax = cms.double(1e100),
0080 minRapidity = cms.double(-2.4),
0081 maxRapidity = cms.double(2.4),
0082 signalOnly = cms.bool(True),
0083 stableOnly = cms.bool(True),
0084 chargedOnly = cms.bool(True)
0085 )
0086
0087 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
0088 premix_stage2.toModify(muonTPSet, src = "mixData:MergedTrackTruth")
0089 premix_stage2.toModify(cosmicMuonTPSet, src = "mixData:MergedTrackTruth")
0090 premix_stage2.toModify(displacedMuonTPSet, src = "mixData:MergedTrackTruth")
0091 premix_stage2.toModify(me0MuonTPSet, src = "mixData:MergedTrackTruth")
0092
0093
0094
0095
0096
0097
0098
0099
0100
0101
0102
0103
0104
0105
0106
0107
0108
0109
0110
0111
0112
0113
0114
0115
0116
0117
0118
0119
0120
0121
0122
0123
0124