CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
g4PrintGeomInfo_cfi Namespace Reference

Functions

def printGeomInfo
 

Function Documentation

def g4PrintGeomInfo_cfi.printGeomInfo (   process)

Definition at line 3 of file g4PrintGeomInfo_cfi.py.

References gpuVertexFinder.return.

3 
4 def printGeomInfo(process):
5 
6  process.load('SimGeneral.HepPDTESSource.pdt_cfi')
7 
8  process.load('IOMC.RandomEngine.IOMC_cff')
9  process.load('IOMC.EventVertexGenerators.VtxSmearedFlat_cfi')
10  process.load('GeneratorInterface.Core.generatorSmeared_cfi')
11  process.load('FWCore.MessageService.MessageLogger_cfi')
12  process.load('SimG4Core.Application.g4SimHits_cfi')
13 
14  process.source = cms.Source("EmptySource")
15 
16  process.generator = cms.EDProducer("FlatRandomEGunProducer",
17  PGunParameters = cms.PSet(
18  PartID = cms.vint32(14),
19  MinEta = cms.double(-3.5),
20  MaxEta = cms.double(3.5),
21  MinPhi = cms.double(-3.14159265359),
22  MaxPhi = cms.double(3.14159265359),
23  MinE = cms.double(9.99),
24  MaxE = cms.double(10.01)
25  ),
26  AddAntiParticle = cms.bool(False),
27  Verbosity = cms.untracked.int32(0),
28  firstRun = cms.untracked.uint32(1)
29  )
30 
31  process.maxEvents = cms.untracked.PSet(
32  input = cms.untracked.int32(1)
33  )
34 
35  process.p1 = cms.Path(process.generator*process.VtxSmeared*process.generatorSmeared*process.g4SimHits)
36 
37  process.g4SimHits.UseMagneticField = False
38  process.g4SimHits.Physics.type = 'SimG4Core/Physics/DummyPhysics'
39  process.g4SimHits.Physics.DummyEMPhysics = True
40  process.g4SimHits.Physics.DefaultCutValue = 10.
41 
42  process.g4SimHits.Watchers = cms.VPSet(cms.PSet(
43  DumpSummary = cms.untracked.bool(True),
44  DumpLVTree = cms.untracked.bool(True),
45  DumpMaterial = cms.untracked.bool(False),
46  DumpLVList = cms.untracked.bool(True),
47  DumpLV = cms.untracked.bool(True),
48  DumpSolid = cms.untracked.bool(True),
49  DumpAttributes = cms.untracked.bool(False),
50  DumpPV = cms.untracked.bool(True),
51  DumpRotation = cms.untracked.bool(False),
52  DumpReplica = cms.untracked.bool(False),
53  DumpTouch = cms.untracked.bool(False),
54  DumpSense = cms.untracked.bool(False),
55  DD4hep = cms.untracked.bool(False),
56  Name = cms.untracked.string('TotemT*'),
57  Names = cms.untracked.vstring(' '),
58  type = cms.string('PrintGeomInfoAction')
59  ))
60 
61  return(process)