CMS 3D CMS Logo

DigiRecoExample_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("Rec")
00004 process.load("Configuration.StandardSequences.Services_cff")
00005 
00006 process.load("Configuration.StandardSequences.Geometry_cff")
00007 
00008 process.load("Configuration.StandardSequences.MagneticField_cff")
00009 
00010 process.load("Configuration.StandardSequences.FakeConditions_cff")
00011 
00012 process.load("FWCore.MessageService.MessageLogger_cfi")
00013 
00014 # please note the IMPORTANT:
00015 # in order to operate Digis, one needs to include Mixing module
00016 # (pileup modeling), at least in the 0-pileup mode
00017 #
00018 # There're 3 possible configurations of the Mixing module :
00019 # no-pileup, low luminosity pileup, and high luminosity pileup
00020 #
00021 # they come, respectively, through the 3 config fragments below
00022 #
00023 # *each* config returns label "mix"; thus you canNOT have them
00024 # all together in the same configuration, but only one !!!
00025 #
00026 process.load("Configuration.StandardSequences.MixingNoPileUp_cff")
00027 
00028 #include "Configuration/StandardSequences/data/MixingLowLumiPileUp.cff"
00029 #include "Configuration/StandardSequences/data/MixingHighLumiPileUp.cff"
00030 process.load("Configuration.StandardSequences.Simulation_cff")
00031 
00032 process.load("Configuration.StandardSequences.L1Emulator_cff")
00033 
00034 process.load("Configuration.StandardSequences.DigiToRaw_cff")
00035 
00036 process.load("Configuration.StandardSequences.Reconstruction_cff")
00037 
00038 process.load("Configuration.eventContent.EventContent_cff")
00039 
00040 process.maxEvents = cms.untracked.PSet(
00041     input = cms.untracked.int32(1)
00042 )
00043 process.source = cms.Source("PoolSource",
00044     catalog = cms.untracked.string('PoolFileCatalog.xml'),
00045     fileNames = cms.untracked.vstring('file:sim.root')
00046 )
00047 
00048 process.RECO = cms.OutputModule("PoolOutputModule",
00049     process.FEVTSIMEventContent,
00050     fileName = cms.untracked.string('reco.root')
00051 )
00052 
00053 process.p1 = cms.Path(process.pdigi*process.l1Emulator*process.digiToRaw*process.reconstruction)
00054 process.outpath = cms.EndPath(process.RECO)
00055 

Generated on Tue Jun 9 17:26:58 2009 for CMSSW by  doxygen 1.5.4