Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-14 22:35:48

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.AlCa.autoCond import autoCond
0003 
0004 process = cms.Process("GeometryTest")
0005 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0006 
0007 process.source = cms.Source("EmptyIOVSource",
0008                             lastValue = cms.uint64(3),
0009                             timetype = cms.string('runnumber'),
0010                             firstValue = cms.uint64(1),
0011                             interval = cms.uint64(1)
0012                             )
0013 
0014 process.GlobalTag.toGet = cms.VPSet(
0015     cms.PSet(record = cms.string("PCastorRcd"),
0016              tag = cms.string("CASTORRECO_Geometry_TagXX"),
0017              connect = cms.string("sqlite_file:myfile.db")
0018              ),
0019     cms.PSet(record = cms.string("PZdcRcd"),
0020              tag = cms.string("ZDCRECO_Geometry_TagXX"),
0021              connect = cms.string("sqlite_file:myfile.db")
0022              ),
0023     cms.PSet(record = cms.string("PCaloTowerRcd"),
0024              tag = cms.string("CTRECO_Geometry_TagXX"),
0025              connect = cms.string("sqlite_file:myfile.db")
0026              ),
0027     cms.PSet(record = cms.string("PEcalEndcapRcd"),
0028              tag = cms.string("EERECO_Geometry_TagXX"),
0029              connect = cms.string("sqlite_file:myfile.db")
0030              ),
0031     cms.PSet(record = cms.string("CSCRecoDigiParametersRcd"),
0032              tag = cms.string("CSCRECODIGI_Geometry_TagXX"),
0033              connect = cms.string("sqlite_file:myfile.db")
0034              ),
0035     cms.PSet(record = cms.string("CSCRecoGeometryRcd"),
0036              tag = cms.string("CSCRECO_Geometry_TagXX"),
0037              connect = cms.string("sqlite_file:myfile.db")
0038              ),
0039     cms.PSet(record = cms.string("PEcalBarrelRcd"),
0040              tag = cms.string("EBRECO_Geometry_TagXX"),
0041              connect = cms.string("sqlite_file:myfile.db")
0042              ),
0043     cms.PSet(record = cms.string("RPCRecoGeometryRcd"),
0044              tag = cms.string("RPCRECO_Geometry_TagXX"),
0045              connect = cms.string("sqlite_file:myfile.db")
0046              ),
0047     cms.PSet(record = cms.string("DTRecoGeometryRcd"),
0048              tag = cms.string("DTRECO_Geometry_TagXX"),
0049              connect = cms.string("sqlite_file:myfile.db")
0050              ),
0051     cms.PSet(record = cms.string("PEcalPreshowerRcd"),
0052              tag = cms.string("EPRECO_Geometry_TagXX"),
0053              connect = cms.string("sqlite_file:myfile.db")
0054              ),
0055     cms.PSet(record = cms.string("GeometryFileRcd"),
0056              tag = cms.string("XMLFILE_Geometry_Extended_TagXX"),
0057              connect = cms.string("sqlite_file:myfile.db"),
0058 #             label = cms.string("Extended")
0059              ),
0060     cms.PSet(record = cms.string("IdealGeometryRecord"),
0061              tag = cms.string("TKRECO_Geometry_TagXX"),
0062              connect = cms.string("sqlite_file:myfile.db")
0063              ),
0064     cms.PSet(record = cms.string('PTrackerParametersRcd'),
0065              tag = cms.string('TKParameters_Geometry_TagXX'),
0066              connect = cms.string("sqlite_file:myfile.db")
0067              ),
0068     cms.PSet(record = cms.string("PHcalRcd"),
0069              tag = cms.string("HCALRECO_Geometry_TagXX"),
0070              connect = cms.string("sqlite_file:myfile.db")
0071              )
0072     )
0073 
0074 process.MessageLogger = cms.Service("MessageLogger")
0075 process.demo = cms.EDAnalyzer("PrintEventSetupContent")
0076 
0077 process.GeometryTester = cms.EDAnalyzer("GeometryTester",
0078                                         XMLTest = cms.untracked.bool(True),
0079                                         TrackerTest = cms.untracked.bool(True),
0080                                         EcalTest = cms.untracked.bool(True),
0081                                         HcalTest = cms.untracked.bool(True),
0082                                         HGCalTest = cms.untracked.bool(False),
0083                                         CaloTowerTest = cms.untracked.bool(True),
0084                                         CastorTest = cms.untracked.bool(False),
0085                                         ZDCTest = cms.untracked.bool(True),
0086                                         CSCTest = cms.untracked.bool(True),
0087                                         DTTest = cms.untracked.bool(True),
0088                                         RPCTest = cms.untracked.bool(True),
0089                                         geomLabel = cms.untracked.string(""),
0090                                         roundValues = cms.untracked.bool(False)
0091                                         )
0092 
0093 process.maxEvents = cms.untracked.PSet(
0094     input = cms.untracked.int32(1)
0095     )
0096 
0097 process.p1 = cms.Path(process.GeometryTester) #replace this with process.demo if you want to see the PrintEventSetupContent output.
0098