CMS 3D CMS Logo

Functions | Variables

customizeGEMDigi Namespace Reference

Functions

def customize_digi_addGEM
def customize_digi_addGEM_gem_only
def customize_digi_addGEM_muon_only
def customize_mix_addGEM
def customize_mix_addGEM_muon_only
def customize_mix_muon_only
def customize_random_GEMDigi
def mixObjects_addGEM

Variables

tuple mixObjects_dt_csc_rpc

Function Documentation

def customizeGEMDigi::customize_digi_addGEM (   process)

Definition at line 92 of file customizeGEMDigi.py.

00093                                   :
00094     process = customize_random_GEMDigi(process)
00095     process = customize_mix_addGEM(process)
00096     process.muonDigi = cms.Sequence(process.simMuonCSCDigis + process.simMuonDTDigis + process.simMuonRPCDigis + process.simMuonGEMDigis + process.simMuonGEMCSCPadDigis)
00097     process.doAllDigi = cms.Sequence(process.trDigi + process.calDigi + process.muonDigi)
00098     process.pdigi = cms.Sequence(
00099         cms.SequencePlaceholder("randomEngineStateProducer")*
00100         cms.SequencePlaceholder("mix")*
00101         process.doAllDigi*
00102         process.trackingParticles*
00103         process.addPileupInfo )
00104     return process
00105 
00106 
# customize the digitization sequence pdigi to only digitize DT+CSC+RPC+GEM
def customizeGEMDigi::customize_digi_addGEM_gem_only (   process)

Definition at line 119 of file customizeGEMDigi.py.

00120                                            :
00121     process = customize_random_GEMDigi(process)
00122     process = customize_mix_addGEM_muon_only(process)
00123     process.muonDigi = cms.Sequence(process.simMuonCSCDigis + process.simMuonDTDigis + process.simMuonRPCDigis + process.simMuonGEMDigis + process.simMuonGEMCSCPadDigis)
00124     process.pdigi = cms.Sequence(
00125         cms.SequencePlaceholder("randomEngineStateProducer")*
00126         cms.SequencePlaceholder("mix")*
00127         process.simMuonGEMDigis*
00128         process.simMuonGEMCSCPadDigis )
00129     return process
00130 
def customizeGEMDigi::customize_digi_addGEM_muon_only (   process)

Definition at line 107 of file customizeGEMDigi.py.

00108                                             :
00109     process = customize_random_GEMDigi(process)
00110     process = customize_mix_addGEM_muon_only(process)
00111     process.muonDigi = cms.Sequence(process.simMuonCSCDigis + process.simMuonDTDigis + process.simMuonRPCDigis + process.simMuonGEMDigis + process.simMuonGEMCSCPadDigis)
00112     process.pdigi = cms.Sequence(
00113         cms.SequencePlaceholder("randomEngineStateProducer")*
00114         cms.SequencePlaceholder("mix")*
00115         process.muonDigi )
00116     return process
00117 
00118 
# customize the digitization sequence pdigi to only digitize GEM
def customizeGEMDigi::customize_mix_addGEM (   process)

Definition at line 68 of file customizeGEMDigi.py.

00069                                  :
00070     mixObjects_addGEM(process.mix.mixObjects.mixSH)
00071     return process
00072 
00073 
00074 # Customize process.mix to be used for running muon (DT, CSC, RPC + GEM) digi only.
00075 #  - first do such customization for (DT, CSC, RPC)
#  - append GEM SimHit collection definitions to mix.mixObjects.mixSH
def customizeGEMDigi::customize_mix_addGEM_muon_only (   process)

Definition at line 76 of file customizeGEMDigi.py.

00077                                            :
00078     process = customize_mix_muon_only(process)
00079     mixObjects_addGEM(process.mix.mixObjects.mixSH)
00080     return process
00081 
00082 
# Add simMuonGEMDigis to the list of modules served by RandomNumberGeneratorService
def customizeGEMDigi::customize_mix_muon_only (   process)

Definition at line 51 of file customizeGEMDigi.py.

00052                                     :
00053     process.mix.digitizers = digitizers = cms.PSet()
00054     digi_aliases = filter(lambda n: 'Digi' in n, process.aliases.keys())
00055     for a in digi_aliases: process.__delattr__(a)
00056     process.mix.mixObjects = mixObjects_dt_csc_rpc
00057     return process
00058 
00059 
# a modifier to append GEM SimHit collection definitions to mixObjects.mixSH
def customizeGEMDigi::customize_random_GEMDigi (   process)

Definition at line 83 of file customizeGEMDigi.py.

00084                                      :
00085     process.RandomNumberGeneratorService.simMuonGEMDigis = cms.PSet(
00086         initialSeed = cms.untracked.uint32(1234567),
00087         engineName = cms.untracked.string('HepJamesRandom')
00088     )
00089     return process
00090 
00091 
# customize the full digitization sequence pdigi by adding GEMs
def customizeGEMDigi::mixObjects_addGEM (   mixSH)

Definition at line 60 of file customizeGEMDigi.py.

00061                             :
00062     mixSH.crossingFrames.append('MuonGEMHits')
00063     mixSH.input.append(cms.InputTag("g4SimHits","MuonGEMHits"))
00064     mixSH.subdets.append('MuonGEMHits')
00065     return mixSH
00066 
00067 
# customize process.mix by appending GEM SimHit collection definitions to mix.mixObjects.mixSH

Variable Documentation

Definition at line 5 of file customizeGEMDigi.py.