Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Geometry
CSCGeometryBuilder
python
idealForDigiCscGeometry_cff.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
import
Geometry.CSCGeometryBuilder.cscGeometry_cfi
4
#
5
# This cff provides a CSCGeometry with the label 'idealForDigi' that is for sure matching
6
# the ideal one and thus should be used in the digitisers.
7
#
8
idealForDigiCSCGeometry = Geometry.CSCGeometryBuilder.cscGeometry_cfi.CSCGeometryESModule.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
idealForDigiCSCGeometry.applyAlignment =
False
13
# Label of the produced CSCGeometry:
14
idealForDigiCSCGeometry.appendToDataLabel =
'idealForDigi'
15
# Alignments are looked for with this label:
16
idealForDigiCSCGeometry.alignmentsLabel =
'fakeForIdeal'
17
# would need conversion
18
#es_source fakeCSCAlignmentSource = EmptyESSource {
19
# string recordName = "CSCAlignmentRcd"
20
# vuint32 firstValid = {1}
21
# bool iovIsRunNotTime = true
22
#}
23
#es_source fakeCSCAlignmentErrorSource = EmptyESSource {
24
# string recordName = "CSCAlignmentErrorExtendedRcd"
25
# vuint32 firstValid = {1}
26
# bool iovIsRunNotTime = true
27
#}
28
## care: This might lead to a duplication with DT 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
fakeForIdealAlignmentProducer_cfi
cscGeometry_cfi
Generated for CMSSW Reference Manual by
1.8.5