CMS 3D CMS Logo

Functions
cscChamberMasker_cff Namespace Reference

Functions

def appendCSCChamberMaskerAtHLT (process)
 
def appendCSCChamberMaskerAtUnpacking (process)
 

Function Documentation

def cscChamberMasker_cff.appendCSCChamberMaskerAtHLT (   process)

Definition at line 37 of file cscChamberMasker_cff.py.

38 
39  if hasattr(process,'hltMuonCSCDigis') :
40 
41  sys.stderr.write("[appendCSCChamberMasker] : Found hltMuonCSCDigis, applying filter\n")
42 
43  process.preHltCSCDigis = process.hltMuonCSCDigis.clone()
44  process.hltMuonCSCDigis = _cscChamberMasker.clone()
45 
46  process.hltMuonCSCDigis.stripDigiTag = cms.InputTag("preHltCSCDigis", "MuonCSCStripDigi")
47  process.hltMuonCSCDigis.wireDigiTag = cms.InputTag("preHltCSCDigis", "MuonCSCWireDigi")
48  process.hltMuonCSCDigis.comparatorDigiTag = cms.InputTag("preHltCSCDigis", "MuonCSCComparatorDigi")
49  process.hltMuonCSCDigis.rpcDigiTag = cms.InputTag("preHltCSCDigis", "MuonCSCRPCDigi")
50  process.hltMuonCSCDigis.alctDigiTag = cms.InputTag("preHltCSCDigis", "MuonCSCALCTDigi")
51  process.hltMuonCSCDigis.clctDigiTag = cms.InputTag("preHltCSCDigis", "MuonCSCCLCTDigi")
52 
53 
54  process.filteredHltCSCDigiSequence = cms.Sequence(process.preHltCSCDigis + process.hltMuonCSCDigis)
55  process.HLTMuonLocalRecoSequence.replace(process.hltMuonCSCDigis, process.filteredHltCSCDigiSequence)
56 
57  if hasattr(process,"RandomNumberGeneratorService") :
58  process.RandomNumberGeneratorService.hltMuonCSCDigis = cms.PSet(
59  initialSeed = cms.untracked.uint32(789342)
60  )
61  else :
62  process.RandomNumberGeneratorService = cms.Service(
63  "RandomNumberGeneratorService",
64  hltMuonCSCDigis = cms.PSet(initialSeed = cms.untracked.uint32(789342))
65  )
66 
67  return process
68 
def appendCSCChamberMaskerAtHLT(process)
def cscChamberMasker_cff.appendCSCChamberMaskerAtUnpacking (   process)

Definition at line 6 of file cscChamberMasker_cff.py.

Referenced by customiseForMuonAging.enableAgingAtReco().

7 
8  if hasattr(process,'muonCSCDigis') :
9 
10  sys.stderr.write("[appendCSCChamberMasker] : Found muonCSCDigis, applying filter\n")
11 
12  process.preCSCDigis = process.muonCSCDigis.clone()
13  process.muonCSCDigis = _cscChamberMasker.clone()
14 
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")
21 
22  process.filteredCscDigiSequence = cms.Sequence(process.preCSCDigis + process.muonCSCDigis)
23  process.RawToDigi.replace(process.muonCSCDigis, process.filteredCscDigiSequence)
24 
25  if hasattr(process,"RandomNumberGeneratorService") :
26  process.RandomNumberGeneratorService.muonCSCDigis = cms.PSet(
27  initialSeed = cms.untracked.uint32(789342)
28  )
29  else :
30  process.RandomNumberGeneratorService = cms.Service(
31  "RandomNumberGeneratorService",
32  muonCSCDigis = cms.PSet(initialSeed = cms.untracked.uint32(789342))
33  )
34 
35  return process
36 
def appendCSCChamberMaskerAtUnpacking(process)