1 import FWCore.ParameterSet.Config
as cms
5 mixObjects_dt_csc_rpc = cms.PSet(
7 crossingFrames = cms.untracked.vstring(),
8 input = cms.VInputTag(),
9 type = cms.string(
'PCaloHit'),
10 subdets = cms.vstring()
13 input = cms.VInputTag(cms.InputTag(
"generatorSmeared"),cms.InputTag(
"generator")),
14 makeCrossingFrame = cms.untracked.bool(
True),
15 type = cms.string(
'HepMCProduct')
17 mixVertices = cms.PSet(
18 input = cms.VInputTag(cms.InputTag(
"g4SimHits")),
19 makeCrossingFrame = cms.untracked.bool(
True),
20 type = cms.string(
'SimVertex')
23 crossingFrames = cms.untracked.vstring(
28 input = cms.VInputTag(
29 cms.InputTag(
"g4SimHits",
"MuonCSCHits"),
30 cms.InputTag(
"g4SimHits",
"MuonDTHits"),
31 cms.InputTag(
"g4SimHits",
"MuonRPCHits")),
32 type = cms.string(
'PSimHit'),
33 subdets = cms.vstring(
40 input = cms.VInputTag(cms.InputTag(
"g4SimHits")),
41 makeCrossingFrame = cms.untracked.bool(
True),
42 type = cms.string(
'SimTrack')
52 process.mix.digitizers = digitizers = cms.PSet()
53 digi_aliases =
filter(
lambda n:
'Digi' in n, process.aliases.keys())
54 for a
in digi_aliases: process.__delattr__(a)
55 process.mix.mixObjects = mixObjects_dt_csc_rpc
61 mixSH.crossingFrames.append(
'MuonME0Hits')
62 mixSH.input.append(cms.InputTag(
"g4SimHits",
"MuonME0Hits"))
63 mixSH.subdets.append(
'MuonME0Hits')
84 process.RandomNumberGeneratorService.simMuonME0Digis = cms.PSet(
85 initialSeed = cms.untracked.uint32(1234567),
86 engineName = cms.untracked.string(
'HepJamesRandom')
93 process.load(
'SimMuon.GEMDigitizer.muonME0DigisPreReco_cfi')
102 process.muonDigi = cms.Sequence(
103 process.simMuonCSCDigis +
104 process.simMuonDTDigis +
105 process.simMuonRPCDigis +
106 process.simMuonME0Digis
108 process.doAllDigi = cms.Sequence(
112 process.pdigi = cms.Sequence(
113 cms.SequencePlaceholder(
"randomEngineStateProducer")*
114 cms.SequencePlaceholder(
"mix")*
116 process.trackingParticles*
117 process.addPileupInfo
128 process.muonDigi = cms.Sequence(
129 process.simMuonCSCDigis +
130 process.simMuonDTDigis +
131 process.simMuonRPCDigis +
132 process.simMuonME0Digis
134 process.pdigi = cms.Sequence(
135 cms.SequencePlaceholder(
"randomEngineStateProducer")*
136 cms.SequencePlaceholder(
"mix")*
148 process.pdigi = cms.Sequence(
149 cms.SequencePlaceholder(
"randomEngineStateProducer")*
150 cms.SequencePlaceholder(
"mix")*
151 process.simMuonME0Digis
159 alist=[
'AODSIM',
'RECOSIM',
'FEVTSIM',
'FEVTDEBUG',
'FEVTDEBUGHLT',
'RECODEBUG',
'RAWRECOSIMHLT',
'RAWRECODEBUGHLT']
162 if hasattr(process,b):
163 getattr(process,b).outputCommands.append(
'keep *_simMuonME0Digis_*_*')
def customize_digi_addME0
def load_ME0_digitizer
load the digitizer
def customize_mix_addME0_muon_only
def customize_digi_addME0_muon_only
def customize_digi_addME0_me0_only
def customize_random_ME0Digi
def customize_mix_muon_only