Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:31:01

0001 ################
0002 #
0003 #  Tracking-Only Geometry config script (Flat case)
0004 #  
0005 # This script is used for processing fast stub building in the tracker only geometry
0006 # See the available scripts in the test directory
0007 # Based on the following geom script:
0008 # https://github.com/cms-sw/cmssw/blob/CMSSW_9_2_X/Geometry/CMSCommonData/python/cmsExtendedGeometry2026D10XML_cfi.py
0009 #
0010 # S.Viret (viret_at_ipnl.in2p3.fr): 04/07/16
0011 #
0012 ################
0013 
0014 import FWCore.ParameterSet.Config as cms
0015 
0016 #Tracker stuff
0017 from Geometry.CommonTopologies.globalTrackingGeometry_cfi import *
0018 from RecoTracker.GeometryESProducer.TrackerRecoGeometryESProducer_cfi import *
0019 from Geometry.TrackerGeometryBuilder.trackerParameters_cfi import *
0020 from Geometry.TrackerNumberingBuilder.trackerTopology_cfi import *
0021 from Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi import *
0022 
0023 #  Alignment
0024 from Geometry.TrackerGeometryBuilder.idealForDigiTrackerGeometry_cff import *
0025 trackerGeometry.applyAlignment = cms.bool(False)
0026 
0027 ## Here we put the xml stuff for the tracker-only geometry
0028 #
0029 # Need to remove the rest in order to avoid SD-related crashes in Geant4
0030 
0031 XMLIdealGeometryESSource = cms.ESSource("XMLIdealGeometryESSource",
0032     geomXMLFiles = cms.vstring(
0033        'Geometry/CMSCommonData/data/materials.xml',
0034         'Geometry/CMSCommonData/data/rotations.xml',
0035         'Geometry/CMSCommonData/data/extend/cmsextent.xml',
0036         'Geometry/CMSCommonData/data/cms/2019/v1/cms.xml',
0037         'Geometry/CMSCommonData/data/cmsMother.xml',
0038         'Geometry/CMSCommonData/data/cmsTracker.xml',
0039         'Geometry/CMSCommonData/data/eta3/etaMax.xml',   
0040         'Geometry/CMSCommonData/data/mgnt.xml',
0041         'Geometry/CMSCommonData/data/beampipe/2026/v1/beampipe.xml',
0042         'Geometry/CMSCommonData/data/cmsBeam/2026/v1/cmsBeam.xml',
0043         'Geometry/CMSCommonData/data/cavern.xml',
0044         'Geometry/TrackerCommonData/data/PhaseII/trackerParameters.xml',
0045         'Geometry/TrackerCommonData/data/pixfwdCommon.xml',
0046         'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/pixfwd.xml',
0047         'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/pixbar.xml',
0048         'Geometry/TrackerCommonData/data/trackermaterial.xml',
0049         'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/tracker.xml',
0050         'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/pixel.xml',
0051         'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/trackerbar.xml',
0052         'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/trackerfwd.xml',
0053         'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/trackerStructureTopology.xml',
0054         'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/pixelStructureTopology.xml',
0055         'Geometry/TrackerSimData/data/PhaseII/FlatTracker/trackersens.xml',
0056         'Geometry/TrackerSimData/data/PhaseII/FlatTracker/pixelsens.xml',
0057         'Geometry/TrackerRecoData/data/PhaseII/FlatTracker/trackerRecoMaterial.xml',
0058         'Geometry/TrackerSimData/data/PhaseII/FlatTracker/trackerProdCuts.xml',
0059         'Geometry/TrackerSimData/data/PhaseII/FlatTracker/pixelProdCuts.xml',
0060         'Geometry/TrackerSimData/data/trackerProdCutsBEAM.xml',
0061         'Geometry/CMSCommonData/data/FieldParameters.xml'),
0062     rootNodeName = cms.string('cms:OCMS')
0063 )
0064 
0065 
0066