CMS 3D CMS Logo

TkOnlyFlatGeom_cff.py
Go to the documentation of this file.
1 ################
2 #
3 # Tracking-Only Geometry config script (Flat case)
4 #
5 # This script is used for processing fast stub building in the tracker only geometry
6 # See the available scripts in the test directory
7 # Based on the following geom script:
8 # https://github.com/cms-sw/cmssw/blob/CMSSW_9_2_X/Geometry/CMSCommonData/python/cmsExtendedGeometry2026D10XML_cfi.py
9 #
10 # S.Viret (viret_at_ipnl.in2p3.fr): 04/07/16
11 #
12 ################
13 
14 import FWCore.ParameterSet.Config as cms
15 
16 #Tracker stuff
22 
23 # Alignment
25 trackerGeometry.applyAlignment = cms.bool(False)
26 
27 ## Here we put the xml stuff for the tracker-only geometry
28 #
29 # Need to remove the rest in order to avoid SD-related crashes in Geant4
30 
31 XMLIdealGeometryESSource = cms.ESSource("XMLIdealGeometryESSource",
32  geomXMLFiles = cms.vstring(
33  'Geometry/CMSCommonData/data/materials.xml',
34  'Geometry/CMSCommonData/data/rotations.xml',
35  'Geometry/CMSCommonData/data/extend/cmsextent.xml',
36  'Geometry/CMSCommonData/data/cms/2019/v1/cms.xml',
37  'Geometry/CMSCommonData/data/cmsMother.xml',
38  'Geometry/CMSCommonData/data/cmsTracker.xml',
39  'Geometry/CMSCommonData/data/eta3/etaMax.xml',
40  'Geometry/CMSCommonData/data/mgnt.xml',
41  'Geometry/CMSCommonData/data/beampipe/2026/v1/beampipe.xml',
42  'Geometry/CMSCommonData/data/cmsBeam/2026/v1/cmsBeam.xml',
43  'Geometry/CMSCommonData/data/cavern.xml',
44  'Geometry/TrackerCommonData/data/PhaseII/trackerParameters.xml',
45  'Geometry/TrackerCommonData/data/pixfwdCommon.xml',
46  'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/pixfwd.xml',
47  'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/pixbar.xml',
48  'Geometry/TrackerCommonData/data/trackermaterial.xml',
49  'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/tracker.xml',
50  'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/pixel.xml',
51  'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/trackerbar.xml',
52  'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/trackerfwd.xml',
53  'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/trackerStructureTopology.xml',
54  'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/pixelStructureTopology.xml',
55  'Geometry/TrackerSimData/data/PhaseII/FlatTracker/trackersens.xml',
56  'Geometry/TrackerSimData/data/PhaseII/FlatTracker/pixelsens.xml',
57  'Geometry/TrackerRecoData/data/PhaseII/FlatTracker/trackerRecoMaterial.xml',
58  'Geometry/TrackerSimData/data/PhaseII/FlatTracker/trackerProdCuts.xml',
59  'Geometry/TrackerSimData/data/PhaseII/FlatTracker/pixelProdCuts.xml',
60  'Geometry/TrackerSimData/data/trackerProdCutsBEAM.xml',
61  'Geometry/CMSCommonData/data/FieldParameters.xml'),
62  rootNodeName = cms.string('cms:OCMS')
63 )
64 
65 
66