CMS Detector Description: XML Ideal Geometry Access

Complete: 2

Goal of this page

This page describes how to configure or use the XMLIdealGeometryESSource.

XML Ideal Geometry Access

There are a number of standard configuration files in Geometry/CMSCommonData/python.

Sampling of configuration files.
purpose parameter set
testing for releases & full sim+reco include "Geometry/CMSCommonData/python/cmsIdealGeometryXML_cfi.py"
for simulation only include "Geometry/CMSCommonData/python/cmsSimIdealGeometryXML_cfi.py"
for reconstruction only include "Geometry/CMSCommonData/python/cmsRecoIdealGeometryXML_cfi.py"
for ideal extended to include forward detectors include "Geometry/CMSCommonData/python/cmsExtendedGeometryXML_cfi.py"
pilot run testing include "Geometry/CMSCommonData/python/cmsPilotIdealGeometryXML_cfi.py"

These are the expected parameters for the XMLIdealGeometryESSource in the CMSSW framework.

name type description default allowed
geomXMLFiles vstring XML files D.D. None path+filename relative to CMSSW src, FileInPath is used on the list of files.
rootNodeName string set the D.D. graph root to this node cms:OCMS DDLogicalPart node name

Example parameter set file for the Ideal Geometry: http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/Geometry/CMSCommonData/python/cmsIdealGeometryXML_cfi.py?cvsroot=CMSSW

Example parameter set file for the Magnetic Field (note, the es_source name MUST be magfield):

magfield = cms.ESSource("XMLIdealGeometryESSource",
    geomXMLFiles = cms.vstring('Geometry/CMSCommonData/data/normal/cmsextent.xml', 
        'Geometry/CMSCommonData/data/cms.xml', 
        'Geometry/CMSCommonData/data/cmsMagneticField.xml', 
        'MagneticField/GeomBuilder/data/MagneticFieldVolumes_1103l.xml',
        'MagneticField/GeomBuilder/data/MagneticFieldParameters_07_2pi.xml'),
    rootNodeName = cms.string('cmsMagneticField:MAGF')
)

Review Status

Reviewer/Editor and Date (copy from screen) Comments
MichaelCase - 21 Aug 2009 page author
JennyWilliams - 31 Jan 2007 editing to include in SWGuide

Responsible: MichaelCase
Last reviewed by: Reviewer

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r5 - 2009-10-21 - unknown



 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CMSPublic All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback