Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:15:06

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.AlCa.autoCond import autoCond
0003  
0004 process = cms.Process("HGCalParametersTest")
0005 process.load('Configuration.StandardSequences.GeometryDB_cff')
0006 process.load('FWCore.MessageService.MessageLogger_cfi')
0007 
0008 if 'MessageLogger' in process.__dict__:
0009     process.MessageLogger.HGCalGeom=dict()
0010  
0011 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0012 process.GlobalTag.globaltag = autoCond['run1_mc']
0013 process.GlobalTag.toGet = cms.VPSet(cms.PSet(record = cms.string('PHGCalParametersRcd'),
0014                                               tag = cms.string('HGCALParameters_Geometry_Test01'),
0015                                               connect = cms.string("sqlite_file:./myfile.db")
0016                                               )
0017                                      )
0018  
0019 process.source = cms.Source("EmptySource")
0020  
0021 process.maxEvents = cms.untracked.PSet(
0022     input = cms.untracked.int32(1)
0023     )
0024  
0025 process.test = cms.EDAnalyzer("HGCalParametersAnalyzer")
0026  
0027 process.p1 = cms.Path(process.test)