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  DumpParams = cms.untracked.bool(False),
23  DD4hep = cms.untracked.bool(False),
24  Name = cms.untracked.string('CMS*'),
25  Names = cms.untracked.vstring(' '),
26  type = cms.string('PrintGeomInfoAction')
27  ))
28 
29  if hasattr(process,'MessageLogger'):
30  process.MessageLogger.G4cerr = cms.untracked.PSet()
31  process.MessageLogger.G4cout = cms.untracked.PSet()
32 
33  return(process)
34 
36  return customise(process)
return((rh ^ lh) &mask)