Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:09

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.AlCa.autoCond import autoCond
0003 
0004 process = cms.Process("GeometryTest")
0005 
0006 process.source = cms.Source("EmptyIOVSource",
0007                             lastValue = cms.uint64(3),
0008                             timetype = cms.string('runnumber'),
0009                             firstValue = cms.uint64(1),
0010                             interval = cms.uint64(1)
0011                             )
0012 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cfi')
0013 process.GlobalTag.globaltag = autoCond['run1_mc']
0014 
0015 process.GlobalTag.toGet = cms.VPSet(
0016     cms.PSet(record = cms.string("PHGCalRcd"),
0017              tag = cms.string("HGCALRECO_Geometry_Test01"),
0018              connect = cms.string("sqlite_file:myfile.db")
0019              )
0020     )
0021 
0022 process.MessageLogger = cms.Service("MessageLogger")
0023 process.demo = cms.EDAnalyzer("PrintEventSetupContent")
0024 
0025 process.GeometryTester = cms.EDAnalyzer("GeometryTester",
0026                                         XMLTest = cms.untracked.bool(False),
0027                                         TrackerTest = cms.untracked.bool(False),
0028                                         EcalTest = cms.untracked.bool(False),
0029                                         HcalTest = cms.untracked.bool(False),
0030                                         HGCalTest = cms.untracked.bool(True),
0031                                         CaloTowerTest = cms.untracked.bool(False),
0032                                         CastorTest = cms.untracked.bool(False),
0033                                         ZDCTest = cms.untracked.bool(False),
0034                                         CSCTest = cms.untracked.bool(False),
0035                                         DTTest = cms.untracked.bool(False),
0036                                         RPCTest = cms.untracked.bool(False),
0037                                         geomLabel = cms.untracked.string("")
0038                                         )
0039 
0040 process.maxEvents = cms.untracked.PSet(
0041     input = cms.untracked.int32(1)
0042     )
0043 
0044 process.p1 = cms.Path(process.GeometryTester) #replace this with process.demo if you want to see the PrintEventSetupContent output.
0045