Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Geometry
DTGeometryBuilder
python
idealForDigiDtGeometry_cff.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
import
Geometry.DTGeometryBuilder.dtGeometry_cfi
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.dtGeometry_cfi.DTGeometryESModule.clone()
9
# The es_module providing fake (i.e. empty) alignment constants:
10
from
Alignment.CommonAlignmentProducer.fakeForIdealAlignmentProducer_cfi
import
*
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
## care: This might lead to a duplication with CSC and tracker equivalents of this file:
29
#es_source fakeGlobalPositionSource = EmptyESSource {
30
# string recordName = "GlobalPositionRcd"
31
# vuint32 firstValid = {1}
32
# bool iovIsRunNotTime = true
33
#}
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.
Config
dtGeometry_cfi
fakeForIdealAlignmentProducer_cfi
Generated for CMSSW Reference Manual by
1.8.5