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