1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import FWCore.ParameterSet.Config as cms
import Geometry.MTDGeometryBuilder.mtdGeometryDB_cfi
#
# This cff provides a TrackerGeometry with the label 'idealForDigi' that is for sure matching
# the ideal one and thus should be used in the digitisers.
#
idealForDigiMTDGeometry = Geometry.MTDGeometryBuilder.mtdGeometryDB_cfi.mtdGeometryDB.clone()
# The es_module providing fake (i.e. empty) alignment constants:
from Alignment.CommonAlignmentProducer.fakeForIdealAlignmentProducer_cfi import *
# need to set to False, see below:
idealForDigiMTDGeometry.applyAlignment = False
# Label of the produced TrackerGeometry:
idealForDigiMTDGeometry.appendToDataLabel = 'idealForDigi'
# Alignments are looked for with this label:
idealForDigiMTDGeometry.alignmentsLabel = 'fakeForIdeal'
|