Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("check")
0004 
0005 
0006 # rpc geometry
0007 process.XMLIdealGeometryESSource = cms.ESSource("XMLIdealGeometryESSource",
0008     geomXMLFiles = cms.vstring('Geometry/CMSCommonData/data/normal/cmsextent.xml',
0009         'Geometry/CMSCommonData/data/cms.xml',
0010         'Geometry/CMSCommonData/data/cmsMother.xml',
0011         'Geometry/CMSCommonData/data/muonBase.xml',
0012         'Geometry/CMSCommonData/data/cmsMuon.xml',
0013         'Geometry/CMSCommonData/data/beampipe.xml',
0014         'Geometry/CMSCommonData/data/cmsBeam.xml',
0015         'Geometry/CMSCommonData/data/mgnt.xml',
0016         'Geometry/CMSCommonData/data/muonMagnet.xml',
0017         'Geometry/CMSCommonData/data/cavern.xml',
0018         'Geometry/CMSCommonData/data/materials.xml',
0019         'Geometry/CMSCommonData/data/rotations.xml',
0020         'Geometry/CMSCommonData/data/muonMB.xml',
0021         'Geometry/MuonCommonData/data/mbCommon.xml',
0022         'Geometry/MuonCommonData/data/mb1.xml',
0023         'Geometry/MuonCommonData/data/mb2.xml',
0024         'Geometry/MuonCommonData/data/mb3.xml',
0025         'Geometry/MuonCommonData/data/mb4.xml',
0026         'Geometry/DTGeometryBuilder/data/dtSpecsFilter.xml',
0027         'Geometry/MuonCommonData/data/mf_upscope.xml',
0028       #  'Geometry/MuonCommonData/data/mf.xml',
0029         'Geometry/CSCGeometryBuilder/data/cscSpecs.xml',
0030         'Geometry/CSCGeometryBuilder/data/cscSpecsFilter.xml',
0031         'Geometry/RPCGeometryBuilder/data/RPCSpecs.xml',
0032         'Geometry/MuonCommonData/data/muonNumbering_upscope.xml',
0033      #   'Geometry/MuonCommonData/data/muonNumbering.xml',
0034         'Geometry/MuonCommonData/data/muonYoke_upscope.xml',
0035       #  'Geometry/MuonCommonData/data/muonYoke.xml',
0036         'Geometry/MuonSimData/data/muonSens.xml'),
0037     rootNodeName = cms.string('cms:OCMS')
0038 )
0039 
0040 
0041 
0042 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0043 #process.load("Geometry.MuonCommonData.muonIdealGeometryXML_cfi")
0044 process.load("Geometry.RPCGeometry.rpcGeometry_cfi")
0045 
0046 process.load("L1TriggerConfig.RPCTriggerConfig.RPCConeDefinition_cff")
0047 # emulation
0048 
0049 process.load("L1TriggerConfig.RPCTriggerConfig.L1RPCConfig_cff")
0050 process.load("L1Trigger.RPCTrigger.RPCConeConfig_cff")
0051 process.load("L1TriggerConfig.RPCTriggerConfig.RPCHwConfig_cff")
0052 
0053 process.load("EventFilter.RPCRawToDigi.RPCSQLiteCabling_cfi")
0054 process.RPCCabling.connect = cms.string('oracle://cms_orcoff_prep/CMS_COND_30X_RPC')
0055 
0056 process.source = cms.Source("EmptySource")
0057 
0058 process.maxEvents = cms.untracked.PSet(
0059     input = cms.untracked.int32(1)
0060 )
0061 
0062 
0063 process.p = cms.EDAnalyzer("RPCConeConnectionsAna",
0064 #       minTower = cms.untracked.int32(-16),
0065 #       maxTower = cms.untracked.int32(16),
0066 #       minSector = cms.untracked.int32(0),
0067 #       maxSector = cms.untracked.int32(11)
0068        minTower = cms.int32(-16),
0069        maxTower = cms.int32(16),
0070        minSector = cms.int32(0),
0071        maxSector = cms.int32(11)
0072    
0073 )
0074 
0075 
0076 process.p1 = cms.Path(process.p)