CMS 3D CMS Logo

Functions | Variables
customizeRPCDigi Namespace Reference

Functions

def customise_rpcRedigi (process)
 
def customize_digi_addGEM_muon_only (process)
 
def customize_digi_muon_only (process)
 
def customize_digi_noRPCbkg (process)
 
def customize_mix_muon_only (process)
 

Variables

 crossingFrames
 
 input
 
 makeCrossingFrame
 
 mixCH
 
 mixHepMC
 
 mixObjects_dt_csc_rpc
 
 mixSH
 
 mixTracks
 
 mixVertices
 
 subdets
 
 type
 

Function Documentation

def customizeRPCDigi.customise_rpcRedigi (   process)

Definition at line 101 of file customizeRPCDigi.py.

101 def customise_rpcRedigi(process):
102  process.load('Configuration.StandardSequences.Digi_cff')
103  process.simMuonRPCReDigis = process.simMuonRPCDigis.clone()
104  process.simMuonRPCReDigis.digiRPCModelConfig = cms.PSet(
105  Frate = cms.double(1.0),
106  Gate = cms.double(1.0),
107  IRPC_electronics_jitter = cms.double(0.1),
108  IRPC_time_resolution = cms.double(1.0),
109  Nbxing = cms.int32(799),
110  BX_range = cms.int32(400),
111  Rate = cms.double(0.0),
112  averageClusterSize = cms.double(1.5),
113  averageEfficiency = cms.double(0.95),
114  cosmics = cms.bool(False),
115  deltatimeAdjacentStrip = cms.double(3.0),
116  linkGateWidth = cms.double(1.0),
117  printOutDigitizer = cms.bool(False),
118  signalPropagationSpeed = cms.double(0.66),
119  timeJitter = cms.double(1.0),
120  timeResolution = cms.double(2.5),
121  timingRPCOffset = cms.double(50.0)
122  ),
123  process.simMuonRPCReDigis.digiIRPCModelConfig = cms.PSet(
124  Frate = cms.double(1.0),
125  Gate = cms.double(1.0),
126  IRPC_electronics_jitter = cms.double(0.1),
127  IRPC_time_resolution = cms.double(1.0),
128  Nbxing = cms.int32(799),
129  BX_range = cms.int32(400),
130  Rate = cms.double(0.0),
131  averageClusterSize = cms.double(1.5),
132  averageEfficiency = cms.double(0.95),
133  cosmics = cms.bool(False),
134  deltatimeAdjacentStrip = cms.double(3.0),
135  linkGateWidth = cms.double(1.0),
136  printOutDigitizer = cms.bool(False),
137  signalPropagationSpeed = cms.double(0.66),
138  timeJitter = cms.double(1.0),
139  timeResolution = cms.double(2.5),
140  timingRPCOffset = cms.double(50.0)
141  )
142  process.RandomNumberGeneratorService.simMuonRPCReDigis = cms.PSet(
143  initialSeed = cms.untracked.uint32(13579),
144  engineName = cms.untracked.string('TRandom3')
145  )
146  process.rpcRecHits.rpcDigiLabel = cms.InputTag("simMuonRPCReDigis")
147  process.validationMuonRPCDigis.rpcDigiTag = cms.untracked.InputTag("simMuonRPCReDigis")
148  process.reconstruction_step.replace(
149  process.rpcRecHits,
150  cms.Sequence(process.simMuonRPCReDigis+process.rpcRecHits)
151  )
152  return process
153 
def customise_rpcRedigi(process)
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().

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

Definition at line 58 of file customizeRPCDigi.py.

References customize_mix_muon_only().

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

Definition at line 93 of file customizeRPCDigi.py.

94  process.simMuonRPCDigis.doBkgNoise = False
95  return process
96 
97 
98 
99 
100 # adding re-digi costumisation - to be used for dedicated trigger studies
def customize_digi_noRPCbkg(process)
def customizeRPCDigi.customize_mix_muon_only (   process)

Definition at line 50 of file customizeRPCDigi.py.

References ALCARECOTkAlBeamHalo_cff.filter.

Referenced by customize_digi_muon_only().

51  process.mix.digitizers = digitizers = cms.PSet()
52  digi_aliases = filter(lambda n: 'Digi' in n, process.aliases.keys())
53  for a in digi_aliases: process.__delattr__(a)
54  process.mix.mixObjects = mixObjects_dt_csc_rpc
55  return process
56 
57 # customize the digitization sequence pdigi to only digitize DT+CSC+RPC
def customize_mix_muon_only(process)

Variable Documentation

customizeRPCDigi.crossingFrames

Definition at line 6 of file customizeRPCDigi.py.

customizeRPCDigi.input

Definition at line 7 of file customizeRPCDigi.py.

customizeRPCDigi.makeCrossingFrame

Definition at line 13 of file customizeRPCDigi.py.

customizeRPCDigi.mixCH

Definition at line 5 of file customizeRPCDigi.py.

customizeRPCDigi.mixHepMC

Definition at line 11 of file customizeRPCDigi.py.

customizeRPCDigi.mixObjects_dt_csc_rpc

Definition at line 4 of file customizeRPCDigi.py.

customizeRPCDigi.mixSH

Definition at line 21 of file customizeRPCDigi.py.

customizeRPCDigi.mixTracks

Definition at line 38 of file customizeRPCDigi.py.

customizeRPCDigi.mixVertices

Definition at line 16 of file customizeRPCDigi.py.

customizeRPCDigi.subdets

Definition at line 9 of file customizeRPCDigi.py.

customizeRPCDigi.type

Definition at line 8 of file customizeRPCDigi.py.