Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
import FWCore.ParameterSet.Config as cms

# With an ideal geometry (for the reconstruction)
from FastSimulation.TrackerSetup.TrackerMaterial_cfi import *
TrackerInteractionGeometryESProducer = cms.ESProducer("TrackerInteractionGeometryESProducer",
    TrackerMaterialBlock
)

# The same as above but with a misaligned tracker geometry (for the simulation)
misalignedTrackerInteractionGeometry = cms.ESProducer("TrackerInteractionGeometryESProducer",
    TrackerMaterialBlock,
    trackerGeometryLabel = cms.untracked.string('MisAligned'),
    appendToDataLabel = cms.string('MisAligned')
)