CMS 3D CMS Logo

Functions
me0ChamberMasker_cff Namespace Reference

Functions

def appendME0ChamberMaskerAtReco (process)
 

Function Documentation

◆ appendME0ChamberMaskerAtReco()

def me0ChamberMasker_cff.appendME0ChamberMaskerAtReco (   process)

Definition at line 7 of file me0ChamberMasker_cff.py.

Referenced by customiseForMuonAging.enableAgingAtReco().

8 
9  if hasattr(process,'RawToDigi') :
10 
11  sys.stderr.write("[appendME0ChamberMasker] : Found RawToDigi, appending filter\n")
12 
13  process.simMuonME0PseudoDigis = _me0ChamberMasker.clone()
14  process.simMuonME0PseudoReDigis = simMuonME0PseudoReDigis.clone()
15  process.simMuonME0PseudoDigis.digiTag = cms.InputTag("simMuonME0PseudoDigis", \
16  processName = cms.InputTag.skipCurrentProcess())
17 
18  process.filteredME0DigiSequence = cms.Sequence( process.simMuonME0PseudoDigis
19  + process.simMuonME0PseudoReDigis )
20 
21  process.RawToDigi += process.filteredME0DigiSequence
22 
23  return process
24 
def appendME0ChamberMaskerAtReco(process)