CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Hcal_Conditions_forGlobalTag_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 hcal_db_producer = cms.ESProducer("HcalDbProducer",
4  dump = cms.untracked.vstring(''),
5  file = cms.untracked.string('')
6 )
7 
8 from Geometry.HcalEventSetup.HcalRelabel_cfi import HcalReLabel
9 #------------------------- HARDCODED conditions
10 
11 es_hardcode = cms.ESSource("HcalHardcodeCalibrations",
12 toGet = cms.untracked.vstring('GainWidths'),
13 #--- the following 5 parameters can be omitted in case of regular Geometry
14  iLumi = cms.double(-1.), # for Upgrade: fb-1
15  HcalReLabel = HcalReLabel, # for Upgrade
16  HERecalibration = cms.bool(False), # True for Upgrade
17  HEreCalibCutoff = cms.double(20.), # if above is True
18  HFRecalibration = cms.bool(False), # True for Upgrade
19  GainWidthsForTrigPrims = cms.bool(False) # True Upgrade
20 )
21 
22 
23 es_prefer_hcalHardcode = cms.ESPrefer("HcalHardcodeCalibrations", "es_hardcode")
24 
25 import Geometry.HcalEventSetup.hcalTopologyConstants_cfi as hcalTopologyConstants_cfi
26 es_hardcode.hcalTopologyConstants = cms.PSet(hcalTopologyConstants_cfi.hcalTopologyConstants)