CMS 3D CMS Logo

customiseg4PrintGeomInfo.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 def customise(process):
3 
4  process.g4SimHits.UseMagneticField = False
5  process.g4SimHits.Physics.type = 'SimG4Core/Physics/DummyPhysics'
6  process.g4SimHits.Physics.DummyEMPhysics = True
7  process.g4SimHits.Physics.DefaultCutValue = 10.
8 
9  process.g4SimHits.Watchers = cms.VPSet(cms.PSet(
10  DumpSummary = cms.untracked.bool(True),
11  DumpLVTree = cms.untracked.bool(True),
12  DumpMaterial = cms.untracked.bool(False),
13  DumpLVList = cms.untracked.bool(True),
14  DumpLV = cms.untracked.bool(True),
15  DumpSolid = cms.untracked.bool(True),
16  DumpAttributes = cms.untracked.bool(False),
17  DumpPV = cms.untracked.bool(True),
18  DumpRotation = cms.untracked.bool(False),
19  DumpReplica = cms.untracked.bool(False),
20  DumpTouch = cms.untracked.bool(False),
21  DumpSense = cms.untracked.bool(False),
22  DD4Hep = cms.untracked.bool(False),
23  Name = cms.untracked.string('CMS*'),
24  Names = cms.untracked.vstring(' '),
25  type = cms.string('PrintGeomInfoAction')
26  ))
27 
28  if hasattr(process,'MessageLogger'):
29  process.MessageLogger.G4cerr = cms.untracked.PSet()
30  process.MessageLogger.G4cout = cms.untracked.PSet()
31 
32  return(process)
33 
35  return customise(process)
customise
Definition: customise.py:1
mathSSE::return
return((rh ^ lh) &mask)
customiseg4PrintGeomInfo.customiseg4PrintGeomInfo
def customiseg4PrintGeomInfo(process)
Definition: customiseg4PrintGeomInfo.py:34
customiseg4PrintGeomInfo.customise
def customise(process)
Definition: customiseg4PrintGeomInfo.py:2