CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
customizeRPCDigi Namespace Reference

Functions

def customize_digi_addGEM_muon_only
 
def customize_digi_muon_only
 
def customize_mix_muon_only
 

Variables

tuple mixObjects_dt_csc_rpc
 

Function Documentation

def customizeRPCDigi.customize_digi_addGEM_muon_only (   process)

Definition at line 73 of file customizeRPCDigi.py.

References customizeGEMDigi.append_GEMDigi_event(), customizeGEMDigi.customize_mix_addGEM_muon_only(), customizeGEMDigi.customize_random_GEMDigi(), and customizeGEMDigi.load_GEM_digitizers().

73 
75  process = load_GEM_digitizers(process)
76  process = customize_random_GEMDigi(process)
77  process = customize_mix_addGEM_muon_only(process)
78  process.muonDigi = cms.Sequence(
79  process.simMuonCSCDigis +
80  process.simMuonDTDigis +
81  process.simMuonRPCDigis +
82  process.simMuonGEMDigis +
83  process.simMuonGEMPadDigis
84  )
85  process.pdigi = cms.Sequence(
86  cms.SequencePlaceholder("randomEngineStateProducer")*
87  cms.SequencePlaceholder("mix")*
88  process.muonDigi
89  )
90  process = append_GEMDigi_event(process)
91  return process
def load_GEM_digitizers
load the digitizer and pad producer
def customize_mix_addGEM_muon_only
def customize_digi_addGEM_muon_only
def customizeRPCDigi.customize_digi_muon_only (   process)

Definition at line 58 of file customizeRPCDigi.py.

References customize_mix_muon_only().

58 
59 def customize_digi_muon_only(process):
60  process = customize_mix_muon_only(process)
61  process.muonDigi = cms.Sequence(
62  process.simMuonCSCDigis +
63  process.simMuonDTDigis +
64  process.simMuonRPCDigis
65  )
66  process.pdigi = cms.Sequence(
67  cms.SequencePlaceholder("randomEngineStateProducer")*
68  cms.SequencePlaceholder("mix")*
69  process.muonDigi
70  )
71  return process
72 
# customize the digitization sequence pdigi to only digitize DT+CSC+RPC+GEM
def customizeRPCDigi.customize_mix_muon_only (   process)

Definition at line 50 of file customizeRPCDigi.py.

References alcazmumu_cfi.filter.

Referenced by customize_digi_muon_only().

50 
51 def customize_mix_muon_only(process):
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
56  return process
57 
# customize the digitization sequence pdigi to only digitize DT+CSC+RPC

Variable Documentation

tuple customizeRPCDigi.mixObjects_dt_csc_rpc

Definition at line 4 of file customizeRPCDigi.py.