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