CMS 3D CMS Logo

Functions
customiseg4PrintGeomInfo Namespace Reference

Functions

def customise (process)
 
def customiseg4PrintGeomInfo (process)
 

Function Documentation

◆ customise()

def customiseg4PrintGeomInfo.customise (   process)

Definition at line 2 of file customiseg4PrintGeomInfo.py.

References mathSSE.return().

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 
return((rh ^ lh) &mask)

◆ customiseg4PrintGeomInfo()

def customiseg4PrintGeomInfo.customiseg4PrintGeomInfo (   process)

Definition at line 35 of file customiseg4PrintGeomInfo.py.

35 def customiseg4PrintGeomInfo(process):
36  return customise(process)
37