Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process("GeometryTest")
0005 
0006 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0007 
0008 #from xml text files #process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0009 
0010 #from db xml source: #process.load("GeometryReaders.XMLIdealGeometryESSource.cmsGeometryDB_cff")
0011 #from db sql file:   #process.load("Geometry.CaloEventSetup.xmlsqlitefile")
0012 #from db frontier:   #process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
0013 
0014 #xml source: #process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0015 
0016 #reco source from db: #
0017 process.load("Geometry.CaloEventSetup.CaloGeometryDBReader_cfi")
0018 
0019 #reco from db sql     : #process.load("Geometry.CaloEventSetup.calodbsqlitefile")
0020 #reco from db frontier: #
0021 process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
0022 
0023 process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
0024 
0025 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0026 
0027 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0028 if 'MessageLogger' in process.__dict__:
0029     process.MessageLogger.CaloGeom=dict()
0030 
0031 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(4) )
0032 
0033 process.source = cms.Source("EmptySource")
0034 
0035 process.etta = cms.EDAnalyzer("DumpEcalTrigTowerMapping")
0036 
0037 process.ctgw = cms.EDAnalyzer("TestEcalGetWindow")
0038 
0039 process.cga = cms.EDAnalyzer("CaloGeometryAnalyzer",
0040                              fullEcalDump = cms.untracked.bool(True)
0041                              )
0042 
0043 process.mfa = cms.EDAnalyzer("testMagneticField")
0044 
0045 process.Timing = cms.Service("Timing")
0046 
0047 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck")
0048 
0049 process.TFileService = cms.Service("TFileService",
0050                                    fileName = cms.string('calogeom.root')
0051                                    )
0052 
0053 process.p1 = cms.Path(process.etta*process.ctgw*process.cga*process.mfa)
0054 
0055