Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:30

0001 import FWCore.ParameterSet.Config as cms
0002 def customise(process):
0003 
0004     process.g4SimHits.UseMagneticField = False
0005     process.g4SimHits.Physics.type = 'SimG4Core/Physics/DummyPhysics'
0006     process.g4SimHits.Physics.DummyEMPhysics = True
0007     process.g4SimHits.Physics.DefaultCutValue = 10.
0008 
0009     process.g4SimHits.Watchers = cms.VPSet(cms.PSet(
0010         DumpSummary    = cms.untracked.bool(True),
0011         DumpLVTree     = cms.untracked.bool(True),
0012         DumpMaterial   = cms.untracked.bool(False),
0013         DumpLVList     = cms.untracked.bool(True),
0014         DumpLV         = cms.untracked.bool(True),
0015         DumpSolid      = cms.untracked.bool(True),
0016         DumpAttributes = cms.untracked.bool(False),
0017         DumpPV         = cms.untracked.bool(True),
0018         DumpRotation   = cms.untracked.bool(False),
0019         DumpReplica    = cms.untracked.bool(False),
0020         DumpTouch      = cms.untracked.bool(False),
0021         DumpSense      = cms.untracked.bool(False),
0022         DumpParams     = cms.untracked.bool(False),
0023         DD4hep         = cms.untracked.bool(False),
0024         Name           = cms.untracked.string('CMS*'),
0025         Names          = cms.untracked.vstring(' '),
0026         type           = cms.string('PrintGeomInfoAction')
0027     ))
0028 
0029     if hasattr(process,'MessageLogger'):
0030         process.MessageLogger.G4cerr = cms.untracked.PSet()
0031         process.MessageLogger.G4cout = cms.untracked.PSet()
0032 
0033     return(process)
0034 
0035 def customiseg4PrintGeomInfo(process):
0036     return customise(process)