Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
import FWCore.ParameterSet.Config as cms

# The CMS Geometry files
# Pilot 2 geometry doesn't contain the preshower
#from Configuration.StandardSequences.GeometryPilot2_cff import *

# To use the "full" CMS geometry, comment the prevous line, and uncomment the following one:
#####from Configuration.StandardSequences.Geometry_cff import *
from Configuration.Geometry.GeometrySLHC_cff import *

# The tracker geometry left-over (for aligned/misaligned geometry)
# The goemetry used for reconstruction must not be misaligned.
trackerSLHCGeometry.applyAlignment = False
# Create a misaligned geometry for simulation
misalignedTrackerGeometry = Geometry.TrackerGeometryBuilder.trackerSLHCGeometry_cfi.trackerSLHCGeometry.clone()
# The misalignment is not applied by default
misalignedTrackerGeometry.applyAlignment = False
# Label of the produced TrackerGeometry:
misalignedTrackerGeometry.appendToDataLabel = 'MisAligned'

# The DT geometry left-over (for aligned/misaligned geometry)
# The geometry used for reconstruction must not be misaligned.
DTGeometryESModule.applyAlignment = False
# Create a misaligned geometry for simulation
misalignedDTGeometry = Geometry.DTGeometryBuilder.dtGeometry_cfi.DTGeometryESModule.clone()
# The misalignment is not applied by default
misalignedDTGeometry.applyAlignment = False
# Label of the produced DTGeometry:
misalignedDTGeometry.appendToDataLabel = 'MisAligned'

# The CSC geometry left-over (for aligned/misaligned geometry)
# The geometry used for reconstruction must not be misaligned.
CSCGeometryESModule.applyAlignment = False
# Create a misaligned geometry for simulation
misalignedCSCGeometry = Geometry.CSCGeometryBuilder.cscGeometry_cfi.CSCGeometryESModule.clone()
# The misalignment is not applied by default
misalignedCSCGeometry.applyAlignment = False
# Label of the produced CSCGeometry:
misalignedCSCGeometry.appendToDataLabel = 'MisAligned'



# Reconstruction and Interaction tracker geometries
from FastSimulation.Configuration.TrackerRecoGeometryESProducer_cfi import *
from FastSimulation.TrackerSetup.TrackerInteractionGeometryESProducer_cfi import *

# The Calo geometry service model left-over
from Geometry.CaloEventSetup.CaloTopology_cfi import *

# The muon geometry left-over
from RecoMuon.DetLayers.muonDetLayerGeometry_cfi import *