Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-12-08 08:16:23

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("HcalGeometryTest")
0004 
0005 process.load("Configuration.StandardSequences.GeometryDB_cff")
0006 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0007 from Configuration.AlCa.autoCond import autoCond
0008 process.GlobalTag.globaltag = autoCond['mc']
0009 process.XMLFromDBSource.label=''
0010  
0011 process.GlobalTag.toGet = cms.VPSet(
0012          cms.PSet(record = cms.string("GeometryFileRcd"),
0013                   tag = cms.string("XMLFILE_Geometry_61YV5_Phase1_R30F12_HCal_Ideal_mc"),
0014                   connect = cms.untracked.string("sqlite_file:./myfile.db")
0015                   ),
0016          cms.PSet(record = cms.string("PHcalRcd"),
0017                   tag = cms.string("HCALRECO_Geometry_61YV5"),
0018                   connect = cms.untracked.string("sqlite_file:./myfile.db")
0019                   )
0020          )
0021 
0022 process.source = cms.Source("EmptySource")
0023 process.maxEvents = cms.untracked.PSet(
0024     input = cms.untracked.int32(1)
0025     )
0026 
0027 process.hga = cms.EDAnalyzer("HcalGeometryAnalyzer",
0028                              UseOldLoader   = cms.bool(False),
0029                              GeometryFromDB = cms.bool(True))
0030 
0031 process.Timing = cms.Service("Timing")
0032 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck")
0033 
0034 process.p1 = cms.Path(process.hga)