CMS 3D CMS Logo

zdc-iguana_cfg.py

Go to the documentation of this file.
00001 # The following comments couldn't be translated into the new config version:
00002 
00003 # This cfg file can be used to visualize the simulation geometry
00004 # and the magnetic field.
00005 # Use it with 
00006 # iguana cmssw-geom.cfg
00007 
00008 #
00009 # This is a service to configure IGUANA
00010 #
00011 
00012 #
00013 # Number of various windows to be popped up and tiled. 
00014 # Default value is 'RPhi Window'
00015 #
00016 # untracked vstring Views = {'3D Window', 'Lego Window', 'RPhi Window', 'RZ Window'}
00017 
00018 # #########
00019 # Services (this is a default value):
00020 # untracked vstring Services = {'Services/Framework/GUI/'}
00021 # #########
00022 # Whether or not load the Text browser (this is a default value):
00023 # untracked bool TextBrowser = true
00024 # #########
00025 # Whether or not load the Twig browser (this is a default value):
00026 # untracked bool TwigBrowser = true
00027 # #########
00028 # Which context data proxies to load (the default value is defined
00029 # in VisApplicationMain and usually loads all available data proxies):
00030 
00031 import FWCore.ParameterSet.Config as cms
00032 
00033 process = cms.Process("IGUANA")
00034 #Geometry
00035 process.load("Geometry.ForwardCommonData.iguanaZdcTestConfiguration_cfi")
00036 
00037 #Magnetic Field
00038 
00039 process.VisConfigurationService = cms.Service("VisConfigurationService",
00040     Views = cms.untracked.vstring('3D Window'),
00041     ContentProxies = cms.untracked.vstring('Simulation/Core', 'Simulation/Geometry', 'Simulation/MagField')
00042 )
00043 
00044 process.source = cms.Source("EmptySource")
00045 
00046 process.maxEvents = cms.untracked.PSet(
00047     input = cms.untracked.int32(1)
00048 )
00049 process.geom = cms.EDProducer("GeometryProducer",
00050     MagneticField = cms.PSet(
00051         delta = cms.double(1.0)
00052     ),
00053     UseMagneticField = cms.bool(False),
00054     UseSensitiveDetectors = cms.bool(False)
00055 )
00056 
00057 process.p1 = cms.Path(process.geom)
00058 

Generated on Tue Jun 9 17:37:27 2009 for CMSSW by  doxygen 1.5.4