CMS 3D CMS Logo

recoCosmicMC_cfg.py

Go to the documentation of this file.
00001 # The following comments couldn't be translated into the new config version:
00002 
00003 #    service = Tracer {}
00004 
00005 import FWCore.ParameterSet.Config as cms
00006 
00007 process = cms.Process("Rec3")
00008 process.load("FWCore.messageLogger.MessageLogger_cfi")
00009 
00010 process.load("CondCore.DBCommon.CondDBSetup_cfi")
00011 
00012 # service = Timing {}
00013 # use Fake cond for MC
00014 process.load("Configuration.StandardSequences.FakeConditions_cff")
00015 
00016 # Conditions (Global Tag is used here):
00017 #include "Configuration/GlobalRuns/data/FrontierConditionsGRGlobalTag.cff"
00018 #replace GlobalTag.connect = "oracle://cms_orcoff_int2r/CMS_COND_GENERAL"
00019 #replace GlobalTag.DBParameters.authenticationPath="/afs/cern.ch/cms/DB/conddb"
00020 #replace GlobalTag.timetype = "runnumber"
00021 #replace GlobalTag.globaltag = "GRUMM_V4::All"
00022 # Magnetic fiuld: force mag field to be 0.0 tesla
00023 process.load("Configuration.GlobalRuns.ForceZeroTeslaField_cff")
00024 
00025 # reconstruction sequence for Global Run
00026 process.load("Configuration.GlobalRuns.ReconstructionGR_cff")
00027 
00028 # offline raw to digi for real data
00029 #include "Configuration/GlobalRuns/data/RawToDigiGR.cff"
00030 # offline raw to digi for MC
00031 process.load("Configuration.StandardSequences.RawToDigi_cff")
00032 
00033 process.maxEvents = cms.untracked.PSet(
00034     input = cms.untracked.int32(1000)
00035 )
00036 process.Timing = cms.Service("Timing")
00037 
00038 process.source = cms.Source("PoolSource",
00039     #       untracked vstring fileNames = {'file:GlobalMar08_37965_A.root'}
00040     fileNames = cms.untracked.vstring('file:gen_sim_digi_raw_100k_200pre9.root')
00041 )
00042 
00043 process.FEVT = cms.OutputModule("PoolOutputModule",
00044     dataset = cms.untracked.PSet(
00045         dataTier = cms.untracked.string('RECO')
00046     ),
00047     fileName = cms.untracked.string('reco-gr.root')
00048 )
00049 
00050 process.options = cms.untracked.PSet(
00051     wantSummary = cms.untracked.bool(True) ## default is false
00052 
00053 )
00054 process.allPath = cms.Path(process.rawToDigi*process.reconstructionGR)
00055 process.outpath = cms.EndPath(process.FEVT)
00056 

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