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 FixOfFinalStateRadiation = cms.bool(
False),
184 Verbosity = cms.untracked.int32(0),
185 PDGselection = cms.PSet(
186 PDGfilterSel = cms.bool(
False),
187 PDGfilter = cms.vint32(21,1,2,3,4,5,6)
190 RunAction = cms.PSet(
191 StopFile = cms.string(
'')
193 EventAction = cms.PSet(
194 debug = cms.untracked.bool(
False),
195 StopFile = cms.string(
''),
196 PrintRandomSeed = cms.bool(
False),
197 CollapsePrimaryVertices = cms.bool(
False)
199 StackingAction = cms.PSet(
200 common_heavy_suppression,
202 KillDeltaRay = cms.bool(
False),
203 TrackNeutrino = cms.bool(
False),
204 KillHeavy = cms.bool(
False),
205 KillGamma = cms.bool(
True),
206 GammaThreshold = cms.double(0.0001),
207 SaveFirstLevelSecondary = cms.untracked.bool(
False),
208 SavePrimaryDecayProductsAndConversionsInTracker = cms.untracked.bool(
False),
209 SavePrimaryDecayProductsAndConversionsInCalo = cms.untracked.bool(
False),
210 SavePrimaryDecayProductsAndConversionsInMuon = cms.untracked.bool(
False),
211 SaveAllPrimaryDecayProductsAndConversions = cms.untracked.bool(
True),
212 RusRoGammaEnergyLimit = cms.double(5.0),
213 RusRoEcalGamma = cms.double(0.3),
214 RusRoHcalGamma = cms.double(0.3),
215 RusRoMuonIronGamma = cms.double(0.3),
216 RusRoPreShowerGamma = cms.double(0.3),
217 RusRoCastorGamma = cms.double(0.3),
218 RusRoWorldGamma = cms.double(0.3),
219 RusRoNeutronEnergyLimit = cms.double(10.0),
220 RusRoEcalNeutron = cms.double(0.1),
221 RusRoHcalNeutron = cms.double(0.1),
222 RusRoMuonIronNeutron = cms.double(0.1),
223 RusRoPreShowerNeutron = cms.double(0.1),
224 RusRoCastorNeutron = cms.double(0.1),
225 RusRoWorldNeutron = cms.double(0.1),
226 RusRoProtonEnergyLimit = cms.double(0.0),
227 RusRoEcalProton = cms.double(1.0),
228 RusRoHcalProton = cms.double(1.0),
229 RusRoMuonIronProton = cms.double(1.0),
230 RusRoPreShowerProton = cms.double(1.0),
231 RusRoCastorProton = cms.double(1.0),
232 RusRoWorldProton = cms.double(1.0)
234 TrackingAction = cms.PSet(
235 DetailedTiming = cms.untracked.bool(
False),
236 CheckTrack = cms.untracked.bool(
False)
238 SteppingAction = cms.PSet(
240 EkinNames = cms.vstring(),
241 EkinThresholds = cms.vdouble(),
242 EkinParticles = cms.vstring()
244 TrackerSD = cms.PSet(
245 ZeroEnergyLoss = cms.bool(
False),
246 PrintHits = cms.bool(
False),
247 ElectronicSigmaInNanoSeconds = cms.double(12.06),
248 NeverAccumulate = cms.bool(
False),
249 EnergyThresholdForPersistencyInGeV = cms.double(0.2),
250 EnergyThresholdForHistoryInGeV = cms.double(0.05)
253 EnergyThresholdForPersistency = cms.double(1.0),
254 PrintHits = cms.bool(
False),
255 AllMuonsPersistent = cms.bool(
True)
258 common_heavy_suppression,
259 SuppressHeavy = cms.bool(
False),
260 EminTrack = cms.double(1.0),
261 TmaxHit = cms.double(1000.0),
262 HCNames = cms.vstring(
'EcalHitsEB',
'EcalHitsEE',
'EcalHitsES',
'HcalHits',
'ZDCHITS'),
263 EminHits = cms.vdouble(0.015,0.010,0.0,0.0,0.0),
264 EminHitsDepth = cms.vdouble(0.0,0.0,0.0,0.0,0.0),
265 TmaxHits = cms.vdouble(500.0,500.0,500.0,500.0,2000.0),
266 UseResponseTables = cms.vint32(0,0,0,0,0),
267 BeamPosition = cms.double(0.0),
268 CorrectTOFBeam = cms.bool(
False),
269 DetailedTiming = cms.untracked.bool(
False),
270 UseMap = cms.untracked.bool(
False),
271 Verbosity = cms.untracked.int32(0),
272 CheckHits = cms.untracked.int32(25)
274 CaloResponse = cms.PSet(
275 UseResponseTable = cms.bool(
True),
276 ResponseScale = cms.double(1.0),
277 ResponseFile = cms.FileInPath(
'SimG4CMS/Calo/data/responsTBpim50.dat')
280 common_UseLuminosity,
281 UseBirkLaw = cms.bool(
True),
282 BirkL3Parametrization = cms.bool(
True),
283 BirkSlope = cms.double(0.253694),
284 BirkCut = cms.double(0.1),
285 BirkC1 = cms.double(0.03333),
286 BirkC3 = cms.double(1.0),
287 BirkC2 = cms.double(0.0),
288 SlopeLightYield = cms.double(0.02),
289 StoreSecondary = cms.bool(
False),
290 TimeSliceUnit = cms.double(1),
291 IgnoreTrackID = cms.bool(
False),
292 XtalMat = cms.untracked.string(
'E_PbWO4'),
293 TestBeam = cms.untracked.bool(
False),
294 NullNumbering = cms.untracked.bool(
False),
295 StoreRadLength = cms.untracked.bool(
False),
296 ScaleRadLength = cms.untracked.double(1.0),
297 StoreLayerTimeSim = cms.untracked.bool(
False),
298 AgeingWithSlopeLY = cms.untracked.bool(
False)
301 common_UseLuminosity,
302 UseBirkLaw = cms.bool(
True),
303 BirkC3 = cms.double(1.75),
304 BirkC2 = cms.double(0.142),
305 BirkC1 = cms.double(0.0052),
306 UseShowerLibrary = cms.bool(
True),
307 UseParametrize = cms.bool(
False),
308 UsePMTHits = cms.bool(
False),
309 UseFibreBundleHits = cms.bool(
False),
310 TestNumberingScheme = cms.bool(
False),
311 doNeutralDensityFilter = cms.bool(
False),
312 EminHitHB = cms.double(0.0),
313 EminHitHE = cms.double(0.0),
314 EminHitHO = cms.double(0.0),
315 EminHitHF = cms.double(0.0),
316 BetaThreshold = cms.double(0.7),
317 TimeSliceUnit = cms.double(1),
318 IgnoreTrackID = cms.bool(
False),
319 HBDarkening = cms.bool(
False),
320 HEDarkening = cms.bool(
False),
321 HFDarkening = cms.bool(
False),
322 UseHF = cms.untracked.bool(
True),
323 ForTBH2 = cms.untracked.bool(
False),
324 UseLayerWt = cms.untracked.bool(
False),
325 WtFile = cms.untracked.string(
'None'),
326 TestNS = cms.untracked.bool(
False),
327 HFDarkeningParameterBlock = HFDarkeningParameterBlock
329 CaloTrkProcessing = cms.PSet(
330 TestBeam = cms.bool(
False),
331 EminTrack = cms.double(0.01),
332 PutHistory = cms.bool(
False)
337 ProbMax = cms.double(1.0),
338 CFibre = cms.double(0.5),
339 PEPerGeV = cms.double(0.31),
340 TrackEM = cms.bool(
False),
341 UseShowerLibrary = cms.bool(
True),
342 UseHFGflash = cms.bool(
False),
343 EminLibrary = cms.double(0.0),
344 OnlyLong = cms.bool(
True),
345 LambdaMean = cms.double(350.0),
346 ApplyFiducialCut = cms.bool(
True),
347 RefIndex = cms.double(1.459),
348 Aperture = cms.double(0.33),
349 ApertureTrapped = cms.double(0.22),
350 CosApertureTrapped= cms.double(0.5),
351 SinPsiMax = cms.untracked.double(0.5),
352 ParametrizeLast = cms.untracked.bool(
False)
354 HFShowerLibrary = cms.PSet(
355 FileName = cms.FileInPath(
'SimG4CMS/Calo/data/HFShowerLibrary_oldpmt_noatt_eta4_16en_v3.root'),
356 BackProbability = cms.double(0.2),
357 TreeEMID = cms.string(
'emParticles'),
358 TreeHadID = cms.string(
'hadParticles'),
359 Verbosity = cms.untracked.bool(
False),
360 ApplyFiducialCut= cms.bool(
True),
361 BranchPost = cms.untracked.string(
''),
362 BranchEvt = cms.untracked.string(
''),
363 BranchPre = cms.untracked.string(
'')
365 HFShowerPMT = cms.PSet(
368 PEPerGeVPMT = cms.double(1.0),
369 RefIndex = cms.double(1.52),
370 Aperture = cms.double(0.99),
371 ApertureTrapped = cms.double(0.22),
372 CosApertureTrapped= cms.double(0.5),
373 SinPsiMax = cms.untracked.double(0.5)
375 HFShowerStraightBundle = cms.PSet(
378 FactorBundle = cms.double(1.0),
379 RefIndex = cms.double(1.459),
380 Aperture = cms.double(0.33),
381 ApertureTrapped = cms.double(0.22),
382 CosApertureTrapped= cms.double(0.5),
383 SinPsiMax = cms.untracked.double(0.5)
385 HFShowerConicalBundle = cms.PSet(
388 FactorBundle = cms.double(1.0),
389 RefIndex = cms.double(1.459),
390 Aperture = cms.double(0.33),
391 ApertureTrapped = cms.double(0.22),
392 CosApertureTrapped= cms.double(0.5),
393 SinPsiMax = cms.untracked.double(0.5)
396 BField = cms.untracked.double(3.8),
397 WatcherOn = cms.untracked.bool(
True),
398 FillHisto = cms.untracked.bool(
True)
401 useShowerLibrary = cms.bool(
True),
402 minEnergyInGeVforUsingSLibrary = cms.double(1.0),
403 nonCompensationFactor = cms.double(0.817),
404 Verbosity = cms.untracked.int32(0)
406 CastorShowerLibrary = cms.PSet(
407 FileName = cms.FileInPath(
'SimG4CMS/Forward/data/CastorShowerLibrary_CMSSW500_Standard.root'),
408 BranchEvt = cms.untracked.string(
'hadShowerLibInfo.'),
409 BranchEM = cms.untracked.string(
'emParticles.'),
410 BranchHAD = cms.untracked.string(
'hadParticles.'),
411 Verbosity = cms.untracked.bool(
False)
414 Verbosity = cms.untracked.int32(0)
416 FastTimerSD = cms.PSet(
417 Verbosity = cms.untracked.int32(0),
418 TimeSliceUnit = cms.double(0.001),
419 IgnoreTrackID = cms.bool(
False),
420 EminHit = cms.double(0.0),
421 CheckID = cms.untracked.bool(
True),
424 Verbosity = cms.untracked.int32(0),
425 TimeSliceUnit = cms.double(0.01),
426 IgnoreTrackID = cms.bool(
False),
427 EminHit = cms.double(0.0),
428 CheckID = cms.untracked.bool(
True),
431 Verbosity = cms.untracked.int32(0),
432 TimeSliceUnit = cms.double(0.001),
433 IgnoreTrackID = cms.bool(
False),
434 EminHit = cms.double(0.0),
435 FiducialCut = cms.bool(
False),
436 DistanceFromEdge = cms.double(1.0),
437 StoreAllG4Hits = cms.bool(
False),
438 RejectMouseBite = cms.bool(
False),
439 RotatedWafer = cms.bool(
False),
440 CornerMinMask = cms.int32(0),
441 WaferAngles = cms.untracked.vdouble(90.0,30.0),
442 WaferSize = cms.untracked.double(123.7),
443 MouseBite = cms.untracked.double(2.5),
444 CheckID = cms.untracked.bool(
True),
446 HGCScintSD = cms.PSet(
447 Verbosity = cms.untracked.int32(0),
448 EminHit = cms.double(0.0),
449 UseBirkLaw = cms.bool(
True),
450 BirkC3 = cms.double(1.75),
451 BirkC2 = cms.double(0.142),
452 BirkC1 = cms.double(0.0052),
453 FiducialCut = cms.bool(
False),
454 DistanceFromEdge = cms.double(1.0),
455 StoreAllG4Hits = cms.bool(
False),
458 Verbosity = cms.untracked.int32(0),
459 TimeSliceUnit = cms.double(0.001),
460 IgnoreTrackID = cms.bool(
False),
461 EminHit = cms.double(0.0),
462 FiducialCut = cms.bool(
False),
463 DistanceFromEdge = cms.double(1.0),
464 StoreAllG4Hits = cms.bool(
False),
465 RejectMouseBite = cms.bool(
False),
466 RotatedWafer = cms.bool(
False),
467 CornerMinMask = cms.int32(0),
468 WaferAngles = cms.untracked.vdouble(90.0,30.0),
469 CheckID = cms.untracked.bool(
True),
472 Verbosity = cms.untracked.int32(0)
475 Verbosity = cms.int32(0),
476 UseShowerLibrary = cms.bool(
True),
477 UseShowerHits = cms.bool(
False),
478 FiberDirection = cms.double(45.0),
479 ZdcHitEnergyCut = cms.double(10.0)
481 ZdcShowerLibrary = cms.PSet(
482 Verbosity = cms.untracked.int32(0)
485 Verbosity = cms.untracked.int32(2)
488 Verbosity = cms.untracked.int32(0)
491 EnergyThresholdForPersistencyInGeV = cms.double(0.2),
492 EnergyThresholdForHistoryInGeV = cms.double(0.05)
495 EnergyThresholdForPersistencyInGeV = cms.double(0.010),
496 EnergyThresholdForHistoryInGeV = cms.double(0.005)
498 HcalTB02SD = cms.PSet(
499 UseBirkLaw = cms.untracked.bool(
False),
500 BirkC1 = cms.untracked.double(0.013),
501 BirkC3 = cms.untracked.double(1.75),
502 BirkC2 = cms.untracked.double(0.0568)
504 EcalTBH4BeamSD = cms.PSet(
505 UseBirkLaw = cms.bool(
False),
506 BirkC1 = cms.double(0.013),
507 BirkC3 = cms.double(1.75),
508 BirkC2 = cms.double(0.0568)
510 HGCalTestBeamSD = cms.PSet(
511 Material = cms.string(
'Scintillator'),
512 UseBirkLaw = cms.bool(
False),
513 BirkC1 = cms.double(0.013),
514 BirkC3 = cms.double(1.75),
515 BirkC2 = cms.double(0.0568),
517 HcalTB06BeamSD = cms.PSet(
518 UseBirkLaw = cms.bool(
False),
519 BirkC1 = cms.double(0.013),
520 BirkC3 = cms.double(1.75),
521 BirkC2 = cms.double(0.0568)
524 UseBirkLaw = cms.bool(
True),
525 BirkC3 = cms.double(1.75),
526 BirkC2 = cms.double(0.142),
527 BirkC1 = cms.double(0.0052),
528 EminHit = cms.double(0.0),
529 TimeSliceUnit = cms.double(1),
530 IgnoreTrackID = cms.bool(
False),
538 from Configuration.Eras.Modifier_run2_common_cff
import run2_common
539 run2_common.toModify( g4SimHits.HFShowerLibrary, FileName =
'SimG4CMS/Calo/data/HFShowerLibrary_npmt_noatt_eta4_16en_v4.root' )
540 run2_common.toModify( g4SimHits.HFShower, ProbMax = 0.5)
542 from Configuration.Eras.Modifier_run2_HCAL_2017_cff
import run2_HCAL_2017
543 run2_HCAL_2017.toModify( g4SimHits, HCalSD =
dict( TestNumberingScheme =
True ) )
544 from Configuration.Eras.Modifier_phase2_timing_cff
import phase2_timing
545 phase2_timing.toModify( g4SimHits.ECalSD,
546 StoreLayerTimeSim = cms.untracked.bool(
True),
547 TimeSliceUnit = cms.double(0.001) )
551 from Configuration.ProcessModifiers.run2_final_state_rad_cff
import run2_final_state_rad
552 run2_final_state_rad.toModify( g4SimHits, Generator =
dict( FixOfFinalStateRadiation =
True ) )
HF Raddam Dose Class in /SimG4CMS/Calo.