CMS 3D CMS Logo

g4SimHits_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 
7 
8 
10 
11 
12 from Configuration.Eras.Modifier_h2tb_cff import h2tb
13 
14 
15 
16 common_heavy_suppression = cms.PSet(
17  NeutronThreshold = cms.double(30.0),
18  ProtonThreshold = cms.double(30.0),
19  IonThreshold = cms.double(30.0)
20 )
21 
22 common_maximum_time = cms.PSet(
23  MaxTrackTime = cms.double(500.0), # ns
24  MaxTrackTimeForward = cms.double(2000.0), # ns
25  MaxTimeNames = cms.vstring(),
26  MaxTrackTimes = cms.vdouble(), # ns
27  MaxZCentralCMS = cms.double(50.0), # m
28  DeadRegions = cms.vstring('QuadRegion','InterimRegion'),
29  CriticalEnergyForVacuum = cms.double(2.0), # MeV
30  CriticalDensity = cms.double(1e-15) # g/cm3
31 )
32 
33 h2tb.toModify(common_maximum_time,
34  MaxTrackTime = cms.double(1000.0),
35  DeadRegions = cms.vstring()
36 )
37 
38 common_UsePMT = cms.PSet(
39  UseR7600UPMT = cms.bool(False)
40 )
41 
42 common_UseHF = cms.PSet(
43  Lambda1 = cms.double(280.0),
44  Lambda2 = cms.double(700.0),
45  Gain = cms.double(0.33),
46  CheckSurvive = cms.bool(False),
47  FibreR = cms.double(0.3)
48 )
49 
50 common_UseLuminosity = cms.PSet(
51  InstLuminosity = cms.double(0.),
52  DelivLuminosity = cms.double(5000.)
53 )
54 
55 common_MCtruth = cms.PSet(
56  DoFineCalo = cms.bool(False),
57  SaveCaloBoundaryInformation = cms.bool(False),
58  # currently unused; left in place for future studies
59  EminFineTrack = cms.double(10000.0),
60  FineCaloNames = cms.vstring('ECAL', 'HCal', 'HGCal', 'HFNoseVol', 'VCAL'),
61  FineCaloLevels = cms.vint32(4, 4, 8, 3, 3),
62  UseFineCalo = cms.vint32(2, 3),
63 )
64 
65 
66 from Configuration.ProcessModifiers.fineCalo_cff import fineCalo
67 fineCalo.toModify(common_MCtruth,
68  DoFineCalo = True,
69  UseFineCalo = [2],
70  EminFineTrack = 0.0,
71 )
72 
73 
74 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
75 phase2_hgcal.toModify(common_MCtruth,
76  SaveCaloBoundaryInformation = True
77 )
78 
79 g4SimHits = cms.EDProducer("OscarMTProducer",
80  g4GeometryDD4hepSource = cms.bool(False),
81  NonBeamEvent = cms.bool(False),
82  EventVerbose = cms.int32(0),
83  UseMagneticField = cms.bool(True),
84  UseCommandBaseScorer = cms.bool(False),
85  StoreRndmSeeds = cms.bool(False),
86  RestoreRndmSeeds = cms.bool(False),
87  PhysicsTablesDirectory = cms.untracked.string('PhysicsTables'),
88  StorePhysicsTables = cms.untracked.bool(False),
89  RestorePhysicsTables = cms.untracked.bool(False),
90  UseParametrisedEMPhysics = cms.untracked.bool(True),
91  ThresholdForGeometryExceptions = cms.double(0.1),
92  TraceExceptions = cms.bool(False),
93  DefaultVoxelDensity = cms.double(2.0),
94  VoxelRegions = cms.vstring(),
95  VoxelDensityPerRegion = cms.vdouble(),
96  CheckGeometry = cms.untracked.bool(False),
97  OnlySDs = cms.vstring('ZdcSensitiveDetector', 'TotemT2ScintSensitiveDetector', 'TotemSensitiveDetector', 'RomanPotSensitiveDetector', 'PLTSensitiveDetector', 'MuonSensitiveDetector', 'MtdSensitiveDetector', 'BCM1FSensitiveDetector', 'EcalSensitiveDetector', 'CTPPSSensitiveDetector', 'BSCSensitiveDetector', 'CTPPSDiamondSensitiveDetector', 'FP420SensitiveDetector', 'BHMSensitiveDetector', 'CastorSensitiveDetector', 'CaloTrkProcessing', 'HcalSensitiveDetector', 'TkAccumulatingSensitiveDetector'),
98  G4CheckOverlap = cms.untracked.PSet(
99  OutputBaseName = cms.string('2022'),
100  MaterialFlag = cms.bool(True),
101  GeomFlag = cms.bool(True),
102  OverlapFlag = cms.bool(False),
103  RegionFlag = cms.bool(True), # if true - selection by G4Region name
104  gdmlFlag = cms.bool(False), # if true - dump gdml file
105  Verbose = cms.bool(True),
106  Tolerance = cms.double(0.0),
107  Resolution = cms.int32(10000),
108  ErrorThreshold = cms.int32(1),
109  Level = cms.int32(1),
110  Depth = cms.int32(3), # -1 means check whatever depth
111  PVname = cms.string(''),
112  LVname = cms.string(''),
113  NodeNames = cms.vstring('World')
114  ),
115  G4Commands = cms.vstring(),
116  G4CommandsEndRun = cms.vstring(),
117  SteppingVerbosity = cms.untracked.int32(0),
118  StepVerboseThreshold = cms.untracked.double(0.1), # in GeV
119  VerboseEvents = cms.untracked.vint32(),
120  VertexNumber = cms.untracked.vint32(),
121  VerboseTracks = cms.untracked.vint32(),
122  FileNameField = cms.untracked.string(''),
123  FileNameGDML = cms.untracked.string(''),
124  FileNameRegions = cms.untracked.string(''),
125  Watchers = cms.VPSet(),
126  HepMCProductLabel = cms.InputTag("generatorSmeared"),
127  theLHCTlinkTag = cms.InputTag("LHCTransport"),
128  LHCTransport = cms.bool(False),
129  CustomUIsession = cms.untracked.PSet(
130  Type = cms.untracked.string("MessageLogger"), # alternatives: MessageLoggerThreadPrefix, FilePerThread
131  ThreadPrefix = cms.untracked.string("W"), # for MessageLoggerThreadPrefix
132  ThreadFile = cms.untracked.string("sim_output_thread"), # for FilePerThread
133  ),
134  MagneticField = cms.PSet(
135  UseLocalMagFieldManager = cms.bool(False),
136  Verbosity = cms.bool(False),
137  ConfGlobalMFM = cms.PSet(
138  Volume = cms.string('OCMS'),
139  OCMS = cms.PSet(
140  Stepper = cms.string('CMSTDormandPrince45'),
141  Type = cms.string('CMSIMField'),
142  StepperParam = cms.PSet(
143  VacRegions = cms.vstring(),
144 # VacRegions = cms.vstring('DefaultRegionForTheWorld','BeamPipeVacuum','BeamPipeOutside'),
145  EnergyThTracker = cms.double(0.2),
146  RmaxTracker = cms.double(8000),
147  ZmaxTracker = cms.double(11000),
148  MaximumEpsilonStep = cms.untracked.double(0.01),
149  DeltaOneStep = cms.double(0.001),
150  DeltaOneStepTracker = cms.double(1e-4),
151  MaximumLoopCounts = cms.untracked.double(1000.0),
152  DeltaChord = cms.double(0.002),
153  DeltaChordTracker = cms.double(0.001),
154  MinStep = cms.double(0.1),
155  DeltaIntersectionAndOneStep = cms.untracked.double(-1.0),
156  DeltaIntersection = cms.double(0.0001),
157  DeltaIntersectionTracker = cms.double(1e-6),
158  MaxStep = cms.double(150.),
159  MinimumEpsilonStep = cms.untracked.double(1e-05),
160  EnergyThSimple = cms.double(0.015),
161  DeltaChordSimple = cms.double(0.1),
162  DeltaOneStepSimple = cms.double(0.1),
163  DeltaIntersectionSimple = cms.double(0.01),
164  MaxStepSimple = cms.double(50.),
165  )
166  )
167  ),
168  delta = cms.double(1.0)
169  ),
170  Physics = cms.PSet(
171  common_maximum_time,
172  # NOTE : if you want EM Physics only,
173  # please select "SimG4Core/Physics/DummyPhysics" for type
174  # and turn ON DummyEMPhysics
175  #
176  type = cms.string('SimG4Core/Physics/FTFP_BERT_EMM'),
177  DummyEMPhysics = cms.bool(False),
178  # 1 will print cuts as they get set from DD
179  # 2 will do as 1 + will dump Geant4 table of cuts
180  Verbosity = cms.untracked.int32(0),
181  # EM physics options
182  CutsPerRegion = cms.bool(True),
183  CutsOnProton = cms.bool(True),
184  DefaultCutValue = cms.double(1.0),
185  G4BremsstrahlungThreshold = cms.double(0.5),
186  G4MuonBremsstrahlungThreshold = cms.double(10000.),
187  G4TrackingCut = cms.double(0.025),
188  G4MscRangeFactor = cms.double(0.04),
189  G4MscGeomFactor = cms.double(2.5),
190  G4MscSafetyFactor = cms.double(0.6),
191  G4MscLambdaLimit = cms.double(1.0), # in mm
192  G4MscStepLimit = cms.string("UseSafety"),
193  G4GammaGeneralProcess = cms.bool(True),
194  G4ElectronGeneralProcess = cms.bool(False),
195  G4TransportWithMSC = cms.int32(0), # 1 - fEnabled, 2 - fMultipleSteps
196  PhotoeffectBelowKShell = cms.bool(True),
197  G4HepEmActive = cms.bool(False),
198  G4MuonPairProductionByMuon = cms.bool(False),
199  ReadMuonData = cms.bool(False),
200  Region = cms.string(''),
201  TrackingCut = cms.bool(False),
202  SRType = cms.bool(True),
203  FlagMuNucl = cms.bool(False),
204  FlagFluo = cms.bool(False),
205  EMPhysics = cms.untracked.bool(True),
206  # Hadronic physics options
207  HadPhysics = cms.untracked.bool(True),
208  FlagBERT = cms.untracked.bool(False),
209  EminFTFP = cms.double(3.), # in GeV
210  EmaxBERT = cms.double(6.), # in GeV
211  EminQGSP = cms.double(12.), # in GeV
212  EmaxFTFP = cms.double(25.), # in GeV
213  EmaxBERTpi = cms.double(12.), # in GeV
214  G4NeutronGeneralProcess = cms.bool(False),
215  G4BCHadronicProcess = cms.bool(False),
216  G4LightHyperNucleiTracking = cms.bool(False),
217  ThermalNeutrons = cms.untracked.bool(False),
218  # Exotica
219  MonopoleCharge = cms.untracked.int32(1),
220  MonopoleDeltaRay = cms.untracked.bool(True),
221  MonopoleMultiScatter = cms.untracked.bool(False),
222  MonopoleTransport = cms.untracked.bool(True),
223  MonopoleMass = cms.untracked.double(0),
224  ExoticaTransport = cms.untracked.bool(False),
225  ExoticaPhysicsSS = cms.untracked.bool(False),
226  RhadronPhysics = cms.bool(False),
227  DarkMPFactor = cms.double(1.0),
228  # GFlash methods
229  LowEnergyGflashEcal = cms.bool(False),
230  LowEnergyGflashEcalEmax = cms.double(0.02), # in GeV
231  GflashEcal = cms.bool(False),
232  GflashHcal = cms.bool(False),
233  GflashEcalHad = cms.bool(False),
234  GflashHcalHad = cms.bool(False),
235  bField = cms.double(3.8),
236  energyScaleEB = cms.double(1.032),
237  energyScaleEE = cms.double(1.024),
238  # Russian roulette
239  RusRoElectronEnergyLimit = cms.double(0.0),
240  RusRoEcalElectron = cms.double(1.0),
241  RusRoHcalElectron = cms.double(1.0),
242  RusRoMuonIronElectron = cms.double(1.0),
243  RusRoPreShowerElectron = cms.double(1.0),
244  RusRoCastorElectron = cms.double(1.0),
245  RusRoWorldElectron = cms.double(1.0),
246  # Tracking and step limiters
247  ElectronStepLimit = cms.bool(False),
248  ElectronRangeTest = cms.bool(False),
249  PositronStepLimit = cms.bool(False),
250  ProtonRegionLimit = cms.bool(False),
251  PionRegionLimit = cms.bool(False),
252  LimitsPerRegion = cms.vstring('EcalRegion','HcalRegion'),
253  EnergyLimitsE = cms.vdouble(0.,0.0),
254  EnergyLimitsH = cms.vdouble(0.,0.0),
255  EnergyFactorsE = cms.vdouble(1.,0.0),
256  EnergyRMSE = cms.vdouble(0.0,0.0),
257  MinStepLimit = cms.double(1.0),
258  ModifyTransportation = cms.bool(False),
259  ThresholdWarningEnergy = cms.untracked.double(100.0), #in MeV
260  ThresholdImportantEnergy = cms.untracked.double(250.0), #in MeV
261  ThresholdTrials = cms.untracked.int32(10)
262  ),
263  Generator = cms.PSet(
264  common_maximum_time,
265  HectorEtaCut,
266  HepMCProductLabel = cms.InputTag('generatorSmeared'),
267  ApplyPCuts = cms.bool(True),
268  ApplyPtransCut = cms.bool(False),
269  MinPCut = cms.double(0.04),
270  MaxPCut = cms.double(99999.0),
271  ApplyEtaCuts = cms.bool(True),
272  MinEtaCut = cms.double(-5.5),
273  MaxEtaCut = cms.double(5.5),
274  RDecLenCut = cms.double(2.9),
275  LDecLenCut = cms.double(30.0),
276  ApplyPhiCuts = cms.bool(False),
277  MinPhiCut = cms.double(-3.14159265359),
278  MaxPhiCut = cms.double(3.14159265359),
279  ApplyLumiMonitorCuts = cms.bool(False),
280  Verbosity = cms.untracked.int32(0),
281  PDGselection = cms.PSet(
282  PDGfilterSel = cms.bool(False),
283  PDGfilter = cms.vint32(21,1,2,3,4,5,6)
284  )
285  ),
286  RunAction = cms.PSet(
287  StopFile = cms.string('')
288  ),
289  EventAction = cms.PSet(
290  debug = cms.untracked.bool(False),
291  StopFile = cms.string(''),
292  PrintRandomSeed = cms.bool(False),
293  CollapsePrimaryVertices = cms.bool(False)
294  ),
295  StackingAction = cms.PSet(
296  common_heavy_suppression,
297  common_maximum_time,
298  KillDeltaRay = cms.bool(False),
299  TrackNeutrino = cms.bool(False),
300  KillHeavy = cms.bool(False),
301  KillGamma = cms.bool(True),
302  GammaThreshold = cms.double(0.0001),
303  SaveFirstLevelSecondary = cms.untracked.bool(False),
304  SavePrimaryDecayProductsAndConversionsInTracker = cms.untracked.bool(False),
305  SavePrimaryDecayProductsAndConversionsInCalo = cms.untracked.bool(False),
306  SavePrimaryDecayProductsAndConversionsInMuon = cms.untracked.bool(False),
307  SaveAllPrimaryDecayProductsAndConversions = cms.untracked.bool(True),
308  RusRoGammaEnergyLimit = cms.double(5.0),
309  RusRoEcalGamma = cms.double(0.3),
310  RusRoHcalGamma = cms.double(0.3),
311  RusRoMuonIronGamma = cms.double(0.3),
312  RusRoPreShowerGamma = cms.double(0.3),
313  RusRoCastorGamma = cms.double(0.3),
314  RusRoWorldGamma = cms.double(0.3),
315  RusRoNeutronEnergyLimit = cms.double(10.0),
316  RusRoEcalNeutron = cms.double(0.1),
317  RusRoHcalNeutron = cms.double(0.1),
318  RusRoMuonIronNeutron = cms.double(0.1),
319  RusRoPreShowerNeutron = cms.double(0.1),
320  RusRoCastorNeutron = cms.double(0.1),
321  RusRoWorldNeutron = cms.double(0.1),
322  RusRoProtonEnergyLimit = cms.double(0.0),
323  RusRoEcalProton = cms.double(1.0),
324  RusRoHcalProton = cms.double(1.0),
325  RusRoMuonIronProton = cms.double(1.0),
326  RusRoPreShowerProton = cms.double(1.0),
327  RusRoCastorProton = cms.double(1.0),
328  RusRoWorldProton = cms.double(1.0)
329  ),
330  TrackingAction = cms.PSet(
331  common_MCtruth,
332  DetailedTiming = cms.untracked.bool(False),
333  CheckTrack = cms.untracked.bool(False),
334  ),
335  SteppingAction = cms.PSet(
336  common_maximum_time,
337  MaxNumberOfSteps = cms.int32(20000),
338  EkinNames = cms.vstring(),
339  EkinThresholds = cms.vdouble(),
340  EkinParticles = cms.vstring()
341  ),
342  TrackerSD = cms.PSet(
343  ZeroEnergyLoss = cms.bool(False),
344  PrintHits = cms.bool(False),
345  ElectronicSigmaInNanoSeconds = cms.double(12.06),
346  NeverAccumulate = cms.bool(False),
347  EnergyThresholdForPersistencyInGeV = cms.double(0.2),
348  EnergyThresholdForHistoryInGeV = cms.double(0.05)
349  ),
350  MuonSD = cms.PSet(
351  EnergyThresholdForPersistency = cms.double(1.0),
352  PrintHits = cms.bool(False),
353  AllMuonsPersistent = cms.bool(True),
354  UseDemoHitRPC = cms.bool(True),
355  UseDemoHitGEM = cms.bool(True),
356  HaveDemoChambers = cms.bool(True)
357  ),
358  CaloSD = cms.PSet(
359  common_heavy_suppression,
360  common_MCtruth,
361  SuppressHeavy = cms.bool(False),
362  EminTrack = cms.double(1.0),
363  TmaxHit = cms.double(1000.0),
364  HCNames = cms.vstring('EcalHitsEB','EcalHitsEE','EcalHitsES','HcalHits','ZDCHITS'),
365  EminHits = cms.vdouble(0.015,0.010,0.0,0.0,0.0),
366  EminHitsDepth = cms.vdouble(0.0,0.0,0.0,0.0,0.0),
367  TmaxHits = cms.vdouble(500.0,500.0,500.0,500.0,2000.0),
368  UseResponseTables = cms.vint32(0,0,0,0,0),
369  BeamPosition = cms.double(0.0),
370  CorrectTOFBeam = cms.bool(False),
371  DetailedTiming = cms.untracked.bool(False),
372  UseMap = cms.untracked.bool(False),
373  Verbosity = cms.untracked.int32(0),
374  CheckHits = cms.untracked.int32(25)
375  ),
376  CaloResponse = cms.PSet(
377  UseResponseTable = cms.bool(True),
378  ResponseScale = cms.double(1.0),
379  ResponseFile = cms.FileInPath('SimG4CMS/Calo/data/responsTBpim50.dat')
380  ),
381  ECalSD = cms.PSet(
382  common_UseLuminosity,
383  UseBirkLaw = cms.bool(True),
384  BirkL3Parametrization = cms.bool(True),
385  BirkSlope = cms.double(0.253694),
386  BirkCut = cms.double(0.1),
387  BirkC1 = cms.double(0.03333),
388  BirkC3 = cms.double(1.0),
389  BirkC2 = cms.double(0.0),
390  SlopeLightYield = cms.double(0.02),
391  StoreSecondary = cms.bool(False),
392  TimeSliceUnit = cms.double(1),
393  IgnoreTrackID = cms.bool(False),
394  XtalMat = cms.untracked.string('E_PbWO4'),
395  TestBeam = cms.untracked.bool(False),
396  NullNumbering = cms.untracked.bool(False),
397  StoreRadLength = cms.untracked.bool(False),
398  ScaleRadLength = cms.untracked.double(1.0),
399  StoreLayerTimeSim = cms.untracked.bool(False),
400  AgeingWithSlopeLY = cms.untracked.bool(False),
401  Detectors = cms.untracked.int32(3),
402  DumpGeometry = cms.untracked.int32(0)
403  ),
404  HCalSD = cms.PSet(
405  common_UseLuminosity,
406  UseBirkLaw = cms.bool(True),
407  BirkC3 = cms.double(1.75),
408  BirkC2 = cms.double(0.142),
409  BirkC1 = cms.double(0.0060),
410  UseShowerLibrary = cms.bool(True),
411  UseParametrize = cms.bool(False),
412  UsePMTHits = cms.bool(False),
413  UseFibreBundleHits = cms.bool(False),
414  TestNumberingScheme = cms.bool(False),
415  doNeutralDensityFilter = cms.bool(False),
416  EminHitHB = cms.double(0.0),
417  EminHitHE = cms.double(0.0),
418  EminHitHO = cms.double(0.0),
419  EminHitHF = cms.double(0.0),
420  BetaThreshold = cms.double(0.7),
421  TimeSliceUnit = cms.double(1),
422  IgnoreTrackID = cms.bool(False),
423  HBDarkening = cms.bool(False),
424  HEDarkening = cms.bool(False),
425  HFDarkening = cms.bool(False),
426  UseHF = cms.untracked.bool(True),
427  ForTBH2 = cms.untracked.bool(False),
428  ForTBHCAL = cms.untracked.bool(False),
429  UseLayerWt = cms.untracked.bool(False),
430  WtFile = cms.untracked.string('None'),
431  TestNS = cms.untracked.bool(False),
432  DumpGeometry = cms.untracked.bool(False),
433  HFDarkeningParameterBlock = HFDarkeningParameterBlock
434  ),
435  CaloTrkProcessing = cms.PSet(
436  common_MCtruth,
437  TestBeam = cms.bool(False),
438  EminTrack = cms.double(0.01),
439  PutHistory = cms.bool(False),
440  ),
441  HFShower = cms.PSet(
442  common_UsePMT,
443  common_UseHF,
444  PEPerGeV = cms.double(0.31),
445  TrackEM = cms.bool(False),
446  UseShowerLibrary = cms.bool(True),
447  UseHFGflash = cms.bool(False),
448  EminLibrary = cms.double(0.0),
449  LambdaMean = cms.double(350.0),
450  ApplyFiducialCut = cms.bool(True),
451  RefIndex = cms.double(1.459),
452  Aperture = cms.double(0.33),
453  ApertureTrapped = cms.double(0.22),
454  CosApertureTrapped= cms.double(0.5),
455  SinPsiMax = cms.untracked.double(0.5),
456  ParametrizeLast = cms.untracked.bool(False),
457  HFShowerBlock = cms.PSet(refToPSet_ = cms.string("HFShowerBlock"))
458  ),
459  HFShowerLibrary = cms.PSet(
460  HFLibraryFileBlock = cms.PSet(refToPSet_ = cms.string("HFLibraryFileBlock"))
461  ),
462  HFShowerPMT = cms.PSet(
463  common_UsePMT,
464  common_UseHF,
465  PEPerGeVPMT = cms.double(1.0),
466  RefIndex = cms.double(1.52),
467  Aperture = cms.double(0.99),
468  ApertureTrapped = cms.double(0.22),
469  CosApertureTrapped= cms.double(0.5),
470  SinPsiMax = cms.untracked.double(0.5)
471  ),
472  HFShowerStraightBundle = cms.PSet(
473  common_UsePMT,
474  common_UseHF,
475  FactorBundle = cms.double(1.0),
476  RefIndex = cms.double(1.459),
477  Aperture = cms.double(0.33),
478  ApertureTrapped = cms.double(0.22),
479  CosApertureTrapped= cms.double(0.5),
480  SinPsiMax = cms.untracked.double(0.5)
481  ),
482  HFShowerConicalBundle = cms.PSet(
483  common_UsePMT,
484  common_UseHF,
485  FactorBundle = cms.double(1.0),
486  RefIndex = cms.double(1.459),
487  Aperture = cms.double(0.33),
488  ApertureTrapped = cms.double(0.22),
489  CosApertureTrapped= cms.double(0.5),
490  SinPsiMax = cms.untracked.double(0.5)
491  ),
492  HFGflash = cms.PSet(
493  BField = cms.untracked.double(3.8),
494  WatcherOn = cms.untracked.bool(True),
495  FillHisto = cms.untracked.bool(True)
496  ),
497  CastorSD = cms.PSet(
498  useShowerLibrary = cms.bool(True),
499  minEnergyInGeVforUsingSLibrary = cms.double(1.0),
500  nonCompensationFactor = cms.double(0.817),
501  Verbosity = cms.untracked.int32(0)
502  ),
503  CastorShowerLibrary = cms.PSet(
504  FileName = cms.FileInPath('SimG4CMS/Forward/data/CastorShowerLibrary_CMSSW500_Standard.root'),
505  BranchEvt = cms.untracked.string('hadShowerLibInfo.'),
506  BranchEM = cms.untracked.string('emParticles.'),
507  BranchHAD = cms.untracked.string('hadParticles.'),
508  Verbosity = cms.untracked.bool(False)
509  ),
510  BHMSD = cms.PSet(
511  Verbosity = cms.untracked.int32(0)
512  ),
513  MtdSD = cms.PSet(
514  Verbosity = cms.untracked.int32(0),
515  TimeSliceUnit = cms.double(0.01), #stepping = 10 ps (for timing)
516  IgnoreTrackID = cms.bool(False),
517  EminHit = cms.double(0.0),
518  CheckID = cms.untracked.bool(True),
519  ),
520  HGCSD = cms.PSet(
521  Verbosity = cms.untracked.int32(0),
522  TimeSliceUnit = cms.double(0.001), #stepping = 1 ps (for timing)
523  IgnoreTrackID = cms.bool(False),
524  EminHit = cms.double(0.0),
525  FiducialCut = cms.bool(False),
526  DistanceFromEdge = cms.double(1.0),
527  StoreAllG4Hits = cms.bool(False),
528  RejectMouseBite = cms.bool(False),
529  RotatedWafer = cms.bool(False),
530  CornerMinMask = cms.int32(0),
531  WaferAngles = cms.untracked.vdouble(90.0,30.0),
532  WaferSize = cms.untracked.double(123.7),
533  MouseBite = cms.untracked.double(2.5),
534  CheckID = cms.untracked.bool(False),
535  UseDetector = cms.untracked.int32(3),
536  Detectors = cms.untracked.int32(2),
537  MissingWaferFile = cms.untracked.string("")
538  ),
539  HGCScintSD = cms.PSet(
540  Verbosity = cms.untracked.int32(0),
541  EminHit = cms.double(0.0),
542  UseBirkLaw = cms.bool(True),
543  BirkC3 = cms.double(1.75),
544  BirkC2 = cms.double(0.142),
545  BirkC1 = cms.double(0.0052),
546  FiducialCut = cms.bool(False),
547  DistanceFromEdge = cms.double(1.0),
548  StoreAllG4Hits = cms.bool(False),
549  CheckID = cms.untracked.bool(False),
550  TileFileName = cms.untracked.string("")
551  ),
552  HFNoseSD = cms.PSet(
553  Verbosity = cms.untracked.int32(0),
554  TimeSliceUnit = cms.double(0.001), #stepping = 1 ps (for timing)
555  IgnoreTrackID = cms.bool(False),
556  EminHit = cms.double(0.0),
557  FiducialCut = cms.bool(False),
558  DistanceFromEdge = cms.double(1.0),
559  StoreAllG4Hits = cms.bool(False),
560  RejectMouseBite = cms.bool(False),
561  RotatedWafer = cms.bool(False),
562  CornerMinMask = cms.int32(0),
563  WaferAngles = cms.untracked.vdouble(90.0,30.0),
564  CheckID = cms.untracked.bool(True),
565  ),
566  TotemRPSD = cms.PSet(
567  Verbosity = cms.int32(0)
568  ),
569  TotemSD = cms.PSet(
570  Verbosity = cms.untracked.int32(0)
571  ),
572  TotemT2ScintSD = cms.PSet(
573  UseBirkLaw = cms.bool(True),
574  BirkC3 = cms.double(1.75),
575  BirkC2 = cms.double(0.142),
576  BirkC1 = cms.double(0.006),
577  TimeSliceUnit = cms.double(1),
578  IgnoreTrackID = cms.bool(False),
579  ),
580  PPSDiamondSD = cms.PSet(
581  Verbosity = cms.int32(0)
582  ),
583  PPSPixelSD = cms.PSet(
584  Verbosity = cms.untracked.int32(0)
585  ),
586  ZdcSD = cms.PSet(
587  Verbosity = cms.int32(0),
588  UseShowerLibrary = cms.bool(True),
589  UseShowerHits = cms.bool(False),
590  FiberDirection = cms.double(45.0),
591  ZdcHitEnergyCut = cms.double(10.0)
592  ),
593  ZdcShowerLibrary = cms.PSet(
594  Verbosity = cms.untracked.int32(0)
595  ),
596  FP420SD = cms.PSet(
597  Verbosity = cms.untracked.int32(2)
598  ),
599  BscSD = cms.PSet(
600  Verbosity = cms.untracked.int32(0)
601  ),
602  PltSD = cms.PSet(
603  EnergyThresholdForPersistencyInGeV = cms.double(0.2),
604  EnergyThresholdForHistoryInGeV = cms.double(0.05)
605  ),
606  Bcm1fSD = cms.PSet(
607  EnergyThresholdForPersistencyInGeV = cms.double(0.010),
608  EnergyThresholdForHistoryInGeV = cms.double(0.005)
609  ),
610  HcalTB02SD = cms.PSet(
611  UseBirkLaw = cms.untracked.bool(False),
612  BirkC1 = cms.untracked.double(0.013),
613  BirkC3 = cms.untracked.double(1.75),
614  BirkC2 = cms.untracked.double(0.0568)
615  ),
616  EcalTBH4BeamSD = cms.PSet(
617  UseBirkLaw = cms.bool(False),
618  BirkC1 = cms.double(0.013),
619  BirkC3 = cms.double(1.75),
620  BirkC2 = cms.double(0.0568)
621  ),
622  HGCalTestBeamSD = cms.PSet(
623  Material = cms.string('Scintillator'),
624  UseBirkLaw = cms.bool(False),
625  BirkC1 = cms.double(0.013),
626  BirkC3 = cms.double(1.75),
627  BirkC2 = cms.double(0.0568),
628  ),
629  HcalTB06BeamSD = cms.PSet(
630  UseBirkLaw = cms.bool(False),
631  BirkC1 = cms.double(0.013),
632  BirkC3 = cms.double(1.75),
633  BirkC2 = cms.double(0.0568)
634  ),
635  AHCalSD = cms.PSet(
636  UseBirkLaw = cms.bool(True),
637  BirkC3 = cms.double(1.75),
638  BirkC2 = cms.double(0.142),
639  BirkC1 = cms.double(0.0052),
640  EminHit = cms.double(0.0),
641  TimeSliceUnit = cms.double(1),
642  IgnoreTrackID = cms.bool(False),
643  ),
644 )
645 
648 from Configuration.Eras.Modifier_run2_common_cff import run2_common
649 
650 
653 from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017
654 run2_HCAL_2017.toModify( g4SimHits, HCalSD = dict( TestNumberingScheme = True ) )
655 
656 
659 from Configuration.Eras.Modifier_run3_common_cff import run3_common
660 run3_common.toModify( g4SimHits, CastorSD = dict( useShowerLibrary = False ) )
661 run3_common.toModify( g4SimHits, LHCTransport = True )
662 
663 
666 from Configuration.Eras.Modifier_pp_on_PbPb_run3_cff import pp_on_PbPb_run3
667 pp_on_PbPb_run3.toModify( g4SimHits, LHCTransport = False )
668 
669 
672 from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing
673 phase2_timing.toModify( g4SimHits, ECalSD = dict(
674  StoreLayerTimeSim = True,
675  TimeSliceUnit = 0.001 )
676 )
677 
678 
681 from Configuration.Eras.Modifier_h2tb_cff import h2tb
682 h2tb.toModify(g4SimHits,
683  OnlySDs = ['EcalSensitiveDetector', 'CaloTrkProcessing', 'HcalTB06BeamDetector', 'HcalSensitiveDetector'],
684  CaloSD = dict(
685  EminHits = [0.0, 0.0, 0.0, 0.0, 0.0],
686  TmaxHits = [1000.0, 1000.0, 1000.0, 1000.0, 2000.0] ),
687  CaloTrkProcessing = dict(
688  TestBeam = True ),
689  HCalSD = dict(
690  ForTBHCAL = True )
691 )
692 
693 
696 from Configuration.ProcessModifiers.dd4hep_cff import dd4hep
697 dd4hep.toModify( g4SimHits, g4GeometryDD4hepSource = True )
698 
699 
702 
703 from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
704 phase2_common.toModify(g4SimHits,
705  OnlySDs = ['ZdcSensitiveDetector', 'TotemT2ScintSensitiveDetector', 'TotemSensitiveDetector', 'RomanPotSensitiveDetector', 'PLTSensitiveDetector', 'MuonSensitiveDetector', 'MtdSensitiveDetector', 'BCM1FSensitiveDetector', 'EcalSensitiveDetector', 'CTPPSSensitiveDetector', 'HGCalSensitiveDetector', 'BSCSensitiveDetector', 'CTPPSDiamondSensitiveDetector', 'FP420SensitiveDetector', 'BHMSensitiveDetector', 'HFNoseSensitiveDetector', 'HGCScintillatorSensitiveDetector', 'CastorSensitiveDetector', 'CaloTrkProcessing', 'HcalSensitiveDetector', 'TkAccumulatingSensitiveDetector'],
706  LHCTransport = False,
707  MuonSD = dict(
708  HaveDemoChambers = False )
709 )
710 
711 from Configuration.Eras.Modifier_hgcaltb_cff import hgcaltb
712 hgcaltb.toModify(g4SimHits,
713  OnlySDs = ['AHcalSensitiveDetector', 'HGCSensitiveDetector', 'HGCalTB1601SensitiveDetector', 'HcalTB06BeamDetector']
714 )
HF Raddam Dose Class in /SimG4CMS/Calo.