CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
fakeConditions_Phase1_R34F16_HCal_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Start by reading in all the fake conditions that are common to all Phase1 trackers
4 # Then do the 1 or two that are specific the R34F16
6 siPixelFakeLorentzAngleESSource = cms.ESSource("SiPixelFakeLorentzAngleESSource",
7  file = cms.FileInPath('SLHCUpgradeSimulations/Geometry/data/PhaseI/R34F16/PixelSkimmedGeometry_phase1.txt')
8  )
9 es_prefer_fake_lorentz = cms.ESPrefer("SiPixelFakeLorentzAngleESSource","siPixelFakeLorentzAngleESSource")
10 
11 # HCal
15 # use hardcoded values
16 es_hardcode.toGet.extend(['Gains', 'Pedestals', 'PedestalWidths', 'QIEData',
17  'ElectronicsMap','ChannelQuality','RespCorrs',
18  'ZSThresholds',
19  'LutMetadata',
20  'L1TriggerObjects','TimeCorrs','PFCorrs','LUTCorrs',
21  'RecoParams'])
22 es_hardcode.H2Mode = cms.untracked.bool(False)
23 es_hardcode.SLHCMode = cms.untracked.bool(True)
24 es_prefer_hcalHardcode = cms.ESPrefer("HcalHardcodeCalibrations", "es_hardcode")
25 
26 # Keep more stuff
27 #myOutputCommands.extend([
28 # 'keep *_hcalDigis_*_*', 'keep *_simHcalUnsuppressedDigis_*_*',
29 # 'keep *_towerMakerWithHO_*_*'
30 # ])
31 
32 # turn on test numbering
33 g4SimHits.Physics.type = 'SimG4Core/Physics/QGSP_BERT_EMV'
34 g4SimHits.HCalSD.TestNumberingScheme = True
35 
36 # turn on SLHC topology
37 #HcalTopologyIdealEP.SLHCMode = cms.untracked.bool(True) -- In the Geometry file
38 
39 #pgen.remove(genJetMET)
40