00001 import FWCore.ParameterSet.Config as cms 00002 00003 import Geometry.CSCGeometryBuilder.cscGeometry_cfi 00004 # 00005 # This cff provides a CSCGeometry with the label 'idealForDigi' that is for sure matching 00006 # the ideal one and thus should be used in the digitisers. 00007 # 00008 idealForDigiCscGeometry = Geometry.CSCGeometryBuilder.cscGeometry_cfi.CSCGeometryESModule.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 idealForDigiCscGeometry.applyAlignment = False 00013 # Label of the produced CSCGeometry: 00014 idealForDigiCscGeometry.appendToDataLabel = 'idealForDigi' 00015 # Alignments are looked for with this label: 00016 idealForDigiCscGeometry.alignmentsLabel = 'fakeForIdeal' 00017 # would need conversion 00018 #es_source fakeCSCAlignmentSource = EmptyESSource { 00019 # string recordName = "CSCAlignmentRcd" 00020 # vuint32 firstValid = {1} 00021 # bool iovIsRunNotTime = true 00022 #} 00023 #es_source fakeCSCAlignmentErrorSource = EmptyESSource { 00024 # string recordName = "CSCAlignmentErrorRcd" 00025 # vuint32 firstValid = {1} 00026 # bool iovIsRunNotTime = true 00027 #} 00028 ## care: This might lead to a duplication with DT 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.