CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/Fireworks/FWInterface/python/testFFW_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("DISPLAY")
00004 
00005 #process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
00006 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00007 from Configuration.AlCa.autoCond import autoCond
00008 process.GlobalTag.globaltag = autoCond['mc']
00009 process.load("Configuration.StandardSequences.Geometry_cff")
00010 process.load("Configuration.StandardSequences.Reconstruction_cff")
00011 
00012 ### Expects test.root in current directory.
00013 process.source = cms.Source(
00014     "PoolSource",
00015     fileNames=cms.untracked.vstring('file:test.root')
00016 )
00017 
00018 process.POurFilter = cms.EDFilter("RandomFilter",
00019                                     acceptRate = cms.untracked.double(1.0))
00020 # process.maxEvents = cms.untracked.PSet(
00021 #         input = cms.untracked.int32(1)
00022 #         )
00023 
00024 ### For running on pre 3.6 files the current needed to determine the
00025 ### magnetic field is taken from Conditions DB.
00026 # process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00027 ### specify tag:
00028 # process.GlobalTag.globaltag = 'START36_V10::All'
00029 ### or use auto-cond:
00030 # from Configuration.AlCa.autoCond import autoCond
00031 # process.GlobalTag.globaltag = autoCond['mc']