generator" content="HTML Tidy for Linux/x86 (vers 1st August 2003), see www.w3.org"> CMSSW Reference Manual
CMS 3D CMS Logo

CaloFP420Example_cfg.py

Go to the documentation of this file.
00001 # The following comments couldn't be translated into the new config version:
00002 
00003 #
00004 
00005 import FWCore.ParameterSet.Config as cms
00006 
00007 process = cms.Process("CaloFP420")
00008 #
00009 process.load("FWCore.MessageService.MessageLogger_cfi")
00010 
00011 process.load("Configuration.StandardSequences.SimulationRandomNumberGeneratorSeeds_cff")
00012 
00013 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
00014 
00015 #
00016 process.load("Geometry.CMSCommonData.cmsAllGeometryXML_cfi")
00017 
00018 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
00019 
00020 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
00021 
00022 
00023 # Reconstruction geometry services
00024 #  Calorimeters
00025 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
00026 
00027 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
00028 
00029 process.load("Geometry.ecalMapping.EcalMapping_cfi")
00030 
00031 process.load("Geometry.ecalMapping.EcalMappingRecord_cfi")
00032 
00033 #  Calo only conditions
00034 process.load("CalibCalorimetry.Configuration.Hcal_FakeConditions_cff")
00035 
00036 process.load("CalibCalorimetry.Configuration.Ecal_FakeConditions_cff")
00037 
00038 #
00039 process.load("Configuration.StandardSequences.Generator_cff")
00040 
00041 #VX smearing
00042 process.load("IOMC.EventVertexGenerators.VtxSmearedGauss_cfi")
00043 
00044 #SimTransport
00045 process.load("SimTransport.HectorProducer.HectorTransport_cfi")
00046 
00047 #Simulation
00048 process.load("simG4Core.Configuration.SimG4Core_cff")
00049 
00050 #
00051 #calo digitization with no pile up
00052 process.load("SimGeneral.MixingModule.mixNoPU_cfi")
00053 
00054 process.load("simCalorimetry.Configuration.SimCalorimetry_cff")
00055 
00056 #local reconstruction
00057 process.load("recoLocalCalo.Configuration.RecoLocalCalo_cff")
00058 
00059 # Global  reco
00060 process.load("recoJets.Configuration.RecoJets_cff")
00061 
00062 process.load("Geometry.CaloEventSetup.CaloGeometry_cfi")
00063 
00064 process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
00065 
00066 process.load("recoJets.JetProducers.CaloTowerSchemeB_cfi")
00067 
00068 #jet corrections
00069 #include "JetMETCorrections/Configuration/data/MCJetCorrectionsSpring07.cff"
00070 #select generator level particles
00071 process.load("recoJets.Configuration.GenJetParticles_cff")
00072 
00073 #GenJets reconstruction
00074 process.load("recoJets.Configuration.RecoGenJets_cff")
00075 
00076 #sequence reconstruction = {localreco, globalreco, MCJetCorrections}
00077 # digi for FP420
00078 process.load("SimRomanPot.Configuration.SimChargeDigiFP420_cff")
00079 
00080 # rec for FP420
00081 process.load("RecoRomanPot.Configuration.RecClusterTrackMomentumFP420_cff")
00082 
00083 #
00084 process.load("Configuration.eventContent.EventContent_cff")
00085 
00086 process.maxEvents = cms.untracked.PSet(
00087     input = cms.untracked.int32(10)
00088 )
00089 process.source = cms.Source("PoolSource",
00090     fileNames = cms.untracked.vstring('file:Exhume_Hbb.root')
00091 )
00092 
00093 process.CaloTowerConstituentsMapBuilder = cms.ESProducer("CaloTowerConstituentsMapBuilder",
00094     MapFile = cms.untracked.string('Geometry/caloTopology/data/CaloTowerEEGeometric.map.gz')
00095 )
00096 
00097 process.caloTowers = cms.EDFilter("CaloTowerCandidateCreator",
00098     src = cms.InputTag("towerMaker"),
00099     minimumEt = cms.double(-1.0),
00100     minimumE = cms.double(-1.0)
00101 )
00102 
00103 process.o1 = cms.OutputModule("PoolOutputModule",
00104     fileName = cms.untracked.string('CaloFP420_Exhume_Hbb.root')
00105 )
00106 
00107 process.localreco = cms.Sequence(process.calolocalreco)
00108 process.caloTowersRec = cms.Sequence(process.towerMaker*process.caloTowers)
00109 process.globalreco = cms.Sequence(process.caloTowersRec*process.recoJets)
00110 process.reconstruction = cms.Sequence(process.localreco*process.globalreco)
00111 process.p1 = cms.Path(process.pgen*process.LHCTransport*process.g4SimHits*process.mix*process.calDigi*process.FP420Digi*process.FP420Cluster*process.FP420Track*process.FP420Reco*process.reconstruction)
00112 process.outpath = cms.EndPath(process.o1)
00113 process.schedule = cms.Schedule(process.p1,process.outpath)
00114 
00115 process.messageLogger.cerr.default.limit = 10
00116 process.LHCTransport.ZDCTransport = False
00117 process.HectorEtaCut.EtaCutForHector = 5.0
00118 process.g4SimHits.generator.ApplyPtCuts = False
00119 process.g4SimHits.generator.ApplyEtaCuts = False
00120 process.g4SimHits.generator.HepMCProductLabel = 'LHCTransport'
00121 

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