00001 import FWCore.ParameterSet.Config as cms 00002 00003 import Geometry.DTGeometryBuilder.dtGeometryDB_cfi 00004 # 00005 # This cff provides a DTGeometry with the label 'idealForDigi' that is for sure matching 00006 # the ideal one and thus should be used in the digitisers. 00007 # 00008 idealForDigiDTGeometry = Geometry.DTGeometryBuilder.dtGeometryDB_cfi.DTGeometryESModule.clone() 00009 # The es_module providing fake (i.e. empty) Alignment constants: 00010 from Alignment.CommonAlignmentProducer.fakeForIdealAlignmentProducer_cfi import * 00011 # need to set to False, see below: 00012 idealForDigiDTGeometry.applyAlignment = False 00013 # Label of the produced DTGeometry: 00014 idealForDigiDTGeometry.appendToDataLabel = 'idealForDigi' 00015 # Alignments are looked for with this label: 00016 idealForDigiDTGeometry.alignmentsLabel = 'fakeForIdeal' 00017 # would need conversion to python 00018 #es_source fakeDTAlignmentSource = EmptyESSource { 00019 # string recordName = "DTAlignmentRcd" 00020 # vuint32 firstValid = {1} 00021 # bool iovIsRunNotTime = true 00022 #} 00023 #es_source fakeDTAlignmentErrorSource = EmptyESSource { 00024 # string recordName = "DTAlignmentErrorRcd" 00025 # vuint32 firstValid = {1} 00026 # bool iovIsRunNotTime = true 00027 #} 00028 ## care: This might lead to a duplication with CSC and tracker equivalents of this file: 00029 #es_source fakeGlobalPositionSource = EmptyESSource { 00030 # string recordName = "GlobalPositionRcd" 00031 # vuint32 firstValid = {1} 00032 # bool iovIsRunNotTime = true 00033 #} 00034 00035 # Comments by GF: 00036 # - In anticipation of the removal of the applyAlignment flag, I'd like to keep it true. 00037 # - Then we would need to get IOVs for the fake alignments, 00038 # * either using FakeAlignmentSource instead of FakeAlignmentProducer in fakeForIdealAlignmentProducer.cfi 00039 # * or by using the commented IOV settings above. 00040 # - But this causes problems in co-existence with e.g. GlobalTag: 00041 # Both Globaltag as well as FakeAlignmentSource provide IOV - it is not distinguished to provide IOV for 00042 # a given label only (e.g. 'fakeForIdeal' compared to ''). 00043 # - I'll try to contact framework people for CMSSW_2_2_0 and above.