CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoEgamma/Examples/python/photonReReco_fromRECO_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("RERECO")
00004 process.load('Configuration/StandardSequences/Services_cff')
00005 process.load('Configuration/StandardSequences/MixingNoPileUp_cff')
00006 process.load('Configuration/StandardSequences/EndOfProcess_cff')
00007 process.load('Configuration/StandardSequences/MagneticField_38T_cff')
00008 process.load("Configuration.StandardSequences.Geometry_cff")
00009 process.load('Configuration/EventContent/EventContent_cff')
00010 process.load('Configuration/StandardSequences/Reconstruction_cff')
00011 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00012 process.GlobalTag.globaltag = 'IDEAL_31X::All'
00013 
00014 process.maxEvents = cms.untracked.PSet(
00015     input = cms.untracked.int32(100)
00016 )
00017 
00018 
00019 process.source = cms.Source("PoolSource",
00020     fileNames = cms.untracked.vstring(
00021   '/store/relval/CMSSW_3_1_0_pre10/RelValSingleGammaPt35/GEN-SIM-RECO/IDEAL_31X_v1/0008/E60958D5-0458-DE11-B0B7-000423D98E30.root',
00022   '/store/relval/CMSSW_3_1_0_pre10/RelValSingleGammaPt35/GEN-SIM-RECO/IDEAL_31X_v1/0008/C0188C68-4157-DE11-AE7E-001D09F250AF.root'
00023 
00024 
00025 ))
00026 
00027 
00028 
00029 # Output definition
00030 process.output = cms.OutputModule("PoolOutputModule",
00031     outputCommands = process.RECOSIMEventContent.outputCommands,
00032     fileName = cms.untracked.string('photons.root'),
00033     dataset = cms.untracked.PSet(
00034         dataTier = cms.untracked.string(''),
00035         filterName = cms.untracked.string('')
00036     )
00037 )
00038 
00039 
00040 
00041 process.conversionReReco = cms.Path(process.conversionSequence)
00042 process.photonReReco = cms.Path(process.photonSequence)
00043 process.endjob_step = cms.Path(process.endOfProcess)
00044 process.out_step = cms.EndPath(process.output)
00045 
00046 # Schedule definition
00047 process.schedule = cms.Schedule(process.conversionReReco,process.photonReReco,process.endjob_step,process.out_step)
00048 
00049 
00050