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  MonopoleMass = cms.untracked.double(0.),
78  Region = cms.string(' '),
79  TrackingCut = cms.bool(True),
80  SRType = cms.bool(True),
81  EMPhysics = cms.untracked.bool(True),
82  HadPhysics = cms.untracked.bool(True),
83  FlagBERT = cms.untracked.bool(False),
84  FlagCHIPS = cms.untracked.bool(False),
85  FlagFTF = cms.untracked.bool(False),
86  FlagGlauber = cms.untracked.bool(False),
87  FlagHP = cms.untracked.bool(False),
88  GFlash = cms.PSet(
89  GflashHistogram = cms.bool(False),
90  GflashEMShowerModel = cms.bool(False),
91  GflashHadronPhysics = cms.string('QGSP_BERT_EMV'),
92  GflashHadronShowerModel = cms.bool(False)
93  )
94  ),
95  Generator = cms.PSet(
96  HectorEtaCut,
97  # string HepMCProductLabel = "VtxSmeared"
98  HepMCProductLabel = cms.string('generator'),
99  ApplyPCuts = cms.bool(True),
100  MinPCut = cms.double(0.04), ## the pt-cut is in GeV (CMS conventions)
101  MaxPCut = cms.double(99999.0), ## the ptmax=99.TeV in this case
102  ApplyEtaCuts = cms.bool(True),
103  MinEtaCut = cms.double(-5.5),
104  MaxEtaCut = cms.double(5.5),
105  ApplyPhiCuts = cms.bool(False),
106  MinPhiCut = cms.double(-3.14159265359), ## in radians
107  MaxPhiCut = cms.double(3.14159265359), ## according to CMS conventions
108  RDecLenCut = cms.double(2.9), ## the minimum decay length in cm (!) for mother tracking
109  Verbosity = cms.untracked.int32(0)
110  ),
111  RunAction = cms.PSet(
112  StopFile = cms.string('StopRun')
113  ),
114  EventAction = cms.PSet(
115  debug = cms.untracked.bool(False),
116  StopFile = cms.string('StopRun'),
117  CollapsePrimaryVertices = cms.bool(False)
118  ),
119  StackingAction = cms.PSet(
120  common_heavy_suppression,
121  common_maximum_time,
122  KillDeltaRay = cms.bool(False),
123  TrackNeutrino = cms.bool(False),
124  KillHeavy = cms.bool(False),
125  SaveFirstLevelSecondary = cms.untracked.bool(False),
126  SavePrimaryDecayProductsAndConversionsInTracker = cms.untracked.bool(True),
127  SavePrimaryDecayProductsAndConversionsInCalo = cms.untracked.bool(False),
128  SavePrimaryDecayProductsAndConversionsInMuon = cms.untracked.bool(False)
129  ),
130  TrackingAction = cms.PSet(
131  DetailedTiming = cms.untracked.bool(False)
132  ),
133  SteppingAction = cms.PSet(
134  common_maximum_time,
135  KillBeamPipe = cms.bool(True),
136  CriticalEnergyForVacuum = cms.double(2.0),
137  CriticalDensity = cms.double(1e-15),
138  EkinNames = cms.vstring(),
139  EkinThresholds = cms.vdouble(),
140  EkinParticles = cms.vstring(),
141  Verbosity = cms.untracked.int32(0)
142  ),
143  TrackerSD = cms.PSet(
144  ZeroEnergyLoss = cms.bool(False),
145  PrintHits = cms.bool(False),
146  ElectronicSigmaInNanoSeconds = cms.double(12.06),
147  NeverAccumulate = cms.bool(False),
148  EnergyThresholdForPersistencyInGeV = cms.double(0.2),
149  EnergyThresholdForHistoryInGeV = cms.double(0.05)
150  ),
151  MuonSD = cms.PSet(
152  EnergyThresholdForPersistency = cms.double(1.0),
153  PrintHits = cms.bool(False),
154  AllMuonsPersistent = cms.bool(True)
155  ),
156  CaloSD = cms.PSet(
157  common_heavy_suppression,
158  SuppressHeavy = cms.bool(False),
159  EminTrack = cms.double(1.0),
160  TmaxHit = cms.double(1000.0),
161  HCNames = cms.vstring('EcalHitsEB','EcalHitsEE','EcalHitsES','HcalHits','ZDCHITS'),
162  EminHits = cms.vdouble(0.015,0.010,0.0,0.0,0.0),
163  EminHitsDepth = cms.vdouble(0.0,0.0,0.0,0.0,0.0),
164  TmaxHits = cms.vdouble(500.0,500.0,500.0,500.0,2000.0),
165  UseResponseTables = cms.vint32(0,0,0,0,0),
166  BeamPosition = cms.double(0.0),
167  CorrectTOFBeam = cms.bool(False),
168  DetailedTiming = cms.untracked.bool(False),
169  UseMap = cms.untracked.bool(False),
170  Verbosity = cms.untracked.int32(0),
171  CheckHits = cms.untracked.int32(25)
172  ),
173  CaloResponse = cms.PSet(
174  UseResponseTable = cms.bool(True),
175  ResponseScale = cms.double(1.0),
176  ResponseFile = cms.FileInPath('SimG4CMS/Calo/data/responsTBpim50.dat')
177  ),
178  ECalSD = cms.PSet(
179  UseBirkLaw = cms.bool(True),
180  BirkL3Parametrization = cms.bool(True),
181  BirkSlope = cms.double(0.253694),
182  BirkCut = cms.double(0.1),
183  BirkC1 = cms.double(0.03333),
184  BirkC3 = cms.double(1.0),
185  BirkC2 = cms.double(0.0),
186  SlopeLightYield = cms.double(0.02),
187  StoreSecondary = cms.bool(False),
188  TimeSliceUnit = cms.int32(1),
189  IgnoreTrackID = cms.bool(False),
190  XtalMat = cms.untracked.string('E_PbWO4'),
191  TestBeam = cms.untracked.bool(False),
192  NullNumbering = cms.untracked.bool(False),
193  StoreRadLength = cms.untracked.bool(False)
194  ),
195  HCalSD = cms.PSet(
196  UseBirkLaw = cms.bool(True),
197  BirkC3 = cms.double(1.75),
198  BirkC2 = cms.double(0.142),
199  BirkC1 = cms.double(0.0052),
200  UseShowerLibrary = cms.bool(False),
201  UseParametrize = cms.bool(True),
202  UsePMTHits = cms.bool(True),
203  UseFibreBundleHits = cms.bool(True),
204  TestNumberingScheme = cms.bool(False),
205  EminHitHB = cms.double(0.0),
206  EminHitHE = cms.double(0.0),
207  EminHitHO = cms.double(0.0),
208  EminHitHF = cms.double(0.0),
209  BetaThreshold = cms.double(0.7),
210  TimeSliceUnit = cms.int32(1),
211  IgnoreTrackID = cms.bool(False),
212  UseHF = cms.untracked.bool(True),
213  ForTBH2 = cms.untracked.bool(False),
214  UseLayerWt = cms.untracked.bool(False),
215  WtFile = cms.untracked.string('None')
216  ),
217  CaloTrkProcessing = cms.PSet(
218  TestBeam = cms.bool(False),
219  EminTrack = cms.double(0.01),
220  PutHistory = cms.bool(False)
221  ),
222  HFShower = cms.PSet(
223  ProbMax = cms.double(1.0),
224  CFibre = cms.double(0.5),
225  PEPerGeV = cms.double(0.31),
226  TrackEM = cms.bool(False),
227  UseShowerLibrary= cms.bool(False),
228  UseHFGflash = cms.bool(True),
229  EminLibrary = cms.double(0.0),
230  RefIndex = cms.double(1.459),
231  Lambda1 = cms.double(280.0),
232  Lambda2 = cms.double(700.0),
233  Aperture = cms.double(0.33),
234  ApertureTrapped = cms.double(0.22),
235  Gain = cms.double(0.33),
236  OnlyLong = cms.bool(True),
237  LambdaMean = cms.double(350.0),
238  CheckSurvive = cms.bool(False),
239  ApplyFiducialCut= cms.bool(True),
240  ParametrizeLast = cms.untracked.bool(False)
241  ),
242  HFShowerLibrary = cms.PSet(
243  FileName = cms.FileInPath('SimG4CMS/Calo/data/HFShowerLibrary_oldpmt_noatt_eta4_16en_v3.root'),
244  BackProbability = cms.double(0.2),
245  TreeEMID = cms.string('emParticles'),
246  TreeHadID = cms.string('hadParticles'),
247  Verbosity = cms.untracked.bool(False),
248  BranchPost = cms.untracked.string(''),
249  BranchEvt = cms.untracked.string(''),
250  BranchPre = cms.untracked.string('')
251  ),
252  HFShowerPMT = cms.PSet(
253  PEPerGeVPMT = cms.double(1.0),
254  RefIndex = cms.double(1.52),
255  Lambda1 = cms.double(280.0),
256  Lambda2 = cms.double(700.0),
257  Aperture = cms.double(0.99),
258  ApertureTrapped = cms.double(0.22),
259  Gain = cms.double(0.33),
260  CheckSurvive = cms.bool(False)
261  ),
262  HFShowerStraightBundle = cms.PSet(
263  FactorBundle = cms.double(1.0),
264  RefIndex = cms.double(1.459),
265  Lambda1 = cms.double(280.0),
266  Lambda2 = cms.double(700.0),
267  Aperture = cms.double(0.33),
268  ApertureTrapped = cms.double(0.22),
269  Gain = cms.double(0.33),
270  CheckSurvive = cms.bool(False)
271  ),
272  HFShowerConicalBundle = cms.PSet(
273  FactorBundle = cms.double(1.0),
274  RefIndex = cms.double(1.459),
275  Lambda1 = cms.double(280.0),
276  Lambda2 = cms.double(700.0),
277  Aperture = cms.double(0.33),
278  ApertureTrapped = cms.double(0.22),
279  Gain = cms.double(0.33),
280  CheckSurvive = cms.bool(False)
281  ),
282  HFGflash = cms.PSet(
283  BField = cms.untracked.double(3.8),
284  WatcherOn = cms.untracked.bool(True),
285  FillHisto = cms.untracked.bool(True)
286  ),
287  CastorSD = cms.PSet(
288  useShowerLibrary = cms.bool(True),
289  minEnergyInGeVforUsingSLibrary = cms.double(1.0),
290  nonCompensationFactor = cms.double(0.77),
291  Verbosity = cms.untracked.int32(0)
292  ),
293  CastorShowerLibrary = cms.PSet(
294  FileName = cms.FileInPath('SimG4CMS/Forward/data/castorShowerLibrary_QFBE.root'),
295  BranchEvt = cms.untracked.string('hadShowerLibInfo.'),
296  BranchEM = cms.untracked.string('emParticles.'),
297  BranchHAD = cms.untracked.string('hadParticles.'),
298  Verbosity = cms.untracked.bool(False)
299  ),
300  TotemSD = cms.PSet(
301  Verbosity = cms.untracked.int32(0)
302  ),
303  ZdcSD = cms.PSet(
304  Verbosity = cms.int32(0),
305  UseShowerLibrary = cms.bool(True),
306  UseShowerHits = cms.bool(False),
307  FiberDirection = cms.double(45.0),
308  ZdcHitEnergyCut = cms.double(10.0)
309  ),
310  ZdcShowerLibrary = cms.PSet(
311  Verbosity = cms.untracked.int32(0)
312  ),
313  FP420SD = cms.PSet(
314  Verbosity = cms.untracked.int32(2)
315  ),
316  BscSD = cms.PSet(
317  Verbosity = cms.untracked.int32(0)
318  ),
319  PltSD = cms.PSet(
320  EnergyThresholdForPersistencyInGeV = cms.double(0.2),
321  EnergyThresholdForHistoryInGeV = cms.double(0.05)
322  ),
323  HcalTB02SD = cms.PSet(
324  UseBirkLaw = cms.untracked.bool(False),
325  BirkC1 = cms.untracked.double(0.013),
326  BirkC3 = cms.untracked.double(1.75),
327  BirkC2 = cms.untracked.double(0.0568)
328  ),
329  EcalTBH4BeamSD = cms.PSet(
330  UseBirkLaw = cms.bool(False),
331  BirkC1 = cms.double(0.013),
332  BirkC3 = cms.double(1.75),
333  BirkC2 = cms.double(0.0568)
334  ),
335  HcalTB06BeamSD = cms.PSet(
336  UseBirkLaw = cms.bool(False),
337  BirkC1 = cms.double(0.013),
338  BirkC3 = cms.double(1.75),
339  BirkC2 = cms.double(0.0568)
340  )
341 )
342 
343 
344