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),
158 ModifyTransportation = cms.bool(
False),
159 ThresholdWarningEnergy = cms.untracked.double(100.0),
160 ThresholdImportantEnergy = cms.untracked.double(250.0),
161 ThresholdTrials = cms.untracked.int32(10)
163 Generator = cms.PSet(
165 HepMCProductLabel = cms.InputTag(
'generatorSmeared'),
166 ApplyPCuts = cms.bool(
True),
167 ApplyPtransCut = cms.bool(
False),
168 MinPCut = cms.double(0.04),
169 MaxPCut = cms.double(99999.0),
170 ApplyEtaCuts = cms.bool(
True),
171 MinEtaCut = cms.double(-5.5),
172 MaxEtaCut = cms.double(5.5),
173 RDecLenCut = cms.double(2.9),
174 LDecLenCut = cms.double(30.0),
175 ApplyPhiCuts = cms.bool(
False),
176 MinPhiCut = cms.double(-3.14159265359),
177 MaxPhiCut = cms.double(3.14159265359),
178 ApplyLumiMonitorCuts = cms.bool(
False),
179 Verbosity = cms.untracked.int32(0),
180 PDGselection = cms.PSet(
181 PDGfilterSel = cms.bool(
False),
182 PDGfilter = cms.vint32(21,1,2,3,4,5,6)
185 RunAction = cms.PSet(
186 StopFile = cms.string(
'')
188 EventAction = cms.PSet(
189 debug = cms.untracked.bool(
False),
190 StopFile = cms.string(
''),
191 PrintRandomSeed = cms.bool(
False),
192 CollapsePrimaryVertices = cms.bool(
False)
194 StackingAction = cms.PSet(
195 common_heavy_suppression,
197 KillDeltaRay = cms.bool(
False),
198 TrackNeutrino = cms.bool(
False),
199 KillHeavy = cms.bool(
False),
200 KillGamma = cms.bool(
True),
201 GammaThreshold = cms.double(0.0001),
202 SaveFirstLevelSecondary = cms.untracked.bool(
False),
203 SavePrimaryDecayProductsAndConversionsInTracker = cms.untracked.bool(
False),
204 SavePrimaryDecayProductsAndConversionsInCalo = cms.untracked.bool(
False),
205 SavePrimaryDecayProductsAndConversionsInMuon = cms.untracked.bool(
False),
206 SaveAllPrimaryDecayProductsAndConversions = cms.untracked.bool(
True),
207 RusRoGammaEnergyLimit = cms.double(5.0),
208 RusRoEcalGamma = cms.double(0.3),
209 RusRoHcalGamma = cms.double(0.3),
210 RusRoMuonIronGamma = cms.double(0.3),
211 RusRoPreShowerGamma = cms.double(0.3),
212 RusRoCastorGamma = cms.double(0.3),
213 RusRoWorldGamma = cms.double(0.3),
214 RusRoNeutronEnergyLimit = cms.double(10.0),
215 RusRoEcalNeutron = cms.double(0.1),
216 RusRoHcalNeutron = cms.double(0.1),
217 RusRoMuonIronNeutron = cms.double(0.1),
218 RusRoPreShowerNeutron = cms.double(0.1),
219 RusRoCastorNeutron = cms.double(0.1),
220 RusRoWorldNeutron = cms.double(0.1),
221 RusRoProtonEnergyLimit = cms.double(0.0),
222 RusRoEcalProton = cms.double(1.0),
223 RusRoHcalProton = cms.double(1.0),
224 RusRoMuonIronProton = cms.double(1.0),
225 RusRoPreShowerProton = cms.double(1.0),
226 RusRoCastorProton = cms.double(1.0),
227 RusRoWorldProton = cms.double(1.0)
229 TrackingAction = cms.PSet(
230 DetailedTiming = cms.untracked.bool(
False),
231 CheckTrack = cms.untracked.bool(
False)
233 SteppingAction = cms.PSet(
235 EkinNames = cms.vstring(),
236 EkinThresholds = cms.vdouble(),
237 EkinParticles = cms.vstring()
239 TrackerSD = cms.PSet(
240 ZeroEnergyLoss = cms.bool(
False),
241 PrintHits = cms.bool(
False),
242 ElectronicSigmaInNanoSeconds = cms.double(12.06),
243 NeverAccumulate = cms.bool(
False),
244 EnergyThresholdForPersistencyInGeV = cms.double(0.2),
245 EnergyThresholdForHistoryInGeV = cms.double(0.05)
248 EnergyThresholdForPersistency = cms.double(1.0),
249 PrintHits = cms.bool(
False),
250 AllMuonsPersistent = cms.bool(
True)
253 common_heavy_suppression,
254 SuppressHeavy = cms.bool(
False),
255 EminTrack = cms.double(1.0),
256 TmaxHit = cms.double(1000.0),
257 HCNames = cms.vstring(
'EcalHitsEB',
'EcalHitsEE',
'EcalHitsES',
'HcalHits',
'ZDCHITS'),
258 EminHits = cms.vdouble(0.015,0.010,0.0,0.0,0.0),
259 EminHitsDepth = cms.vdouble(0.0,0.0,0.0,0.0,0.0),
260 TmaxHits = cms.vdouble(500.0,500.0,500.0,500.0,2000.0),
261 UseResponseTables = cms.vint32(0,0,0,0,0),
262 BeamPosition = cms.double(0.0),
263 CorrectTOFBeam = cms.bool(
False),
264 DetailedTiming = cms.untracked.bool(
False),
265 UseMap = cms.untracked.bool(
False),
266 Verbosity = cms.untracked.int32(0),
267 CheckHits = cms.untracked.int32(25)
269 CaloResponse = cms.PSet(
270 UseResponseTable = cms.bool(
True),
271 ResponseScale = cms.double(1.0),
272 ResponseFile = cms.FileInPath(
'SimG4CMS/Calo/data/responsTBpim50.dat')
275 common_UseLuminosity,
276 UseBirkLaw = cms.bool(
True),
277 BirkL3Parametrization = cms.bool(
True),
278 BirkSlope = cms.double(0.253694),
279 BirkCut = cms.double(0.1),
280 BirkC1 = cms.double(0.03333),
281 BirkC3 = cms.double(1.0),
282 BirkC2 = cms.double(0.0),
283 SlopeLightYield = cms.double(0.02),
284 StoreSecondary = cms.bool(
False),
285 TimeSliceUnit = cms.double(1),
286 IgnoreTrackID = cms.bool(
False),
287 XtalMat = cms.untracked.string(
'E_PbWO4'),
288 TestBeam = cms.untracked.bool(
False),
289 NullNumbering = cms.untracked.bool(
False),
290 StoreRadLength = cms.untracked.bool(
False),
291 ScaleRadLength = cms.untracked.double(1.0),
292 StoreLayerTimeSim = cms.untracked.bool(
False),
293 AgeingWithSlopeLY = cms.untracked.bool(
False)
296 common_UseLuminosity,
297 UseBirkLaw = cms.bool(
True),
298 BirkC3 = cms.double(1.75),
299 BirkC2 = cms.double(0.142),
300 BirkC1 = cms.double(0.0052),
301 UseShowerLibrary = cms.bool(
True),
302 UseParametrize = cms.bool(
False),
303 UsePMTHits = cms.bool(
False),
304 UseFibreBundleHits = cms.bool(
False),
305 TestNumberingScheme = cms.bool(
False),
306 doNeutralDensityFilter = cms.bool(
False),
307 EminHitHB = cms.double(0.0),
308 EminHitHE = cms.double(0.0),
309 EminHitHO = cms.double(0.0),
310 EminHitHF = cms.double(0.0),
311 BetaThreshold = cms.double(0.7),
312 TimeSliceUnit = cms.double(1),
313 IgnoreTrackID = cms.bool(
False),
314 HBDarkening = cms.bool(
False),
315 HEDarkening = cms.bool(
False),
316 HFDarkening = cms.bool(
False),
317 UseHF = cms.untracked.bool(
True),
318 ForTBH2 = cms.untracked.bool(
False),
319 UseLayerWt = cms.untracked.bool(
False),
320 WtFile = cms.untracked.string(
'None'),
321 TestNS = cms.untracked.bool(
False),
322 HFDarkeningParameterBlock = HFDarkeningParameterBlock
324 CaloTrkProcessing = cms.PSet(
325 TestBeam = cms.bool(
False),
326 EminTrack = cms.double(0.01),
327 PutHistory = cms.bool(
False)
332 ProbMax = cms.double(1.0),
333 CFibre = cms.double(0.5),
334 PEPerGeV = cms.double(0.31),
335 TrackEM = cms.bool(
False),
336 UseShowerLibrary = cms.bool(
True),
337 UseHFGflash = cms.bool(
False),
338 EminLibrary = cms.double(0.0),
339 OnlyLong = cms.bool(
True),
340 LambdaMean = cms.double(350.0),
341 ApplyFiducialCut = cms.bool(
True),
342 RefIndex = cms.double(1.459),
343 Aperture = cms.double(0.33),
344 ApertureTrapped = cms.double(0.22),
345 CosApertureTrapped= cms.double(0.5),
346 SinPsiMax = cms.untracked.double(0.5),
347 ParametrizeLast = cms.untracked.bool(
False)
349 HFShowerLibrary = cms.PSet(
350 FileName = cms.FileInPath(
'SimG4CMS/Calo/data/HFShowerLibrary_oldpmt_noatt_eta4_16en_v3.root'),
351 BackProbability = cms.double(0.2),
352 TreeEMID = cms.string(
'emParticles'),
353 TreeHadID = cms.string(
'hadParticles'),
354 Verbosity = cms.untracked.bool(
False),
355 ApplyFiducialCut= cms.bool(
True),
356 BranchPost = cms.untracked.string(
''),
357 BranchEvt = cms.untracked.string(
''),
358 BranchPre = cms.untracked.string(
'')
360 HFShowerPMT = cms.PSet(
363 PEPerGeVPMT = cms.double(1.0),
364 RefIndex = cms.double(1.52),
365 Aperture = cms.double(0.99),
366 ApertureTrapped = cms.double(0.22),
367 CosApertureTrapped= cms.double(0.5),
368 SinPsiMax = cms.untracked.double(0.5)
370 HFShowerStraightBundle = cms.PSet(
373 FactorBundle = cms.double(1.0),
374 RefIndex = cms.double(1.459),
375 Aperture = cms.double(0.33),
376 ApertureTrapped = cms.double(0.22),
377 CosApertureTrapped= cms.double(0.5),
378 SinPsiMax = cms.untracked.double(0.5)
380 HFShowerConicalBundle = cms.PSet(
383 FactorBundle = cms.double(1.0),
384 RefIndex = cms.double(1.459),
385 Aperture = cms.double(0.33),
386 ApertureTrapped = cms.double(0.22),
387 CosApertureTrapped= cms.double(0.5),
388 SinPsiMax = cms.untracked.double(0.5)
391 BField = cms.untracked.double(3.8),
392 WatcherOn = cms.untracked.bool(
True),
393 FillHisto = cms.untracked.bool(
True)
396 useShowerLibrary = cms.bool(
True),
397 minEnergyInGeVforUsingSLibrary = cms.double(1.0),
398 nonCompensationFactor = cms.double(0.817),
399 Verbosity = cms.untracked.int32(0)
401 CastorShowerLibrary = cms.PSet(
402 FileName = cms.FileInPath(
'SimG4CMS/Forward/data/CastorShowerLibrary_CMSSW500_Standard.root'),
403 BranchEvt = cms.untracked.string(
'hadShowerLibInfo.'),
404 BranchEM = cms.untracked.string(
'emParticles.'),
405 BranchHAD = cms.untracked.string(
'hadParticles.'),
406 Verbosity = cms.untracked.bool(
False)
409 Verbosity = cms.untracked.int32(0)
411 FastTimerSD = cms.PSet(
412 Verbosity = cms.untracked.int32(0),
413 TimeSliceUnit = cms.double(0.001),
414 IgnoreTrackID = cms.bool(
False),
415 EminHit = cms.double(0.0),
416 CheckID = cms.untracked.bool(
True),
419 Verbosity = cms.untracked.int32(0),
420 TimeSliceUnit = cms.double(0.001),
421 IgnoreTrackID = cms.bool(
False),
422 EminHit = cms.double(0.0),
423 CheckID = cms.untracked.bool(
True),
426 Verbosity = cms.untracked.int32(0),
427 TimeSliceUnit = cms.double(0.001),
428 IgnoreTrackID = cms.bool(
False),
429 EminHit = cms.double(0.0),
430 FiducialCut = cms.bool(
False),
431 DistanceFromEdge = cms.double(1.0),
432 StoreAllG4Hits = cms.bool(
False),
433 RejectMouseBite = cms.bool(
False),
434 RotatedWafer = cms.bool(
False),
435 WaferAngles = cms.untracked.vdouble(90.0,30.0),
436 WaferSize = cms.untracked.double(123.7),
437 MouseBite = cms.untracked.double(2.5),
438 CheckID = cms.untracked.bool(
True),
440 HGCScintSD = cms.PSet(
441 Verbosity = cms.untracked.int32(0),
442 EminHit = cms.double(0.0),
443 UseBirkLaw = cms.bool(
True),
444 BirkC3 = cms.double(1.75),
445 BirkC2 = cms.double(0.142),
446 BirkC1 = cms.double(0.0052),
447 FiducialCut = cms.bool(
False),
448 DistanceFromEdge = cms.double(1.0),
449 StoreAllG4Hits = cms.bool(
False),
452 Verbosity = cms.untracked.int32(0),
453 TimeSliceUnit = cms.double(0.001),
454 IgnoreTrackID = cms.bool(
False),
455 EminHit = cms.double(0.0),
456 FiducialCut = cms.bool(
False),
457 DistanceFromEdge = cms.double(1.0),
458 StoreAllG4Hits = cms.bool(
False),
459 RejectMouseBite = cms.bool(
False),
460 RotatedWafer = cms.bool(
False),
461 WaferAngles = cms.untracked.vdouble(90.0,30.0),
462 CheckID = cms.untracked.bool(
True),
465 Verbosity = cms.untracked.int32(0)
468 Verbosity = cms.int32(0),
469 UseShowerLibrary = cms.bool(
True),
470 UseShowerHits = cms.bool(
False),
471 FiberDirection = cms.double(45.0),
472 ZdcHitEnergyCut = cms.double(10.0)
474 ZdcShowerLibrary = cms.PSet(
475 Verbosity = cms.untracked.int32(0)
478 Verbosity = cms.untracked.int32(2)
481 Verbosity = cms.untracked.int32(0)
484 EnergyThresholdForPersistencyInGeV = cms.double(0.2),
485 EnergyThresholdForHistoryInGeV = cms.double(0.05)
488 EnergyThresholdForPersistencyInGeV = cms.double(0.010),
489 EnergyThresholdForHistoryInGeV = cms.double(0.005)
491 HcalTB02SD = cms.PSet(
492 UseBirkLaw = cms.untracked.bool(
False),
493 BirkC1 = cms.untracked.double(0.013),
494 BirkC3 = cms.untracked.double(1.75),
495 BirkC2 = cms.untracked.double(0.0568)
497 EcalTBH4BeamSD = cms.PSet(
498 UseBirkLaw = cms.bool(
False),
499 BirkC1 = cms.double(0.013),
500 BirkC3 = cms.double(1.75),
501 BirkC2 = cms.double(0.0568)
503 HGCalTestBeamSD = cms.PSet(
504 Material = cms.string(
'Scintillator'),
505 UseBirkLaw = cms.bool(
False),
506 BirkC1 = cms.double(0.013),
507 BirkC3 = cms.double(1.75),
508 BirkC2 = cms.double(0.0568),
510 HcalTB06BeamSD = cms.PSet(
511 UseBirkLaw = cms.bool(
False),
512 BirkC1 = cms.double(0.013),
513 BirkC3 = cms.double(1.75),
514 BirkC2 = cms.double(0.0568)
517 UseBirkLaw = cms.bool(
True),
518 BirkC3 = cms.double(1.75),
519 BirkC2 = cms.double(0.142),
520 BirkC1 = cms.double(0.0052),
521 EminHit = cms.double(0.0),
522 TimeSliceUnit = cms.double(1),
523 IgnoreTrackID = cms.bool(
False),
531 from Configuration.Eras.Modifier_run2_common_cff
import run2_common
532 run2_common.toModify( g4SimHits.HFShowerLibrary, FileName =
'SimG4CMS/Calo/data/HFShowerLibrary_npmt_noatt_eta4_16en_v4.root' )
533 from Configuration.Eras.Modifier_run2_HCAL_2017_cff
import run2_HCAL_2017
534 run2_HCAL_2017.toModify( g4SimHits, HCalSD =
dict( TestNumberingScheme =
True ) )
535 from Configuration.Eras.Modifier_phase2_timing_cff
import phase2_timing
536 phase2_timing.toModify( g4SimHits.ECalSD,
537 StoreLayerTimeSim = cms.untracked.bool(
True),
538 TimeSliceUnit = cms.double(0.001) )
HF Raddam Dose Class in /SimG4CMS/Calo.