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