Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:56:17

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("test")
0004 process.load("FWCore.MessageService.MessageLogger_cfi")
0005 
0006 #    service = Tracer {}
0007 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0008 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0009 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0010 
0011 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0012 process.load("Geometry.DTGeometryBuilder.dtGeometry_cfi")
0013 process.load("Geometry.CSCGeometryBuilder.cscGeometry_cfi")
0014 
0015 # global tag...
0016 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0017 process.GlobalTag.globaltag = "MC_31X_V3::All" # use a valid global tag here!
0018 #... or fake...
0019 #process.load("Configuration.StandardSequences.FakeConditions_cff")
0020 #... or specific tracker/muon conditions
0021 #process.load("CalibTracker.Configuration.TrackerAlignment.TrackerAlignment_Frontier_cff")
0022 #process.load("CalibMuon.Configuration.Muon_FrontierAlignment_cff")
0023 #process.load("CalibTracker.Configuration.TrackerAlignment.TrackerAlignment_Frontier_IntDB_cff")
0024 #process.load("CalibMuon.Configuration.Muon_FrontierAlignment_IntDB_cff")
0025 
0026 process.load("Geometry.TrackerGeometryBuilder.idealForDigiTrackerGeometry_cff")
0027 process.load("Geometry.CSCGeometryBuilder.idealForDigiCscGeometry_cff")
0028 process.load("Geometry.DTGeometryBuilder.idealForDigiDtGeometry_cff")
0029 
0030 process.source = cms.Source("EmptySource")
0031 process.maxEvents = cms.untracked.PSet(
0032     input = cms.untracked.int32(1)
0033 )
0034 
0035 process.demo = cms.EDAnalyzer("TestAccessGeom",
0036     # spaces are removed internally - but are needed since framework seems to ignore empty strings...
0037     TrackerGeomLabels = cms.vstring('idealForDigi', 
0038         ' '),
0039     DTGeomLabels = cms.vstring('idealForDigi', 
0040         ' '),
0041     CSCGeomLabels = cms.vstring('idealForDigi', 
0042         ' ')
0043 )
0044 
0045 process.p = cms.Path(process.demo)
0046 process.MessageLogger.cerr.INFO.limit = 1000000
0047 process.MessageLogger.cerr.noTimeStamps = True