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.string('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  Verbosity = cms.untracked.int32(0)
140  ),
141  RunAction = cms.PSet(
142  StopFile = cms.string('StopRun')
143  ),
144  EventAction = cms.PSet(
145  debug = cms.untracked.bool(False),
146  StopFile = cms.string('StopRun'),
147  CollapsePrimaryVertices = cms.bool(False)
148  ),
149  StackingAction = cms.PSet(
150  common_heavy_suppression,
151  common_maximum_time,
152  KillDeltaRay = cms.bool(False),
153  TrackNeutrino = cms.bool(False),
154  KillHeavy = cms.bool(False),
155  KillGamma = cms.bool(True),
156  GammaThreshold = cms.double(0.0001), ## (MeV)
157  SaveFirstLevelSecondary = cms.untracked.bool(False),
158  SavePrimaryDecayProductsAndConversionsInTracker = cms.untracked.bool(False),
159  SavePrimaryDecayProductsAndConversionsInCalo = cms.untracked.bool(False),
160  SavePrimaryDecayProductsAndConversionsInMuon = cms.untracked.bool(False),
161  SaveAllPrimaryDecayProductsAndConversions = cms.untracked.bool(True),
162  RusRoGammaEnergyLimit = cms.double(5.0), ## (MeV)
163  RusRoEcalGamma = cms.double(0.3),
164  RusRoHcalGamma = cms.double(0.3),
165  RusRoMuonIronGamma = cms.double(0.3),
166  RusRoPreShowerGamma = cms.double(0.3),
167  RusRoCastorGamma = cms.double(0.3),
168  RusRoWorldGamma = cms.double(0.3),
169  RusRoNeutronEnergyLimit = cms.double(10.0), ## (MeV)
170  RusRoEcalNeutron = cms.double(0.1),
171  RusRoHcalNeutron = cms.double(0.1),
172  RusRoMuonIronNeutron = cms.double(0.1),
173  RusRoPreShowerNeutron = cms.double(0.1),
174  RusRoCastorNeutron = cms.double(0.1),
175  RusRoWorldNeutron = cms.double(0.1),
176  RusRoProtonEnergyLimit = cms.double(0.0),
177  RusRoEcalProton = cms.double(1.0),
178  RusRoHcalProton = cms.double(1.0),
179  RusRoMuonIronProton = cms.double(1.0),
180  RusRoPreShowerProton = cms.double(1.0),
181  RusRoCastorProton = cms.double(1.0),
182  RusRoWorldProton = cms.double(1.0)
183  ),
184  TrackingAction = cms.PSet(
185  DetailedTiming = cms.untracked.bool(False),
186  CheckTrack = cms.untracked.bool(False)
187  ),
188  SteppingAction = cms.PSet(
189  common_maximum_time,
190  EkinNames = cms.vstring(),
191  EkinThresholds = cms.vdouble(),
192  EkinParticles = cms.vstring()
193  ),
194  TrackerSD = cms.PSet(
195  ZeroEnergyLoss = cms.bool(False),
196  PrintHits = cms.bool(False),
197  ElectronicSigmaInNanoSeconds = cms.double(12.06),
198  NeverAccumulate = cms.bool(False),
199  EnergyThresholdForPersistencyInGeV = cms.double(0.2),
200  EnergyThresholdForHistoryInGeV = cms.double(0.05)
201  ),
202  MuonSD = cms.PSet(
203  EnergyThresholdForPersistency = cms.double(1.0),
204  PrintHits = cms.bool(False),
205  AllMuonsPersistent = cms.bool(True)
206  ),
207  CaloSD = cms.PSet(
208  common_heavy_suppression,
209  SuppressHeavy = cms.bool(False),
210  EminTrack = cms.double(1.0),
211  TmaxHit = cms.double(1000.0),
212  HCNames = cms.vstring('EcalHitsEB','EcalHitsEE','EcalHitsES','HcalHits','ZDCHITS'),
213  EminHits = cms.vdouble(0.015,0.010,0.0,0.0,0.0),
214  EminHitsDepth = cms.vdouble(0.0,0.0,0.0,0.0,0.0),
215  TmaxHits = cms.vdouble(500.0,500.0,500.0,500.0,2000.0),
216  UseResponseTables = cms.vint32(0,0,0,0,0),
217  BeamPosition = cms.double(0.0),
218  CorrectTOFBeam = cms.bool(False),
219  DetailedTiming = cms.untracked.bool(False),
220  UseMap = cms.untracked.bool(False),
221  Verbosity = cms.untracked.int32(0),
222  CheckHits = cms.untracked.int32(25)
223  ),
224  CaloResponse = cms.PSet(
225  UseResponseTable = cms.bool(True),
226  ResponseScale = cms.double(1.0),
227  ResponseFile = cms.FileInPath('SimG4CMS/Calo/data/responsTBpim50.dat')
228  ),
229  ECalSD = cms.PSet(
230  common_UseLuminosity,
231  UseBirkLaw = cms.bool(True),
232  BirkL3Parametrization = cms.bool(True),
233  BirkSlope = cms.double(0.253694),
234  BirkCut = cms.double(0.1),
235  BirkC1 = cms.double(0.03333),
236  BirkC3 = cms.double(1.0),
237  BirkC2 = cms.double(0.0),
238  SlopeLightYield = cms.double(0.02),
239  StoreSecondary = cms.bool(False),
240  TimeSliceUnit = cms.int32(1),
241  IgnoreTrackID = cms.bool(False),
242  XtalMat = cms.untracked.string('E_PbWO4'),
243  TestBeam = cms.untracked.bool(False),
244  NullNumbering = cms.untracked.bool(False),
245  StoreRadLength = cms.untracked.bool(False),
246  AgeingWithSlopeLY = cms.untracked.bool(False)
247  ),
248  HCalSD = cms.PSet(
249  common_UseLuminosity,
250  UseBirkLaw = cms.bool(True),
251  BirkC3 = cms.double(1.75),
252  BirkC2 = cms.double(0.142),
253  BirkC1 = cms.double(0.0052),
254  UseShowerLibrary = cms.bool(False),
255  UseParametrize = cms.bool(True),
256  UsePMTHits = cms.bool(True),
257  UseFibreBundleHits = cms.bool(True),
258  TestNumberingScheme = cms.bool(False),
259  EminHitHB = cms.double(0.0),
260  EminHitHE = cms.double(0.0),
261  EminHitHO = cms.double(0.0),
262  EminHitHF = cms.double(0.0),
263  BetaThreshold = cms.double(0.7),
264  TimeSliceUnit = cms.int32(1),
265  IgnoreTrackID = cms.bool(False),
266  HEDarkening = cms.bool(False),
267  HFDarkening = cms.bool(False),
268  UseHF = cms.untracked.bool(True),
269  ForTBH2 = cms.untracked.bool(False),
270  UseLayerWt = cms.untracked.bool(False),
271  WtFile = cms.untracked.string('None')
272  ),
273  CaloTrkProcessing = cms.PSet(
274  TestBeam = cms.bool(False),
275  EminTrack = cms.double(0.01),
276  PutHistory = cms.bool(False)
277  ),
278  HFShower = cms.PSet(
279  common_UsePMT,
280  common_UseHF,
281  ProbMax = cms.double(1.0),
282  CFibre = cms.double(0.5),
283  PEPerGeV = cms.double(0.31),
284  TrackEM = cms.bool(False),
285  UseShowerLibrary = cms.bool(False),
286  UseHFGflash = cms.bool(True),
287  EminLibrary = cms.double(0.0),
288  OnlyLong = cms.bool(True),
289  LambdaMean = cms.double(350.0),
290  ApplyFiducialCut = cms.bool(True),
291  RefIndex = cms.double(1.459),
292  Aperture = cms.double(0.33),
293  ApertureTrapped = cms.double(0.22),
294  CosApertureTrapped= cms.double(0.5),
295  SinPsiMax = cms.untracked.double(0.5),
296  ParametrizeLast = cms.untracked.bool(False)
297  ),
298  HFShowerLibrary = cms.PSet(
299  FileName = cms.FileInPath('SimG4CMS/Calo/data/hfshowerlibrary_lhep_140_edm.root'),
300  BackProbability = cms.double(0.2),
301  TreeEMID = cms.string('emParticles'),
302  TreeHadID = cms.string('hadParticles'),
303  Verbosity = cms.untracked.bool(False),
304  ApplyFiducialCut= cms.bool(True),
305  BranchPost = cms.untracked.string('_R.obj'),
306  BranchEvt = cms.untracked.string('HFShowerLibraryEventInfos_hfshowerlib_HFShowerLibraryEventInfo'),
307  BranchPre = cms.untracked.string('HFShowerPhotons_hfshowerlib_')
308  ),
309  HFShowerPMT = cms.PSet(
310  common_UsePMT,
311  common_UseHF,
312  PEPerGeVPMT = cms.double(1.0),
313  RefIndex = cms.double(1.52),
314  Aperture = cms.double(0.99),
315  ApertureTrapped = cms.double(0.22),
316  CosApertureTrapped= cms.double(0.5),
317  SinPsiMax = cms.untracked.double(0.5)
318  ),
319  HFShowerStraightBundle = cms.PSet(
320  common_UsePMT,
321  common_UseHF,
322  FactorBundle = cms.double(1.0),
323  RefIndex = cms.double(1.459),
324  Aperture = cms.double(0.33),
325  ApertureTrapped = cms.double(0.22),
326  CosApertureTrapped= cms.double(0.5),
327  SinPsiMax = cms.untracked.double(0.5)
328  ),
329  HFShowerConicalBundle = cms.PSet(
330  common_UsePMT,
331  common_UseHF,
332  FactorBundle = cms.double(1.0),
333  RefIndex = cms.double(1.459),
334  Aperture = cms.double(0.33),
335  ApertureTrapped = cms.double(0.22),
336  CosApertureTrapped= cms.double(0.5),
337  SinPsiMax = cms.untracked.double(0.5)
338  ),
339  HFGflash = cms.PSet(
340  BField = cms.untracked.double(3.8),
341  WatcherOn = cms.untracked.bool(True),
342  FillHisto = cms.untracked.bool(True)
343  ),
344  CastorSD = cms.PSet(
345  useShowerLibrary = cms.bool(False),
346  minEnergyInGeVforUsingSLibrary = cms.double(1.0),
347  nonCompensationFactor = cms.double(0.85),
348  Verbosity = cms.untracked.int32(0)
349  ),
350  CastorShowerLibrary = cms.PSet(
351  FileName = cms.FileInPath('SimG4CMS/Forward/data/CastorShowerLibrary_CMSSW500_Standard.root'),
352  BranchEvt = cms.untracked.string('hadShowerLibInfo.'),
353  BranchEM = cms.untracked.string('emParticles.'),
354  BranchHAD = cms.untracked.string('hadParticles.'),
355  Verbosity = cms.untracked.bool(False)
356  ),
357  TotemSD = cms.PSet(
358  Verbosity = cms.untracked.int32(0)
359  ),
360  ZdcSD = cms.PSet(
361  Verbosity = cms.int32(0),
362  UseShowerLibrary = cms.bool(True),
363  UseShowerHits = cms.bool(False),
364  FiberDirection = cms.double(45.0),
365  ZdcHitEnergyCut = cms.double(10.0)
366  ),
367  ZdcShowerLibrary = cms.PSet(
368  Verbosity = cms.untracked.int32(0)
369  ),
370  FP420SD = cms.PSet(
371  Verbosity = cms.untracked.int32(2)
372  ),
373  BscSD = cms.PSet(
374  Verbosity = cms.untracked.int32(0)
375  ),
376  PltSD = cms.PSet(
377  EnergyThresholdForPersistencyInGeV = cms.double(0.2),
378  EnergyThresholdForHistoryInGeV = cms.double(0.05)
379  ),
380  Bcm1fSD = cms.PSet(
381  EnergyThresholdForPersistencyInGeV = cms.double(0.010),
382  EnergyThresholdForHistoryInGeV = cms.double(0.005)
383  ),
384  HcalTB02SD = cms.PSet(
385  UseBirkLaw = cms.untracked.bool(False),
386  BirkC1 = cms.untracked.double(0.013),
387  BirkC3 = cms.untracked.double(1.75),
388  BirkC2 = cms.untracked.double(0.0568)
389  ),
390  EcalTBH4BeamSD = cms.PSet(
391  UseBirkLaw = cms.bool(False),
392  BirkC1 = cms.double(0.013),
393  BirkC3 = cms.double(1.75),
394  BirkC2 = cms.double(0.0568)
395  ),
396  HcalTB06BeamSD = cms.PSet(
397  UseBirkLaw = cms.bool(False),
398  BirkC1 = cms.double(0.013),
399  BirkC3 = cms.double(1.75),
400  BirkC2 = cms.double(0.0568)
401  )
402 )
403 
404 
405