Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:11

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DUMP")
0004 process.load("CondCore.CondDB.CondDB_cfi")
0005 process.load("Configuration.Geometry.GeometryExtended2016dev_cff")
0006 process.load("Configuration.Geometry.GeometryExtended2016devReco_cff")
0007 
0008 
0009 process.maxEvents = cms.untracked.PSet(  input = cms.untracked.int32(1) )
0010 
0011 process.source = cms.Source("EmptySource",
0012                             numberEventsInRun = cms.untracked.uint32(1),
0013                             firstRun = cms.untracked.uint32(1)
0014                             )
0015 
0016 process.hcal_db_producer = cms.ESProducer("HcalDbProducer",
0017                                           dump = cms.untracked.vstring(''),
0018                                           file = cms.untracked.string('')
0019                                           )
0020 
0021 
0022 #--------------------- replacing conditions, fileinpath starts from /src 

0023 process.es_ascii = cms.ESSource("HcalTextCalibrations",
0024                                 input = cms.VPSet(
0025         cms.PSet(
0026         object = cms.string('FrontEndMap'),
0027         file = cms.FileInPath('HCALmap_forNoiseStudy_2016_NoQIE10.txt')
0028             )
0029         )
0030                                 )
0031 
0032 process.es_prefer = cms.ESPrefer('HcalTextCalibrations','es_ascii')
0033 
0034 
0035 process.dumpcond = cms.EDAnalyzer("HcalDumpConditions",
0036                                   dump = cms.untracked.vstring("FrontEndMap")
0037                                   )
0038 
0039 process.p = cms.Path(process.dumpcond)