This repo contains a simple Python configuration of CMSSW for creating a big XML file of the CMS detector geometry that you can use for SketchUpCMS.
export SCRAM_ARCH=slc6_amd64_gcc530
cmsrel CMSSW_9_0_0_pre5
cd CMSSW_9_0_0_pre5/src
cmsenv
git cms-init
git cms-merge-topic -u SketchUpCMS:fix_chimney_hole_9_0_X
You can read about the disccussion of this patch:
The patch hasn't been merged to CMSSW. But this is necesary for SketchUp.
scram b -j 9
git clone [email protected]:SketchUpCMS/ddtoddl_cfg.git
cmsRun ddtoddl_cfg/run_OutputDDToDDL_cfg.py
By default, it uses the geometry config file Configuration.Geometry.GeometryExtended2017_cff
and create the big XML file GeometryExtended2017.xml
.
The file GeometryExtended2017.xml
can be used as an input to SketchUpCMS.
You can specify the geometry config and the output XML filename as arguments to cmsRun
. For example
cmsRun ddtoddl_cfg/run_OutputDDToDDL_cfg.py geometryConfig=Configuration.Geometry.GeometryExtended2023D11_cff outFilename=GeometryExtended2023D11.xml
will use one of the Phase 2 upgrade geometry config Configuration.Geometry.GeometryExtended2023D11_cff
and create a big XML file with the filename GeometryExtended2023D11.xml
.