1 import FWCore.ParameterSet.Config
as cms
10 common_heavy_suppression = cms.PSet(
11 NeutronThreshold = cms.double(30.0),
12 ProtonThreshold = cms.double(30.0),
13 IonThreshold = cms.double(30.0)
16 common_maximum_time = cms.PSet(
17 MaxTrackTime = cms.double(500.0),
18 MaxTimeNames = cms.vstring(
'ZDCRegion'),
19 MaxTrackTimes = cms.vdouble(2000.0),
21 DeadRegions = cms.vstring(
'QuadRegion',
'InterimRegion'),
22 CriticalEnergyForVacuum = cms.double(2.0),
23 CriticalDensity = cms.double(1e-15)
26 common_UsePMT = cms.PSet(
27 UseR7600UPMT = cms.bool(
False)
30 common_UseHF = cms.PSet(
31 Lambda1 = cms.double(280.0),
32 Lambda2 = cms.double(700.0),
33 Gain = cms.double(0.33),
34 CheckSurvive = cms.bool(
False),
35 FibreR = cms.untracked.double(0.3)
38 common_UseLuminosity = cms.PSet(
39 InstLuminosity = cms.double(0.),
40 DelivLuminosity = cms.double(5000.)
43 g4SimHits = cms.EDProducer(
"OscarMTProducer",
44 NonBeamEvent = cms.bool(
False),
45 G4EventManagerVerbosity = cms.untracked.int32(0),
46 G4StackManagerVerbosity = cms.untracked.int32(0),
47 G4TrackingManagerVerbosity = cms.untracked.int32(0),
48 UseMagneticField = cms.bool(
True),
49 StoreRndmSeeds = cms.bool(
False),
50 RestoreRndmSeeds = cms.bool(
False),
51 PhysicsTablesDirectory = cms.string(
'PhysicsTables'),
52 StorePhysicsTables = cms.bool(
False),
53 RestorePhysicsTables = cms.bool(
False),
54 CheckOverlap = cms.untracked.bool(
False),
55 G4CheckOverlap = cms.PSet(
56 Tolerance = cms.untracked.double(0.0),
57 Resolution = cms.untracked.int32(10000),
58 RegionFlag = cms.untracked.bool(
True),
59 gdmlFlag = cms.untracked.bool(
True),
60 PVname = cms.string(
''),
61 LVname = cms.string(
''),
62 NodeNames = cms.vstring(
'World')
64 G4Commands = cms.vstring(),
65 SteppingVerbosity = cms.int32(0),
66 StepVerboseThreshold = cms.double(0.1),
67 VerboseEvents = cms.vint32(),
68 VertexNumber = cms.vint32(),
69 VerboseTracks = cms.vint32(),
70 FileNameField = cms.untracked.string(
''),
71 FileNameGDML = cms.untracked.string(
''),
72 FileNameRegions = cms.untracked.string(
''),
73 Watchers = cms.VPSet(),
74 HepMCProductLabel = cms.InputTag(
"generatorSmeared"),
75 theLHCTlinkTag = cms.InputTag(
"LHCTransport"),
76 CustomUIsession = cms.untracked.PSet(
77 Type = cms.untracked.string(
"MessageLogger"),
78 ThreadPrefix = cms.untracked.string(
"W"),
79 ThreadFile = cms.untracked.string(
"sim_output_thread"),
81 MagneticField = cms.PSet(
82 UseLocalMagFieldManager = cms.bool(
False),
83 Verbosity = cms.untracked.bool(
False),
84 ConfGlobalMFM = cms.PSet(
85 Volume = cms.string(
'OCMS'),
87 Stepper = cms.string(
'G4DormandPrince745'),
88 Type = cms.string(
'CMSIMField'),
89 StepperParam = cms.PSet(
90 MaximumEpsilonStep = cms.untracked.double(0.01),
91 DeltaOneStep = cms.double(0.001),
92 MaximumLoopCounts = cms.untracked.double(1000.0),
93 DeltaChord = cms.double(0.001),
94 MinStep = cms.double(0.1),
95 DeltaIntersectionAndOneStep = cms.untracked.double(-1.0),
96 DeltaIntersection = cms.double(0.0001),
97 MinimumEpsilonStep = cms.untracked.double(1e-05),
98 EnergyThSimple = cms.double(0.002),
99 DeltaChordSimple = cms.double(0.1),
100 DeltaOneStepSimple = cms.double(0.1),
101 DeltaIntersectionSimple = cms.double(0.01),
105 delta = cms.double(1.0)
113 type = cms.string(
'SimG4Core/Physics/FTFP_BERT_EMM'),
114 DummyEMPhysics = cms.bool(
False),
115 CutsPerRegion = cms.bool(
True),
116 CutsOnProton = cms.untracked.bool(
True),
117 DefaultCutValue = cms.double(1.0),
118 G4BremsstrahlungThreshold = cms.double(0.5),
119 Verbosity = cms.untracked.int32(0),
122 MonopoleCharge = cms.untracked.int32(1),
123 MonopoleDeltaRay = cms.untracked.bool(
True),
124 MonopoleMultiScatter = cms.untracked.bool(
False),
125 MonopoleTransport = cms.untracked.bool(
True),
126 MonopoleMass = cms.untracked.double(0),
127 ExoticaTransport = cms.untracked.bool(
False),
128 ExoticaPhysicsSS = cms.untracked.bool(
False),
129 RhadronPhysics = cms.bool(
False),
130 DarkMPFactor = cms.double(1.0),
131 Region = cms.string(
' '),
132 TrackingCut = cms.bool(
False),
133 SRType = cms.bool(
True),
134 FlagMuNucl = cms.bool(
False),
135 FlagFluo = cms.bool(
False),
136 EMPhysics = cms.untracked.bool(
True),
137 HadPhysics = cms.untracked.bool(
True),
138 FlagBERT = cms.untracked.bool(
False),
139 GflashEcal = cms.bool(
False),
140 GflashHcal = cms.bool(
False),
141 GflashEcalHad = cms.bool(
False),
142 GflashHcalHad = cms.bool(
False),
143 bField = cms.double(3.8),
144 energyScaleEB = cms.double(1.032),
145 energyScaleEE = cms.double(1.024),
146 ThermalNeutrons = cms.untracked.bool(
False),
147 RusRoElectronEnergyLimit = cms.double(0.0),
148 RusRoEcalElectron = cms.double(1.0),
149 RusRoHcalElectron = cms.double(1.0),
150 RusRoMuonIronElectron = cms.double(1.0),
151 RusRoPreShowerElectron = cms.double(1.0),
152 RusRoCastorElectron = cms.double(1.0),
153 RusRoWorldElectron = cms.double(1.0),
154 ElectronStepLimit = cms.bool(
False),
155 ElectronRangeTest = cms.bool(
False),
156 PositronStepLimit = cms.bool(
False),
157 MinStepLimit = cms.double(1.0)
159 Generator = cms.PSet(
161 HepMCProductLabel = cms.InputTag(
'generatorSmeared'),
162 ApplyPCuts = cms.bool(
True),
163 ApplyPtransCut = cms.bool(
False),
164 MinPCut = cms.double(0.04),
165 MaxPCut = cms.double(99999.0),
166 ApplyEtaCuts = cms.bool(
True),
167 MinEtaCut = cms.double(-5.5),
168 MaxEtaCut = cms.double(5.5),
169 RDecLenCut = cms.double(2.9),
170 LDecLenCut = cms.double(30.0),
171 ApplyPhiCuts = cms.bool(
False),
172 MinPhiCut = cms.double(-3.14159265359),
173 MaxPhiCut = cms.double(3.14159265359),
174 ApplyLumiMonitorCuts = cms.bool(
False),
175 Verbosity = cms.untracked.int32(0),
176 PDGselection = cms.PSet(
177 PDGfilterSel = cms.bool(
False),
178 PDGfilter = cms.vint32(21,1,2,3,4,5,6)
181 RunAction = cms.PSet(
182 StopFile = cms.string(
'StopRun')
184 EventAction = cms.PSet(
185 debug = cms.untracked.bool(
False),
186 StopFile = cms.string(
'StopRun'),
187 PrintRandomSeed = cms.bool(
False),
188 CollapsePrimaryVertices = cms.bool(
False)
190 StackingAction = cms.PSet(
191 common_heavy_suppression,
193 KillDeltaRay = cms.bool(
False),
194 TrackNeutrino = cms.bool(
False),
195 KillHeavy = cms.bool(
False),
196 KillGamma = cms.bool(
True),
197 GammaThreshold = cms.double(0.0001),
198 SaveFirstLevelSecondary = cms.untracked.bool(
False),
199 SavePrimaryDecayProductsAndConversionsInTracker = cms.untracked.bool(
False),
200 SavePrimaryDecayProductsAndConversionsInCalo = cms.untracked.bool(
False),
201 SavePrimaryDecayProductsAndConversionsInMuon = cms.untracked.bool(
False),
202 SaveAllPrimaryDecayProductsAndConversions = cms.untracked.bool(
True),
203 RusRoGammaEnergyLimit = cms.double(5.0),
204 RusRoEcalGamma = cms.double(0.3),
205 RusRoHcalGamma = cms.double(0.3),
206 RusRoMuonIronGamma = cms.double(0.3),
207 RusRoPreShowerGamma = cms.double(0.3),
208 RusRoCastorGamma = cms.double(0.3),
209 RusRoWorldGamma = cms.double(0.3),
210 RusRoNeutronEnergyLimit = cms.double(10.0),
211 RusRoEcalNeutron = cms.double(0.1),
212 RusRoHcalNeutron = cms.double(0.1),
213 RusRoMuonIronNeutron = cms.double(0.1),
214 RusRoPreShowerNeutron = cms.double(0.1),
215 RusRoCastorNeutron = cms.double(0.1),
216 RusRoWorldNeutron = cms.double(0.1),
217 RusRoProtonEnergyLimit = cms.double(0.0),
218 RusRoEcalProton = cms.double(1.0),
219 RusRoHcalProton = cms.double(1.0),
220 RusRoMuonIronProton = cms.double(1.0),
221 RusRoPreShowerProton = cms.double(1.0),
222 RusRoCastorProton = cms.double(1.0),
223 RusRoWorldProton = cms.double(1.0)
225 TrackingAction = cms.PSet(
226 DetailedTiming = cms.untracked.bool(
False),
227 CheckTrack = cms.untracked.bool(
False)
229 SteppingAction = cms.PSet(
231 EkinNames = cms.vstring(),
232 EkinThresholds = cms.vdouble(),
233 EkinParticles = cms.vstring()
235 TrackerSD = cms.PSet(
236 ZeroEnergyLoss = cms.bool(
False),
237 PrintHits = cms.bool(
False),
238 ElectronicSigmaInNanoSeconds = cms.double(12.06),
239 NeverAccumulate = cms.bool(
False),
240 EnergyThresholdForPersistencyInGeV = cms.double(0.2),
241 EnergyThresholdForHistoryInGeV = cms.double(0.05)
244 EnergyThresholdForPersistency = cms.double(1.0),
245 PrintHits = cms.bool(
False),
246 AllMuonsPersistent = cms.bool(
True)
249 common_heavy_suppression,
250 SuppressHeavy = cms.bool(
False),
251 EminTrack = cms.double(1.0),
252 TmaxHit = cms.double(1000.0),
253 HCNames = cms.vstring(
'EcalHitsEB',
'EcalHitsEE',
'EcalHitsES',
'HcalHits',
'ZDCHITS'),
254 EminHits = cms.vdouble(0.015,0.010,0.0,0.0,0.0),
255 EminHitsDepth = cms.vdouble(0.0,0.0,0.0,0.0,0.0),
256 TmaxHits = cms.vdouble(500.0,500.0,500.0,500.0,2000.0),
257 UseResponseTables = cms.vint32(0,0,0,0,0),
258 BeamPosition = cms.double(0.0),
259 CorrectTOFBeam = cms.bool(
False),
260 DetailedTiming = cms.untracked.bool(
False),
261 UseMap = cms.untracked.bool(
False),
262 Verbosity = cms.untracked.int32(0),
263 CheckHits = cms.untracked.int32(25)
265 CaloResponse = cms.PSet(
266 UseResponseTable = cms.bool(
True),
267 ResponseScale = cms.double(1.0),
268 ResponseFile = cms.FileInPath(
'SimG4CMS/Calo/data/responsTBpim50.dat')
271 common_UseLuminosity,
272 UseBirkLaw = cms.bool(
True),
273 BirkL3Parametrization = cms.bool(
True),
274 BirkSlope = cms.double(0.253694),
275 BirkCut = cms.double(0.1),
276 BirkC1 = cms.double(0.03333),
277 BirkC3 = cms.double(1.0),
278 BirkC2 = cms.double(0.0),
279 SlopeLightYield = cms.double(0.02),
280 StoreSecondary = cms.bool(
False),
281 TimeSliceUnit = cms.double(1),
282 IgnoreTrackID = cms.bool(
False),
283 XtalMat = cms.untracked.string(
'E_PbWO4'),
284 TestBeam = cms.untracked.bool(
False),
285 NullNumbering = cms.untracked.bool(
False),
286 StoreRadLength = cms.untracked.bool(
False),
287 ScaleRadLength = cms.untracked.double(1.0),
288 StoreLayerTimeSim = cms.untracked.bool(
False),
289 AgeingWithSlopeLY = cms.untracked.bool(
False)
292 common_UseLuminosity,
293 UseBirkLaw = cms.bool(
True),
294 BirkC3 = cms.double(1.75),
295 BirkC2 = cms.double(0.142),
296 BirkC1 = cms.double(0.0052),
297 UseShowerLibrary = cms.bool(
True),
298 UseParametrize = cms.bool(
False),
299 UsePMTHits = cms.bool(
False),
300 UseFibreBundleHits = cms.bool(
False),
301 TestNumberingScheme = cms.bool(
False),
302 doNeutralDensityFilter = cms.bool(
False),
303 EminHitHB = cms.double(0.0),
304 EminHitHE = cms.double(0.0),
305 EminHitHO = cms.double(0.0),
306 EminHitHF = cms.double(0.0),
307 BetaThreshold = cms.double(0.7),
308 TimeSliceUnit = cms.double(1),
309 IgnoreTrackID = cms.bool(
False),
310 HBDarkening = cms.bool(
False),
311 HEDarkening = cms.bool(
False),
312 HFDarkening = cms.bool(
False),
313 UseHF = cms.untracked.bool(
True),
314 ForTBH2 = cms.untracked.bool(
False),
315 UseLayerWt = cms.untracked.bool(
False),
316 WtFile = cms.untracked.string(
'None'),
317 TestNS = cms.untracked.bool(
False),
318 HFDarkeningParameterBlock = HFDarkeningParameterBlock
320 CaloTrkProcessing = cms.PSet(
321 TestBeam = cms.bool(
False),
322 EminTrack = cms.double(0.01),
323 PutHistory = cms.bool(
False)
328 ProbMax = cms.double(1.0),
329 CFibre = cms.double(0.5),
330 PEPerGeV = cms.double(0.31),
331 TrackEM = cms.bool(
False),
332 UseShowerLibrary = cms.bool(
True),
333 UseHFGflash = cms.bool(
False),
334 EminLibrary = cms.double(0.0),
335 OnlyLong = cms.bool(
True),
336 LambdaMean = cms.double(350.0),
337 ApplyFiducialCut = cms.bool(
True),
338 RefIndex = cms.double(1.459),
339 Aperture = cms.double(0.33),
340 ApertureTrapped = cms.double(0.22),
341 CosApertureTrapped= cms.double(0.5),
342 SinPsiMax = cms.untracked.double(0.5),
343 ParametrizeLast = cms.untracked.bool(
False)
345 HFShowerLibrary = cms.PSet(
346 FileName = cms.FileInPath(
'SimG4CMS/Calo/data/HFShowerLibrary_oldpmt_noatt_eta4_16en_v3.root'),
347 BackProbability = cms.double(0.2),
348 TreeEMID = cms.string(
'emParticles'),
349 TreeHadID = cms.string(
'hadParticles'),
350 Verbosity = cms.untracked.bool(
False),
351 ApplyFiducialCut= cms.bool(
True),
352 BranchPost = cms.untracked.string(
''),
353 BranchEvt = cms.untracked.string(
''),
354 BranchPre = cms.untracked.string(
'')
356 HFShowerPMT = cms.PSet(
359 PEPerGeVPMT = cms.double(1.0),
360 RefIndex = cms.double(1.52),
361 Aperture = cms.double(0.99),
362 ApertureTrapped = cms.double(0.22),
363 CosApertureTrapped= cms.double(0.5),
364 SinPsiMax = cms.untracked.double(0.5)
366 HFShowerStraightBundle = cms.PSet(
369 FactorBundle = cms.double(1.0),
370 RefIndex = cms.double(1.459),
371 Aperture = cms.double(0.33),
372 ApertureTrapped = cms.double(0.22),
373 CosApertureTrapped= cms.double(0.5),
374 SinPsiMax = cms.untracked.double(0.5)
376 HFShowerConicalBundle = cms.PSet(
379 FactorBundle = cms.double(1.0),
380 RefIndex = cms.double(1.459),
381 Aperture = cms.double(0.33),
382 ApertureTrapped = cms.double(0.22),
383 CosApertureTrapped= cms.double(0.5),
384 SinPsiMax = cms.untracked.double(0.5)
387 BField = cms.untracked.double(3.8),
388 WatcherOn = cms.untracked.bool(
True),
389 FillHisto = cms.untracked.bool(
True)
392 useShowerLibrary = cms.bool(
True),
393 minEnergyInGeVforUsingSLibrary = cms.double(1.0),
394 nonCompensationFactor = cms.double(0.817),
395 Verbosity = cms.untracked.int32(0)
397 CastorShowerLibrary = cms.PSet(
398 FileName = cms.FileInPath(
'SimG4CMS/Forward/data/CastorShowerLibrary_CMSSW500_Standard.root'),
399 BranchEvt = cms.untracked.string(
'hadShowerLibInfo.'),
400 BranchEM = cms.untracked.string(
'emParticles.'),
401 BranchHAD = cms.untracked.string(
'hadParticles.'),
402 Verbosity = cms.untracked.bool(
False)
405 Verbosity = cms.untracked.int32(0)
407 FastTimerSD = cms.PSet(
408 Verbosity = cms.untracked.int32(0),
409 TimeSliceUnit = cms.double(0.001),
410 IgnoreTrackID = cms.bool(
False),
411 EminHit = cms.double(0.0),
412 CheckID = cms.untracked.bool(
True),
415 Verbosity = cms.untracked.int32(0),
416 TimeSliceUnit = cms.double(0.001),
417 IgnoreTrackID = cms.bool(
False),
418 EminHit = cms.double(0.0),
419 CheckID = cms.untracked.bool(
True),
422 Verbosity = cms.untracked.int32(0),
423 TimeSliceUnit = cms.double(0.001),
424 IgnoreTrackID = cms.bool(
False),
425 EminHit = cms.double(0.0),
426 FiducialCut = cms.bool(
False),
427 DistanceFromEdge = cms.double(1.0),
428 StoreAllG4Hits = cms.bool(
False),
429 RejectMouseBite = cms.bool(
False),
430 RotatedWafer = cms.bool(
False),
431 WaferAngles = cms.untracked.vdouble(90.0,30.0),
432 WaferSize = cms.untracked.double(123.7),
433 MouseBite = cms.untracked.double(2.5),
434 CheckID = cms.untracked.bool(
True),
436 HGCScintSD = cms.PSet(
437 Verbosity = cms.untracked.int32(0),
438 EminHit = cms.double(0.0),
439 UseBirkLaw = cms.bool(
True),
440 BirkC3 = cms.double(1.75),
441 BirkC2 = cms.double(0.142),
442 BirkC1 = cms.double(0.0052),
443 FiducialCut = cms.bool(
False),
444 DistanceFromEdge = cms.double(1.0),
445 StoreAllG4Hits = cms.bool(
False),
448 Verbosity = cms.untracked.int32(0)
451 Verbosity = cms.int32(0),
452 UseShowerLibrary = cms.bool(
True),
453 UseShowerHits = cms.bool(
False),
454 FiberDirection = cms.double(45.0),
455 ZdcHitEnergyCut = cms.double(10.0)
457 ZdcShowerLibrary = cms.PSet(
458 Verbosity = cms.untracked.int32(0)
461 Verbosity = cms.untracked.int32(2)
464 Verbosity = cms.untracked.int32(0)
467 EnergyThresholdForPersistencyInGeV = cms.double(0.2),
468 EnergyThresholdForHistoryInGeV = cms.double(0.05)
471 EnergyThresholdForPersistencyInGeV = cms.double(0.010),
472 EnergyThresholdForHistoryInGeV = cms.double(0.005)
474 HcalTB02SD = cms.PSet(
475 UseBirkLaw = cms.untracked.bool(
False),
476 BirkC1 = cms.untracked.double(0.013),
477 BirkC3 = cms.untracked.double(1.75),
478 BirkC2 = cms.untracked.double(0.0568)
480 EcalTBH4BeamSD = cms.PSet(
481 UseBirkLaw = cms.bool(
False),
482 BirkC1 = cms.double(0.013),
483 BirkC3 = cms.double(1.75),
484 BirkC2 = cms.double(0.0568)
486 HGCalTestBeamSD = cms.PSet(
487 Material = cms.string(
'Scintillator'),
488 UseBirkLaw = cms.bool(
False),
489 BirkC1 = cms.double(0.013),
490 BirkC3 = cms.double(1.75),
491 BirkC2 = cms.double(0.0568),
493 HcalTB06BeamSD = cms.PSet(
494 UseBirkLaw = cms.bool(
False),
495 BirkC1 = cms.double(0.013),
496 BirkC3 = cms.double(1.75),
497 BirkC2 = cms.double(0.0568)
500 UseBirkLaw = cms.bool(
True),
501 BirkC3 = cms.double(1.75),
502 BirkC2 = cms.double(0.142),
503 BirkC1 = cms.double(0.0052),
504 EminHit = cms.double(0.0),
505 TimeSliceUnit = cms.double(1),
506 IgnoreTrackID = cms.bool(
False),
514 from Configuration.Eras.Modifier_run2_common_cff
import run2_common
515 run2_common.toModify( g4SimHits.HFShowerLibrary, FileName =
'SimG4CMS/Calo/data/HFShowerLibrary_npmt_noatt_eta4_16en_v4.root' )
516 from Configuration.Eras.Modifier_run2_HCAL_2017_cff
import run2_HCAL_2017
517 run2_HCAL_2017.toModify( g4SimHits, HCalSD =
dict( TestNumberingScheme =
True ) )
518 from Configuration.Eras.Modifier_phase2_timing_cff
import phase2_timing
519 phase2_timing.toModify( g4SimHits.ECalSD,
520 StoreLayerTimeSim = cms.untracked.bool(
True),
521 TimeSliceUnit = cms.double(0.001) )
HF Raddam Dose Class in /SimG4CMS/Calo.