CMS 3D CMS Logo

idealForDigiDtGeometryDB_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 #
5 # This cff provides a DTGeometry with the label 'idealForDigi' that is for sure matching
6 # the ideal one and thus should be used in the digitisers.
7 #
8 idealForDigiDTGeometry = Geometry.DTGeometryBuilder.dtGeometryDB_cfi.DTGeometryESModule.clone()
9 # The es_module providing fake (i.e. empty) alignment constants:
11 # need to set to False, see below:
12 idealForDigiDTGeometry.applyAlignment = False
13 # Label of the produced DTGeometry:
14 idealForDigiDTGeometry.appendToDataLabel = 'idealForDigi'
15 # Alignments are looked for with this label:
16 idealForDigiDTGeometry.alignmentsLabel = 'fakeForIdeal'
17 # would need conversion to python
18 #es_source fakeDTAlignmentSource = EmptyESSource {
19 # string recordName = "DTAlignmentRcd"
20 # vuint32 firstValid = {1}
21 # bool iovIsRunNotTime = true
22 #}
23 #es_source fakeDTAlignmentErrorSource = EmptyESSource {
24 # string recordName = "DTAlignmentErrorExtendedRcd"
25 # vuint32 firstValid = {1}
26 # bool iovIsRunNotTime = true
27 #}
28 
34 
35 # Comments by GF:
36 # - In anticipation of the removal of the applyAlignment flag, I'd like to keep it true.
37 # - Then we would need to get IOVs for the fake alignments,
38 # * either using FakeAlignmentSource instead of FakeAlignmentProducer in fakeForIdealAlignmentProducer.cfi
39 # * or by using the commented IOV settings above.
40 # - But this causes problems in co-existence with e.g. GlobalTag:
41 # Both Globaltag as well as FakeAlignmentSource provide IOV - it is not distinguished to provide IOV for
42 # a given label only (e.g. 'fakeForIdeal' compared to '').
43 # - I'll try to contact framework people for CMSSW_2_2_0 and above.