File indexing completed on 2024-04-06 12:15:32
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("ExtractXMLFile")
0004
0005 process.load('Configuration.StandardSequences.GeometryDB_cff')
0006 process.load('CondCore.DBCommon.CondDBSetup_cfi')
0007 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0008
0009 from Configuration.AlCa.autoCond import autoCond
0010 process.GlobalTag.globaltag = autoCond['mc']
0011
0012 process.maxEvents = cms.untracked.PSet(
0013 input = cms.untracked.int32(1)
0014 )
0015
0016 process.maxEvents = cms.untracked.PSet(
0017 input = cms.untracked.int32(1)
0018 )
0019 process.source = cms.Source("EmptySource")
0020
0021 process.MessageLogger = cms.Service("MessageLogger")
0022
0023 process.test = cms.EDAnalyzer("ExtractXMLFile",
0024 label=cms.untracked.string('Extended'),
0025 fname=cms.untracked.string('fred.xml'))
0026
0027 process.p = cms.Path(process.test)
0028