CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
g4SimHits_cfi.py
Go to the documentation of this file.
2 
4 
5 common_heavy_suppression = cms.PSet(
6  NeutronThreshold = cms.double(30.0),
7  ProtonThreshold = cms.double(30.0),
8  IonThreshold = cms.double(30.0)
9 )
10 
11 common_maximum_time = cms.PSet(
12  MaxTrackTime = cms.double(500.0),
13  MaxTimeNames = cms.vstring('ZDCRegion'),
14  MaxTrackTimes = cms.vdouble(2000.0),
15  #DeadRegions = cms.vstring('QuadRegion','CastorRegion','InterimRegion'),
16  DeadRegions = cms.vstring('QuadRegion','InterimRegion'),
17  CriticalEnergyForVacuum = cms.double(2.0),
18  CriticalDensity = cms.double(1e-15)
19 )
20 
21 common_UsePMT = cms.PSet(
22  UseR7600UPMT = cms.bool(False)
23 )
24 
25 common_UseHF = cms.PSet(
26  Lambda1 = cms.double(280.0),
27  Lambda2 = cms.double(700.0),
28  Gain = cms.double(0.33),
29  CheckSurvive = cms.bool(False),
30  FibreR = cms.untracked.double(0.3)
31 )
32 
33 common_UseLuminosity = cms.PSet(
34  InstLuminosity = cms.double(0.),
35  DelivLuminosity = cms.double(5000.)
36 )
37 
38 g4SimHits = cms.EDProducer("OscarProducer",
39  NonBeamEvent = cms.bool(False),
40  G4EventManagerVerbosity = cms.untracked.int32(0),
41  G4StackManagerVerbosity = cms.untracked.int32(0),
42  G4TrackingManagerVerbosity = cms.untracked.int32(0),
43  UseMagneticField = cms.bool(True),
44  StoreRndmSeeds = cms.bool(False),
45  RestoreRndmSeeds = cms.bool(False),
46  PhysicsTablesDirectory = cms.string('PhysicsTables'),
47  StorePhysicsTables = cms.bool(False),
48  RestorePhysicsTables = cms.bool(False),
49  CheckOverlap = cms.untracked.bool(False),
50  G4Commands = cms.vstring(''),
51  FileNameField = cms.untracked.string(''),
52  FileNameGDML = cms.untracked.string(''),
53  Watchers = cms.VPSet(),
54  HepMCProductLabel = cms.InputTag("generator"),
55  theLHCTlinkTag = cms.InputTag("LHCTransport"),
56  CustomUIsession = cms.untracked.PSet(
57  Type = cms.untracked.string("MessageLogger"), # MessageLoggerThreadPrefix, FilePerThread; the non-default ones are meant only for MT debugging
58  ThreadPrefix = cms.untracked.string("W"), # For MessageLoggerThreadPrefix
59  ThreadFile = cms.untracked.string("sim_output_thread"), # For FilePerThread
60  ),
61  MagneticField = cms.PSet(
62  UseLocalMagFieldManager = cms.bool(False),
63  Verbosity = cms.untracked.bool(False),
64  ConfGlobalMFM = cms.PSet(
65  Volume = cms.string('OCMS'),
66  OCMS = cms.PSet(
67  Stepper = cms.string('G4ClassicalRK4'),
68  Type = cms.string('CMSIMField'),
69  StepperParam = cms.PSet(
70  MaximumEpsilonStep = cms.untracked.double(0.01), ## in mm
71  DeltaOneStep = cms.double(0.001), ## in mm
72  MaximumLoopCounts = cms.untracked.double(1000.0),
73  DeltaChord = cms.double(0.001), ## in mm
74  MinStep = cms.double(0.1), ## in mm
75  DeltaIntersectionAndOneStep = cms.untracked.double(-1.0),
76  DeltaIntersection = cms.double(0.0001), ## in mm
77  MinimumEpsilonStep = cms.untracked.double(1e-05) ## in mm
78  )
79  )
80  ),
81  delta = cms.double(1.0)
82  ),
83  Physics = cms.PSet(
84  common_maximum_time,
85  # NOTE : if you want EM Physics only,
86  # please select "SimG4Core/Physics/DummyPhysics" for type
87  # and turn ON DummyEMPhysics
88  #
89  type = cms.string('SimG4Core/Physics/QGSP_FTFP_BERT_EML'),
90  DummyEMPhysics = cms.bool(False),
91  CutsPerRegion = cms.bool(True),
92  CutsOnProton = cms.untracked.bool(True),
93  DefaultCutValue = cms.double(1.0), ## cuts in cm
94  G4BremsstrahlungThreshold = cms.double(0.5), ## cut in GeV
95  Verbosity = cms.untracked.int32(0),
96  # 1 will print cuts as they get set from DD
97  # 2 will do as 1 + will dump Geant4 table of cuts
98  MonopoleCharge = cms.untracked.int32(1),
99  MonopoleDeltaRay = cms.untracked.bool(True),
100  MonopoleMultiScatter = cms.untracked.bool(False),
101  MonopoleTransport = cms.untracked.bool(True),
102  MonopoleMass = cms.untracked.double(0),
103  Region = cms.string(' '),
104  TrackingCut = cms.bool(False),
105  SRType = cms.bool(True),
106  FlagMuNucl = cms.bool(False),
107  FlagFluo = cms.bool(False),
108  EMPhysics = cms.untracked.bool(True),
109  HadPhysics = cms.untracked.bool(True),
110  FlagBERT = cms.untracked.bool(False),
111  GflashEcal = cms.bool(False),
112  bField = cms.double(3.8),
113  energyScaleEB = cms.double(1.032),
114  energyScaleEE = cms.double(1.024),
115  GflashHcal = cms.bool(False),
116  ExoticaPhysicsSS = cms.untracked.bool(False),
117  RusRoElectronEnergyLimit = cms.double(0.0),
118  RusRoEcalElectron = cms.double(1.0),
119  RusRoHcalElectron = cms.double(1.0),
120  RusRoMuonIronElectron = cms.double(1.0),
121  RusRoPreShowerElectron = cms.double(1.0),
122  RusRoCastorElectron = cms.double(1.0),
123  RusRoWorldElectron = cms.double(1.0),
124  ElectronStepLimit = cms.bool(False),
125  ElectronRangeTest = cms.bool(False),
126  PositronStepLimit = cms.bool(False),
127  MinStepLimit = cms.double(1.0)
128  ),
129  Generator = cms.PSet(
130  HectorEtaCut,
131  # string HepMCProductLabel = "VtxSmeared"
132  HepMCProductLabel = cms.string('generator'),
133  ApplyPCuts = cms.bool(True),
134  ApplyPtransCut = cms.bool(False),
135  MinPCut = cms.double(0.04), ## the cut is in GeV
136  MaxPCut = cms.double(99999.0), ## the pmax=99.TeV
137  ApplyEtaCuts = cms.bool(True),
138  MinEtaCut = cms.double(-5.5),
139  MaxEtaCut = cms.double(5.5),
140  RDecLenCut = cms.double(2.9), ## (cm) the cut on vertex radius
141  LDecLenCut = cms.double(30.0), ## (cm) decay volume length
142  ApplyPhiCuts = cms.bool(False),
143  MinPhiCut = cms.double(-3.14159265359), ## (radians)
144  MaxPhiCut = cms.double(3.14159265359), ## according to CMS conventions
145  ApplyLumiMonitorCuts = cms.bool(False), ## primary for lumi monitors
146  Verbosity = cms.untracked.int32(0)
147  ),
148  RunAction = cms.PSet(
149  StopFile = cms.string('StopRun')
150  ),
151  EventAction = cms.PSet(
152  debug = cms.untracked.bool(False),
153  StopFile = cms.string('StopRun'),
154  PrintRandomSeed = cms.bool(False),
155  CollapsePrimaryVertices = cms.bool(False)
156  ),
157  StackingAction = cms.PSet(
158  common_heavy_suppression,
159  common_maximum_time,
160  KillDeltaRay = cms.bool(False),
161  TrackNeutrino = cms.bool(False),
162  KillHeavy = cms.bool(False),
163  KillGamma = cms.bool(True),
164  GammaThreshold = cms.double(0.0001), ## (MeV)
165  SaveFirstLevelSecondary = cms.untracked.bool(False),
166  SavePrimaryDecayProductsAndConversionsInTracker = cms.untracked.bool(False),
167  SavePrimaryDecayProductsAndConversionsInCalo = cms.untracked.bool(False),
168  SavePrimaryDecayProductsAndConversionsInMuon = cms.untracked.bool(False),
169  SaveAllPrimaryDecayProductsAndConversions = cms.untracked.bool(True),
170  RusRoGammaEnergyLimit = cms.double(5.0), ## (MeV)
171  RusRoEcalGamma = cms.double(0.3),
172  RusRoHcalGamma = cms.double(0.3),
173  RusRoMuonIronGamma = cms.double(0.3),
174  RusRoPreShowerGamma = cms.double(0.3),
175  RusRoCastorGamma = cms.double(0.3),
176  RusRoWorldGamma = cms.double(0.3),
177  RusRoNeutronEnergyLimit = cms.double(10.0), ## (MeV)
178  RusRoEcalNeutron = cms.double(0.1),
179  RusRoHcalNeutron = cms.double(0.1),
180  RusRoMuonIronNeutron = cms.double(0.1),
181  RusRoPreShowerNeutron = cms.double(0.1),
182  RusRoCastorNeutron = cms.double(0.1),
183  RusRoWorldNeutron = cms.double(0.1),
184  RusRoProtonEnergyLimit = cms.double(0.0),
185  RusRoEcalProton = cms.double(1.0),
186  RusRoHcalProton = cms.double(1.0),
187  RusRoMuonIronProton = cms.double(1.0),
188  RusRoPreShowerProton = cms.double(1.0),
189  RusRoCastorProton = cms.double(1.0),
190  RusRoWorldProton = cms.double(1.0)
191  ),
192  TrackingAction = cms.PSet(
193  DetailedTiming = cms.untracked.bool(False),
194  CheckTrack = cms.untracked.bool(False)
195  ),
196  SteppingAction = cms.PSet(
197  common_maximum_time,
198  EkinNames = cms.vstring(),
199  EkinThresholds = cms.vdouble(),
200  EkinParticles = cms.vstring()
201  ),
202  TrackerSD = cms.PSet(
203  ZeroEnergyLoss = cms.bool(False),
204  PrintHits = cms.bool(False),
205  ElectronicSigmaInNanoSeconds = cms.double(12.06),
206  NeverAccumulate = cms.bool(False),
207  EnergyThresholdForPersistencyInGeV = cms.double(0.2),
208  EnergyThresholdForHistoryInGeV = cms.double(0.05)
209  ),
210  MuonSD = cms.PSet(
211  EnergyThresholdForPersistency = cms.double(1.0),
212  PrintHits = cms.bool(False),
213  AllMuonsPersistent = cms.bool(True)
214  ),
215  CaloSD = cms.PSet(
216  common_heavy_suppression,
217  SuppressHeavy = cms.bool(False),
218  EminTrack = cms.double(1.0),
219  TmaxHit = cms.double(1000.0),
220  HCNames = cms.vstring('EcalHitsEB','EcalHitsEE','EcalHitsES','HcalHits','ZDCHITS'),
221  EminHits = cms.vdouble(0.015,0.010,0.0,0.0,0.0),
222  EminHitsDepth = cms.vdouble(0.0,0.0,0.0,0.0,0.0),
223  TmaxHits = cms.vdouble(500.0,500.0,500.0,500.0,2000.0),
224  UseResponseTables = cms.vint32(0,0,0,0,0),
225  BeamPosition = cms.double(0.0),
226  CorrectTOFBeam = cms.bool(False),
227  DetailedTiming = cms.untracked.bool(False),
228  UseMap = cms.untracked.bool(False),
229  Verbosity = cms.untracked.int32(0),
230  CheckHits = cms.untracked.int32(25)
231  ),
232  CaloResponse = cms.PSet(
233  UseResponseTable = cms.bool(True),
234  ResponseScale = cms.double(1.0),
235  ResponseFile = cms.FileInPath('SimG4CMS/Calo/data/responsTBpim50.dat')
236  ),
237  ECalSD = cms.PSet(
238  common_UseLuminosity,
239  UseBirkLaw = cms.bool(True),
240  BirkL3Parametrization = cms.bool(True),
241  BirkSlope = cms.double(0.253694),
242  BirkCut = cms.double(0.1),
243  BirkC1 = cms.double(0.03333),
244  BirkC3 = cms.double(1.0),
245  BirkC2 = cms.double(0.0),
246  SlopeLightYield = cms.double(0.02),
247  StoreSecondary = cms.bool(False),
248  TimeSliceUnit = cms.int32(1),
249  IgnoreTrackID = cms.bool(False),
250  XtalMat = cms.untracked.string('E_PbWO4'),
251  TestBeam = cms.untracked.bool(False),
252  NullNumbering = cms.untracked.bool(False),
253  StoreRadLength = cms.untracked.bool(False),
254  AgeingWithSlopeLY = cms.untracked.bool(False)
255  ),
256  HCalSD = cms.PSet(
257  common_UseLuminosity,
258  UseBirkLaw = cms.bool(True),
259  BirkC3 = cms.double(1.75),
260  BirkC2 = cms.double(0.142),
261  BirkC1 = cms.double(0.0052),
262  UseShowerLibrary = cms.bool(True),
263  UseParametrize = cms.bool(False),
264  UsePMTHits = cms.bool(False),
265  UseFibreBundleHits = cms.bool(False),
266  TestNumberingScheme = cms.bool(False),
267  EminHitHB = cms.double(0.0),
268  EminHitHE = cms.double(0.0),
269  EminHitHO = cms.double(0.0),
270  EminHitHF = cms.double(0.0),
271  BetaThreshold = cms.double(0.7),
272  TimeSliceUnit = cms.int32(1),
273  IgnoreTrackID = cms.bool(False),
274  HEDarkening = cms.bool(False),
275  HFDarkening = cms.bool(False),
276  UseHF = cms.untracked.bool(True),
277  ForTBH2 = cms.untracked.bool(False),
278  UseLayerWt = cms.untracked.bool(False),
279  WtFile = cms.untracked.string('None')
280  ),
281  CaloTrkProcessing = cms.PSet(
282  TestBeam = cms.bool(False),
283  EminTrack = cms.double(0.01),
284  PutHistory = cms.bool(False)
285  ),
286  HFShower = cms.PSet(
287  common_UsePMT,
288  common_UseHF,
289  ProbMax = cms.double(1.0),
290  CFibre = cms.double(0.5),
291  PEPerGeV = cms.double(0.31),
292  TrackEM = cms.bool(False),
293  UseShowerLibrary = cms.bool(True),
294  UseHFGflash = cms.bool(False),
295  EminLibrary = cms.double(0.0),
296  OnlyLong = cms.bool(True),
297  LambdaMean = cms.double(350.0),
298  ApplyFiducialCut = cms.bool(True),
299  RefIndex = cms.double(1.459),
300  Aperture = cms.double(0.33),
301  ApertureTrapped = cms.double(0.22),
302  CosApertureTrapped= cms.double(0.5),
303  SinPsiMax = cms.untracked.double(0.5),
304  ParametrizeLast = cms.untracked.bool(False)
305  ),
306  HFShowerLibrary = cms.PSet(
307  FileName = cms.FileInPath('SimG4CMS/Calo/data/HFShowerLibrary_oldpmt_noatt_eta4_16en.root'),
308  BackProbability = cms.double(0.2),
309  TreeEMID = cms.string('emParticles'),
310  TreeHadID = cms.string('hadParticles'),
311  Verbosity = cms.untracked.bool(False),
312  ApplyFiducialCut= cms.bool(True),
313  BranchPost = cms.untracked.string(''),
314  BranchEvt = cms.untracked.string(''),
315  BranchPre = cms.untracked.string('')
316  ),
317  HFShowerPMT = cms.PSet(
318  common_UsePMT,
319  common_UseHF,
320  PEPerGeVPMT = cms.double(1.0),
321  RefIndex = cms.double(1.52),
322  Aperture = cms.double(0.99),
323  ApertureTrapped = cms.double(0.22),
324  CosApertureTrapped= cms.double(0.5),
325  SinPsiMax = cms.untracked.double(0.5)
326  ),
327  HFShowerStraightBundle = cms.PSet(
328  common_UsePMT,
329  common_UseHF,
330  FactorBundle = cms.double(1.0),
331  RefIndex = cms.double(1.459),
332  Aperture = cms.double(0.33),
333  ApertureTrapped = cms.double(0.22),
334  CosApertureTrapped= cms.double(0.5),
335  SinPsiMax = cms.untracked.double(0.5)
336  ),
337  HFShowerConicalBundle = cms.PSet(
338  common_UsePMT,
339  common_UseHF,
340  FactorBundle = cms.double(1.0),
341  RefIndex = cms.double(1.459),
342  Aperture = cms.double(0.33),
343  ApertureTrapped = cms.double(0.22),
344  CosApertureTrapped= cms.double(0.5),
345  SinPsiMax = cms.untracked.double(0.5)
346  ),
347  HFGflash = cms.PSet(
348  BField = cms.untracked.double(3.8),
349  WatcherOn = cms.untracked.bool(True),
350  FillHisto = cms.untracked.bool(True)
351  ),
352  CastorSD = cms.PSet(
353  useShowerLibrary = cms.bool(True),
354  minEnergyInGeVforUsingSLibrary = cms.double(1.0),
355  nonCompensationFactor = cms.double(0.85),
356  Verbosity = cms.untracked.int32(0)
357  ),
358  CastorShowerLibrary = cms.PSet(
359  FileName = cms.FileInPath('SimG4CMS/Forward/data/CastorShowerLibrary_CMSSW500_Standard.root'),
360  BranchEvt = cms.untracked.string('hadShowerLibInfo.'),
361  BranchEM = cms.untracked.string('emParticles.'),
362  BranchHAD = cms.untracked.string('hadParticles.'),
363  Verbosity = cms.untracked.bool(False)
364  ),
365  TotemSD = cms.PSet(
366  Verbosity = cms.untracked.int32(0)
367  ),
368  ZdcSD = cms.PSet(
369  Verbosity = cms.int32(0),
370  UseShowerLibrary = cms.bool(True),
371  UseShowerHits = cms.bool(False),
372  FiberDirection = cms.double(45.0),
373  ZdcHitEnergyCut = cms.double(10.0)
374  ),
375  ZdcShowerLibrary = cms.PSet(
376  Verbosity = cms.untracked.int32(0)
377  ),
378  FP420SD = cms.PSet(
379  Verbosity = cms.untracked.int32(2)
380  ),
381  BscSD = cms.PSet(
382  Verbosity = cms.untracked.int32(0)
383  ),
384  PltSD = cms.PSet(
385  EnergyThresholdForPersistencyInGeV = cms.double(0.2),
386  EnergyThresholdForHistoryInGeV = cms.double(0.05)
387  ),
388  Bcm1fSD = cms.PSet(
389  EnergyThresholdForPersistencyInGeV = cms.double(0.010),
390  EnergyThresholdForHistoryInGeV = cms.double(0.005)
391  ),
392  HcalTB02SD = cms.PSet(
393  UseBirkLaw = cms.untracked.bool(False),
394  BirkC1 = cms.untracked.double(0.013),
395  BirkC3 = cms.untracked.double(1.75),
396  BirkC2 = cms.untracked.double(0.0568)
397  ),
398  EcalTBH4BeamSD = cms.PSet(
399  UseBirkLaw = cms.bool(False),
400  BirkC1 = cms.double(0.013),
401  BirkC3 = cms.double(1.75),
402  BirkC2 = cms.double(0.0568)
403  ),
404  HcalTB06BeamSD = cms.PSet(
405  UseBirkLaw = cms.bool(False),
406  BirkC1 = cms.double(0.013),
407  BirkC3 = cms.double(1.75),
408  BirkC2 = cms.double(0.0568)
409  )
410 )
411 
412 
413