CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
idealForDigiTrackerGeometry_cff.py
Go to the documentation of this file.
2 
4 #
5 # This cff provides a TrackerGeometry with the label 'idealForDigi' that is for sure matching
6 # the ideal one and thus should be used in the digitisers.
7 #
8 idealForDigiTrackerGeometry = Geometry.TrackerGeometryBuilder.trackerGeometry_cfi.TrackerDigiGeometryESModule.clone()
9 # The es_module providing fake (i.e. empty) alignment constants:
11 # need to set to False, see below:
12 idealForDigiTrackerGeometry.applyAlignment = False
13 # Label of the produced TrackerGeometry:
14 idealForDigiTrackerGeometry.appendToDataLabel = 'idealForDigi'
15 # Alignments are looked for with this label:
16 idealForDigiTrackerGeometry.alignmentsLabel = 'fakeForIdeal'
17 
18 #fakeTrackerAlignmentSource = cms.ESSource("EmptyESSource",
19 # recordName = cms.string("TrackerAlignmentRcd"),
20 # firstValid = cms.vuint32(1),
21 # iovIsRunNotTime = cms.bool(True)
22 # )
23 #The follwoing to be converted as the above...
24 #es_source fakeTrackerAlignmentErrorSource = EmptyESSource {
25 # string recordName = "TrackerAlignmentErrorRcd"
26 # vuint32 firstValid = {1}
27 # bool iovIsRunNotTime = true
28 #}
29 ## care: This might lead to a duplication with DT and CSC equivalents of this file:
30 #es_source fakeGlobalPositionSource = EmptyESSource {
31 # string recordName = "GlobalPositionRcd"
32 # vuint32 firstValid = {1}
33 # bool iovIsRunNotTime = true
34 #}
35 
36 # Comments by GF:
37 # - In anticipation of the removal of the applyAlignment flag, I'd like to keep it true.
38 # - Then we would need to get IOVs for the fake alignments,
39 # * either using FakeAlignmentSource instead of FakeAlignmentProducer in fakeForIdealAlignmentProducer.cfi
40 # * or by using the commented IOV settings above.
41 # - But this causes problems in co-existence with e.g. GlobalTag:
42 # Both Globaltag as well as FakeAlignmentSource provide IOV - it is not distinguished to provide IOV for
43 # a given label only (e.g. 'fakeForIdeal' compared to '').
44 # - I'll try to contact framework people for CMSSW_2_2_0 and above.