00001 import FWCore.ParameterSet.Config as cms 00002 00003 import Geometry.TrackerGeometryBuilder.trackerGeometry_cfi 00004 # 00005 # This cff provides a TrackerGeometry with the label 'idealForDigi' that is for sure matching 00006 # the ideal one and thus should be used in the digitisers. 00007 # 00008 idealForDigiTrackerGeometry = Geometry.TrackerGeometryBuilder.trackerGeometry_cfi.TrackerDigiGeometryESModule.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 idealForDigiTrackerGeometry.applyAlignment = False 00013 # Label of the produced TrackerGeometry: 00014 idealForDigiTrackerGeometry.appendToDataLabel = 'idealForDigi' 00015 # Alignments are looked for with this label: 00016 idealForDigiTrackerGeometry.alignmentsLabel = 'fakeForIdeal' 00017 00018 #fakeTrackerAlignmentSource = cms.ESSource("EmptyESSource", 00019 # recordName = cms.string("TrackerAlignmentRcd"), 00020 # firstValid = cms.vuint32(1), 00021 # iovIsRunNotTime = cms.bool(True) 00022 # ) 00023 #The follwoing to be converted as the above... 00024 #es_source fakeTrackerAlignmentErrorSource = EmptyESSource { 00025 # string recordName = "TrackerAlignmentErrorRcd" 00026 # vuint32 firstValid = {1} 00027 # bool iovIsRunNotTime = true 00028 #} 00029 ## care: This might lead to a duplication with DT and CSC equivalents of this file: 00030 #es_source fakeGlobalPositionSource = EmptyESSource { 00031 # string recordName = "GlobalPositionRcd" 00032 # vuint32 firstValid = {1} 00033 # bool iovIsRunNotTime = true 00034 #} 00035 00036 # Comments by GF: 00037 # - In anticipation of the removal of the applyAlignment flag, I'd like to keep it true. 00038 # - Then we would need to get IOVs for the fake alignments, 00039 # * either using FakeAlignmentSource instead of FakeAlignmentProducer in fakeForIdealAlignmentProducer.cfi 00040 # * or by using the commented IOV settings above. 00041 # - But this causes problems in co-existence with e.g. GlobalTag: 00042 # Both Globaltag as well as FakeAlignmentSource provide IOV - it is not distinguished to provide IOV for 00043 # a given label only (e.g. 'fakeForIdeal' compared to ''). 00044 # - I'll try to contact framework people for CMSSW_2_2_0 and above.