Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-12-17 23:36:22

0001 import FWCore.ParameterSet.Config as cms
0002 process = cms.Process("HcalParametersTest")
0003 
0004 process.load("Configuration.Geometry.GeometryDB_cff")
0005 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0006 from Configuration.AlCa.autoCond import autoCond
0007 process.GlobalTag.globaltag = autoCond['run1_mc']
0008 process.GlobalTag.snapshotTime = cms.string("9999-12-31 23:59:59.000")
0009 process.GlobalTag.toGet = cms.VPSet(cms.PSet(record = cms.string('HcalParametersRcd'),
0010                                              tag = cms.string('HCALParameters_Geometry_Test01'),
0011                                              connect = cms.string("sqlite_file:myfile.db")
0012                                              )
0013                                     )
0014 process.load('FWCore.MessageService.MessageLogger_cfi')
0015 if 'MessageLogger' in process.__dict__:
0016     process.MessageLogger.HCalGeom=dict()
0017 
0018 process.source = cms.Source("EmptySource")
0019 process.maxEvents = cms.untracked.PSet(
0020     input = cms.untracked.int32(1)
0021     )
0022 
0023 process.hpa = cms.EDAnalyzer("HcalParametersAnalyzer")
0024 
0025 process.Timing = cms.Service("Timing")
0026 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck")
0027 
0028 process.p1 = cms.Path(process.hpa)