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