Navigating the CMS Detector Geometry

Complete: 1
Detailed Review status

Goals of this page:

Fill in

Contents

Introduction

The Detector Description ( formerly known as DDD ) contains the description of the ideal CMS detector. The original source documents are XML stored in the CMS Geometry project. Access to database versions of the same information in two distinct database models is also provided by this project. The DDL the Detector Description Language in XML format and can be validated with the DDLSchema.xsd in the package Schema.

XML Ideal Geometry access

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

purpose parameter set
testing for releases & full sim+reco
 include "Geometry/CMSCommonData/data/cmsIdealGeometryXML.cfi"
for simulation only
include "Geometry/CMSCommonData/data/cmsSimIdealGeometryXML.cfi"
for getting just the magnetic field
include "Geometry/CMSCommonData/data/cmsMagneticFieldXML.cfi"
for reconstruction only
include "Geometry/CMSCommonData/data/cmsRecoIdealGeometryXML.cfi"
sim & reco for magnet test & cosmic challenge
include "Geometry/CMSCommonData/data/cmsMTCCGeometryXML.cfi"
pilot run testing
include "Geometry/CMSCommonData/data/cmsPilotIdealGeometryXML.cfi"

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

namedetails
geomXMLFilestype: vstring which in turn uses FileInPath
description: XML DDL Files
default: None
allowed: filename with path, e.g. "Geometry/CMSCommonData/data/cms.xml"
rootNodeNametype: string
description: set the D.D. graph root to this mode
default: Uses Root element from last configuration.xml processed
allowed: DDLogicalPart node name

Sample parameter set file for the Ideal Geometry, note that not all files are listed, look at CMSCommonData/data/cmsIdealGeometryXML.cfi for the full list of XML source files:

   es_source = XMLIdealGeometryESSource
   {
    vstring geomXMLFiles = {
                "Geometry/CMSCommonData/data/materials.xml",
                "Geometry/CMSCommonData/data/rotations.xml",
                "Geometry/CMSCommonData/data/totem_rotations.xml",
                "Geometry/CMSCommonData/data/cms.xml",
                "Geometry/CMSCommonData/data/cmsMother.xml",
                "Geometry/CMSCommonData/data/muonBase.xml",
                "Geometry/CMSCommonData/data/cmsMuon.xml",
                "Geometry/CMSCommonData/data/caloBase.xml",
                "Geometry/CMSCommonData/data/cmsCalo.xml",
                "Geometry/CMSCommonData/data/cmsTracker.xml",
                "Geometry/CMSCommonData/data/mgnt.xml",
                "Geometry/CMSCommonData/data/muonMagnet.xml",
                "Geometry/CMSCommonData/data/beampipe.xml",
                "Geometry/CMSCommonData/data/cmsBeam.xml",
                "Geometry/CMSCommonData/data/muonMB.xml",
some files not shown here
                # Production cuts... Simulation only!!! 
                "Geometry/HcalSimData/data/HcalProdCuts.xml",
                "Geometry/EcalSimData/data/EcalProdCuts.xml",
                "Geometry/TrackerSimData/data/trackerProdCuts.xml",
                "Geometry/TrackerSimData/data/trackerProdCutsBEAM.xml",
                "Geometry/MuonSimData/data/muonProdCuts.xml",

                # Needed for magnetic field simulation.
                "Geometry/CMSCommonData/data/FieldParameters.xml"

      }
      string rootNodeName = "cms:OCMS"
   }

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

   es_source magfield = XMLIdealGeometryESSource 
   {
      vstring geomXMLFiles = {
         "Geometry/CMSCommonData/data/cms.xml",
         "Geometry/CMSCommonData/data/cmsMagneticField.xml",
         "Geometry/CMSCommonData/data/MagneticFieldVolumes.xml"
      }
      string rootNodeName="MagneticFieldVolumes:MAGF"
   }

Pool Object Relational Ideal Geometry access

The POOL Object Relational Access page provides information on the parameter set variables needed by this means of access.

Review status

Reviewer/Editor and Date (copy from screen) Comments
Last reviewed by: AnneHeavey - 15 Sep 2006 Pulled in non-developer content from SWGuideDetectorDescription (author appears to be Michael Case)
JennyWilliams - 20 Nov 2006 Hacked to make it pdf-able - changed html table text to twiki code

Responsible: MichaelCase
Last reviewed by: MichaelCase - 27 Nov 2006

Edit | Attach | Watch | Print version | History: r13 < r12 < r11 < r10 < r9 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r13 - 2009-11-25 - KatiLassilaPerini



 
    • 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