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 VacRegions = cms.vstring(),
92 MaximumEpsilonStep = cms.untracked.double(0.01),
93 DeltaOneStep = cms.double(0.001),
94 MaximumLoopCounts = cms.untracked.double(1000.0),
95 DeltaChord = cms.double(0.001),
96 MinStep = cms.double(0.1),
97 DeltaIntersectionAndOneStep = cms.untracked.double(-1.0),
98 DeltaIntersection = cms.double(0.0001),
99 MaxStep = cms.double(100000.),
100 MinimumEpsilonStep = cms.untracked.double(1e-05),
101 EnergyThSimple = cms.double(0.002),
102 DeltaChordSimple = cms.double(0.1),
103 DeltaOneStepSimple = cms.double(0.1),
104 DeltaIntersectionSimple = cms.double(0.01),
105 MaxStepSimple = cms.double(100000.),
109 delta = cms.double(1.0)
117 type = cms.string(
'SimG4Core/Physics/FTFP_BERT_EMM'),
118 DummyEMPhysics = cms.bool(
False),
119 CutsPerRegion = cms.bool(
True),
120 CutsOnProton = cms.untracked.bool(
True),
121 DefaultCutValue = cms.double(1.0),
122 G4BremsstrahlungThreshold = cms.double(0.5),
123 Verbosity = cms.untracked.int32(0),
126 MonopoleCharge = cms.untracked.int32(1),
127 MonopoleDeltaRay = cms.untracked.bool(
True),
128 MonopoleMultiScatter = cms.untracked.bool(
False),
129 MonopoleTransport = cms.untracked.bool(
True),
130 MonopoleMass = cms.untracked.double(0),
131 ExoticaTransport = cms.untracked.bool(
False),
132 ExoticaPhysicsSS = cms.untracked.bool(
False),
133 RhadronPhysics = cms.bool(
False),
134 DarkMPFactor = cms.double(1.0),
135 Region = cms.string(
''),
136 TrackingCut = cms.bool(
False),
137 SRType = cms.bool(
True),
138 FlagMuNucl = cms.bool(
False),
139 FlagFluo = cms.bool(
False),
140 EMPhysics = cms.untracked.bool(
True),
141 HadPhysics = cms.untracked.bool(
True),
142 FlagBERT = cms.untracked.bool(
False),
143 GflashEcal = cms.bool(
False),
144 GflashHcal = cms.bool(
False),
145 GflashEcalHad = cms.bool(
False),
146 GflashHcalHad = cms.bool(
False),
147 bField = cms.double(3.8),
148 energyScaleEB = cms.double(1.032),
149 energyScaleEE = cms.double(1.024),
150 ThermalNeutrons = cms.untracked.bool(
False),
151 RusRoElectronEnergyLimit = cms.double(0.0),
152 RusRoEcalElectron = cms.double(1.0),
153 RusRoHcalElectron = cms.double(1.0),
154 RusRoMuonIronElectron = cms.double(1.0),
155 RusRoPreShowerElectron = cms.double(1.0),
156 RusRoCastorElectron = cms.double(1.0),
157 RusRoWorldElectron = cms.double(1.0),
158 ElectronStepLimit = cms.bool(
False),
159 ElectronRangeTest = cms.bool(
False),
160 PositronStepLimit = cms.bool(
False),
161 MinStepLimit = cms.double(1.0),
162 ModifyTransportation = cms.bool(
False),
163 ThresholdWarningEnergy = cms.untracked.double(100.0),
164 ThresholdImportantEnergy = cms.untracked.double(250.0),
165 ThresholdTrials = cms.untracked.int32(10)
167 Generator = cms.PSet(
169 HepMCProductLabel = cms.InputTag(
'generatorSmeared'),
170 ApplyPCuts = cms.bool(
True),
171 ApplyPtransCut = cms.bool(
False),
172 MinPCut = cms.double(0.04),
173 MaxPCut = cms.double(99999.0),
174 ApplyEtaCuts = cms.bool(
True),
175 MinEtaCut = cms.double(-5.5),
176 MaxEtaCut = cms.double(5.5),
177 RDecLenCut = cms.double(2.9),
178 LDecLenCut = cms.double(30.0),
179 ApplyPhiCuts = cms.bool(
False),
180 MinPhiCut = cms.double(-3.14159265359),
181 MaxPhiCut = cms.double(3.14159265359),
182 ApplyLumiMonitorCuts = cms.bool(
False),
183 Verbosity = cms.untracked.int32(0),
184 PDGselection = cms.PSet(
185 PDGfilterSel = cms.bool(
False),
186 PDGfilter = cms.vint32(21,1,2,3,4,5,6)
189 RunAction = cms.PSet(
190 StopFile = cms.string(
'')
192 EventAction = cms.PSet(
193 debug = cms.untracked.bool(
False),
194 StopFile = cms.string(
''),
195 PrintRandomSeed = cms.bool(
False),
196 CollapsePrimaryVertices = cms.bool(
False)
198 StackingAction = cms.PSet(
199 common_heavy_suppression,
201 KillDeltaRay = cms.bool(
False),
202 TrackNeutrino = cms.bool(
False),
203 KillHeavy = cms.bool(
False),
204 KillGamma = cms.bool(
True),
205 GammaThreshold = cms.double(0.0001),
206 SaveFirstLevelSecondary = cms.untracked.bool(
False),
207 SavePrimaryDecayProductsAndConversionsInTracker = cms.untracked.bool(
False),
208 SavePrimaryDecayProductsAndConversionsInCalo = cms.untracked.bool(
False),
209 SavePrimaryDecayProductsAndConversionsInMuon = cms.untracked.bool(
False),
210 SaveAllPrimaryDecayProductsAndConversions = cms.untracked.bool(
True),
211 RusRoGammaEnergyLimit = cms.double(5.0),
212 RusRoEcalGamma = cms.double(0.3),
213 RusRoHcalGamma = cms.double(0.3),
214 RusRoMuonIronGamma = cms.double(0.3),
215 RusRoPreShowerGamma = cms.double(0.3),
216 RusRoCastorGamma = cms.double(0.3),
217 RusRoWorldGamma = cms.double(0.3),
218 RusRoNeutronEnergyLimit = cms.double(10.0),
219 RusRoEcalNeutron = cms.double(0.1),
220 RusRoHcalNeutron = cms.double(0.1),
221 RusRoMuonIronNeutron = cms.double(0.1),
222 RusRoPreShowerNeutron = cms.double(0.1),
223 RusRoCastorNeutron = cms.double(0.1),
224 RusRoWorldNeutron = cms.double(0.1),
225 RusRoProtonEnergyLimit = cms.double(0.0),
226 RusRoEcalProton = cms.double(1.0),
227 RusRoHcalProton = cms.double(1.0),
228 RusRoMuonIronProton = cms.double(1.0),
229 RusRoPreShowerProton = cms.double(1.0),
230 RusRoCastorProton = cms.double(1.0),
231 RusRoWorldProton = cms.double(1.0)
233 TrackingAction = cms.PSet(
234 DetailedTiming = cms.untracked.bool(
False),
235 CheckTrack = cms.untracked.bool(
False)
237 SteppingAction = cms.PSet(
239 EkinNames = cms.vstring(),
240 EkinThresholds = cms.vdouble(),
241 EkinParticles = cms.vstring()
243 TrackerSD = cms.PSet(
244 ZeroEnergyLoss = cms.bool(
False),
245 PrintHits = cms.bool(
False),
246 ElectronicSigmaInNanoSeconds = cms.double(12.06),
247 NeverAccumulate = cms.bool(
False),
248 EnergyThresholdForPersistencyInGeV = cms.double(0.2),
249 EnergyThresholdForHistoryInGeV = cms.double(0.05)
252 EnergyThresholdForPersistency = cms.double(1.0),
253 PrintHits = cms.bool(
False),
254 AllMuonsPersistent = cms.bool(
True)
257 common_heavy_suppression,
258 SuppressHeavy = cms.bool(
False),
259 EminTrack = cms.double(1.0),
260 TmaxHit = cms.double(1000.0),
261 HCNames = cms.vstring(
'EcalHitsEB',
'EcalHitsEE',
'EcalHitsES',
'HcalHits',
'ZDCHITS'),
262 EminHits = cms.vdouble(0.015,0.010,0.0,0.0,0.0),
263 EminHitsDepth = cms.vdouble(0.0,0.0,0.0,0.0,0.0),
264 TmaxHits = cms.vdouble(500.0,500.0,500.0,500.0,2000.0),
265 UseResponseTables = cms.vint32(0,0,0,0,0),
266 BeamPosition = cms.double(0.0),
267 CorrectTOFBeam = cms.bool(
False),
268 DetailedTiming = cms.untracked.bool(
False),
269 UseMap = cms.untracked.bool(
False),
270 Verbosity = cms.untracked.int32(0),
271 CheckHits = cms.untracked.int32(25)
273 CaloResponse = cms.PSet(
274 UseResponseTable = cms.bool(
True),
275 ResponseScale = cms.double(1.0),
276 ResponseFile = cms.FileInPath(
'SimG4CMS/Calo/data/responsTBpim50.dat')
279 common_UseLuminosity,
280 UseBirkLaw = cms.bool(
True),
281 BirkL3Parametrization = cms.bool(
True),
282 BirkSlope = cms.double(0.253694),
283 BirkCut = cms.double(0.1),
284 BirkC1 = cms.double(0.03333),
285 BirkC3 = cms.double(1.0),
286 BirkC2 = cms.double(0.0),
287 SlopeLightYield = cms.double(0.02),
288 StoreSecondary = cms.bool(
False),
289 TimeSliceUnit = cms.double(1),
290 IgnoreTrackID = cms.bool(
False),
291 XtalMat = cms.untracked.string(
'E_PbWO4'),
292 TestBeam = cms.untracked.bool(
False),
293 NullNumbering = cms.untracked.bool(
False),
294 StoreRadLength = cms.untracked.bool(
False),
295 ScaleRadLength = cms.untracked.double(1.0),
296 StoreLayerTimeSim = cms.untracked.bool(
False),
297 AgeingWithSlopeLY = cms.untracked.bool(
False)
300 common_UseLuminosity,
301 UseBirkLaw = cms.bool(
True),
302 BirkC3 = cms.double(1.75),
303 BirkC2 = cms.double(0.142),
304 BirkC1 = cms.double(0.0052),
305 UseShowerLibrary = cms.bool(
True),
306 UseParametrize = cms.bool(
False),
307 UsePMTHits = cms.bool(
False),
308 UseFibreBundleHits = cms.bool(
False),
309 TestNumberingScheme = cms.bool(
False),
310 doNeutralDensityFilter = cms.bool(
False),
311 EminHitHB = cms.double(0.0),
312 EminHitHE = cms.double(0.0),
313 EminHitHO = cms.double(0.0),
314 EminHitHF = cms.double(0.0),
315 BetaThreshold = cms.double(0.7),
316 TimeSliceUnit = cms.double(1),
317 IgnoreTrackID = cms.bool(
False),
318 HBDarkening = cms.bool(
False),
319 HEDarkening = cms.bool(
False),
320 HFDarkening = cms.bool(
False),
321 UseHF = cms.untracked.bool(
True),
322 ForTBH2 = cms.untracked.bool(
False),
323 UseLayerWt = cms.untracked.bool(
False),
324 WtFile = cms.untracked.string(
'None'),
325 TestNS = cms.untracked.bool(
False),
326 HFDarkeningParameterBlock = HFDarkeningParameterBlock
328 CaloTrkProcessing = cms.PSet(
329 TestBeam = cms.bool(
False),
330 EminTrack = cms.double(0.01),
331 PutHistory = cms.bool(
False)
336 ProbMax = cms.double(1.0),
337 CFibre = cms.double(0.5),
338 PEPerGeV = cms.double(0.31),
339 TrackEM = cms.bool(
False),
340 UseShowerLibrary = cms.bool(
True),
341 UseHFGflash = cms.bool(
False),
342 EminLibrary = cms.double(0.0),
343 OnlyLong = cms.bool(
True),
344 LambdaMean = cms.double(350.0),
345 ApplyFiducialCut = cms.bool(
True),
346 RefIndex = cms.double(1.459),
347 Aperture = cms.double(0.33),
348 ApertureTrapped = cms.double(0.22),
349 CosApertureTrapped= cms.double(0.5),
350 SinPsiMax = cms.untracked.double(0.5),
351 ParametrizeLast = cms.untracked.bool(
False)
353 HFShowerLibrary = cms.PSet(
354 FileName = cms.FileInPath(
'SimG4CMS/Calo/data/HFShowerLibrary_oldpmt_noatt_eta4_16en_v3.root'),
355 BackProbability = cms.double(0.2),
356 TreeEMID = cms.string(
'emParticles'),
357 TreeHadID = cms.string(
'hadParticles'),
358 Verbosity = cms.untracked.bool(
False),
359 ApplyFiducialCut= cms.bool(
True),
360 BranchPost = cms.untracked.string(
''),
361 BranchEvt = cms.untracked.string(
''),
362 BranchPre = cms.untracked.string(
'')
364 HFShowerPMT = cms.PSet(
367 PEPerGeVPMT = cms.double(1.0),
368 RefIndex = cms.double(1.52),
369 Aperture = cms.double(0.99),
370 ApertureTrapped = cms.double(0.22),
371 CosApertureTrapped= cms.double(0.5),
372 SinPsiMax = cms.untracked.double(0.5)
374 HFShowerStraightBundle = cms.PSet(
377 FactorBundle = cms.double(1.0),
378 RefIndex = cms.double(1.459),
379 Aperture = cms.double(0.33),
380 ApertureTrapped = cms.double(0.22),
381 CosApertureTrapped= cms.double(0.5),
382 SinPsiMax = cms.untracked.double(0.5)
384 HFShowerConicalBundle = cms.PSet(
387 FactorBundle = cms.double(1.0),
388 RefIndex = cms.double(1.459),
389 Aperture = cms.double(0.33),
390 ApertureTrapped = cms.double(0.22),
391 CosApertureTrapped= cms.double(0.5),
392 SinPsiMax = cms.untracked.double(0.5)
395 BField = cms.untracked.double(3.8),
396 WatcherOn = cms.untracked.bool(
True),
397 FillHisto = cms.untracked.bool(
True)
400 useShowerLibrary = cms.bool(
True),
401 minEnergyInGeVforUsingSLibrary = cms.double(1.0),
402 nonCompensationFactor = cms.double(0.817),
403 Verbosity = cms.untracked.int32(0)
405 CastorShowerLibrary = cms.PSet(
406 FileName = cms.FileInPath(
'SimG4CMS/Forward/data/CastorShowerLibrary_CMSSW500_Standard.root'),
407 BranchEvt = cms.untracked.string(
'hadShowerLibInfo.'),
408 BranchEM = cms.untracked.string(
'emParticles.'),
409 BranchHAD = cms.untracked.string(
'hadParticles.'),
410 Verbosity = cms.untracked.bool(
False)
413 Verbosity = cms.untracked.int32(0)
415 FastTimerSD = cms.PSet(
416 Verbosity = cms.untracked.int32(0),
417 TimeSliceUnit = cms.double(0.001),
418 IgnoreTrackID = cms.bool(
False),
419 EminHit = cms.double(0.0),
420 CheckID = cms.untracked.bool(
True),
423 Verbosity = cms.untracked.int32(0),
424 TimeSliceUnit = cms.double(0.01),
425 IgnoreTrackID = cms.bool(
False),
426 EminHit = cms.double(0.0),
427 CheckID = cms.untracked.bool(
True),
430 Verbosity = cms.untracked.int32(0),
431 TimeSliceUnit = cms.double(0.001),
432 IgnoreTrackID = cms.bool(
False),
433 EminHit = cms.double(0.0),
434 FiducialCut = cms.bool(
False),
435 DistanceFromEdge = cms.double(1.0),
436 StoreAllG4Hits = cms.bool(
False),
437 RejectMouseBite = cms.bool(
False),
438 RotatedWafer = cms.bool(
False),
439 CornerMinMask = cms.int32(0),
440 WaferAngles = cms.untracked.vdouble(90.0,30.0),
441 WaferSize = cms.untracked.double(123.7),
442 MouseBite = cms.untracked.double(2.5),
443 CheckID = cms.untracked.bool(
True),
445 HGCScintSD = cms.PSet(
446 Verbosity = cms.untracked.int32(0),
447 EminHit = cms.double(0.0),
448 UseBirkLaw = cms.bool(
True),
449 BirkC3 = cms.double(1.75),
450 BirkC2 = cms.double(0.142),
451 BirkC1 = cms.double(0.0052),
452 FiducialCut = cms.bool(
False),
453 DistanceFromEdge = cms.double(1.0),
454 StoreAllG4Hits = cms.bool(
False),
457 Verbosity = cms.untracked.int32(0),
458 TimeSliceUnit = cms.double(0.001),
459 IgnoreTrackID = cms.bool(
False),
460 EminHit = cms.double(0.0),
461 FiducialCut = cms.bool(
False),
462 DistanceFromEdge = cms.double(1.0),
463 StoreAllG4Hits = cms.bool(
False),
464 RejectMouseBite = cms.bool(
False),
465 RotatedWafer = cms.bool(
False),
466 CornerMinMask = cms.int32(0),
467 WaferAngles = cms.untracked.vdouble(90.0,30.0),
468 CheckID = cms.untracked.bool(
True),
471 Verbosity = cms.untracked.int32(0)
474 Verbosity = cms.int32(0),
475 UseShowerLibrary = cms.bool(
True),
476 UseShowerHits = cms.bool(
False),
477 FiberDirection = cms.double(45.0),
478 ZdcHitEnergyCut = cms.double(10.0)
480 ZdcShowerLibrary = cms.PSet(
481 Verbosity = cms.untracked.int32(0)
484 Verbosity = cms.untracked.int32(2)
487 Verbosity = cms.untracked.int32(0)
490 EnergyThresholdForPersistencyInGeV = cms.double(0.2),
491 EnergyThresholdForHistoryInGeV = cms.double(0.05)
494 EnergyThresholdForPersistencyInGeV = cms.double(0.010),
495 EnergyThresholdForHistoryInGeV = cms.double(0.005)
497 HcalTB02SD = cms.PSet(
498 UseBirkLaw = cms.untracked.bool(
False),
499 BirkC1 = cms.untracked.double(0.013),
500 BirkC3 = cms.untracked.double(1.75),
501 BirkC2 = cms.untracked.double(0.0568)
503 EcalTBH4BeamSD = cms.PSet(
504 UseBirkLaw = cms.bool(
False),
505 BirkC1 = cms.double(0.013),
506 BirkC3 = cms.double(1.75),
507 BirkC2 = cms.double(0.0568)
509 HGCalTestBeamSD = cms.PSet(
510 Material = cms.string(
'Scintillator'),
511 UseBirkLaw = cms.bool(
False),
512 BirkC1 = cms.double(0.013),
513 BirkC3 = cms.double(1.75),
514 BirkC2 = cms.double(0.0568),
516 HcalTB06BeamSD = cms.PSet(
517 UseBirkLaw = cms.bool(
False),
518 BirkC1 = cms.double(0.013),
519 BirkC3 = cms.double(1.75),
520 BirkC2 = cms.double(0.0568)
523 UseBirkLaw = cms.bool(
True),
524 BirkC3 = cms.double(1.75),
525 BirkC2 = cms.double(0.142),
526 BirkC1 = cms.double(0.0052),
527 EminHit = cms.double(0.0),
528 TimeSliceUnit = cms.double(1),
529 IgnoreTrackID = cms.bool(
False),
537 from Configuration.Eras.Modifier_run2_common_cff
import run2_common
538 run2_common.toModify( g4SimHits.HFShowerLibrary, FileName =
'SimG4CMS/Calo/data/HFShowerLibrary_npmt_noatt_eta4_16en_v4.root' )
539 run2_common.toModify( g4SimHits.HFShower, ProbMax = 0.5)
541 from Configuration.Eras.Modifier_run2_HCAL_2017_cff
import run2_HCAL_2017
542 run2_HCAL_2017.toModify( g4SimHits, HCalSD =
dict( TestNumberingScheme =
True ) )
543 from Configuration.Eras.Modifier_phase2_timing_cff
import phase2_timing
544 phase2_timing.toModify( g4SimHits.ECalSD,
545 StoreLayerTimeSim = cms.untracked.bool(
True),
546 TimeSliceUnit = cms.double(0.001) )
HF Raddam Dose Class in /SimG4CMS/Calo.