Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:14:25

0001 # Configuration file to run stubs/CSCGeometryAnalyser
0002 # to dump CSC geometry information
0003 # Tim Cox 11.06.2008 pythonized
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("GeometryTest")
0008 
0009 process.load('Configuration.StandardSequences.GeometryDB_cff')
0010 process.load('CondCore.CondDB.CondDB_cfi')
0011 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0012 
0013 from Configuration.AlCa.autoCond import autoCond
0014 process.GlobalTag.globaltag = autoCond['mc']
0015 
0016 process.source = cms.Source("EmptySource")
0017 
0018 process.maxEvents = cms.untracked.PSet(
0019     input = cms.untracked.int32(1)
0020 )
0021 
0022 process.CondDB.timetype = cms.untracked.string('runnumber')
0023 process.CondDB.connect = cms.string('sqlite_file:myfile.db')
0024 process.PoolDBESSourceGeometry = cms.ESSource("PoolDBESSource",
0025                                       process.CondDB,
0026                                       toGet = cms.VPSet(cms.PSet(record = cms.string('GeometryFileRcd'),tag = cms.string('XMLFILE_Geometry_Extended_TagXX')),
0027                                                         cms.PSet(record = cms.string('IdealGeometryRecord'),tag = cms.string('TKRECO_Geometry_TagXX')),
0028                                                         cms.PSet(record = cms.string('PEcalBarrelRcd'),   tag = cms.string('EBRECO_Geometry_TagXX')),
0029                                                         cms.PSet(record = cms.string('PEcalEndcapRcd'),   tag = cms.string('EERECO_Geometry_TagXX')),
0030                                                         cms.PSet(record = cms.string('PEcalPreshowerRcd'),tag = cms.string('EPRECO_Geometry_TagXX')),
0031                                                         cms.PSet(record = cms.string('PHcalRcd'),         tag = cms.string('HCALRECO_Geometry_TagXX')),
0032                                                         cms.PSet(record = cms.string('PCaloTowerRcd'),    tag = cms.string('CTRECO_Geometry_TagXX')),
0033                                                         cms.PSet(record = cms.string('PZdcRcd'),          tag = cms.string('ZDCRECO_Geometry_TagXX')),
0034                                                         cms.PSet(record = cms.string('PCastorRcd'),       tag = cms.string('CASTORRECO_Geometry_TagXX')),
0035                                                         cms.PSet(record = cms.string('CSCRecoGeometryRcd'),tag = cms.string('CSCRECO_Geometry_TagXX')),
0036                                                         cms.PSet(record = cms.string('CSCRecoDigiParametersRcd'),tag = cms.string('CSCRECODIGI_Geometry_TagXX')),
0037                                                         cms.PSet(record = cms.string('DTRecoGeometryRcd'),tag = cms.string('DTRECO_Geometry_TagXX')),
0038                                                         cms.PSet(record = cms.string('RPCRecoGeometryRcd'),tag = cms.string('RPCRECO_Geometry_TagXX'))
0039                                                         )
0040                                       )
0041 
0042 process.es_prefer_geometry = cms.ESPrefer( "PoolDBESSource", "PoolDBESSourceGeometry" )
0043 
0044 process.load("Alignment.CommonAlignmentProducer.FakeAlignmentSource_cfi")
0045 process.preferFakeAlign = cms.ESPrefer("FakeAlignmentSource") 
0046 
0047 process.MessageLogger = cms.Service("MessageLogger",
0048     cerr = cms.untracked.PSet(
0049         enable = cms.untracked.bool(False)
0050     ),
0051     debugModules = cms.untracked.vstring('*'),
0052     files = cms.untracked.PSet(
0053         debug = cms.untracked.PSet(
0054             CSC = cms.untracked.PSet(
0055                 limit = cms.untracked.int32(-1)
0056             ),
0057             CSCGeometryBuilderFromDDD = cms.untracked.PSet(
0058                 limit = cms.untracked.int32(-1)
0059             ),
0060             CSCNumbering = cms.untracked.PSet(
0061                 limit = cms.untracked.int32(-1)
0062             ),
0063             DEBUG = cms.untracked.PSet(
0064                 limit = cms.untracked.int32(0)
0065             ),
0066             INFO = cms.untracked.PSet(
0067                 limit = cms.untracked.int32(0)
0068             ),
0069             RadialStripTopology = cms.untracked.PSet(
0070                 limit = cms.untracked.int32(-1)
0071             ),
0072             extension = cms.untracked.string('.out'),
0073             noLineBreaks = cms.untracked.bool(True),
0074             threshold = cms.untracked.string('DEBUG')
0075         ),
0076         errors = cms.untracked.PSet(
0077             extension = cms.untracked.string('.out'),
0078             threshold = cms.untracked.string('ERROR')
0079         ),
0080         log = cms.untracked.PSet(
0081             extension = cms.untracked.string('.out')
0082         )
0083     )
0084 )
0085 
0086 process.producer = cms.EDAnalyzer("CSCGeometryAnalyzer")
0087 
0088 process.CSCGeometryESModule.debugV = True
0089 
0090 process.p1 = cms.Path(process.producer)
0091