8 if hasattr(process,
'muonCSCDigis') :
10 sys.stderr.write(
"[appendCSCChamberMasker] : Found muonCSCDigis, applying filter\n")
12 process.preCSCDigis = process.muonCSCDigis.clone()
13 process.muonCSCDigis = _cscChamberMasker.clone()
15 process.muonCSCDigis.stripDigiTag = cms.InputTag(
"preCSCDigis",
"MuonCSCStripDigi")
16 process.muonCSCDigis.wireDigiTag = cms.InputTag(
"preCSCDigis",
"MuonCSCWireDigi")
17 process.muonCSCDigis.comparatorDigiTag = cms.InputTag(
"preCSCDigis",
"MuonCSCComparatorDigi")
18 process.muonCSCDigis.rpcDigiTag = cms.InputTag(
"preCSCDigis",
"MuonCSCRPCDigi")
19 process.muonCSCDigis.alctDigiTag = cms.InputTag(
"preCSCDigis",
"MuonCSCALCTDigi")
20 process.muonCSCDigis.clctDigiTag = cms.InputTag(
"preCSCDigis",
"MuonCSCCLCTDigi")
22 process.filteredCscDigiSequence = cms.Sequence(process.preCSCDigis + process.muonCSCDigis)
23 process.RawToDigi.replace(process.muonCSCDigis, process.filteredCscDigiSequence)
25 if hasattr(process,
"RandomNumberGeneratorService") :
26 process.RandomNumberGeneratorService.muonCSCDigis = cms.PSet(
27 initialSeed = cms.untracked.uint32(789342)
30 process.RandomNumberGeneratorService = cms.Service(
31 "RandomNumberGeneratorService",
32 muonCSCDigis = cms.PSet(initialSeed = cms.untracked.uint32(789342))
def appendCSCChamberMaskerAtUnpacking(process)