Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # Configuration file to run CSCGACwithB
0002 # printing table of chamber information.
0003 # Tim Cox 11.03.2011 - geometry from db & then aligned
0004 # (cf. cgacwithb_cfg.py which uses ideal geometry)
0005 
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 process = cms.Process("GeometryAsChambersWithB")
0009 
0010 # To access the FULL geometry requires
0011 # ====================================
0012 process.load('Configuration.StandardSequences.GeometryDB_cff')
0013 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0014 # Any 'MC' tag is always ideal !BEWARE!
0015 ##process.GlobalTag.globaltag = 'MC_42_V6::All'
0016 process.GlobalTag.globaltag = 'START42_V6::All'
0017 
0018 # But all I need for CSC geometry tests is a subset of the above
0019 # ==============================================================
0020 ##process.load('GeometryReaders.XMLIdealGeometryESSource.cmsGeometryDB_cff')
0021 ##process.load('Geometry.MuonNumbering.muonNumberingInitialization_cfi')
0022 ##process.load('Geometry.CSCGeometryBuilder.cscGeometryDB_cfi')
0023 ##process.load('Geometry.CSCGeometryBuilder.idealForDigiCscGeometryDB_cff')
0024 # note: the following is the standard entry point for condition records (necessary for CSC geometry)
0025 ##process.load('Configuration.StandardSequences.CondDBESSource_cff')
0026 # Any 'MC' tag is always ideal !BEWARE!
0027 ##process.GlobalTag.globaltag = 'MC_42_V6::All'
0028 ##process.GlobalTag.globaltag = 'START42_V6::All'
0029 
0030 # Load magnetic field (since this executable uses it)
0031 # ===================================================
0032 process.load("Configuration.StandardSequences.MagneticField_cff")
0033 
0034 # Basic source & masxEvents
0035 # =========================
0036 process.source = cms.Source("EmptySource")
0037 process.maxEvents = cms.untracked.PSet(
0038     input = cms.untracked.int32(1)
0039 )
0040 
0041 # MessageLogger - why even try?!
0042 # ==============================
0043 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0044 process.MessageLogger.debugModules.append('CSCGeometryESModule')
0045 process.MessageLogger.cout = cms.untracked.PSet(
0046    threshold = cms.untracked.string('DEBUG'),
0047    default = cms.untracked.PSet( limit = cms.untracked.int32(0) ),
0048    CSCGeometry = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0049    CSCGeometryBuilder = cms.untracked.PSet( limit = cms.untracked.int32(-1) )
0050 )
0051 
0052 process.producer = cms.EDAnalyzer("CSCGACwithB")
0053 
0054 process.p1 = cms.Path(process.producer)
0055