test
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  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  XtalMat = cms.untracked.string('E_PbWO4'),
244  TestBeam = cms.untracked.bool(False),
245  NullNumbering = cms.untracked.bool(False),
246  StoreRadLength = cms.untracked.bool(False),
247  AgeingWithSlopeLY = cms.untracked.bool(False)
248  ),
249  HCalSD = cms.PSet(
250  common_UseLuminosity,
251  UseBirkLaw = cms.bool(True),
252  BirkC3 = cms.double(1.75),
253  BirkC2 = cms.double(0.142),
254  BirkC1 = cms.double(0.0052),
255  UseShowerLibrary = cms.bool(True),
256  UseParametrize = cms.bool(False),
257  UsePMTHits = cms.bool(False),
258  UseFibreBundleHits = cms.bool(False),
259  TestNumberingScheme = cms.bool(False),
260  EminHitHB = cms.double(0.0),
261  EminHitHE = cms.double(0.0),
262  EminHitHO = cms.double(0.0),
263  EminHitHF = cms.double(0.0),
264  BetaThreshold = cms.double(0.7),
265  TimeSliceUnit = cms.int32(1),
266  IgnoreTrackID = cms.bool(False),
267  HEDarkening = cms.bool(False),
268  HFDarkening = cms.bool(False),
269  UseHF = cms.untracked.bool(True),
270  ForTBH2 = cms.untracked.bool(False),
271  UseLayerWt = cms.untracked.bool(False),
272  WtFile = cms.untracked.string('None')
273  ),
274  CaloTrkProcessing = cms.PSet(
275  TestBeam = cms.bool(False),
276  EminTrack = cms.double(0.01),
277  PutHistory = cms.bool(False)
278  ),
279  HFShower = cms.PSet(
280  common_UsePMT,
281  common_UseHF,
282  ProbMax = cms.double(1.0),
283  CFibre = cms.double(0.5),
284  PEPerGeV = cms.double(0.31),
285  TrackEM = cms.bool(False),
286  UseShowerLibrary = cms.bool(True),
287  UseHFGflash = cms.bool(False),
288  EminLibrary = cms.double(0.0),
289  OnlyLong = cms.bool(True),
290  LambdaMean = cms.double(350.0),
291  ApplyFiducialCut = cms.bool(True),
292  RefIndex = cms.double(1.459),
293  Aperture = cms.double(0.33),
294  ApertureTrapped = cms.double(0.22),
295  CosApertureTrapped= cms.double(0.5),
296  SinPsiMax = cms.untracked.double(0.5),
297  ParametrizeLast = cms.untracked.bool(False)
298  ),
299  HFShowerLibrary = cms.PSet(
300  FileName = cms.FileInPath('SimG4CMS/Calo/data/HFShowerLibrary_oldpmt_noatt_eta4_16en_v3.root'),
301  BackProbability = cms.double(0.2),
302  TreeEMID = cms.string('emParticles'),
303  TreeHadID = cms.string('hadParticles'),
304  Verbosity = cms.untracked.bool(False),
305  ApplyFiducialCut= cms.bool(True),
306  BranchPost = cms.untracked.string(''),
307  BranchEvt = cms.untracked.string(''),
308  BranchPre = cms.untracked.string('')
309  ),
310  HFShowerPMT = cms.PSet(
311  common_UsePMT,
312  common_UseHF,
313  PEPerGeVPMT = cms.double(1.0),
314  RefIndex = cms.double(1.52),
315  Aperture = cms.double(0.99),
316  ApertureTrapped = cms.double(0.22),
317  CosApertureTrapped= cms.double(0.5),
318  SinPsiMax = cms.untracked.double(0.5)
319  ),
320  HFShowerStraightBundle = cms.PSet(
321  common_UsePMT,
322  common_UseHF,
323  FactorBundle = cms.double(1.0),
324  RefIndex = cms.double(1.459),
325  Aperture = cms.double(0.33),
326  ApertureTrapped = cms.double(0.22),
327  CosApertureTrapped= cms.double(0.5),
328  SinPsiMax = cms.untracked.double(0.5)
329  ),
330  HFShowerConicalBundle = cms.PSet(
331  common_UsePMT,
332  common_UseHF,
333  FactorBundle = cms.double(1.0),
334  RefIndex = cms.double(1.459),
335  Aperture = cms.double(0.33),
336  ApertureTrapped = cms.double(0.22),
337  CosApertureTrapped= cms.double(0.5),
338  SinPsiMax = cms.untracked.double(0.5)
339  ),
340  HFGflash = cms.PSet(
341  BField = cms.untracked.double(3.8),
342  WatcherOn = cms.untracked.bool(True),
343  FillHisto = cms.untracked.bool(True)
344  ),
345  CastorSD = cms.PSet(
346  useShowerLibrary = cms.bool(False),
347  minEnergyInGeVforUsingSLibrary = cms.double(1.0),
348  nonCompensationFactor = cms.double(0.817),
349  Verbosity = cms.untracked.int32(0)
350  ),
351  CastorShowerLibrary = cms.PSet(
352  FileName = cms.FileInPath('SimG4CMS/Forward/data/CastorShowerLibrary_CMSSW500_Standard.root'),
353  BranchEvt = cms.untracked.string('hadShowerLibInfo.'),
354  BranchEM = cms.untracked.string('emParticles.'),
355  BranchHAD = cms.untracked.string('hadParticles.'),
356  Verbosity = cms.untracked.bool(False)
357  ),
358  TotemSD = cms.PSet(
359  Verbosity = cms.untracked.int32(0)
360  ),
361  ZdcSD = cms.PSet(
362  Verbosity = cms.int32(0),
363  UseShowerLibrary = cms.bool(True),
364  UseShowerHits = cms.bool(False),
365  FiberDirection = cms.double(45.0),
366  ZdcHitEnergyCut = cms.double(10.0)
367  ),
368  ZdcShowerLibrary = cms.PSet(
369  Verbosity = cms.untracked.int32(0)
370  ),
371  FP420SD = cms.PSet(
372  Verbosity = cms.untracked.int32(2)
373  ),
374  BscSD = cms.PSet(
375  Verbosity = cms.untracked.int32(0)
376  ),
377  PltSD = cms.PSet(
378  EnergyThresholdForPersistencyInGeV = cms.double(0.2),
379  EnergyThresholdForHistoryInGeV = cms.double(0.05)
380  ),
381  Bcm1fSD = cms.PSet(
382  EnergyThresholdForPersistencyInGeV = cms.double(0.010),
383  EnergyThresholdForHistoryInGeV = cms.double(0.005)
384  ),
385  HcalTB02SD = cms.PSet(
386  UseBirkLaw = cms.untracked.bool(False),
387  BirkC1 = cms.untracked.double(0.013),
388  BirkC3 = cms.untracked.double(1.75),
389  BirkC2 = cms.untracked.double(0.0568)
390  ),
391  EcalTBH4BeamSD = cms.PSet(
392  UseBirkLaw = cms.bool(False),
393  BirkC1 = cms.double(0.013),
394  BirkC3 = cms.double(1.75),
395  BirkC2 = cms.double(0.0568)
396  ),
397  HcalTB06BeamSD = cms.PSet(
398  UseBirkLaw = cms.bool(False),
399  BirkC1 = cms.double(0.013),
400  BirkC3 = cms.double(1.75),
401  BirkC2 = cms.double(0.0568)
402  )
403 )
404 
405 
406